SSM / Paginator / DescribeParameters
DescribeParameters#
- class SSM.Paginator.DescribeParameters#
paginator = client.get_paginator('describe_parameters')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
SSM.Client.describe_parameters()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( Filters=[ { 'Key': 'Name'|'Type'|'KeyId', 'Values': [ 'string', ] }, ], ParameterFilters=[ { 'Key': 'string', 'Option': 'string', 'Values': [ 'string', ] }, ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
Filters (list) –
This data type is deprecated. Instead, use
ParameterFilters
.(dict) –
This data type is deprecated. Instead, use ParameterStringFilter.
Key (string) – [REQUIRED]
The name of the filter.
Values (list) – [REQUIRED]
The filter values.
(string) –
ParameterFilters (list) –
Filters to limit the request results.
(dict) –
One or more filters. Use a filter to return a more specific list of results.
Key (string) – [REQUIRED]
The name of the filter.
The
ParameterStringFilter
object is used by the DescribeParameters and GetParametersByPath API operations. However, not all of the pattern values listed forKey
can be used with both operations.For
DescribeParameters
, all of the listed patterns are valid exceptLabel
.For
GetParametersByPath
, the following patterns listed forKey
aren’t valid:tag
,DataType
,Name
,Path
, andTier
.For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.
Option (string) –
For all filters used with DescribeParameters, valid options include
Equals
andBeginsWith
. TheName
filter additionally supports theContains
option. (Exception: For filters using the keyPath
, valid options includeRecursive
andOneLevel
.)For filters used with GetParametersByPath, valid options include
Equals
andBeginsWith
. (Exception: For filters usingLabel
as the Key name, the only valid option isEquals
.)Values (list) –
The value you want to search for.
(string) –
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Parameters': [ { 'Name': 'string', 'Type': 'String'|'StringList'|'SecureString', 'KeyId': 'string', 'LastModifiedDate': datetime(2015, 1, 1), 'LastModifiedUser': 'string', 'Description': 'string', 'AllowedPattern': 'string', 'Version': 123, 'Tier': 'Standard'|'Advanced'|'Intelligent-Tiering', 'Policies': [ { 'PolicyText': 'string', 'PolicyType': 'string', 'PolicyStatus': 'string' }, ], 'DataType': 'string' }, ], }
Response Structure
(dict) –
Parameters (list) –
Parameters returned by the request.
(dict) –
Metadata includes information like the ARN of the last user and the date/time the parameter was last used.
Name (string) –
The parameter name.
Type (string) –
The type of parameter. Valid parameter types include the following:
String
,StringList
, andSecureString
.KeyId (string) –
The ID of the query key used for this parameter.
LastModifiedDate (datetime) –
Date the parameter was last changed or updated.
LastModifiedUser (string) –
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
Description (string) –
Description of the parameter actions.
AllowedPattern (string) –
A parameter name can include only the following letters and symbols.
Version (integer) –
The parameter version.
Tier (string) –
The parameter tier.
Policies (list) –
A list of policies associated with a parameter.
(dict) –
One or more policies assigned to a parameter.
PolicyText (string) –
The JSON text of the policy.
PolicyType (string) –
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
PolicyStatus (string) –
The status of the policy. Policies report the following statuses: Pending (the policy hasn’t been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn’t applied), or InProgress (the policy is being applied now).
DataType (string) –
The data type of the parameter, such as
text
oraws:ec2:image
. The default istext
.