Class: Aws::EC2::Types::ReportInstanceStatusRequest

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 ReportInstanceStatusRequest data as a hash:

{
  description: "String",
  dry_run: false,
  end_time: Time.now,
  instances: ["InstanceId"], # required
  reason_codes: ["instance-stuck-in-state"], # required, accepts instance-stuck-in-state, unresponsive, not-accepting-credentials, password-not-available, performance-network, performance-instance-store, performance-ebs-volume, performance-other, other
  start_time: Time.now,
  status: "ok", # required, accepts ok, impaired
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Descriptive text about the health state of your instance.

Returns:

  • (String)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The time at which the reported instance health state ended.

Returns:

  • (Time)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#instancesArray<String>

The instances.

Returns:

  • (Array<String>)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#reason_codesArray<String>

The reason codes that describe the health state of your instance.

  • instance-stuck-in-state: My instance is stuck in a state.

  • unresponsive: My instance is unresponsive.

  • not-accepting-credentials: My instance is not accepting my credentials.

  • password-not-available: A password is not available for my instance.

  • performance-network: My instance is experiencing performance problems that I believe are network related.

  • performance-instance-store: My instance is experiencing performance problems that I believe are related to the instance stores.

  • performance-ebs-volume: My instance is experiencing performance problems that I believe are related to an EBS volume.

  • performance-other: My instance is experiencing performance problems.

  • other: [explain using the description parameter]

Returns:

  • (Array<String>)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The time at which the reported instance health state began.

Returns:

  • (Time)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of all instances listed.

Returns:

  • (String)


40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40184

class ReportInstanceStatusRequest < Struct.new(
  :description,
  :dry_run,
  :end_time,
  :instances,
  :reason_codes,
  :start_time,
  :status)
  SENSITIVE = []
  include Aws::Structure
end