@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonChimeSDKIdentityAsyncClient extends AmazonChimeSDKIdentityClient implements AmazonChimeSDKIdentityAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
The Amazon Chime SDK Identity APIs in this section allow software developers to create and manage unique instances of their messaging applications. These APIs provide the overarching framework for creating and sending messages. For more information about the identity APIs, refer to Amazon Chime SDK identity.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createAppInstance, createAppInstanceAdmin, createAppInstanceUser, deleteAppInstance, deleteAppInstanceAdmin, deleteAppInstanceUser, describeAppInstance, describeAppInstanceAdmin, describeAppInstanceUser, getAppInstanceRetentionSettings, getCachedResponseMetadata, listAppInstanceAdmins, listAppInstances, listAppInstanceUsers, putAppInstanceRetentionSettings, updateAppInstance, updateAppInstanceUser
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
createAppInstance, createAppInstanceAdmin, createAppInstanceUser, deleteAppInstance, deleteAppInstanceAdmin, deleteAppInstanceUser, describeAppInstance, describeAppInstanceAdmin, describeAppInstanceUser, getAppInstanceRetentionSettings, getCachedResponseMetadata, listAppInstanceAdmins, listAppInstances, listAppInstanceUsers, putAppInstanceRetentionSettings, updateAppInstance, updateAppInstanceUser
public static AmazonChimeSDKIdentityAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAppInstanceResult> createAppInstanceAsync(CreateAppInstanceRequest request)
AmazonChimeSDKIdentityAsync
Creates an Amazon Chime SDK messaging AppInstance
under an AWS account. Only SDK messaging customers
use this API. CreateAppInstance
supports idempotency behavior as described in the AWS API Standard.
identity
createAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
public Future<CreateAppInstanceResult> createAppInstanceAsync(CreateAppInstanceRequest request, AsyncHandler<CreateAppInstanceRequest,CreateAppInstanceResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Creates an Amazon Chime SDK messaging AppInstance
under an AWS account. Only SDK messaging customers
use this API. CreateAppInstance
supports idempotency behavior as described in the AWS API Standard.
identity
createAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
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<CreateAppInstanceAdminResult> createAppInstanceAdminAsync(CreateAppInstanceAdminRequest request)
AmazonChimeSDKIdentityAsync
Promotes an AppInstanceUser
to an AppInstanceAdmin
. The promoted user can perform the
following actions.
ChannelModerator
actions across all channels in the AppInstance
.
DeleteChannelMessage
actions.
Only an AppInstanceUser
can be promoted to an AppInstanceAdmin
role.
createAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
public Future<CreateAppInstanceAdminResult> createAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, AsyncHandler<CreateAppInstanceAdminRequest,CreateAppInstanceAdminResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Promotes an AppInstanceUser
to an AppInstanceAdmin
. The promoted user can perform the
following actions.
ChannelModerator
actions across all channels in the AppInstance
.
DeleteChannelMessage
actions.
Only an AppInstanceUser
can be promoted to an AppInstanceAdmin
role.
createAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
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<CreateAppInstanceUserResult> createAppInstanceUserAsync(CreateAppInstanceUserRequest request)
AmazonChimeSDKIdentityAsync
Creates a user under an Amazon Chime AppInstance
. The request consists of a unique
appInstanceUserId
and Name
for that user.
createAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
public Future<CreateAppInstanceUserResult> createAppInstanceUserAsync(CreateAppInstanceUserRequest request, AsyncHandler<CreateAppInstanceUserRequest,CreateAppInstanceUserResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Creates a user under an Amazon Chime AppInstance
. The request consists of a unique
appInstanceUserId
and Name
for that user.
createAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
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<DeleteAppInstanceResult> deleteAppInstanceAsync(DeleteAppInstanceRequest request)
AmazonChimeSDKIdentityAsync
Deletes an AppInstance
and all associated data asynchronously.
deleteAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DeleteAppInstanceResult> deleteAppInstanceAsync(DeleteAppInstanceRequest request, AsyncHandler<DeleteAppInstanceRequest,DeleteAppInstanceResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Deletes an AppInstance
and all associated data asynchronously.
deleteAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
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<DeleteAppInstanceAdminResult> deleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request)
AmazonChimeSDKIdentityAsync
Demotes an AppInstanceAdmin
to an AppInstanceUser
. This action does not delete the
user.
deleteAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DeleteAppInstanceAdminResult> deleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, AsyncHandler<DeleteAppInstanceAdminRequest,DeleteAppInstanceAdminResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Demotes an AppInstanceAdmin
to an AppInstanceUser
. This action does not delete the
user.
deleteAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
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<DeleteAppInstanceUserResult> deleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request)
AmazonChimeSDKIdentityAsync
Deletes an AppInstanceUser
.
deleteAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DeleteAppInstanceUserResult> deleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, AsyncHandler<DeleteAppInstanceUserRequest,DeleteAppInstanceUserResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Deletes an AppInstanceUser
.
deleteAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
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<DescribeAppInstanceResult> describeAppInstanceAsync(DescribeAppInstanceRequest request)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstance
.
describeAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DescribeAppInstanceResult> describeAppInstanceAsync(DescribeAppInstanceRequest request, AsyncHandler<DescribeAppInstanceRequest,DescribeAppInstanceResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstance
.
describeAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
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<DescribeAppInstanceAdminResult> describeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstanceAdmin
.
describeAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DescribeAppInstanceAdminResult> describeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, AsyncHandler<DescribeAppInstanceAdminRequest,DescribeAppInstanceAdminResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstanceAdmin
.
describeAppInstanceAdminAsync
in interface AmazonChimeSDKIdentityAsync
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<DescribeAppInstanceUserResult> describeAppInstanceUserAsync(DescribeAppInstanceUserRequest request)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstanceUser
.
describeAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
public Future<DescribeAppInstanceUserResult> describeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, AsyncHandler<DescribeAppInstanceUserRequest,DescribeAppInstanceUserResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Returns the full details of an AppInstanceUser
.
describeAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
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<GetAppInstanceRetentionSettingsResult> getAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request)
AmazonChimeSDKIdentityAsync
Gets the retention settings for an AppInstance
.
getAppInstanceRetentionSettingsAsync
in interface AmazonChimeSDKIdentityAsync
public Future<GetAppInstanceRetentionSettingsResult> getAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, AsyncHandler<GetAppInstanceRetentionSettingsRequest,GetAppInstanceRetentionSettingsResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Gets the retention settings for an AppInstance
.
getAppInstanceRetentionSettingsAsync
in interface AmazonChimeSDKIdentityAsync
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<ListAppInstanceAdminsResult> listAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request)
AmazonChimeSDKIdentityAsync
Returns a list of the administrators in the AppInstance
.
listAppInstanceAdminsAsync
in interface AmazonChimeSDKIdentityAsync
public Future<ListAppInstanceAdminsResult> listAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, AsyncHandler<ListAppInstanceAdminsRequest,ListAppInstanceAdminsResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Returns a list of the administrators in the AppInstance
.
listAppInstanceAdminsAsync
in interface AmazonChimeSDKIdentityAsync
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<ListAppInstanceUsersResult> listAppInstanceUsersAsync(ListAppInstanceUsersRequest request)
AmazonChimeSDKIdentityAsync
List all AppInstanceUsers
created under a single AppInstance
.
listAppInstanceUsersAsync
in interface AmazonChimeSDKIdentityAsync
public Future<ListAppInstanceUsersResult> listAppInstanceUsersAsync(ListAppInstanceUsersRequest request, AsyncHandler<ListAppInstanceUsersRequest,ListAppInstanceUsersResult> asyncHandler)
AmazonChimeSDKIdentityAsync
List all AppInstanceUsers
created under a single AppInstance
.
listAppInstanceUsersAsync
in interface AmazonChimeSDKIdentityAsync
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<ListAppInstancesResult> listAppInstancesAsync(ListAppInstancesRequest request)
AmazonChimeSDKIdentityAsync
Lists all Amazon Chime AppInstance
s created under a single AWS account.
listAppInstancesAsync
in interface AmazonChimeSDKIdentityAsync
public Future<ListAppInstancesResult> listAppInstancesAsync(ListAppInstancesRequest request, AsyncHandler<ListAppInstancesRequest,ListAppInstancesResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Lists all Amazon Chime AppInstance
s created under a single AWS account.
listAppInstancesAsync
in interface AmazonChimeSDKIdentityAsync
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<PutAppInstanceRetentionSettingsResult> putAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request)
AmazonChimeSDKIdentityAsync
Sets the amount of time in days that a given AppInstance
retains data.
putAppInstanceRetentionSettingsAsync
in interface AmazonChimeSDKIdentityAsync
public Future<PutAppInstanceRetentionSettingsResult> putAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, AsyncHandler<PutAppInstanceRetentionSettingsRequest,PutAppInstanceRetentionSettingsResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Sets the amount of time in days that a given AppInstance
retains data.
putAppInstanceRetentionSettingsAsync
in interface AmazonChimeSDKIdentityAsync
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<UpdateAppInstanceResult> updateAppInstanceAsync(UpdateAppInstanceRequest request)
AmazonChimeSDKIdentityAsync
Updates AppInstance
metadata.
updateAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
public Future<UpdateAppInstanceResult> updateAppInstanceAsync(UpdateAppInstanceRequest request, AsyncHandler<UpdateAppInstanceRequest,UpdateAppInstanceResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Updates AppInstance
metadata.
updateAppInstanceAsync
in interface AmazonChimeSDKIdentityAsync
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<UpdateAppInstanceUserResult> updateAppInstanceUserAsync(UpdateAppInstanceUserRequest request)
AmazonChimeSDKIdentityAsync
Updates the details of an AppInstanceUser
. You can update names and metadata.
updateAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
public Future<UpdateAppInstanceUserResult> updateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, AsyncHandler<UpdateAppInstanceUserRequest,UpdateAppInstanceUserResult> asyncHandler)
AmazonChimeSDKIdentityAsync
Updates the details of an AppInstanceUser
. You can update names and metadata.
updateAppInstanceUserAsync
in interface AmazonChimeSDKIdentityAsync
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 AmazonChimeSDKIdentity
shutdown
in class AmazonChimeSDKIdentityClient