Sha256: 5256104630c99f1f0e5b294c31c2346c59d5564ed8e6861c472b1949cb154e42

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

    class DeleteConnection
      def self.build(context)
        Aws::ApiGatewayManagementApi::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 GetConnection
      def self.build(context)
        Aws::ApiGatewayManagementApi::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 PostToConnection
      def self.build(context)
        Aws::ApiGatewayManagementApi::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-apigatewaymanagementapi-1.54.0 lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
aws-sdk-apigatewaymanagementapi-1.53.0 lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
aws-sdk-apigatewaymanagementapi-1.52.0 lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
aws-sdk-apigatewaymanagementapi-1.51.0 lib/aws-sdk-apigatewaymanagementapi/endpoints.rb