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

Inherits:
Struct
  • Object
show all
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, SessionId
      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:


6951
6952
6953
6954
6955
6956
6957
6958
# File 'lib/aws-sdk-ssm/types.rb', line 6951

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)

6951
6952
6953
6954
6955
6956
6957
6958
# File 'lib/aws-sdk-ssm/types.rb', line 6951

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)

6951
6952
6953
6954
6955
6956
6957
6958
# File 'lib/aws-sdk-ssm/types.rb', line 6951

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)

6951
6952
6953
6954
6955
6956
6957
6958
# File 'lib/aws-sdk-ssm/types.rb', line 6951

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