resourcegroupstaggingapi_get_compliance_summary: Returns a table that shows counts of resources that are...

View source: R/resourcegroupstaggingapi_operations.R

resourcegroupstaggingapi_get_compliance_summaryR Documentation

Returns a table that shows counts of resources that are noncompliant with their tag policies

Description

Returns a table that shows counts of resources that are noncompliant with their tag policies.

See https://www.paws-r-sdk.com/docs/resourcegroupstaggingapi_get_compliance_summary/ for full documentation.

Usage

resourcegroupstaggingapi_get_compliance_summary(
  TargetIdFilters = NULL,
  RegionFilters = NULL,
  ResourceTypeFilters = NULL,
  TagKeyFilters = NULL,
  GroupBy = NULL,
  MaxResults = NULL,
  PaginationToken = NULL
)

Arguments

TargetIdFilters

Specifies target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.

RegionFilters

Specifies a list of Amazon Web Services Regions to limit the output to. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.

ResourceTypeFilters

Specifies that you want the response to include information for only resources of the specified types. 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.

The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the Amazon Web Services General Reference for the following:

You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.

TagKeyFilters

Specifies that you want the response to include information for only resources that have tags with the specified tag keys. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.

GroupBy

Specifies a list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.

MaxResults

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.

PaginationToken

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.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.