ResourceGroupsTaggingAPI class
This guide describes the API operations for the resource groups tagging.
Constructors
- ResourceGroupsTaggingAPI({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
-
describeReportCreation(
) → Future< DescribeReportCreationOutput> -
Describes the status of the
StartReportCreation
operation. -
getComplianceSummary(
{List< GroupByAttribute> ? groupBy, int? maxResults, String? paginationToken, List<String> ? regionFilters, List<String> ? resourceTypeFilters, List<String> ? tagKeyFilters, List<String> ? targetIdFilters}) → Future<GetComplianceSummaryOutput> - Returns a table that shows counts of resources that are noncompliant with their tag policies.
-
getResources(
{bool? excludeCompliantResources, bool? includeComplianceDetails, String? paginationToken, List< String> ? resourceTypeFilters, int? resourcesPerPage, List<TagFilter> ? tagFilters, int? tagsPerPage}) → Future<GetResourcesOutput> - Returns all the tagged or previously tagged resources that are located in the specified Region for the AWS account.
-
getTagKeys(
{String? paginationToken}) → Future< GetTagKeysOutput> - Returns all tag keys in the specified Region for the AWS account.
-
getTagValues(
{required String key, String? paginationToken}) → Future< GetTagValuesOutput> - Returns all tag values for the specified key in the specified Region for the AWS account.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startReportCreation(
{required String s3Bucket}) → Future< void> - Generates a report that lists all tagged resources in accounts across your organization and tells whether each resource is compliant with the effective tag policy. Compliance data is refreshed daily.
-
tagResources(
{required List< String> resourceARNList, required Map<String, String> tags}) → Future<TagResourcesOutput> - Applies one or more tags to the specified resources. Note the following:
-
toString(
) → String -
A string representation of this object.
inherited
-
untagResources(
{required List< String> resourceARNList, required List<String> tagKeys}) → Future<UntagResourcesOutput> - Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited