You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::ClientData

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ClientData data as a hash:

{
  comment: "String",
  upload_end: Time.now,
  upload_size: 1.0,
  upload_start: Time.now,
}

Describes the client-specific data.

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A user-defined comment about the disk upload.

Returns:

  • (String)


2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2121

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_endTime

The time that the disk upload ends.

Returns:

  • (Time)


2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2121

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_sizeFloat

The size of the uploaded disk image, in GiB.

Returns:

  • (Float)


2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2121

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end

#upload_startTime

The time that the disk upload starts.

Returns:

  • (Time)


2121
2122
2123
2124
2125
2126
2127
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2121

class ClientData < Struct.new(
  :comment,
  :upload_end,
  :upload_size,
  :upload_start)
  include Aws::Structure
end