Sha256: f859e80f1bfaf7c9135733f20463cd99253b927eded0377774a34da32dd7fe45

Contents?: true

Size: 1.19 KB

Versions: 7

Compression:

Stored size: 1.19 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::PersonalizeRuntime
  # @api private
  module Endpoints

    class GetPersonalizedRanking
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::PersonalizeRuntime::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 GetRecommendations
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::PersonalizeRuntime::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

7 entries across 7 versions & 1 rubygems

Version Path
aws-sdk-personalizeruntime-1.43.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.42.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.41.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.40.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.39.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.38.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.37.0 lib/aws-sdk-personalizeruntime/endpoints.rb