Sha256: 6b9f32d88d3217998afefbbbd518128b58c9367ac42051c06cee48a6c65a833e

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::WorkMailMessageFlow
  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

3 entries across 3 versions & 1 rubygems

Version Path
aws-sdk-workmailmessageflow-1.24.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.23.0 lib/aws-sdk-workmailmessageflow/endpoints.rb
aws-sdk-workmailmessageflow-1.22.0 lib/aws-sdk-workmailmessageflow/endpoints.rb