/** * 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 KMS { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using KMSClientContextParameters = Aws::Endpoint::ClientContextParameters; using KMSClientConfiguration = Aws::Client::GenericClientConfiguration; using KMSBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the KMS 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 KMSEndpointProviderBase = EndpointProviderBase; using KMSDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_KMS_API KMSEndpointProvider : public KMSDefaultEpProviderBase { public: using KMSResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; KMSEndpointProvider() : KMSDefaultEpProviderBase(Aws::KMS::KMSEndpointRules::GetRulesBlob(), Aws::KMS::KMSEndpointRules::RulesBlobSize) {} ~KMSEndpointProvider() { } }; } // namespace Endpoint } // namespace KMS } // namespace Aws