GetResourcesRequest
Types
Properties
Specifies whether to exclude resources that are compliant with the tag policy. Set this to true
if you are interested in retrieving information on noncompliant resources only.
Specifies whether to include details regarding the compliance with the effective tag policy. Set this to true
to determine whether resources are compliant with the tag policy and to get details.
Specifies a PaginationToken
response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.
Specifies a list of ARNs of resources for which you want to retrieve tag data. You can't specify both this parameter and any of the pagination parameters (ResourcesPerPage
, TagsPerPage
, PaginationToken
) in the same request. If you specify both, you get an Invalid Parameter
exception.
Specifies the maximum number of results to be returned in each page. A query can return fewer than this maximum, even if there are more results still to return. You should always check the PaginationToken
response value to see if there are more results. You can specify a minimum of 1 and a maximum value of 100.
Specifies the resource types that you want included in the response. The format of each resource type is service[:resourceType]
. For example, specifying a resource type of ec2
returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
Specifies a list of TagFilters (keys and values) to restrict the output to only those resources that have tags with the specified keys and, if included, the specified values. Each TagFilter
must contain a key with values optional. A request can include up to 50 keys, and each key can include up to 20 values.
Amazon Web Services recommends using ResourcesPerPage
instead of this parameter.