Sha256: 0f71cc1933365f51b0803fe7b66195973848045b2e2d4a8f9a2a70a2e5b7164d

Contents?: true

Size: 1.19 KB

Versions: 17

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

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

17 entries across 17 versions & 1 rubygems

Version Path
aws-sdk-workmailmessageflow-1.42.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.41.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.40.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.39.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.38.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.37.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.36.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.34.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.33.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.32.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.31.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.30.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.29.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.28.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.27.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.26.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.25.0 lib/aws-sdk-workmailmessageflow/endpoints.rb