Module: Aws::EC2InstanceConnect::ClientApi Private

Includes:
Seahorse::Model
Defined in:
lib/aws-sdk-ec2instanceconnect/client_api.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AuthException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'AuthException')
AvailabilityZone =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'AvailabilityZone')
EC2InstanceNotFoundException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EC2InstanceNotFoundException')
EC2InstanceStateInvalidException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EC2InstanceStateInvalidException')
EC2InstanceTypeInvalidException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EC2InstanceTypeInvalidException')
EC2InstanceUnavailableException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'EC2InstanceUnavailableException')
InstanceId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'InstanceId')
InstanceOSUser =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'InstanceOSUser')
InvalidArgsException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'InvalidArgsException')
RequestId =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'RequestId')
SSHPublicKey =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'SSHPublicKey')
SendSSHPublicKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SendSSHPublicKeyRequest')
SendSSHPublicKeyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SendSSHPublicKeyResponse')
SendSerialConsoleSSHPublicKeyRequest =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SendSerialConsoleSSHPublicKeyRequest')
SendSerialConsoleSSHPublicKeyResponse =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SendSerialConsoleSSHPublicKeyResponse')
SerialConsoleAccessDisabledException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SerialConsoleAccessDisabledException')
SerialConsoleSessionLimitExceededException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SerialConsoleSessionLimitExceededException')
SerialConsoleSessionUnavailableException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SerialConsoleSessionUnavailableException')
SerialConsoleSessionUnsupportedException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'SerialConsoleSessionUnsupportedException')
SerialPort =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::IntegerShape.new(name: 'SerialPort')
ServiceException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ServiceException')
String =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StringShape.new(name: 'String')
Success =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::BooleanShape.new(name: 'Success')
ThrottlingException =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Shapes::StructureShape.new(name: 'ThrottlingException')
API =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Seahorse::Model::Api.new.tap do |api|

  api.version = "2018-04-02"

  api. = {
    "apiVersion" => "2018-04-02",
    "auth" => ["aws.auth#sigv4"],
    "endpointPrefix" => "ec2-instance-connect",
    "jsonVersion" => "1.1",
    "protocol" => "json",
    "protocols" => ["json"],
    "serviceAbbreviation" => "EC2 Instance Connect",
    "serviceFullName" => "AWS EC2 Instance Connect",
    "serviceId" => "EC2 Instance Connect",
    "signatureVersion" => "v4",
    "targetPrefix" => "AWSEC2InstanceConnectService",
    "uid" => "ec2-instance-connect-2018-04-02",
  }

  api.add_operation(:send_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SendSSHPublicKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: SendSSHPublicKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: SendSSHPublicKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: AuthException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceStateInvalidException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceUnavailableException)
  end)

  api.add_operation(:send_serial_console_ssh_public_key, Seahorse::Model::Operation.new.tap do |o|
    o.name = "SendSerialConsoleSSHPublicKey"
    o.http_method = "POST"
    o.http_request_uri = "/"
    o.input = Shapes::ShapeRef.new(shape: SendSerialConsoleSSHPublicKeyRequest)
    o.output = Shapes::ShapeRef.new(shape: SendSerialConsoleSSHPublicKeyResponse)
    o.errors << Shapes::ShapeRef.new(shape: AuthException)
    o.errors << Shapes::ShapeRef.new(shape: SerialConsoleAccessDisabledException)
    o.errors << Shapes::ShapeRef.new(shape: InvalidArgsException)
    o.errors << Shapes::ShapeRef.new(shape: ServiceException)
    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceNotFoundException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceTypeInvalidException)
    o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionLimitExceededException)
    o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceStateInvalidException)
    o.errors << Shapes::ShapeRef.new(shape: EC2InstanceUnavailableException)
    o.errors << Shapes::ShapeRef.new(shape: SerialConsoleSessionUnsupportedException)
  end)
end