@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSRAMAsync extends AWSRAM
AsyncHandler
can be used to receive notification when
an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSRAMAsync
instead.
Use AWS Resource Access Manager to share AWS resources between AWS accounts. To share a resource, you create a resource share, associate the resource with the resource share, and specify the principals that can access the resource. The following principals are supported:
The ID of an AWS account
The Amazon Resource Name (ARN) of an OU from AWS Organizations
The Amazon Resource Name (ARN) of an organization from AWS Organizations
If you specify an AWS account that doesn't exist in the same organization as the account that owns the resource share, the owner of the specified account receives an invitation to accept the resource share. After the owner accepts the invitation, they can access the resources in the resource share. An administrator of the specified account can use IAM policies to restrict access resources in the resource share.
ENDPOINT_PREFIX
acceptResourceShareInvitation, associateResourceShare, createResourceShare, deleteResourceShare, disassociateResourceShare, enableSharingWithAwsOrganization, getCachedResponseMetadata, getResourcePolicies, getResourceShareAssociations, getResourceShareInvitations, getResourceShares, listPrincipals, listResources, rejectResourceShareInvitation, shutdown, tagResource, untagResource, updateResourceShare
Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest acceptResourceShareInvitationRequest)
Accepts an invitation to a resource share from another AWS account.
acceptResourceShareInvitationRequest
- Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest acceptResourceShareInvitationRequest, AsyncHandler<AcceptResourceShareInvitationRequest,AcceptResourceShareInvitationResult> asyncHandler)
Accepts an invitation to a resource share from another AWS account.
acceptResourceShareInvitationRequest
- 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.Future<AssociateResourceShareResult> associateResourceShareAsync(AssociateResourceShareRequest associateResourceShareRequest)
Associates the specified resource share with the specified principals and resources.
associateResourceShareRequest
- Future<AssociateResourceShareResult> associateResourceShareAsync(AssociateResourceShareRequest associateResourceShareRequest, AsyncHandler<AssociateResourceShareRequest,AssociateResourceShareResult> asyncHandler)
Associates the specified resource share with the specified principals and resources.
associateResourceShareRequest
- 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.Future<CreateResourceShareResult> createResourceShareAsync(CreateResourceShareRequest createResourceShareRequest)
Creates a resource share.
createResourceShareRequest
- Future<CreateResourceShareResult> createResourceShareAsync(CreateResourceShareRequest createResourceShareRequest, AsyncHandler<CreateResourceShareRequest,CreateResourceShareResult> asyncHandler)
Creates a resource share.
createResourceShareRequest
- 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.Future<DeleteResourceShareResult> deleteResourceShareAsync(DeleteResourceShareRequest deleteResourceShareRequest)
Deletes the specified resource share.
deleteResourceShareRequest
- Future<DeleteResourceShareResult> deleteResourceShareAsync(DeleteResourceShareRequest deleteResourceShareRequest, AsyncHandler<DeleteResourceShareRequest,DeleteResourceShareResult> asyncHandler)
Deletes the specified resource share.
deleteResourceShareRequest
- 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.Future<DisassociateResourceShareResult> disassociateResourceShareAsync(DisassociateResourceShareRequest disassociateResourceShareRequest)
Disassociates the specified principals or resources from the specified resource share.
disassociateResourceShareRequest
- Future<DisassociateResourceShareResult> disassociateResourceShareAsync(DisassociateResourceShareRequest disassociateResourceShareRequest, AsyncHandler<DisassociateResourceShareRequest,DisassociateResourceShareResult> asyncHandler)
Disassociates the specified principals or resources from the specified resource share.
disassociateResourceShareRequest
- 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.Future<EnableSharingWithAwsOrganizationResult> enableSharingWithAwsOrganizationAsync(EnableSharingWithAwsOrganizationRequest enableSharingWithAwsOrganizationRequest)
Enables resource sharing within your organization.
enableSharingWithAwsOrganizationRequest
- Future<EnableSharingWithAwsOrganizationResult> enableSharingWithAwsOrganizationAsync(EnableSharingWithAwsOrganizationRequest enableSharingWithAwsOrganizationRequest, AsyncHandler<EnableSharingWithAwsOrganizationRequest,EnableSharingWithAwsOrganizationResult> asyncHandler)
Enables resource sharing within your organization.
enableSharingWithAwsOrganizationRequest
- 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.Future<GetResourcePoliciesResult> getResourcePoliciesAsync(GetResourcePoliciesRequest getResourcePoliciesRequest)
Gets the policies for the specifies resources.
getResourcePoliciesRequest
- Future<GetResourcePoliciesResult> getResourcePoliciesAsync(GetResourcePoliciesRequest getResourcePoliciesRequest, AsyncHandler<GetResourcePoliciesRequest,GetResourcePoliciesResult> asyncHandler)
Gets the policies for the specifies resources.
getResourcePoliciesRequest
- 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.Future<GetResourceShareAssociationsResult> getResourceShareAssociationsAsync(GetResourceShareAssociationsRequest getResourceShareAssociationsRequest)
Gets the associations for the specified resource share.
getResourceShareAssociationsRequest
- Future<GetResourceShareAssociationsResult> getResourceShareAssociationsAsync(GetResourceShareAssociationsRequest getResourceShareAssociationsRequest, AsyncHandler<GetResourceShareAssociationsRequest,GetResourceShareAssociationsResult> asyncHandler)
Gets the associations for the specified resource share.
getResourceShareAssociationsRequest
- 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.Future<GetResourceShareInvitationsResult> getResourceShareInvitationsAsync(GetResourceShareInvitationsRequest getResourceShareInvitationsRequest)
Gets the specified invitations for resource sharing.
getResourceShareInvitationsRequest
- Future<GetResourceShareInvitationsResult> getResourceShareInvitationsAsync(GetResourceShareInvitationsRequest getResourceShareInvitationsRequest, AsyncHandler<GetResourceShareInvitationsRequest,GetResourceShareInvitationsResult> asyncHandler)
Gets the specified invitations for resource sharing.
getResourceShareInvitationsRequest
- 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.Future<GetResourceSharesResult> getResourceSharesAsync(GetResourceSharesRequest getResourceSharesRequest)
Gets the specified resource shares or all of your resource shares.
getResourceSharesRequest
- Future<GetResourceSharesResult> getResourceSharesAsync(GetResourceSharesRequest getResourceSharesRequest, AsyncHandler<GetResourceSharesRequest,GetResourceSharesResult> asyncHandler)
Gets the specified resource shares or all of your resource shares.
getResourceSharesRequest
- 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.Future<ListPrincipalsResult> listPrincipalsAsync(ListPrincipalsRequest listPrincipalsRequest)
Lists the principals with access to the specified resource.
listPrincipalsRequest
- Future<ListPrincipalsResult> listPrincipalsAsync(ListPrincipalsRequest listPrincipalsRequest, AsyncHandler<ListPrincipalsRequest,ListPrincipalsResult> asyncHandler)
Lists the principals with access to the specified resource.
listPrincipalsRequest
- 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.Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest listResourcesRequest)
Lists the resources that the specified principal can access.
listResourcesRequest
- Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest listResourcesRequest, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
Lists the resources that the specified principal can access.
listResourcesRequest
- 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.Future<RejectResourceShareInvitationResult> rejectResourceShareInvitationAsync(RejectResourceShareInvitationRequest rejectResourceShareInvitationRequest)
Rejects an invitation to a resource share from another AWS account.
rejectResourceShareInvitationRequest
- Future<RejectResourceShareInvitationResult> rejectResourceShareInvitationAsync(RejectResourceShareInvitationRequest rejectResourceShareInvitationRequest, AsyncHandler<RejectResourceShareInvitationRequest,RejectResourceShareInvitationResult> asyncHandler)
Rejects an invitation to a resource share from another AWS account.
rejectResourceShareInvitationRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource share.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds the specified tags to the specified resource share.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource share.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the specified tags from the specified resource share.
untagResourceRequest
- 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.Future<UpdateResourceShareResult> updateResourceShareAsync(UpdateResourceShareRequest updateResourceShareRequest)
Updates the specified resource share.
updateResourceShareRequest
- Future<UpdateResourceShareResult> updateResourceShareAsync(UpdateResourceShareRequest updateResourceShareRequest, AsyncHandler<UpdateResourceShareRequest,UpdateResourceShareResult> asyncHandler)
Updates the specified resource share.
updateResourceShareRequest
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.