Sha256: 59dd0b2fd40dd08b84ad8757432e19bb161bfb6a725e19d46f28306c14d27cad

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 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
  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

3 entries across 3 versions & 1 rubygems

Version Path
aws-sdk-personalizeruntime-1.36.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.35.0 lib/aws-sdk-personalizeruntime/endpoints.rb
aws-sdk-personalizeruntime-1.34.0 lib/aws-sdk-personalizeruntime/endpoints.rb