
com.amazonaws.services.repostspace.AWSRepostspaceAsync Maven / Gradle / Ivy
/*
* Copyright 2019-2024 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.repostspace;
import javax.annotation.Generated;
import com.amazonaws.services.repostspace.model.*;
/**
* Interface for accessing AWS re:Post Private 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.repostspace.AbstractAWSRepostspaceAsync} instead.
*
*
*
* AWS re:Post Private is a private version of AWS re:Post for enterprises with Enterprise Support or Enterprise On-Ramp
* Support plans. It provides access to knowledge and experts to accelerate cloud adoption and increase developer
* productivity. With your organization-specific private re:Post, you can build an organization-specific developer
* community that drives efficiencies at scale and provides access to valuable knowledge resources. Additionally,
* re:Post Private centralizes trusted AWS technical content and offers private discussion forums to improve how your
* teams collaborate internally and with AWS to remove technical obstacles, accelerate innovation, and scale more
* efficiently in the cloud.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSRepostspaceAsync extends AWSRepostspace {
/**
*
* Creates an AWS re:Post Private private re:Post.
*
*
* @param createSpaceRequest
* @return A Java Future containing the result of the CreateSpace operation returned by the service.
* @sample AWSRepostspaceAsync.CreateSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createSpaceAsync(CreateSpaceRequest createSpaceRequest);
/**
*
* Creates an AWS re:Post Private private re:Post.
*
*
* @param createSpaceRequest
* @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 CreateSpace operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.CreateSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createSpaceAsync(CreateSpaceRequest createSpaceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an AWS re:Post Private private re:Post.
*
*
* @param deleteSpaceRequest
* @return A Java Future containing the result of the DeleteSpace operation returned by the service.
* @sample AWSRepostspaceAsync.DeleteSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteSpaceAsync(DeleteSpaceRequest deleteSpaceRequest);
/**
*
* Deletes an AWS re:Post Private private re:Post.
*
*
* @param deleteSpaceRequest
* @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 DeleteSpace operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.DeleteSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteSpaceAsync(DeleteSpaceRequest deleteSpaceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the user or group from the list of administrators of the private re:Post.
*
*
* @param deregisterAdminRequest
* @return A Java Future containing the result of the DeregisterAdmin operation returned by the service.
* @sample AWSRepostspaceAsync.DeregisterAdmin
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deregisterAdminAsync(DeregisterAdminRequest deregisterAdminRequest);
/**
*
* Removes the user or group from the list of administrators of the private re:Post.
*
*
* @param deregisterAdminRequest
* @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 DeregisterAdmin operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.DeregisterAdmin
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deregisterAdminAsync(DeregisterAdminRequest deregisterAdminRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Displays information about the AWS re:Post Private private re:Post.
*
*
* @param getSpaceRequest
* @return A Java Future containing the result of the GetSpace operation returned by the service.
* @sample AWSRepostspaceAsync.GetSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getSpaceAsync(GetSpaceRequest getSpaceRequest);
/**
*
* Displays information about the AWS re:Post Private private re:Post.
*
*
* @param getSpaceRequest
* @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 GetSpace operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.GetSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getSpaceAsync(GetSpaceRequest getSpaceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private
* re:Post.
*
*
* @param listSpacesRequest
* @return A Java Future containing the result of the ListSpaces operation returned by the service.
* @sample AWSRepostspaceAsync.ListSpaces
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listSpacesAsync(ListSpacesRequest listSpacesRequest);
/**
*
* Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private
* re:Post.
*
*
* @param listSpacesRequest
* @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 ListSpaces operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.ListSpaces
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listSpacesAsync(ListSpacesRequest listSpacesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only
* resource that can be tagged is a private re:Post.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSRepostspaceAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn. The only
* resource that can be tagged is a private re:Post.
*
*
* @param listTagsForResourceRequest
* @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 ListTagsForResource operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds a user or group to the list of administrators of the private re:Post.
*
*
* @param registerAdminRequest
* @return A Java Future containing the result of the RegisterAdmin operation returned by the service.
* @sample AWSRepostspaceAsync.RegisterAdmin
* @see AWS API
* Documentation
*/
java.util.concurrent.Future registerAdminAsync(RegisterAdminRequest registerAdminRequest);
/**
*
* Adds a user or group to the list of administrators of the private re:Post.
*
*
* @param registerAdminRequest
* @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 RegisterAdmin operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.RegisterAdmin
* @see AWS API
* Documentation
*/
java.util.concurrent.Future registerAdminAsync(RegisterAdminRequest registerAdminRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Sends an invitation email to selected users and groups.
*
*
* @param sendInvitesRequest
* @return A Java Future containing the result of the SendInvites operation returned by the service.
* @sample AWSRepostspaceAsync.SendInvites
* @see AWS API
* Documentation
*/
java.util.concurrent.Future sendInvitesAsync(SendInvitesRequest sendInvitesRequest);
/**
*
* Sends an invitation email to selected users and groups.
*
*
* @param sendInvitesRequest
* @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 SendInvites operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.SendInvites
* @see AWS API
* Documentation
*/
java.util.concurrent.Future sendInvitesAsync(SendInvitesRequest sendInvitesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the
* private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are
* associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag
* value that you specify replaces the previous value for that tag.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSRepostspaceAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* Associates tags with an AWS re:Post Private resource. Currently, the only resource that can be tagged is the
* private re:Post. If you specify a new tag key for the resource, the tag is appended to the list of tags that are
* associated with the resource. If you specify a tag key that’s already associated with the resource, the new tag
* value that you specify replaces the previous value for that tag.
*
*
* @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 AWSRepostspaceAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes the association of the tag with the AWS re:Post Private resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSRepostspaceAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes the association of the tag with the AWS re:Post Private resource.
*
*
* @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 AWSRepostspaceAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies an existing AWS re:Post Private private re:Post.
*
*
* @param updateSpaceRequest
* @return A Java Future containing the result of the UpdateSpace operation returned by the service.
* @sample AWSRepostspaceAsync.UpdateSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateSpaceAsync(UpdateSpaceRequest updateSpaceRequest);
/**
*
* Modifies an existing AWS re:Post Private private re:Post.
*
*
* @param updateSpaceRequest
* @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 UpdateSpace operation returned by the service.
* @sample AWSRepostspaceAsyncHandler.UpdateSpace
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateSpaceAsync(UpdateSpaceRequest updateSpaceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}