Class: Aws::SSM::Types::DescribeSessionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSM::Types::DescribeSessionsRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ssm/types.rb
Overview
Note:
When making an API call, you may pass DescribeSessionsRequest data as a hash:
{
state: "Active", # required, accepts Active, History
max_results: 1,
next_token: "NextToken",
filters: [
{
key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Target, Owner, Status
value: "SessionFilterValue", # required
},
],
}
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::SessionFilter>
One or more filters to limit the type of sessions returned by the request.
-
#max_results ⇒ Integer
The maximum number of items to return for this call.
-
#next_token ⇒ String
The token for the next set of items to return.
-
#state ⇒ String
The session status to retrieve a list of sessions for.
Instance Attribute Details
#filters ⇒ Array<Types::SessionFilter>
One or more filters to limit the type of sessions returned by the request.
5809 5810 5811 5812 5813 5814 5815 |
# File 'lib/aws-sdk-ssm/types.rb', line 5809 class DescribeSessionsRequest < Struct.new( :state, :max_results, :next_token, :filters) include Aws::Structure end |
#max_results ⇒ Integer
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.
5809 5810 5811 5812 5813 5814 5815 |
# File 'lib/aws-sdk-ssm/types.rb', line 5809 class DescribeSessionsRequest < Struct.new( :state, :max_results, :next_token, :filters) include Aws::Structure end |
#next_token ⇒ String
The token for the next set of items to return. (You received this token from a previous call.)
5809 5810 5811 5812 5813 5814 5815 |
# File 'lib/aws-sdk-ssm/types.rb', line 5809 class DescribeSessionsRequest < Struct.new( :state, :max_results, :next_token, :filters) include Aws::Structure end |
#state ⇒ String
The session status to retrieve a list of sessions for. For example, “Active”.
5809 5810 5811 5812 5813 5814 5815 |
# File 'lib/aws-sdk-ssm/types.rb', line 5809 class DescribeSessionsRequest < Struct.new( :state, :max_results, :next_token, :filters) include Aws::Structure end |