Sha256: 576d33a795d33608a5c8edbeb9e3094ad2fc95a65bcac2eed9bafbfcea3eb998

Contents?: true

Size: 1.19 KB

Versions: 18

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

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

18 entries across 18 versions & 1 rubygems

Version Path
aws-sdk-ec2instanceconnect-1.47.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.46.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.45.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.44.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.43.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.42.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.41.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.39.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.38.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.37.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.36.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.35.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.34.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.33.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.32.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.31.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.30.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.29.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb