Sha256: b35f8b7df792850965e9709f2b6d8b6f2fc4db1c6db89448807041a2efabcbbf

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 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)
        Aws::MarketplaceAgreement::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

    class GetAgreementTerms
      def self.build(context)
        Aws::MarketplaceAgreement::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

    class SearchAgreements
      def self.build(context)
        Aws::MarketplaceAgreement::EndpointParameters.new(
          region: context.config.region,
          use_dual_stack: context.config.use_dualstack_endpoint,
          use_fips: context.config.use_fips_endpoint,
          endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
        )
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aws-sdk-marketplaceagreement-1.13.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.12.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.11.0 lib/aws-sdk-marketplaceagreement/endpoints.rb
aws-sdk-marketplaceagreement-1.10.0 lib/aws-sdk-marketplaceagreement/endpoints.rb