@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSRAMAsync extends AbstractAWSRAM implements AWSRAMAsync
AWSRAMAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
acceptResourceShareInvitation, associateResourceShare, associateResourceSharePermission, createResourceShare, deleteResourceShare, disassociateResourceShare, disassociateResourceSharePermission, enableSharingWithAwsOrganization, getCachedResponseMetadata, getPermission, getResourcePolicies, getResourceShareAssociations, getResourceShareInvitations, getResourceShares, listPendingInvitationResources, listPermissions, listPrincipals, listResources, listResourceSharePermissions, listResourceTypes, promoteResourceShareCreatedFromPolicy, rejectResourceShareInvitation, shutdown, tagResource, untagResource, updateResourceShare
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, listPrincipals, listResources, listResourceSharePermissions, listResourceTypes, promoteResourceShareCreatedFromPolicy, rejectResourceShareInvitation, shutdown, tagResource, untagResource, updateResourceShare
public Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest request)
AWSRAMAsync
Accepts an invitation to a resource share from another AWS account.
acceptResourceShareInvitationAsync
in interface AWSRAMAsync
public Future<AcceptResourceShareInvitationResult> acceptResourceShareInvitationAsync(AcceptResourceShareInvitationRequest request, AsyncHandler<AcceptResourceShareInvitationRequest,AcceptResourceShareInvitationResult> asyncHandler)
AWSRAMAsync
Accepts an invitation to a resource share from another AWS account.
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
Associates the specified resource share with the specified principals and resources.
associateResourceShareAsync
in interface AWSRAMAsync
public Future<AssociateResourceShareResult> associateResourceShareAsync(AssociateResourceShareRequest request, AsyncHandler<AssociateResourceShareRequest,AssociateResourceShareResult> asyncHandler)
AWSRAMAsync
Associates the specified resource share with the specified principals and resources.
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
Associates a permission with a resource share.
associateResourceSharePermissionAsync
in interface AWSRAMAsync
public Future<AssociateResourceSharePermissionResult> associateResourceSharePermissionAsync(AssociateResourceSharePermissionRequest request, AsyncHandler<AssociateResourceSharePermissionRequest,AssociateResourceSharePermissionResult> asyncHandler)
AWSRAMAsync
Associates a permission with a 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.
createResourceShareAsync
in interface AWSRAMAsync
public Future<CreateResourceShareResult> createResourceShareAsync(CreateResourceShareRequest request, AsyncHandler<CreateResourceShareRequest,CreateResourceShareResult> asyncHandler)
AWSRAMAsync
Creates a resource share.
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.
deleteResourceShareAsync
in interface AWSRAMAsync
public Future<DeleteResourceShareResult> deleteResourceShareAsync(DeleteResourceShareRequest request, AsyncHandler<DeleteResourceShareRequest,DeleteResourceShareResult> asyncHandler)
AWSRAMAsync
Deletes the specified resource share.
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 AWS RAM permission from a resource share.
disassociateResourceSharePermissionAsync
in interface AWSRAMAsync
public Future<DisassociateResourceSharePermissionResult> disassociateResourceSharePermissionAsync(DisassociateResourceSharePermissionRequest request, AsyncHandler<DisassociateResourceSharePermissionRequest,DisassociateResourceSharePermissionResult> asyncHandler)
AWSRAMAsync
Disassociates an AWS RAM permission from a 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 AWS Organization.
The caller must be the master account for the AWS Organization.
enableSharingWithAwsOrganizationAsync
in interface AWSRAMAsync
public Future<EnableSharingWithAwsOrganizationResult> enableSharingWithAwsOrganizationAsync(EnableSharingWithAwsOrganizationRequest request, AsyncHandler<EnableSharingWithAwsOrganizationRequest,EnableSharingWithAwsOrganizationResult> asyncHandler)
AWSRAMAsync
Enables resource sharing within your AWS Organization.
The caller must be the master account for the AWS Organization.
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 AWS 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 AWS 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
Gets the 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
Gets the 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
Gets the resources or principals for the resource shares that you own.
getResourceShareAssociationsAsync
in interface AWSRAMAsync
public Future<GetResourceShareAssociationsResult> getResourceShareAssociationsAsync(GetResourceShareAssociationsRequest request, AsyncHandler<GetResourceShareAssociationsRequest,GetResourceShareAssociationsResult> asyncHandler)
AWSRAMAsync
Gets the resources or principals for the 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
Gets the invitations for resource sharing that you've received.
getResourceShareInvitationsAsync
in interface AWSRAMAsync
public Future<GetResourceShareInvitationsResult> getResourceShareInvitationsAsync(GetResourceShareInvitationsRequest request, AsyncHandler<GetResourceShareInvitationsRequest,GetResourceShareInvitationsResult> asyncHandler)
AWSRAMAsync
Gets the invitations for resource sharing that you've received.
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
Gets the resource shares that you own or the resource shares that are shared with you.
getResourceSharesAsync
in interface AWSRAMAsync
public Future<GetResourceSharesResult> getResourceSharesAsync(GetResourceSharesRequest request, AsyncHandler<GetResourceSharesRequest,GetResourceSharesResult> asyncHandler)
AWSRAMAsync
Gets the resource shares that you own or the resource shares 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 that the invitation is still pending for.
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 that the invitation is still pending for.
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<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request)
AWSRAMAsync
Lists the AWS RAM permissions.
listPermissionsAsync
in interface AWSRAMAsync
public Future<ListPermissionsResult> listPermissionsAsync(ListPermissionsRequest request, AsyncHandler<ListPermissionsRequest,ListPermissionsResult> asyncHandler)
AWSRAMAsync
Lists the AWS RAM permissions.
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 have shared resources with or that have shared resources with you.
listPrincipalsAsync
in interface AWSRAMAsync
public Future<ListPrincipalsResult> listPrincipalsAsync(ListPrincipalsRequest request, AsyncHandler<ListPrincipalsRequest,ListPrincipalsResult> asyncHandler)
AWSRAMAsync
Lists the principals that you have shared resources with or that have shared 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 AWS 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 AWS 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 shareable resource types supported by AWS RAM.
listResourceTypesAsync
in interface AWSRAMAsync
public Future<ListResourceTypesResult> listResourceTypesAsync(ListResourceTypesRequest request, AsyncHandler<ListResourceTypesRequest,ListResourceTypesResult> asyncHandler)
AWSRAMAsync
Lists the shareable resource types supported by AWS 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 shares 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 shares 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
Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.
Use this API action to promote the resource share. When you promote the resource share, it becomes:
Visible to all principals that it is shared with.
Modifiable in AWS RAM.
promoteResourceShareCreatedFromPolicyAsync
in interface AWSRAMAsync
public Future<PromoteResourceShareCreatedFromPolicyResult> promoteResourceShareCreatedFromPolicyAsync(PromoteResourceShareCreatedFromPolicyRequest request, AsyncHandler<PromoteResourceShareCreatedFromPolicyRequest,PromoteResourceShareCreatedFromPolicyResult> asyncHandler)
AWSRAMAsync
Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.
Use this API action to promote the resource share. When you promote the resource share, it becomes:
Visible to all principals that it is shared with.
Modifiable in AWS RAM.
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 AWS 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 AWS 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 tags to the specified resource share that you own.
tagResourceAsync
in interface AWSRAMAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSRAMAsync
Adds the specified tags to the specified resource share that you own.
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 tags from the specified resource share that you own.
untagResourceAsync
in interface AWSRAMAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSRAMAsync
Removes the specified tags from the specified resource share that you own.
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
Updates the specified resource share that you own.
updateResourceShareAsync
in interface AWSRAMAsync
public Future<UpdateResourceShareResult> updateResourceShareAsync(UpdateResourceShareRequest request, AsyncHandler<UpdateResourceShareRequest,UpdateResourceShareResult> asyncHandler)
AWSRAMAsync
Updates the specified resource share that you own.
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.