pub trait ResourceGroups {
Show 16 methods
fn create_group<'life0, 'async_trait>(
&'life0 self,
input: CreateGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateGroupOutput, RusotoError<CreateGroupError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn delete_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGroupOutput, RusotoError<DeleteGroupError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_group<'life0, 'async_trait>(
&'life0 self,
input: GetGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupOutput, RusotoError<GetGroupError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: GetGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupConfigurationOutput, RusotoError<GetGroupConfigurationError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_group_query<'life0, 'async_trait>(
&'life0 self,
input: GetGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupQueryOutput, RusotoError<GetGroupQueryError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn get_tags<'life0, 'async_trait>(
&'life0 self,
input: GetTagsInput
) -> Pin<Box<dyn Future<Output = Result<GetTagsOutput, RusotoError<GetTagsError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn group_resources<'life0, 'async_trait>(
&'life0 self,
input: GroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<GroupResourcesOutput, RusotoError<GroupResourcesError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_group_resources<'life0, 'async_trait>(
&'life0 self,
input: ListGroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupResourcesOutput, RusotoError<ListGroupResourcesError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn list_groups<'life0, 'async_trait>(
&'life0 self,
input: ListGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupsOutput, RusotoError<ListGroupsError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn put_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: PutGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<PutGroupConfigurationOutput, RusotoError<PutGroupConfigurationError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn search_resources<'life0, 'async_trait>(
&'life0 self,
input: SearchResourcesInput
) -> Pin<Box<dyn Future<Output = Result<SearchResourcesOutput, RusotoError<SearchResourcesError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn tag<'life0, 'async_trait>(
&'life0 self,
input: TagInput
) -> Pin<Box<dyn Future<Output = Result<TagOutput, RusotoError<TagError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn ungroup_resources<'life0, 'async_trait>(
&'life0 self,
input: UngroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<UngroupResourcesOutput, RusotoError<UngroupResourcesError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn untag<'life0, 'async_trait>(
&'life0 self,
input: UntagInput
) -> Pin<Box<dyn Future<Output = Result<UntagOutput, RusotoError<UntagError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupOutput, RusotoError<UpdateGroupError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn update_group_query<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupQueryOutput, RusotoError<UpdateGroupQueryError>>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Trait representing the capabilities of the Resource Groups API. Resource Groups clients implement this trait.
Required Methods
fn create_group<'life0, 'async_trait>(
&'life0 self,
input: CreateGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateGroupOutput, RusotoError<CreateGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_group<'life0, 'async_trait>(
&'life0 self,
input: CreateGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateGroupOutput, RusotoError<CreateGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a resource group with the specified name and description. You can optionally include a resource query, or a service configuration. For more information about constructing a resource query, see Create a tag-based group in Resource Groups. For more information about service configurations, see Service configurations for resource groups.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:CreateGroup
fn delete_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGroupOutput, RusotoError<DeleteGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_group<'life0, 'async_trait>(
&'life0 self,
input: DeleteGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGroupOutput, RusotoError<DeleteGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the specified resource group. Deleting a resource group does not delete any resources that are members of the group; it only deletes the group structure.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:DeleteGroup
fn get_group<'life0, 'async_trait>(
&'life0 self,
input: GetGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupOutput, RusotoError<GetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_group<'life0, 'async_trait>(
&'life0 self,
input: GetGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupOutput, RusotoError<GetGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GetGroup
fn get_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: GetGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupConfigurationOutput, RusotoError<GetGroupConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: GetGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupConfigurationOutput, RusotoError<GetGroupConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns the service configuration associated with the specified resource group. For details about the service configuration syntax, see Service configurations for resource groups.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GetGroupConfiguration
fn get_group_query<'life0, 'async_trait>(
&'life0 self,
input: GetGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupQueryOutput, RusotoError<GetGroupQueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_group_query<'life0, 'async_trait>(
&'life0 self,
input: GetGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupQueryOutput, RusotoError<GetGroupQueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the resource query associated with the specified resource group. For more information about resource queries, see Create a tag-based group in Resource Groups.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GetGroupQuery
Returns a list of tags that are associated with a resource group, specified by an ARN.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GetTags
fn group_resources<'life0, 'async_trait>(
&'life0 self,
input: GroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<GroupResourcesOutput, RusotoError<GroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn group_resources<'life0, 'async_trait>(
&'life0 self,
input: GroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<GroupResourcesOutput, RusotoError<GroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds the specified resources to the specified group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GroupResources
fn list_group_resources<'life0, 'async_trait>(
&'life0 self,
input: ListGroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupResourcesOutput, RusotoError<ListGroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_group_resources<'life0, 'async_trait>(
&'life0 self,
input: ListGroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupResourcesOutput, RusotoError<ListGroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of ARNs of the resources that are members of a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:ListGroupResources
-
cloudformation:DescribeStacks
-
cloudformation:ListStackResources
-
tag:GetResources
fn list_groups<'life0, 'async_trait>(
&'life0 self,
input: ListGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupsOutput, RusotoError<ListGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_groups<'life0, 'async_trait>(
&'life0 self,
input: ListGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupsOutput, RusotoError<ListGroupsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of existing resource groups in your account.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:ListGroups
fn put_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: PutGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<PutGroupConfigurationOutput, RusotoError<PutGroupConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_group_configuration<'life0, 'async_trait>(
&'life0 self,
input: PutGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<PutGroupConfigurationOutput, RusotoError<PutGroupConfigurationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Attaches a service configuration to the specified group. This occurs asynchronously, and can take time to complete. You can use GetGroupConfiguration to check the status of the update.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:PutGroupConfiguration
fn search_resources<'life0, 'async_trait>(
&'life0 self,
input: SearchResourcesInput
) -> Pin<Box<dyn Future<Output = Result<SearchResourcesOutput, RusotoError<SearchResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn search_resources<'life0, 'async_trait>(
&'life0 self,
input: SearchResourcesInput
) -> Pin<Box<dyn Future<Output = Result<SearchResourcesOutput, RusotoError<SearchResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns a list of AWS resource identifiers that matches the specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:SearchResources
-
cloudformation:DescribeStacks
-
cloudformation:ListStackResources
-
tag:GetResources
Adds tags to a resource group with the specified ARN. Existing tags on a resource group are not changed if they are not specified in the request parameters.
Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:Tag
fn ungroup_resources<'life0, 'async_trait>(
&'life0 self,
input: UngroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<UngroupResourcesOutput, RusotoError<UngroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn ungroup_resources<'life0, 'async_trait>(
&'life0 self,
input: UngroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<UngroupResourcesOutput, RusotoError<UngroupResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes the specified resources from the specified group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:UngroupResources
fn untag<'life0, 'async_trait>(
&'life0 self,
input: UntagInput
) -> Pin<Box<dyn Future<Output = Result<UntagOutput, RusotoError<UntagError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag<'life0, 'async_trait>(
&'life0 self,
input: UntagInput
) -> Pin<Box<dyn Future<Output = Result<UntagOutput, RusotoError<UntagError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes tags from a specified resource group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:Untag
fn update_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupOutput, RusotoError<UpdateGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_group<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupOutput, RusotoError<UpdateGroupError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the description for an existing group. You cannot update the name of a resource group.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:UpdateGroup
fn update_group_query<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupQueryOutput, RusotoError<UpdateGroupQueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_group_query<'life0, 'async_trait>(
&'life0 self,
input: UpdateGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupQueryOutput, RusotoError<UpdateGroupQueryError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the resource query of a group. For more information about resource queries, see Create a tag-based group in Resource Groups.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:UpdateGroupQuery