Class: Aws::EC2::Types::ReportInstanceStatusRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ReportInstanceStatusRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass ReportInstanceStatusRequest data as a hash:
{
description: "String",
dry_run: false,
end_time: Time.now,
instances: ["String"], # 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
}
Instance Attribute Summary collapse
-
#description ⇒ String
Descriptive text about the health state of your instance.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#end_time ⇒ Time
The time at which the reported instance health state ended.
-
#instances ⇒ Array<String>
One or more instances.
-
#reason_codes ⇒ Array<String>
One or more reason codes that describe the health state of your instance.
-
#start_time ⇒ Time
The time at which the reported instance health state began.
-
#status ⇒ String
The status of all instances listed.
Instance Attribute Details
#description ⇒ String
Descriptive text about the health state of your instance.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#dry_run ⇒ Boolean
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`.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#end_time ⇒ Time
The time at which the reported instance health state ended.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#instances ⇒ Array<String>
One or more instances.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#reason_codes ⇒ Array<String>
One or more 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]
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#start_time ⇒ Time
The time at which the reported instance health state began.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |
#status ⇒ String
The status of all instances listed.
29323 29324 29325 29326 29327 29328 29329 29330 29331 29332 |
# File 'lib/aws-sdk-ec2/types.rb', line 29323 class ReportInstanceStatusRequest < Struct.new( :description, :dry_run, :end_time, :instances, :reason_codes, :start_time, :status) include Aws::Structure end |