
com.amazonaws.services.ram.AWSRAMAsync Maven / Gradle / Ivy
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.ram;
import javax.annotation.Generated;
import com.amazonaws.services.ram.model.*;
/**
* Interface for accessing RAM asynchronously. Each asynchronous method will return a Java Future object representing
* the asynchronous operation; overloads which accept an {@code 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
* {@link com.amazonaws.services.ram.AbstractAWSRAMAsync} instead.
*
*
*
* 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 and within your organization or organizational units (OUs) in
* Organizations. For supported resource types, you can also share resources with IAM roles and IAM users. If you have
* multiple Amazon Web Services accounts, you can use RAM to share those resources with other accounts.
*
*
* To learn more about RAM, see the following resources:
*
*
* -
*
*
* -
*
*
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSRAMAsync extends AWSRAM {
/**
*
* Accepts an invitation to a resource share from another Amazon Web Services account.
*
*
* @param acceptResourceShareInvitationRequest
* @return A Java Future containing the result of the AcceptResourceShareInvitation operation returned by the
* service.
* @sample AWSRAMAsync.AcceptResourceShareInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future acceptResourceShareInvitationAsync(
AcceptResourceShareInvitationRequest acceptResourceShareInvitationRequest);
/**
*
* Accepts an invitation to a resource share from another Amazon Web Services account.
*
*
* @param acceptResourceShareInvitationRequest
* @param 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.
* @return A Java Future containing the result of the AcceptResourceShareInvitation operation returned by the
* service.
* @sample AWSRAMAsyncHandler.AcceptResourceShareInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future acceptResourceShareInvitationAsync(
AcceptResourceShareInvitationRequest acceptResourceShareInvitationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Associates the specified resource share with the specified principals and resources.
*
*
* @param associateResourceShareRequest
* @return A Java Future containing the result of the AssociateResourceShare operation returned by the service.
* @sample AWSRAMAsync.AssociateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateResourceShareAsync(AssociateResourceShareRequest associateResourceShareRequest);
/**
*
* Associates the specified resource share with the specified principals and resources.
*
*
* @param associateResourceShareRequest
* @param 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.
* @return A Java Future containing the result of the AssociateResourceShare operation returned by the service.
* @sample AWSRAMAsyncHandler.AssociateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future associateResourceShareAsync(AssociateResourceShareRequest associateResourceShareRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Associates a permission with a resource share.
*
*
* @param associateResourceSharePermissionRequest
* @return A Java Future containing the result of the AssociateResourceSharePermission operation returned by the
* service.
* @sample AWSRAMAsync.AssociateResourceSharePermission
* @see AWS API Documentation
*/
java.util.concurrent.Future associateResourceSharePermissionAsync(
AssociateResourceSharePermissionRequest associateResourceSharePermissionRequest);
/**
*
* Associates a permission with a resource share.
*
*
* @param associateResourceSharePermissionRequest
* @param 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.
* @return A Java Future containing the result of the AssociateResourceSharePermission operation returned by the
* service.
* @sample AWSRAMAsyncHandler.AssociateResourceSharePermission
* @see AWS API Documentation
*/
java.util.concurrent.Future associateResourceSharePermissionAsync(
AssociateResourceSharePermissionRequest associateResourceSharePermissionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a resource share. You must provide a list of the Amazon Resource Names (ARNs) for the resources you want
* to share. You must also specify who you want to share the resources with, and the permissions that you grant
* them.
*
*
*
* 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.
*
*
*
* @param createResourceShareRequest
* @return A Java Future containing the result of the CreateResourceShare operation returned by the service.
* @sample AWSRAMAsync.CreateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createResourceShareAsync(CreateResourceShareRequest createResourceShareRequest);
/**
*
* Creates a resource share. You must provide a list of the Amazon Resource Names (ARNs) for the resources you want
* to share. You must also specify who you want to share the resources with, and the permissions that you grant
* them.
*
*
*
* 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.
*
*
*
* @param createResourceShareRequest
* @param 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.
* @return A Java Future containing the result of the CreateResourceShare operation returned by the service.
* @sample AWSRAMAsyncHandler.CreateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createResourceShareAsync(CreateResourceShareRequest createResourceShareRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the specified resource share.
*
*
* @param deleteResourceShareRequest
* @return A Java Future containing the result of the DeleteResourceShare operation returned by the service.
* @sample AWSRAMAsync.DeleteResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteResourceShareAsync(DeleteResourceShareRequest deleteResourceShareRequest);
/**
*
* Deletes the specified resource share.
*
*
* @param deleteResourceShareRequest
* @param 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.
* @return A Java Future containing the result of the DeleteResourceShare operation returned by the service.
* @sample AWSRAMAsyncHandler.DeleteResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteResourceShareAsync(DeleteResourceShareRequest deleteResourceShareRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disassociates the specified principals or resources from the specified resource share.
*
*
* @param disassociateResourceShareRequest
* @return A Java Future containing the result of the DisassociateResourceShare operation returned by the service.
* @sample AWSRAMAsync.DisassociateResourceShare
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateResourceShareAsync(
DisassociateResourceShareRequest disassociateResourceShareRequest);
/**
*
* Disassociates the specified principals or resources from the specified resource share.
*
*
* @param disassociateResourceShareRequest
* @param 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.
* @return A Java Future containing the result of the DisassociateResourceShare operation returned by the service.
* @sample AWSRAMAsyncHandler.DisassociateResourceShare
* @see AWS
* API Documentation
*/
java.util.concurrent.Future disassociateResourceShareAsync(
DisassociateResourceShareRequest disassociateResourceShareRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Disassociates an RAM permission from a resource share.
*
*
* @param disassociateResourceSharePermissionRequest
* @return A Java Future containing the result of the DisassociateResourceSharePermission operation returned by the
* service.
* @sample AWSRAMAsync.DisassociateResourceSharePermission
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateResourceSharePermissionAsync(
DisassociateResourceSharePermissionRequest disassociateResourceSharePermissionRequest);
/**
*
* Disassociates an RAM permission from a resource share.
*
*
* @param disassociateResourceSharePermissionRequest
* @param 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.
* @return A Java Future containing the result of the DisassociateResourceSharePermission operation returned by the
* service.
* @sample AWSRAMAsyncHandler.DisassociateResourceSharePermission
* @see AWS API Documentation
*/
java.util.concurrent.Future disassociateResourceSharePermissionAsync(
DisassociateResourceSharePermissionRequest disassociateResourceSharePermissionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Enables resource sharing within your organization in Organizations.
*
*
* The caller must be the master account for the organization.
*
*
* @param enableSharingWithAwsOrganizationRequest
* @return A Java Future containing the result of the EnableSharingWithAwsOrganization operation returned by the
* service.
* @sample AWSRAMAsync.EnableSharingWithAwsOrganization
* @see AWS API Documentation
*/
java.util.concurrent.Future enableSharingWithAwsOrganizationAsync(
EnableSharingWithAwsOrganizationRequest enableSharingWithAwsOrganizationRequest);
/**
*
* Enables resource sharing within your organization in Organizations.
*
*
* The caller must be the master account for the organization.
*
*
* @param enableSharingWithAwsOrganizationRequest
* @param 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.
* @return A Java Future containing the result of the EnableSharingWithAwsOrganization operation returned by the
* service.
* @sample AWSRAMAsyncHandler.EnableSharingWithAwsOrganization
* @see AWS API Documentation
*/
java.util.concurrent.Future enableSharingWithAwsOrganizationAsync(
EnableSharingWithAwsOrganizationRequest enableSharingWithAwsOrganizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the contents of an RAM permission in JSON format.
*
*
* @param getPermissionRequest
* @return A Java Future containing the result of the GetPermission operation returned by the service.
* @sample AWSRAMAsync.GetPermission
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPermissionAsync(GetPermissionRequest getPermissionRequest);
/**
*
* Gets the contents of an RAM permission in JSON format.
*
*
* @param getPermissionRequest
* @param 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.
* @return A Java Future containing the result of the GetPermission operation returned by the service.
* @sample AWSRAMAsyncHandler.GetPermission
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getPermissionAsync(GetPermissionRequest getPermissionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the policies for the specified resources that you own and have shared.
*
*
* @param getResourcePoliciesRequest
* @return A Java Future containing the result of the GetResourcePolicies operation returned by the service.
* @sample AWSRAMAsync.GetResourcePolicies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getResourcePoliciesAsync(GetResourcePoliciesRequest getResourcePoliciesRequest);
/**
*
* Gets the policies for the specified resources that you own and have shared.
*
*
* @param getResourcePoliciesRequest
* @param 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.
* @return A Java Future containing the result of the GetResourcePolicies operation returned by the service.
* @sample AWSRAMAsyncHandler.GetResourcePolicies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getResourcePoliciesAsync(GetResourcePoliciesRequest getResourcePoliciesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the resources or principals for the resource shares that you own.
*
*
* @param getResourceShareAssociationsRequest
* @return A Java Future containing the result of the GetResourceShareAssociations operation returned by the
* service.
* @sample AWSRAMAsync.GetResourceShareAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceShareAssociationsAsync(
GetResourceShareAssociationsRequest getResourceShareAssociationsRequest);
/**
*
* Gets the resources or principals for the resource shares that you own.
*
*
* @param getResourceShareAssociationsRequest
* @param 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.
* @return A Java Future containing the result of the GetResourceShareAssociations operation returned by the
* service.
* @sample AWSRAMAsyncHandler.GetResourceShareAssociations
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceShareAssociationsAsync(
GetResourceShareAssociationsRequest getResourceShareAssociationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the invitations that you have received for resource shares.
*
*
* @param getResourceShareInvitationsRequest
* @return A Java Future containing the result of the GetResourceShareInvitations operation returned by the service.
* @sample AWSRAMAsync.GetResourceShareInvitations
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceShareInvitationsAsync(
GetResourceShareInvitationsRequest getResourceShareInvitationsRequest);
/**
*
* Gets the invitations that you have received for resource shares.
*
*
* @param getResourceShareInvitationsRequest
* @param 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.
* @return A Java Future containing the result of the GetResourceShareInvitations operation returned by the service.
* @sample AWSRAMAsyncHandler.GetResourceShareInvitations
* @see AWS API Documentation
*/
java.util.concurrent.Future getResourceShareInvitationsAsync(
GetResourceShareInvitationsRequest getResourceShareInvitationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets the resource shares that you own or the resource shares that are shared with you.
*
*
* @param getResourceSharesRequest
* @return A Java Future containing the result of the GetResourceShares operation returned by the service.
* @sample AWSRAMAsync.GetResourceShares
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getResourceSharesAsync(GetResourceSharesRequest getResourceSharesRequest);
/**
*
* Gets the resource shares that you own or the resource shares that are shared with you.
*
*
* @param getResourceSharesRequest
* @param 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.
* @return A Java Future containing the result of the GetResourceShares operation returned by the service.
* @sample AWSRAMAsyncHandler.GetResourceShares
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getResourceSharesAsync(GetResourceSharesRequest getResourceSharesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
*
*
* @param listPendingInvitationResourcesRequest
* @return A Java Future containing the result of the ListPendingInvitationResources operation returned by the
* service.
* @sample AWSRAMAsync.ListPendingInvitationResources
* @see AWS API Documentation
*/
java.util.concurrent.Future listPendingInvitationResourcesAsync(
ListPendingInvitationResourcesRequest listPendingInvitationResourcesRequest);
/**
*
* Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
*
*
* @param listPendingInvitationResourcesRequest
* @param 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.
* @return A Java Future containing the result of the ListPendingInvitationResources operation returned by the
* service.
* @sample AWSRAMAsyncHandler.ListPendingInvitationResources
* @see AWS API Documentation
*/
java.util.concurrent.Future listPendingInvitationResourcesAsync(
ListPendingInvitationResourcesRequest listPendingInvitationResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the RAM permissions.
*
*
* @param listPermissionsRequest
* @return A Java Future containing the result of the ListPermissions operation returned by the service.
* @sample AWSRAMAsync.ListPermissions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPermissionsAsync(ListPermissionsRequest listPermissionsRequest);
/**
*
* Lists the RAM permissions.
*
*
* @param listPermissionsRequest
* @param 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.
* @return A Java Future containing the result of the ListPermissions operation returned by the service.
* @sample AWSRAMAsyncHandler.ListPermissions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPermissionsAsync(ListPermissionsRequest listPermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the principals that you have shared resources with or that have shared resources with you.
*
*
* @param listPrincipalsRequest
* @return A Java Future containing the result of the ListPrincipals operation returned by the service.
* @sample AWSRAMAsync.ListPrincipals
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPrincipalsAsync(ListPrincipalsRequest listPrincipalsRequest);
/**
*
* Lists the principals that you have shared resources with or that have shared resources with you.
*
*
* @param listPrincipalsRequest
* @param 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.
* @return A Java Future containing the result of the ListPrincipals operation returned by the service.
* @sample AWSRAMAsyncHandler.ListPrincipals
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listPrincipalsAsync(ListPrincipalsRequest listPrincipalsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the RAM permissions that are associated with a resource share.
*
*
* @param listResourceSharePermissionsRequest
* @return A Java Future containing the result of the ListResourceSharePermissions operation returned by the
* service.
* @sample AWSRAMAsync.ListResourceSharePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future listResourceSharePermissionsAsync(
ListResourceSharePermissionsRequest listResourceSharePermissionsRequest);
/**
*
* Lists the RAM permissions that are associated with a resource share.
*
*
* @param listResourceSharePermissionsRequest
* @param 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.
* @return A Java Future containing the result of the ListResourceSharePermissions operation returned by the
* service.
* @sample AWSRAMAsyncHandler.ListResourceSharePermissions
* @see AWS API Documentation
*/
java.util.concurrent.Future listResourceSharePermissionsAsync(
ListResourceSharePermissionsRequest listResourceSharePermissionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the shareable resource types supported by RAM.
*
*
* @param listResourceTypesRequest
* @return A Java Future containing the result of the ListResourceTypes operation returned by the service.
* @sample AWSRAMAsync.ListResourceTypes
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourceTypesAsync(ListResourceTypesRequest listResourceTypesRequest);
/**
*
* Lists the shareable resource types supported by RAM.
*
*
* @param listResourceTypesRequest
* @param 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.
* @return A Java Future containing the result of the ListResourceTypes operation returned by the service.
* @sample AWSRAMAsyncHandler.ListResourceTypes
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourceTypesAsync(ListResourceTypesRequest listResourceTypesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Lists the resources that you added to a resource shares or the resources that are shared with you.
*
*
* @param listResourcesRequest
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AWSRAMAsync.ListResources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest);
/**
*
* Lists the resources that you added to a resource shares or the resources that are shared with you.
*
*
* @param listResourcesRequest
* @param 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.
* @return A Java Future containing the result of the ListResources operation returned by the service.
* @sample AWSRAMAsyncHandler.ListResources
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listResourcesAsync(ListResourcesRequest listResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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 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 RAM.
*
*
*
*
* @param promoteResourceShareCreatedFromPolicyRequest
* @return A Java Future containing the result of the PromoteResourceShareCreatedFromPolicy operation returned by
* the service.
* @sample AWSRAMAsync.PromoteResourceShareCreatedFromPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future promoteResourceShareCreatedFromPolicyAsync(
PromoteResourceShareCreatedFromPolicyRequest promoteResourceShareCreatedFromPolicyRequest);
/**
*
* 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 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 RAM.
*
*
*
*
* @param promoteResourceShareCreatedFromPolicyRequest
* @param 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.
* @return A Java Future containing the result of the PromoteResourceShareCreatedFromPolicy operation returned by
* the service.
* @sample AWSRAMAsyncHandler.PromoteResourceShareCreatedFromPolicy
* @see AWS API Documentation
*/
java.util.concurrent.Future promoteResourceShareCreatedFromPolicyAsync(
PromoteResourceShareCreatedFromPolicyRequest promoteResourceShareCreatedFromPolicyRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Rejects an invitation to a resource share from another Amazon Web Services account.
*
*
* @param rejectResourceShareInvitationRequest
* @return A Java Future containing the result of the RejectResourceShareInvitation operation returned by the
* service.
* @sample AWSRAMAsync.RejectResourceShareInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future rejectResourceShareInvitationAsync(
RejectResourceShareInvitationRequest rejectResourceShareInvitationRequest);
/**
*
* Rejects an invitation to a resource share from another Amazon Web Services account.
*
*
* @param rejectResourceShareInvitationRequest
* @param 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.
* @return A Java Future containing the result of the RejectResourceShareInvitation operation returned by the
* service.
* @sample AWSRAMAsyncHandler.RejectResourceShareInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future rejectResourceShareInvitationAsync(
RejectResourceShareInvitationRequest rejectResourceShareInvitationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds the specified tags to the specified resource share that you own.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSRAMAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Adds the specified tags to the specified resource share that you own.
*
*
* @param tagResourceRequest
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSRAMAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the specified tags from the specified resource share that you own.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSRAMAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes the specified tags from the specified resource share that you own.
*
*
* @param untagResourceRequest
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSRAMAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates the specified resource share that you own.
*
*
* @param updateResourceShareRequest
* @return A Java Future containing the result of the UpdateResourceShare operation returned by the service.
* @sample AWSRAMAsync.UpdateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateResourceShareAsync(UpdateResourceShareRequest updateResourceShareRequest);
/**
*
* Updates the specified resource share that you own.
*
*
* @param updateResourceShareRequest
* @param 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.
* @return A Java Future containing the result of the UpdateResourceShare operation returned by the service.
* @sample AWSRAMAsyncHandler.UpdateResourceShare
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateResourceShareAsync(UpdateResourceShareRequest updateResourceShareRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}