Ungroup Resources
resourcegroups_ungroup_resources | R Documentation |
Removes the specified resources from the specified group¶
Description¶
Removes the specified resources from the specified group. This operation
works only with static groups that you populated using the
group_resources
operation. It doesn't work with any resource groups
that are automatically populated by tag-based or CloudFormation
stack-based queries.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:UngroupResources
Usage¶
Arguments¶
Group
[required] The name or the ARN of the resource group from which to remove the resources.
ResourceArns
[required] The ARNs of the resources to be removed from the group.
Value¶
A list with the following syntax:
list(
Succeeded = list(
"string"
),
Failed = list(
list(
ResourceArn = "string",
ErrorMessage = "string",
ErrorCode = "string"
)
),
Pending = list(
list(
ResourceArn = "string"
)
)
)