Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Account
Settings The Resource Groups settings for this Amazon Web Services account.
- Failed
Resource A resource that failed to be added to or removed from a group.
- Group
A resource group that contains Amazon Web Services resources. You can assign resources to the group by associating either of the following elements with the group:
-
ResourceQuery
- Use a resource query to specify a set of tag keys and values. All resources in the same Amazon Web Services Region and Amazon Web Services account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using thePutGroupConfiguration
operation. -
GroupConfiguration
- Use a service configuration to associate the group with an Amazon Web Services service. The configuration specifies which resource types can be included in the group.
-
- Group
Configuration A service configuration associated with a resource group. The configuration options are determined by the Amazon Web Services service that defines the
Type
, and specifies which resources can be included in the group. You can add a service configuration when you create the group by usingCreateGroup
, or later by using thePutGroupConfiguration
operation. For details about group service configuration syntax, see Service configurations for resource groups.- Group
Configuration Item An item in a group configuration. A group service configuration can have one or more items. For details about group service configuration syntax, see Service configurations for resource groups.
- Group
Configuration Parameter A parameter for a group configuration item. For details about group service configuration syntax, see Service configurations for resource groups.
- Group
Filter A filter collection that you can use to restrict the results from a
List
operation to only those you want to include.- Group
Identifier The unique identifiers for a resource group.
- Group
Query A mapping of a query attached to a resource group that determines the Amazon Web Services resources that are members of the group.
- Grouping
Statuses Item The information about a grouping or ungrouping resource action.
- List
Group Resources Item A structure returned by the
ListGroupResources
operation that contains identity and group membership status information for one of the resources in the group.- List
Grouping Statuses Filter A filter name and value pair that is used to obtain more specific results from the list of grouping statuses.
- List
TagSync Tasks Filter Returns tag-sync tasks filtered by the Amazon resource name (ARN) or name of a specified application group.
- Pending
Resource A structure that identifies a resource that is currently pending addition to the group as a member. Adding a resource to a resource group happens asynchronously as a background task and this one isn't completed yet.
- Query
Error A two-part error structure that can occur in
ListGroupResources
orSearchResources
.- Resource
Filter A filter name and value pair that is used to obtain more specific results from a list of resources.
- Resource
Identifier A structure that contains the ARN of a resource and its resource type.
- Resource
Query The query you can use to define a resource group or a search for resources. A
ResourceQuery
specifies both a queryType
and aQuery
string as JSON string objects. See the examples section for example JSON strings. For more information about creating a resource group with a resource query, see Build queries and groups in Resource Groups in the Resource Groups User GuideWhen you combine all of the elements together into a single string, any double quotes that are embedded inside another double quote pair must be escaped by preceding the embedded double quote with a backslash character (\). For example, a complete
ResourceQuery
parameter must be formatted like the following CLI parameter example:--resource-query '{"Type":"TAG_FILTERS_1_0","Query":"{\"ResourceTypeFilters\":\[\"AWS::AllSupported\"\],\"TagFilters\":\[{\"Key\":\"Stage\",\"Values\":\[\"Test\"\]}\]}"}'
In the preceding example, all of the double quote characters in the value part of the
Query
element must be escaped because the value itself is surrounded by double quotes. For more information, see Quoting strings in the Command Line Interface User Guide.For the complete list of resource types that you can use in the array value for
ResourceTypeFilters
, see Resources you can use with Resource Groups and Tag Editor in the Resource Groups User Guide. For example:"ResourceTypeFilters":\["AWS::S3::Bucket", "AWS::EC2::Instance"\]
- Resource
Status A structure that identifies the current group membership status for a resource. Adding a resource to a resource group is performed asynchronously as a background task. A
PENDING
status indicates, for this resource, that the process isn't completed yet.- TagSync
Task Item The Amazon resource name (ARN) of the tag-sync task.
Enums§
- Group
Configuration Status - When writing a match expression against
GroupConfigurationStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Group
Filter Name - When writing a match expression against
GroupFilterName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Group
Lifecycle Events Desired Status - When writing a match expression against
GroupLifecycleEventsDesiredStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Group
Lifecycle Events Status - When writing a match expression against
GroupLifecycleEventsStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Grouping
Status - When writing a match expression against
GroupingStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Grouping
Type - When writing a match expression against
GroupingType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - List
Grouping Statuses Filter Name - When writing a match expression against
ListGroupingStatusesFilterName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Query
Error Code - When writing a match expression against
QueryErrorCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Query
Type - When writing a match expression against
QueryType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Resource
Filter Name - When writing a match expression against
ResourceFilterName
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Resource
Status Value - When writing a match expression against
ResourceStatusValue
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - TagSync
Task Status - When writing a match expression against
TagSyncTaskStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.