/** * 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 SageMakerRuntime { namespace Endpoint { using EndpointParameters = Aws::Endpoint::EndpointParameters; using Aws::Endpoint::EndpointProviderBase; using Aws::Endpoint::DefaultEndpointProvider; using SageMakerRuntimeClientContextParameters = Aws::Endpoint::ClientContextParameters; using SageMakerRuntimeClientConfiguration = Aws::Client::GenericClientConfiguration; using SageMakerRuntimeBuiltInParameters = Aws::Endpoint::BuiltInParameters; /** * The type for the SageMakerRuntime 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 SageMakerRuntimeEndpointProviderBase = EndpointProviderBase; using SageMakerRuntimeDefaultEpProviderBase = DefaultEndpointProvider; /** * Default endpoint provider used for this service */ class AWS_SAGEMAKERRUNTIME_API SageMakerRuntimeEndpointProvider : public SageMakerRuntimeDefaultEpProviderBase { public: using SageMakerRuntimeResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; SageMakerRuntimeEndpointProvider() : SageMakerRuntimeDefaultEpProviderBase(Aws::SageMakerRuntime::SageMakerRuntimeEndpointRules::GetRulesBlob(), Aws::SageMakerRuntime::SageMakerRuntimeEndpointRules::RulesBlobSize) {} ~SageMakerRuntimeEndpointProvider() { } }; } // namespace Endpoint } // namespace SageMakerRuntime } // namespace Aws