Class: Aws::SSM::Types::DescribeSessionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::SessionFilter>

One or more filters to limit the type of sessions returned by the request.

Returns:



6198
6199
6200
6201
6202
6203
6204
6205
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6198

class DescribeSessionsRequest < Struct.new(
  :state,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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.

Returns:

  • (Integer)


6198
6199
6200
6201
6202
6203
6204
6205
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6198

class DescribeSessionsRequest < Struct.new(
  :state,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. (You received this token from a previous call.)

Returns:

  • (String)


6198
6199
6200
6201
6202
6203
6204
6205
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6198

class DescribeSessionsRequest < Struct.new(
  :state,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The session status to retrieve a list of sessions for. For example, "Active".

Returns:

  • (String)


6198
6199
6200
6201
6202
6203
6204
6205
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 6198

class DescribeSessionsRequest < Struct.new(
  :state,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end