Class: Aws::SSM::Types::ListDocumentsRequest

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 ListDocumentsRequest data as a hash:

{
  document_filter_list: [
    {
      key: "Name", # required, accepts Name, Owner, PlatformTypes, DocumentType
      value: "DocumentFilterValue", # required
    },
  ],
  filters: [
    {
      key: "DocumentKeyValuesFilterKey",
      values: ["DocumentKeyValuesFilterValue"],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#document_filter_listArray<Types::DocumentFilter>

This data type is deprecated. Instead, use Filters.

Returns:



11050
11051
11052
11053
11054
11055
11056
11057
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 11050

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

#filtersArray<Types::DocumentKeyValuesFilter>

One or more DocumentKeyValuesFilter objects. Use a filter to return a more specific list of results. For keys, you can specify one or more key-value pair tags that have been applied to a document. Other valid keys include Owner, Name, PlatformTypes, DocumentType, and TargetType. For example, to return documents you own use Key=Owner,Values=Self. To specify a custom key-value pair, use the format Key=tag:tagName,Values=valueName.

Returns:



11050
11051
11052
11053
11054
11055
11056
11057
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 11050

class ListDocumentsRequest < Struct.new(
  :document_filter_list,
  :filters,
  :max_results,
  :next_token)
  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)


11050
11051
11052
11053
11054
11055
11056
11057
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 11050

class ListDocumentsRequest < Struct.new(
  :document_filter_list,
  :filters,
  :max_results,
  :next_token)
  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)


11050
11051
11052
11053
11054
11055
11056
11057
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 11050

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