Sha256: c7766415028b5b1a7f16c42bf9903c1f5d04a947e591b249c9c82aa71baa8adf

Contents?: true

Size: 1.83 KB

Versions: 5

Compression:

Stored size: 1.83 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::DynamoDBStreams
  # @api private
  module Endpoints

    class DescribeStream
      def self.build(context)
        Aws::DynamoDBStreams::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 GetRecords
      def self.build(context)
        Aws::DynamoDBStreams::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 GetShardIterator
      def self.build(context)
        Aws::DynamoDBStreams::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 ListStreams
      def self.build(context)
        Aws::DynamoDBStreams::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

5 entries across 5 versions & 1 rubygems

Version Path
aws-sdk-dynamodbstreams-1.68.1 lib/aws-sdk-dynamodbstreams/endpoints.rb
aws-sdk-dynamodbstreams-1.68.0 lib/aws-sdk-dynamodbstreams/endpoints.rb
aws-sdk-dynamodbstreams-1.67.0 lib/aws-sdk-dynamodbstreams/endpoints.rb
aws-sdk-dynamodbstreams-1.66.0 lib/aws-sdk-dynamodbstreams/endpoints.rb
aws-sdk-dynamodbstreams-1.65.0 lib/aws-sdk-dynamodbstreams/endpoints.rb