@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSRAMAsyncClient extends AWSRAMClient implements AWSRAMAsync
AsyncHandler
can be used to receive notification when an
asynchronous operation completes.
This is the Resource Access Manager API Reference. This documentation provides descriptions and syntax for each of the actions and data types in RAM. RAM is a service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you have multiple Amazon Web Services accounts, you can use RAM to share those resources with other accounts. If you use Organizations to manage your accounts, then you share your resources with your organization or organizational units (OUs). For supported resource types, you can also share resources with individual Identity and Access Management (IAM) roles an users.
To learn more about RAM, see the following resources:
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
acceptResourceShareInvitation, associateResourceShare, associateResourceSharePermission, builder, createResourceShare, deleteResourceShare, disassociateResourceShare, disassociateResourceSharePermission, enableSharingWithAwsOrganization, getCachedResponseMetadata, getPermission, getResourcePolicies, getResourceShareAssociations, getResourceShareInvitations, getResourceShares, listPendingInvitationResources, listPermissions, listPermissionVersions, listPrincipals, listResources, listResourceSharePermissions, listResourceTypes, promoteResourceShareCreatedFromPolicy, rejectResourceShareInvitation, tagResource, untagResource, updateResourceShare
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptResourceShareInvitation, associateResourceShare, associateResourceSharePermission, createResourceShare, deleteResourceShare, disassociateResourceShare, disassociateResourceSharePermission, enableSharingWithAwsOrganization, getCachedResponseMetadata, getPermission, getResourcePolicies, getResourceShareAssociations, getResourceShareInvitations, getResourceShares, listPendingInvitationResources, listPermissions, listPermissionVersions, listPrincipals, listResources, listResourceSharePermissions, listResourceTypes, promoteResourceShareCreatedFromPolicy, rejectResourceShareInvitation, tagResource, untagResource, updateResourceShare
public static AWSRAMAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest request)
AWSRAMAsync
Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the invitation, the resources included in the resource share are available to interact with in the relevant Amazon Web Services Management Consoles and tools.
acceptResourceShareInvitationAsync
in interface AWSRAMAsync
public Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest request, AsyncHandler<AcceptResourceShareInvitationRequest,AcceptResourceShareInvitationResult> asyncHandler)
AWSRAMAsync
Accepts an invitation to a resource share from another Amazon Web Services account. After you accept the invitation, the resources included in the resource share are available to interact with in the relevant Amazon Web Services Management Consoles and tools.
acceptResourceShareInvitationAsync
in interface AWSRAMAsync
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<AssociateResourceShareResult> associateResourceShareAsync(AssociateResourceShareRequest request)
AWSRAMAsync
Adds the specified list of principals and list of resources to a resource share. Principals that already have access to this resource share immediately receive access to the added resources. Newly added principals immediately receive access to the resources shared in this resource share.
associateResourceShareAsync
in interface AWSRAMAsync
public Future<AssociateResourceShareResult> associateResourceShareAsync(AssociateResourceShareRequest request, AsyncHandler<AssociateResourceShareRequest,AssociateResourceShareResult> asyncHandler)
AWSRAMAsync
Adds the specified list of principals and list of resources to a resource share. Principals that already have access to this resource share immediately receive access to the added resources. Newly added principals immediately receive access to the resources shared in this resource share.
associateResourceShareAsync
in interface AWSRAMAsync
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<AssociateResourceSharePermissionResult> associateResourceSharePermissionAsync(AssociateResourceSharePermissionRequest request)
AWSRAMAsync
Adds or replaces the RAM permission for a resource type included in a resource share. You can have exactly one permission associated with each resource type in the resource share. You can add a new RAM permission only if there are currently no resources of that resource type currently in the resource share.
associateResourceSharePermissionAsync
in interface AWSRAMAsync
public Future<AssociateResourceSharePermissionResult> associateResourceSharePermissionAsync(AssociateResourceSharePermissionRequest request, AsyncHandler<AssociateResourceSharePermissionRequest,AssociateResourceSharePermissionResult> asyncHandler)
AWSRAMAsync
Adds or replaces the RAM permission for a resource type included in a resource share. You can have exactly one permission associated with each resource type in the resource share. You can add a new RAM permission only if there are currently no resources of that resource type currently in the resource share.
associateResourceSharePermissionAsync
in interface AWSRAMAsync
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<CreateResourceShareResult> createResourceShareAsync(CreateResourceShareRequest request)
AWSRAMAsync
Creates a resource share. You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the Amazon Web Services account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
createResourceShareAsync
in interface AWSRAMAsync
public Future<CreateResourceShareResult> createResourceShareAsync(CreateResourceShareRequest request, AsyncHandler<CreateResourceShareRequest,CreateResourceShareResult> asyncHandler)
AWSRAMAsync
Creates a resource share. You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the Amazon Web Services account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
createResourceShareAsync
in interface AWSRAMAsync
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<DeleteResourceShareResult> deleteResourceShareAsync(DeleteResourceShareRequest request)
AWSRAMAsync
Deletes the specified resource share. This doesn't delete any of the resources that were associated with the resource share; it only stops the sharing of those resources outside of the Amazon Web Services account that created them.
deleteResourceShareAsync
in interface AWSRAMAsync
public Future<DeleteResourceShareResult> deleteResourceShareAsync(DeleteResourceShareRequest request, AsyncHandler<DeleteResourceShareRequest,DeleteResourceShareResult> asyncHandler)
AWSRAMAsync
Deletes the specified resource share. This doesn't delete any of the resources that were associated with the resource share; it only stops the sharing of those resources outside of the Amazon Web Services account that created them.
deleteResourceShareAsync
in interface AWSRAMAsync
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<DisassociateResourceShareResult> disassociateResourceShareAsync(DisassociateResourceShareRequest request)
AWSRAMAsync
Disassociates the specified principals or resources from the specified resource share.
disassociateResourceShareAsync
in interface AWSRAMAsync
public Future<DisassociateResourceShareResult> disassociateResourceShareAsync(DisassociateResourceShareRequest request, AsyncHandler<DisassociateResourceShareRequest,DisassociateResourceShareResult> asyncHandler)
AWSRAMAsync
Disassociates the specified principals or resources from the specified resource share.
disassociateResourceShareAsync
in interface AWSRAMAsync
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<DisassociateResourceSharePermissionResult> disassociateResourceSharePermissionAsync(DisassociateResourceSharePermissionRequest request)
AWSRAMAsync
Disassociates an RAM permission from a resource share. Permission changes take effect immediately. You can remove a RAM permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the resource share.
disassociateResourceSharePermissionAsync
in interface AWSRAMAsync
public Future<DisassociateResourceSharePermissionResult> disassociateResourceSharePermissionAsync(DisassociateResourceSharePermissionRequest request, AsyncHandler<DisassociateResourceSharePermissionRequest,DisassociateResourceSharePermissionResult> asyncHandler)
AWSRAMAsync
Disassociates an RAM permission from a resource share. Permission changes take effect immediately. You can remove a RAM permission from a resource share only if there are currently no resources of the relevant resource type currently attached to the resource share.
disassociateResourceSharePermissionAsync
in interface AWSRAMAsync
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<EnableSharingWithAwsOrganizationResult> enableSharingWithAwsOrganizationAsync(EnableSharingWithAwsOrganizationRequest request)
AWSRAMAsync
Enables resource sharing within your organization in Organizations. Calling this operation enables RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in an organization by specifying the organization's ID, or all of the accounts in an organizational unit (OU) by specifying the OU's ID. Until you enable sharing within the organization, you can specify only individual Amazon Web Services accounts, or for supported resource types, IAM users and roles.
You must call this operation from an IAM user or role in the organization's management account.
enableSharingWithAwsOrganizationAsync
in interface AWSRAMAsync
public Future<EnableSharingWithAwsOrganizationResult> enableSharingWithAwsOrganizationAsync(EnableSharingWithAwsOrganizationRequest request, AsyncHandler<EnableSharingWithAwsOrganizationRequest,EnableSharingWithAwsOrganizationResult> asyncHandler)
AWSRAMAsync
Enables resource sharing within your organization in Organizations. Calling this operation enables RAM to retrieve information about the organization and its structure. This lets you share resources with all of the accounts in an organization by specifying the organization's ID, or all of the accounts in an organizational unit (OU) by specifying the OU's ID. Until you enable sharing within the organization, you can specify only individual Amazon Web Services accounts, or for supported resource types, IAM users and roles.
You must call this operation from an IAM user or role in the organization's management account.
enableSharingWithAwsOrganizationAsync
in interface AWSRAMAsync
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<GetPermissionResult> getPermissionAsync(GetPermissionRequest request)
AWSRAMAsync
Gets the contents of an RAM permission in JSON format.
getPermissionAsync
in interface AWSRAMAsync
public Future<GetPermissionResult> getPermissionAsync(GetPermissionRequest request, AsyncHandler<GetPermissionRequest,GetPermissionResult> asyncHandler)
AWSRAMAsync
Gets the contents of an RAM permission in JSON format.
getPermissionAsync
in interface AWSRAMAsync
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<GetResourcePoliciesResult> getResourcePoliciesAsync(GetResourcePoliciesRequest request)
AWSRAMAsync
Retrieves the resource policies for the specified resources that you own and have shared.
getResourcePoliciesAsync
in interface AWSRAMAsync
public Future<GetResourcePoliciesResult> getResourcePoliciesAsync(GetResourcePoliciesRequest request, AsyncHandler<GetResourcePoliciesRequest,GetResourcePoliciesResult> asyncHandler)
AWSRAMAsync
Retrieves the resource policies for the specified resources that you own and have shared.
getResourcePoliciesAsync
in interface AWSRAMAsync
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<GetResourceShareAssociationsResult> getResourceShareAssociationsAsync(GetResourceShareAssociationsRequest request)
AWSRAMAsync
Retrieves the resource and principal associations for resource shares that you own.
getResourceShareAssociationsAsync
in interface AWSRAMAsync
public Future<GetResourceShareAssociationsResult> getResourceShareAssociationsAsync(GetResourceShareAssociationsRequest request, AsyncHandler<GetResourceShareAssociationsRequest,GetResourceShareAssociationsResult> asyncHandler)
AWSRAMAsync
Retrieves the resource and principal associations for resource shares that you own.
getResourceShareAssociationsAsync
in interface AWSRAMAsync
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<GetResourceShareInvitationsResult> getResourceShareInvitationsAsync(GetResourceShareInvitationsRequest request)
AWSRAMAsync
Retrieves details about invitations that you have received for resource shares.
getResourceShareInvitationsAsync
in interface AWSRAMAsync
public Future<GetResourceShareInvitationsResult> getResourceShareInvitationsAsync(GetResourceShareInvitationsRequest request, AsyncHandler<GetResourceShareInvitationsRequest,GetResourceShareInvitationsResult> asyncHandler)
AWSRAMAsync
Retrieves details about invitations that you have received for resource shares.
getResourceShareInvitationsAsync
in interface AWSRAMAsync
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<GetResourceSharesResult> getResourceSharesAsync(GetResourceSharesRequest request)
AWSRAMAsync
Retrieves details about the resource shares that you own or that are shared with you.
getResourceSharesAsync
in interface AWSRAMAsync
public Future<GetResourceSharesResult> getResourceSharesAsync(GetResourceSharesRequest request, AsyncHandler<GetResourceSharesRequest,GetResourceSharesResult> asyncHandler)
AWSRAMAsync
Retrieves details about the resource shares that you own or that are shared with you.
getResourceSharesAsync
in interface AWSRAMAsync
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<ListPendingInvitationResourcesResult> listPendingInvitationResourcesAsync(ListPendingInvitationResourcesRequest request)
AWSRAMAsync
Lists the resources in a resource share that is shared with you but for which the invitation is still
PENDING
. That means that you haven't accepted or rejected the invitation and the invitation hasn't
expired.
listPendingInvitationResourcesAsync
in interface AWSRAMAsync
public Future<ListPendingInvitationResourcesResult> listPendingInvitationResourcesAsync(ListPendingInvitationResourcesRequest request, AsyncHandler<ListPendingInvitationResourcesRequest,ListPendingInvitationResourcesResult> asyncHandler)
AWSRAMAsync
Lists the resources in a resource share that is shared with you but for which the invitation is still
PENDING
. That means that you haven't accepted or rejected the invitation and the invitation hasn't
expired.
listPendingInvitationResourcesAsync
in interface AWSRAMAsync
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<ListPermissionVersionsResult> listPermissionVersionsAsync(ListPermissionVersionsRequest request)
AWSRAMAsync
Lists the available versions of the specified RAM permission.
listPermissionVersionsAsync
in interface AWSRAMAsync
public Future<ListPermissionVersionsResult> listPermissionVersionsAsync(ListPermissionVersionsRequest request, AsyncHandler<ListPermissionVersionsRequest,ListPermissionVersionsResult> asyncHandler)
AWSRAMAsync
Lists the available versions of the specified RAM permission.
listPermissionVersionsAsync
in interface AWSRAMAsync
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<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request)
AWSRAMAsync
Retrieves a list of available RAM permissions that you can use for the supported resource types.
listPermissionsAsync
in interface AWSRAMAsync
public Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
AWSRAMAsync
Retrieves a list of available RAM permissions that you can use for the supported resource types.
listPermissionsAsync
in interface AWSRAMAsync
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<ListPrincipalsResult> listPrincipalsAsync(ListPrincipalsRequest request)
AWSRAMAsync
Lists the principals that you are sharing resources with or that are sharing resources with you.
listPrincipalsAsync
in interface AWSRAMAsync
public Future<ListPrincipalsResult> listPrincipalsAsync(ListPrincipalsRequest request, AsyncHandler<ListPrincipalsRequest,ListPrincipalsResult> asyncHandler)
AWSRAMAsync
Lists the principals that you are sharing resources with or that are sharing resources with you.
listPrincipalsAsync
in interface AWSRAMAsync
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<ListResourceSharePermissionsResult> listResourceSharePermissionsAsync(ListResourceSharePermissionsRequest request)
AWSRAMAsync
Lists the RAM permissions that are associated with a resource share.
listResourceSharePermissionsAsync
in interface AWSRAMAsync
public Future<ListResourceSharePermissionsResult> listResourceSharePermissionsAsync(ListResourceSharePermissionsRequest request, AsyncHandler<ListResourceSharePermissionsRequest,ListResourceSharePermissionsResult> asyncHandler)
AWSRAMAsync
Lists the RAM permissions that are associated with a resource share.
listResourceSharePermissionsAsync
in interface AWSRAMAsync
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<ListResourceTypesResult> listResourceTypesAsync(ListResourceTypesRequest request)
AWSRAMAsync
Lists the resource types that can be shared by RAM.
listResourceTypesAsync
in interface AWSRAMAsync
public Future<ListResourceTypesResult> listResourceTypesAsync(ListResourceTypesRequest request, AsyncHandler<ListResourceTypesRequest,ListResourceTypesResult> asyncHandler)
AWSRAMAsync
Lists the resource types that can be shared by RAM.
listResourceTypesAsync
in interface AWSRAMAsync
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<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AWSRAMAsync
Lists the resources that you added to a resource share or the resources that are shared with you.
listResourcesAsync
in interface AWSRAMAsync
public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSRAMAsync
Lists the resources that you added to a resource share or the resources that are shared with you.
listResourcesAsync
in interface AWSRAMAsync
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<PromoteResourceShareCreatedFromPolicyResult> promoteResourceShareCreatedFromPolicyAsync(PromoteResourceShareCreatedFromPolicyRequest request)
AWSRAMAsync
When you attach a resource-based permission policy to a resource, it automatically creates a resource share. However, resource shares created this way are visible only to the resource share owner, and the resource share can't be modified in RAM.
You can use this operation to promote the resource share to a full RAM resource share. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with.
promoteResourceShareCreatedFromPolicyAsync
in interface AWSRAMAsync
public Future<PromoteResourceShareCreatedFromPolicyResult> promoteResourceShareCreatedFromPolicyAsync(PromoteResourceShareCreatedFromPolicyRequest request, AsyncHandler<PromoteResourceShareCreatedFromPolicyRequest,PromoteResourceShareCreatedFromPolicyResult> asyncHandler)
AWSRAMAsync
When you attach a resource-based permission policy to a resource, it automatically creates a resource share. However, resource shares created this way are visible only to the resource share owner, and the resource share can't be modified in RAM.
You can use this operation to promote the resource share to a full RAM resource share. When you promote a resource share, you can then manage the resource share in RAM and it becomes visible to all of the principals you shared it with.
promoteResourceShareCreatedFromPolicyAsync
in interface AWSRAMAsync
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<RejectResourceShareInvitationResult> rejectResourceShareInvitationAsync(RejectResourceShareInvitationRequest request)
AWSRAMAsync
Rejects an invitation to a resource share from another Amazon Web Services account.
rejectResourceShareInvitationAsync
in interface AWSRAMAsync
public Future<RejectResourceShareInvitationResult> rejectResourceShareInvitationAsync(RejectResourceShareInvitationRequest request, AsyncHandler<RejectResourceShareInvitationRequest,RejectResourceShareInvitationResult> asyncHandler)
AWSRAMAsync
Rejects an invitation to a resource share from another Amazon Web Services account.
rejectResourceShareInvitationAsync
in interface AWSRAMAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSRAMAsync
Adds the specified tag keys and values to the specified resource share. The tags are attached only to the resource share, not to the resources that are in the resource share.
tagResourceAsync
in interface AWSRAMAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSRAMAsync
Adds the specified tag keys and values to the specified resource share. The tags are attached only to the resource share, not to the resources that are in the resource share.
tagResourceAsync
in interface AWSRAMAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSRAMAsync
Removes the specified tag key and value pairs from the specified resource share.
untagResourceAsync
in interface AWSRAMAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSRAMAsync
Removes the specified tag key and value pairs from the specified resource share.
untagResourceAsync
in interface AWSRAMAsync
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<UpdateResourceShareResult> updateResourceShareAsync(UpdateResourceShareRequest request)
AWSRAMAsync
Modifies some of the properties of the specified resource share.
updateResourceShareAsync
in interface AWSRAMAsync
public Future<UpdateResourceShareResult> updateResourceShareAsync(UpdateResourceShareRequest request, AsyncHandler<UpdateResourceShareRequest,UpdateResourceShareResult> asyncHandler)
AWSRAMAsync
Modifies some of the properties of the specified resource share.
updateResourceShareAsync
in interface AWSRAMAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSRAM
shutdown
in class AWSRAMClient