@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSResourceGroupsAsync extends AbstractAWSResourceGroups implements AWSResourceGroupsAsync
AWSResourceGroupsAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CreateGroupResult> |
createGroupAsync(CreateGroupRequest request)
Creates a resource group with the specified name and description.
|
Future<CreateGroupResult> |
createGroupAsync(CreateGroupRequest request,
AsyncHandler<CreateGroupRequest,CreateGroupResult> asyncHandler)
Creates a resource group with the specified name and description.
|
Future<DeleteGroupResult> |
deleteGroupAsync(DeleteGroupRequest request)
Deletes the specified resource group.
|
Future<DeleteGroupResult> |
deleteGroupAsync(DeleteGroupRequest request,
AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
Deletes the specified resource group.
|
Future<GetGroupResult> |
getGroupAsync(GetGroupRequest request)
Returns information about a specified resource group.
|
Future<GetGroupResult> |
getGroupAsync(GetGroupRequest request,
AsyncHandler<GetGroupRequest,GetGroupResult> asyncHandler)
Returns information about a specified resource group.
|
Future<GetGroupConfigurationResult> |
getGroupConfigurationAsync(GetGroupConfigurationRequest request)
Returns the service configuration associated with the specified resource group.
|
Future<GetGroupConfigurationResult> |
getGroupConfigurationAsync(GetGroupConfigurationRequest request,
AsyncHandler<GetGroupConfigurationRequest,GetGroupConfigurationResult> asyncHandler)
Returns the service configuration associated with the specified resource group.
|
Future<GetGroupQueryResult> |
getGroupQueryAsync(GetGroupQueryRequest request)
Retrieves the resource query associated with the specified resource group.
|
Future<GetGroupQueryResult> |
getGroupQueryAsync(GetGroupQueryRequest request,
AsyncHandler<GetGroupQueryRequest,GetGroupQueryResult> asyncHandler)
Retrieves the resource query associated with the specified resource group.
|
Future<GetTagsResult> |
getTagsAsync(GetTagsRequest request)
Returns a list of tags that are associated with a resource group, specified by an ARN.
|
Future<GetTagsResult> |
getTagsAsync(GetTagsRequest request,
AsyncHandler<GetTagsRequest,GetTagsResult> asyncHandler)
Returns a list of tags that are associated with a resource group, specified by an ARN.
|
Future<GroupResourcesResult> |
groupResourcesAsync(GroupResourcesRequest request)
Adds the specified resources to the specified group.
|
Future<GroupResourcesResult> |
groupResourcesAsync(GroupResourcesRequest request,
AsyncHandler<GroupResourcesRequest,GroupResourcesResult> asyncHandler)
Adds the specified resources to the specified group.
|
Future<ListGroupResourcesResult> |
listGroupResourcesAsync(ListGroupResourcesRequest request)
Returns a list of ARNs of the resources that are members of a specified resource group.
|
Future<ListGroupResourcesResult> |
listGroupResourcesAsync(ListGroupResourcesRequest request,
AsyncHandler<ListGroupResourcesRequest,ListGroupResourcesResult> asyncHandler)
Returns a list of ARNs of the resources that are members of a specified resource group.
|
Future<ListGroupsResult> |
listGroupsAsync(ListGroupsRequest request)
Returns a list of existing resource groups in your account.
|
Future<ListGroupsResult> |
listGroupsAsync(ListGroupsRequest request,
AsyncHandler<ListGroupsRequest,ListGroupsResult> asyncHandler)
Returns a list of existing resource groups in your account.
|
Future<SearchResourcesResult> |
searchResourcesAsync(SearchResourcesRequest request)
Returns a list of AWS resource identifiers that matches the specified query.
|
Future<SearchResourcesResult> |
searchResourcesAsync(SearchResourcesRequest request,
AsyncHandler<SearchResourcesRequest,SearchResourcesResult> asyncHandler)
Returns a list of AWS resource identifiers that matches the specified query.
|
Future<TagResult> |
tagAsync(TagRequest request)
Adds tags to a resource group with the specified ARN.
|
Future<TagResult> |
tagAsync(TagRequest request,
AsyncHandler<TagRequest,TagResult> asyncHandler)
Adds tags to a resource group with the specified ARN.
|
Future<UngroupResourcesResult> |
ungroupResourcesAsync(UngroupResourcesRequest request)
Removes the specified resources from the specified group.
|
Future<UngroupResourcesResult> |
ungroupResourcesAsync(UngroupResourcesRequest request,
AsyncHandler<UngroupResourcesRequest,UngroupResourcesResult> asyncHandler)
Removes the specified resources from the specified group.
|
Future<UntagResult> |
untagAsync(UntagRequest request)
Deletes tags from a specified resource group.
|
Future<UntagResult> |
untagAsync(UntagRequest request,
AsyncHandler<UntagRequest,UntagResult> asyncHandler)
Deletes tags from a specified resource group.
|
Future<UpdateGroupResult> |
updateGroupAsync(UpdateGroupRequest request)
Updates the description for an existing group.
|
Future<UpdateGroupResult> |
updateGroupAsync(UpdateGroupRequest request,
AsyncHandler<UpdateGroupRequest,UpdateGroupResult> asyncHandler)
Updates the description for an existing group.
|
Future<UpdateGroupQueryResult> |
updateGroupQueryAsync(UpdateGroupQueryRequest request)
Updates the resource query of a group.
|
Future<UpdateGroupQueryResult> |
updateGroupQueryAsync(UpdateGroupQueryRequest request,
AsyncHandler<UpdateGroupQueryRequest,UpdateGroupQueryResult> asyncHandler)
Updates the resource query of a group.
|
createGroup, deleteGroup, getCachedResponseMetadata, getGroup, getGroupConfiguration, getGroupQuery, getTags, groupResources, listGroupResources, listGroups, searchResources, shutdown, tag, ungroupResources, untag, updateGroup, updateGroupQuery
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createGroup, deleteGroup, getCachedResponseMetadata, getGroup, getGroupConfiguration, getGroupQuery, getTags, groupResources, listGroupResources, listGroups, searchResources, shutdown, tag, ungroupResources, untag, updateGroup, updateGroupQuery
public Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request)
AWSResourceGroupsAsync
Creates a resource group with the specified name and description. You can optionally include a resource query, or a service configuration.
createGroupAsync
in interface AWSResourceGroupsAsync
public Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request, AsyncHandler<CreateGroupRequest,CreateGroupResult> asyncHandler)
AWSResourceGroupsAsync
Creates a resource group with the specified name and description. You can optionally include a resource query, or a service configuration.
createGroupAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request)
AWSResourceGroupsAsync
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.
deleteGroupAsync
in interface AWSResourceGroupsAsync
public Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request, AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
AWSResourceGroupsAsync
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.
deleteGroupAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetGroupResult> getGroupAsync(GetGroupRequest request)
AWSResourceGroupsAsync
Returns information about a specified resource group.
getGroupAsync
in interface AWSResourceGroupsAsync
public Future<GetGroupResult> getGroupAsync(GetGroupRequest request, AsyncHandler<GetGroupRequest,GetGroupResult> asyncHandler)
AWSResourceGroupsAsync
Returns information about a specified resource group.
getGroupAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetGroupConfigurationResult> getGroupConfigurationAsync(GetGroupConfigurationRequest request)
AWSResourceGroupsAsync
Returns the service configuration associated with the specified resource group. AWS Resource Groups supports configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more information, see
Working with capacity reservation groups in the EC2 Users Guide.
getGroupConfigurationAsync
in interface AWSResourceGroupsAsync
public Future<GetGroupConfigurationResult> getGroupConfigurationAsync(GetGroupConfigurationRequest request, AsyncHandler<GetGroupConfigurationRequest,GetGroupConfigurationResult> asyncHandler)
AWSResourceGroupsAsync
Returns the service configuration associated with the specified resource group. AWS Resource Groups supports configurations for the following resource group types:
AWS::EC2::CapacityReservationPool
- Amazon EC2 capacity reservation pools. For more information, see
Working with capacity reservation groups in the EC2 Users Guide.
getGroupConfigurationAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetGroupQueryResult> getGroupQueryAsync(GetGroupQueryRequest request)
AWSResourceGroupsAsync
Retrieves the resource query associated with the specified resource group.
getGroupQueryAsync
in interface AWSResourceGroupsAsync
public Future<GetGroupQueryResult> getGroupQueryAsync(GetGroupQueryRequest request, AsyncHandler<GetGroupQueryRequest,GetGroupQueryResult> asyncHandler)
AWSResourceGroupsAsync
Retrieves the resource query associated with the specified resource group.
getGroupQueryAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTagsResult> getTagsAsync(GetTagsRequest request)
AWSResourceGroupsAsync
Returns a list of tags that are associated with a resource group, specified by an ARN.
getTagsAsync
in interface AWSResourceGroupsAsync
public Future<GetTagsResult> getTagsAsync(GetTagsRequest request, AsyncHandler<GetTagsRequest,GetTagsResult> asyncHandler)
AWSResourceGroupsAsync
Returns a list of tags that are associated with a resource group, specified by an ARN.
getTagsAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GroupResourcesResult> groupResourcesAsync(GroupResourcesRequest request)
AWSResourceGroupsAsync
Adds the specified resources to the specified group.
groupResourcesAsync
in interface AWSResourceGroupsAsync
public Future<GroupResourcesResult> groupResourcesAsync(GroupResourcesRequest request, AsyncHandler<GroupResourcesRequest,GroupResourcesResult> asyncHandler)
AWSResourceGroupsAsync
Adds the specified resources to the specified group.
groupResourcesAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGroupResourcesResult> listGroupResourcesAsync(ListGroupResourcesRequest request)
AWSResourceGroupsAsync
Returns a list of ARNs of the resources that are members of a specified resource group.
listGroupResourcesAsync
in interface AWSResourceGroupsAsync
public Future<ListGroupResourcesResult> listGroupResourcesAsync(ListGroupResourcesRequest request, AsyncHandler<ListGroupResourcesRequest,ListGroupResourcesResult> asyncHandler)
AWSResourceGroupsAsync
Returns a list of ARNs of the resources that are members of a specified resource group.
listGroupResourcesAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request)
AWSResourceGroupsAsync
Returns a list of existing resource groups in your account.
listGroupsAsync
in interface AWSResourceGroupsAsync
public Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request, AsyncHandler<ListGroupsRequest,ListGroupsResult> asyncHandler)
AWSResourceGroupsAsync
Returns a list of existing resource groups in your account.
listGroupsAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<SearchResourcesResult> searchResourcesAsync(SearchResourcesRequest request)
AWSResourceGroupsAsync
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.
searchResourcesAsync
in interface AWSResourceGroupsAsync
public Future<SearchResourcesResult> searchResourcesAsync(SearchResourcesRequest request, AsyncHandler<SearchResourcesRequest,SearchResourcesResult> asyncHandler)
AWSResourceGroupsAsync
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.
searchResourcesAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResult> tagAsync(TagRequest request)
AWSResourceGroupsAsync
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.
tagAsync
in interface AWSResourceGroupsAsync
public Future<TagResult> tagAsync(TagRequest request, AsyncHandler<TagRequest,TagResult> asyncHandler)
AWSResourceGroupsAsync
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.
tagAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UngroupResourcesResult> ungroupResourcesAsync(UngroupResourcesRequest request)
AWSResourceGroupsAsync
Removes the specified resources from the specified group.
ungroupResourcesAsync
in interface AWSResourceGroupsAsync
public Future<UngroupResourcesResult> ungroupResourcesAsync(UngroupResourcesRequest request, AsyncHandler<UngroupResourcesRequest,UngroupResourcesResult> asyncHandler)
AWSResourceGroupsAsync
Removes the specified resources from the specified group.
ungroupResourcesAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResult> untagAsync(UntagRequest request)
AWSResourceGroupsAsync
Deletes tags from a specified resource group.
untagAsync
in interface AWSResourceGroupsAsync
public Future<UntagResult> untagAsync(UntagRequest request, AsyncHandler<UntagRequest,UntagResult> asyncHandler)
AWSResourceGroupsAsync
Deletes tags from a specified resource group.
untagAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateGroupResult> updateGroupAsync(UpdateGroupRequest request)
AWSResourceGroupsAsync
Updates the description for an existing group. You cannot update the name of a resource group.
updateGroupAsync
in interface AWSResourceGroupsAsync
public Future<UpdateGroupResult> updateGroupAsync(UpdateGroupRequest request, AsyncHandler<UpdateGroupRequest,UpdateGroupResult> asyncHandler)
AWSResourceGroupsAsync
Updates the description for an existing group. You cannot update the name of a resource group.
updateGroupAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateGroupQueryResult> updateGroupQueryAsync(UpdateGroupQueryRequest request)
AWSResourceGroupsAsync
Updates the resource query of a group.
updateGroupQueryAsync
in interface AWSResourceGroupsAsync
public Future<UpdateGroupQueryResult> updateGroupQueryAsync(UpdateGroupQueryRequest request, AsyncHandler<UpdateGroupQueryRequest,UpdateGroupQueryResult> asyncHandler)
AWSResourceGroupsAsync
Updates the resource query of a group.
updateGroupQueryAsync
in interface AWSResourceGroupsAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.