/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Outposts { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using OutpostsClientContextParameters = Aws::Endpoint::ClientContextParameters; using OutpostsClientConfiguration = Aws::Client::GenericClientConfiguration; using OutpostsBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the Outposts Client Endpoint Provider. * Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider. * The SDK must use service-specific type for each service per specification. */ using OutpostsEndpointProviderBase = EndpointProviderBase; using OutpostsDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_OUTPOSTS_API OutpostsEndpointProvider : public OutpostsDefaultEpProviderBase { public: using OutpostsResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; OutpostsEndpointProvider() : OutpostsDefaultEpProviderBase(Aws::Outposts::OutpostsEndpointRules::GetRulesBlob(), Aws::Outposts::OutpostsEndpointRules::RulesBlobSize) {} ~OutpostsEndpointProvider() { } }; } // namespace Endpoint } // namespace Outposts } // namespace Aws