Sha256: 70b1fc33ff06c6b64355134e8eb58a5b802b600482f038315e4226f6062fed7c

Contents?: true

Size: 1.62 KB

Versions: 16

Compression:

Stored size: 1.62 KB

Contents

# frozen_string_literal: true

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE


module Aws::SageMakerRuntime
  # @api private
  module Endpoints

    class InvokeEndpoint
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SageMakerRuntime::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

    class InvokeEndpointAsync
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SageMakerRuntime::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

    class InvokeEndpointWithResponseStream
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::SageMakerRuntime::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: endpoint,
        )
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
aws-sdk-sagemakerruntime-1.71.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.70.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.69.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.68.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.67.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.66.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.65.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.64.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.62.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.61.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.60.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.59.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.58.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.57.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.56.0 lib/aws-sdk-sagemakerruntime/endpoints.rb
aws-sdk-sagemakerruntime-1.55.0 lib/aws-sdk-sagemakerruntime/endpoints.rb