@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSRepostspaceAsyncClient extends AWSRepostspaceClient implements AWSRepostspaceAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSRepostspaceAsyncClientBuilder |
asyncBuilder() |
Future<CreateSpaceResult> |
createSpaceAsync(CreateSpaceRequest request)
Creates an AWS re:Post Private private re:Post.
|
Future<CreateSpaceResult> |
createSpaceAsync(CreateSpaceRequest request,
AsyncHandler<CreateSpaceRequest,CreateSpaceResult> asyncHandler)
Creates an AWS re:Post Private private re:Post.
|
Future<DeleteSpaceResult> |
deleteSpaceAsync(DeleteSpaceRequest request)
Deletes an AWS re:Post Private private re:Post.
|
Future<DeleteSpaceResult> |
deleteSpaceAsync(DeleteSpaceRequest request,
AsyncHandler<DeleteSpaceRequest,DeleteSpaceResult> asyncHandler)
Deletes an AWS re:Post Private private re:Post.
|
Future<DeregisterAdminResult> |
deregisterAdminAsync(DeregisterAdminRequest request)
Removes the user or group from the list of administrators of the private re:Post.
|
Future<DeregisterAdminResult> |
deregisterAdminAsync(DeregisterAdminRequest request,
AsyncHandler<DeregisterAdminRequest,DeregisterAdminResult> asyncHandler)
Removes the user or group from the list of administrators of the private re:Post.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetSpaceResult> |
getSpaceAsync(GetSpaceRequest request)
Displays information about the AWS re:Post Private private re:Post.
|
Future<GetSpaceResult> |
getSpaceAsync(GetSpaceRequest request,
AsyncHandler<GetSpaceRequest,GetSpaceResult> asyncHandler)
Displays information about the AWS re:Post Private private re:Post.
|
Future<ListSpacesResult> |
listSpacesAsync(ListSpacesRequest request)
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private
re:Post.
|
Future<ListSpacesResult> |
listSpacesAsync(ListSpacesRequest request,
AsyncHandler<ListSpacesRequest,ListSpacesResult> asyncHandler)
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private
re:Post.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns the tags that are associated with the AWS re:Post Private resource specified by the resourceArn.
|
Future<RegisterAdminResult> |
registerAdminAsync(RegisterAdminRequest request)
Adds a user or group to the list of administrators of the private re:Post.
|
Future<RegisterAdminResult> |
registerAdminAsync(RegisterAdminRequest request,
AsyncHandler<RegisterAdminRequest,RegisterAdminResult> asyncHandler)
Adds a user or group to the list of administrators of the private re:Post.
|
Future<SendInvitesResult> |
sendInvitesAsync(SendInvitesRequest request)
Sends an invitation email to selected users and groups.
|
Future<SendInvitesResult> |
sendInvitesAsync(SendInvitesRequest request,
AsyncHandler<SendInvitesRequest,SendInvitesResult> asyncHandler)
Sends an invitation email to selected users and groups.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Associates tags with an AWS re:Post Private resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Associates tags with an AWS re:Post Private resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Removes the association of the tag with the AWS re:Post Private resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the association of the tag with the AWS re:Post Private resource.
|
Future<UpdateSpaceResult> |
updateSpaceAsync(UpdateSpaceRequest request)
Modifies an existing AWS re:Post Private private re:Post.
|
Future<UpdateSpaceResult> |
updateSpaceAsync(UpdateSpaceRequest request,
AsyncHandler<UpdateSpaceRequest,UpdateSpaceResult> asyncHandler)
Modifies an existing AWS re:Post Private private re:Post.
|
builder, createSpace, deleteSpace, deregisterAdmin, getCachedResponseMetadata, getSpace, listSpaces, listTagsForResource, registerAdmin, sendInvites, tagResource, untagResource, updateSpace
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
createSpace, deleteSpace, deregisterAdmin, getCachedResponseMetadata, getSpace, listSpaces, listTagsForResource, registerAdmin, sendInvites, tagResource, untagResource, updateSpace
public static AWSRepostspaceAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateSpaceResult> createSpaceAsync(CreateSpaceRequest request)
AWSRepostspaceAsync
Creates an AWS re:Post Private private re:Post.
createSpaceAsync
in interface AWSRepostspaceAsync
public Future<CreateSpaceResult> createSpaceAsync(CreateSpaceRequest request, AsyncHandler<CreateSpaceRequest,CreateSpaceResult> asyncHandler)
AWSRepostspaceAsync
Creates an AWS re:Post Private private re:Post.
createSpaceAsync
in interface AWSRepostspaceAsync
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<DeleteSpaceResult> deleteSpaceAsync(DeleteSpaceRequest request)
AWSRepostspaceAsync
Deletes an AWS re:Post Private private re:Post.
deleteSpaceAsync
in interface AWSRepostspaceAsync
public Future<DeleteSpaceResult> deleteSpaceAsync(DeleteSpaceRequest request, AsyncHandler<DeleteSpaceRequest,DeleteSpaceResult> asyncHandler)
AWSRepostspaceAsync
Deletes an AWS re:Post Private private re:Post.
deleteSpaceAsync
in interface AWSRepostspaceAsync
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<DeregisterAdminResult> deregisterAdminAsync(DeregisterAdminRequest request)
AWSRepostspaceAsync
Removes the user or group from the list of administrators of the private re:Post.
deregisterAdminAsync
in interface AWSRepostspaceAsync
public Future<DeregisterAdminResult> deregisterAdminAsync(DeregisterAdminRequest request, AsyncHandler<DeregisterAdminRequest,DeregisterAdminResult> asyncHandler)
AWSRepostspaceAsync
Removes the user or group from the list of administrators of the private re:Post.
deregisterAdminAsync
in interface AWSRepostspaceAsync
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<GetSpaceResult> getSpaceAsync(GetSpaceRequest request)
AWSRepostspaceAsync
Displays information about the AWS re:Post Private private re:Post.
getSpaceAsync
in interface AWSRepostspaceAsync
public Future<GetSpaceResult> getSpaceAsync(GetSpaceRequest request, AsyncHandler<GetSpaceRequest,GetSpaceResult> asyncHandler)
AWSRepostspaceAsync
Displays information about the AWS re:Post Private private re:Post.
getSpaceAsync
in interface AWSRepostspaceAsync
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<ListSpacesResult> listSpacesAsync(ListSpacesRequest request)
AWSRepostspaceAsync
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
listSpacesAsync
in interface AWSRepostspaceAsync
public Future<ListSpacesResult> listSpacesAsync(ListSpacesRequest request, AsyncHandler<ListSpacesRequest,ListSpacesResult> asyncHandler)
AWSRepostspaceAsync
Returns a list of AWS re:Post Private private re:Posts in the account with some information about each private re:Post.
listSpacesAsync
in interface AWSRepostspaceAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSRepostspaceAsync
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.
listTagsForResourceAsync
in interface AWSRepostspaceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSRepostspaceAsync
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.
listTagsForResourceAsync
in interface AWSRepostspaceAsync
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<RegisterAdminResult> registerAdminAsync(RegisterAdminRequest request)
AWSRepostspaceAsync
Adds a user or group to the list of administrators of the private re:Post.
registerAdminAsync
in interface AWSRepostspaceAsync
public Future<RegisterAdminResult> registerAdminAsync(RegisterAdminRequest request, AsyncHandler<RegisterAdminRequest,RegisterAdminResult> asyncHandler)
AWSRepostspaceAsync
Adds a user or group to the list of administrators of the private re:Post.
registerAdminAsync
in interface AWSRepostspaceAsync
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<SendInvitesResult> sendInvitesAsync(SendInvitesRequest request)
AWSRepostspaceAsync
Sends an invitation email to selected users and groups.
sendInvitesAsync
in interface AWSRepostspaceAsync
public Future<SendInvitesResult> sendInvitesAsync(SendInvitesRequest request, AsyncHandler<SendInvitesRequest,SendInvitesResult> asyncHandler)
AWSRepostspaceAsync
Sends an invitation email to selected users and groups.
sendInvitesAsync
in interface AWSRepostspaceAsync
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)
AWSRepostspaceAsync
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.
tagResourceAsync
in interface AWSRepostspaceAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSRepostspaceAsync
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.
tagResourceAsync
in interface AWSRepostspaceAsync
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)
AWSRepostspaceAsync
Removes the association of the tag with the AWS re:Post Private resource.
untagResourceAsync
in interface AWSRepostspaceAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSRepostspaceAsync
Removes the association of the tag with the AWS re:Post Private resource.
untagResourceAsync
in interface AWSRepostspaceAsync
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<UpdateSpaceResult> updateSpaceAsync(UpdateSpaceRequest request)
AWSRepostspaceAsync
Modifies an existing AWS re:Post Private private re:Post.
updateSpaceAsync
in interface AWSRepostspaceAsync
public Future<UpdateSpaceResult> updateSpaceAsync(UpdateSpaceRequest request, AsyncHandler<UpdateSpaceRequest,UpdateSpaceResult> asyncHandler)
AWSRepostspaceAsync
Modifies an existing AWS re:Post Private private re:Post.
updateSpaceAsync
in interface AWSRepostspaceAsync
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 AWSRepostspace
shutdown
in class AWSRepostspaceClient