Sha256: 3caf863e97bc8d8fc1829f50af0801c0c50a0470f8ce82f7169d6584c51e775c

Contents?: true

Size: 1.62 KB

Versions: 9

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::MarketplaceAgreement
  # @api private
  module Endpoints

    class DescribeAgreement
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::MarketplaceAgreement::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 GetAgreementTerms
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::MarketplaceAgreement::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 SearchAgreements
      def self.build(context)
        unless context.config.regional_endpoint
          endpoint = context.config.endpoint.to_s
        end
        Aws::MarketplaceAgreement::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

9 entries across 9 versions & 1 rubygems

Version Path
aws-sdk-marketplaceagreement-1.9.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.8.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.7.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.6.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.5.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.4.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.2.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.1.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.0.0 lib/aws-sdk-marketplaceagreement/endpoints.rb