Class: Aws::SSM::Types::ListCommandsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::ListCommandsRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
When making an API call, you may pass ListCommandsRequest data as a hash:
{
command_id: "CommandId",
instance_id: "InstanceId",
max_results: 1,
next_token: "NextToken",
filters: [
{
key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
value: "CommandFilterValue", # required
},
],
}
Instance Attribute Summary collapse
-
#command_id ⇒ String
(Optional) If provided, lists only the specified command.
-
#filters ⇒ Array<Types::CommandFilter>
(Optional) One or more filters.
-
#instance_id ⇒ String
(Optional) Lists commands issued against this instance ID.
-
#max_results ⇒ Integer
(Optional) The maximum number of items to return for this call.
-
#next_token ⇒ String
(Optional) The token for the next set of items to return.
Instance Attribute Details
#command_id ⇒ String
(Optional) If provided, lists only the specified command.
9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'lib/aws-sdk-ssm/types.rb', line 9995 class ListCommandsRequest < Struct.new( :command_id, :instance_id, :max_results, :next_token, :filters) include Aws::Structure end |
#filters ⇒ Array<Types::CommandFilter>
(Optional) One or more filters. Use a filter to return a more specific list of results.
9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'lib/aws-sdk-ssm/types.rb', line 9995 class ListCommandsRequest < Struct.new( :command_id, :instance_id, :max_results, :next_token, :filters) include Aws::Structure end |
#instance_id ⇒ String
(Optional) Lists commands issued against this instance ID.
9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'lib/aws-sdk-ssm/types.rb', line 9995 class ListCommandsRequest < Struct.new( :command_id, :instance_id, :max_results, :next_token, :filters) include Aws::Structure end |
#max_results ⇒ Integer
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'lib/aws-sdk-ssm/types.rb', line 9995 class ListCommandsRequest < Struct.new( :command_id, :instance_id, :max_results, :next_token, :filters) include Aws::Structure end |
#next_token ⇒ String
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
9995 9996 9997 9998 9999 10000 10001 10002 |
# File 'lib/aws-sdk-ssm/types.rb', line 9995 class ListCommandsRequest < Struct.new( :command_id, :instance_id, :max_results, :next_token, :filters) include Aws::Structure end |