Sha256: e98d98e36d95575dd12e013651da1e218738adebe5095e208fd7c56a6c1bd222

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 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)
        Aws::EC2InstanceConnect::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 SendSerialConsoleSSHPublicKey
      def self.build(context)
        Aws::EC2InstanceConnect::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-ec2instanceconnect-1.51.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.50.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.49.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb
aws-sdk-ec2instanceconnect-1.48.0 lib/aws-sdk-ec2instanceconnect/endpoints.rb