software.amazon.awssdk.services.chimesdkidentity.ChimeSdkIdentityAsyncClient Maven / Gradle / Ivy
Show all versions of chimesdkidentity Show documentation
/*
* Copyright 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 software.amazon.awssdk.services.chimesdkidentity;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceAdminRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceAdminResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceBotRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceBotResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceUserRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceUserResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceAdminRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceAdminResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceBotRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceBotResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceUserRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceUserResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DeregisterAppInstanceUserEndpointRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DeregisterAppInstanceUserEndpointResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceAdminRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceAdminResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceBotRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceBotResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserEndpointRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserEndpointResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.GetAppInstanceRetentionSettingsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.GetAppInstanceRetentionSettingsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceRetentionSettingsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceRetentionSettingsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceUserExpirationSettingsRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceUserExpirationSettingsResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.RegisterAppInstanceUserEndpointRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.RegisterAppInstanceUserEndpointResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.TagResourceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.TagResourceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.UntagResourceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.UntagResourceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceBotRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceBotResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserEndpointRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserEndpointResponse;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserRequest;
import software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserResponse;
import software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceAdminsPublisher;
import software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceBotsPublisher;
import software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUserEndpointsPublisher;
import software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUsersPublisher;
import software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstancesPublisher;
/**
* Service client for accessing Amazon Chime SDK Identity asynchronously. This can be created using the static
* {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
* {@code SdkAsyncHttpClient} supported in the SDK. However, full non-blocking is not guaranteed as the async client may
* perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
* call.
*
*
* 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.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface ChimeSdkIdentityAsyncClient extends AwsClient {
String SERVICE_NAME = "chime";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "identity-chime";
/**
*
* 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
*
*
* @param createAppInstanceRequest
* @return A Java Future containing the result of the CreateAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstance
* @see AWS API Documentation
*/
default CompletableFuture createAppInstance(CreateAppInstanceRequest createAppInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppInstanceRequest.Builder} avoiding the need
* to create one manually via {@link CreateAppInstanceRequest#builder()}
*
*
* @param createAppInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the CreateAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstance
* @see AWS API Documentation
*/
default CompletableFuture createAppInstance(
Consumer createAppInstanceRequest) {
return createAppInstance(CreateAppInstanceRequest.builder().applyMutation(createAppInstanceRequest).build());
}
/**
*
* Promotes an AppInstanceUser
or AppInstanceBot
to an AppInstanceAdmin
. The
* promoted entity can perform the following actions.
*
*
* -
*
* ChannelModerator
actions across all channels in the AppInstance
.
*
*
* -
*
* DeleteChannelMessage
actions.
*
*
*
*
* Only an AppInstanceUser
and AppInstanceBot
can be promoted to an
* AppInstanceAdmin
role.
*
*
* @param createAppInstanceAdminRequest
* @return A Java Future containing the result of the CreateAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceAdmin(
CreateAppInstanceAdminRequest createAppInstanceAdminRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Promotes an AppInstanceUser
or AppInstanceBot
to an AppInstanceAdmin
. The
* promoted entity can perform the following actions.
*
*
* -
*
* ChannelModerator
actions across all channels in the AppInstance
.
*
*
* -
*
* DeleteChannelMessage
actions.
*
*
*
*
* Only an AppInstanceUser
and AppInstanceBot
can be promoted to an
* AppInstanceAdmin
role.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppInstanceAdminRequest.Builder} avoiding the
* need to create one manually via {@link CreateAppInstanceAdminRequest#builder()}
*
*
* @param createAppInstanceAdminRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceAdminRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceAdmin(
Consumer createAppInstanceAdminRequest) {
return createAppInstanceAdmin(CreateAppInstanceAdminRequest.builder().applyMutation(createAppInstanceAdminRequest)
.build());
}
/**
*
* Creates a bot under an Amazon Chime AppInstance
. The request consists of a unique
* Configuration
and Name
for that bot.
*
*
* @param createAppInstanceBotRequest
* @return A Java Future containing the result of the CreateAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceBot(
CreateAppInstanceBotRequest createAppInstanceBotRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a bot under an Amazon Chime AppInstance
. The request consists of a unique
* Configuration
and Name
for that bot.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppInstanceBotRequest.Builder} avoiding the
* need to create one manually via {@link CreateAppInstanceBotRequest#builder()}
*
*
* @param createAppInstanceBotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceBotRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceBot(
Consumer createAppInstanceBotRequest) {
return createAppInstanceBot(CreateAppInstanceBotRequest.builder().applyMutation(createAppInstanceBotRequest).build());
}
/**
*
* Creates a user under an Amazon Chime AppInstance
. The request consists of a unique
* appInstanceUserId
and Name
for that user.
*
*
* @param createAppInstanceUserRequest
* @return A Java Future containing the result of the CreateAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceUser(
CreateAppInstanceUserRequest createAppInstanceUserRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a user under an Amazon Chime AppInstance
. The request consists of a unique
* appInstanceUserId
and Name
for that user.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppInstanceUserRequest.Builder} avoiding the
* need to create one manually via {@link CreateAppInstanceUserRequest#builder()}
*
*
* @param createAppInstanceUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.CreateAppInstanceUserRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the CreateAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.CreateAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture createAppInstanceUser(
Consumer createAppInstanceUserRequest) {
return createAppInstanceUser(CreateAppInstanceUserRequest.builder().applyMutation(createAppInstanceUserRequest).build());
}
/**
*
* Deletes an AppInstance
and all associated data asynchronously.
*
*
* @param deleteAppInstanceRequest
* @return A Java Future containing the result of the DeleteAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstance
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an AppInstance
and all associated data asynchronously.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppInstanceRequest.Builder} avoiding the need
* to create one manually via {@link DeleteAppInstanceRequest#builder()}
*
*
* @param deleteAppInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the DeleteAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstance
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstance(
Consumer deleteAppInstanceRequest) {
return deleteAppInstance(DeleteAppInstanceRequest.builder().applyMutation(deleteAppInstanceRequest).build());
}
/**
*
* Demotes an AppInstanceAdmin
to an AppInstanceUser
or AppInstanceBot
. This
* action does not delete the user.
*
*
* @param deleteAppInstanceAdminRequest
* @return A Java Future containing the result of the DeleteAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceAdmin(
DeleteAppInstanceAdminRequest deleteAppInstanceAdminRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Demotes an AppInstanceAdmin
to an AppInstanceUser
or AppInstanceBot
. This
* action does not delete the user.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppInstanceAdminRequest.Builder} avoiding the
* need to create one manually via {@link DeleteAppInstanceAdminRequest#builder()}
*
*
* @param deleteAppInstanceAdminRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceAdminRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceAdmin(
Consumer deleteAppInstanceAdminRequest) {
return deleteAppInstanceAdmin(DeleteAppInstanceAdminRequest.builder().applyMutation(deleteAppInstanceAdminRequest)
.build());
}
/**
*
* Deletes an AppInstanceBot
.
*
*
* @param deleteAppInstanceBotRequest
* @return A Java Future containing the result of the DeleteAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceBot(
DeleteAppInstanceBotRequest deleteAppInstanceBotRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an AppInstanceBot
.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppInstanceBotRequest.Builder} avoiding the
* need to create one manually via {@link DeleteAppInstanceBotRequest#builder()}
*
*
* @param deleteAppInstanceBotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceBotRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceBot(
Consumer deleteAppInstanceBotRequest) {
return deleteAppInstanceBot(DeleteAppInstanceBotRequest.builder().applyMutation(deleteAppInstanceBotRequest).build());
}
/**
*
* Deletes an AppInstanceUser
.
*
*
* @param deleteAppInstanceUserRequest
* @return A Java Future containing the result of the DeleteAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceUser(
DeleteAppInstanceUserRequest deleteAppInstanceUserRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an AppInstanceUser
.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppInstanceUserRequest.Builder} avoiding the
* need to create one manually via {@link DeleteAppInstanceUserRequest#builder()}
*
*
* @param deleteAppInstanceUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DeleteAppInstanceUserRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeleteAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture deleteAppInstanceUser(
Consumer deleteAppInstanceUserRequest) {
return deleteAppInstanceUser(DeleteAppInstanceUserRequest.builder().applyMutation(deleteAppInstanceUserRequest).build());
}
/**
*
* Deregisters an AppInstanceUserEndpoint
.
*
*
* @param deregisterAppInstanceUserEndpointRequest
* @return A Java Future containing the result of the DeregisterAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeregisterAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture deregisterAppInstanceUserEndpoint(
DeregisterAppInstanceUserEndpointRequest deregisterAppInstanceUserEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deregisters an AppInstanceUserEndpoint
.
*
*
*
* This is a convenience which creates an instance of the {@link DeregisterAppInstanceUserEndpointRequest.Builder}
* avoiding the need to create one manually via {@link DeregisterAppInstanceUserEndpointRequest#builder()}
*
*
* @param deregisterAppInstanceUserEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DeregisterAppInstanceUserEndpointRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DeregisterAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DeregisterAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture deregisterAppInstanceUserEndpoint(
Consumer deregisterAppInstanceUserEndpointRequest) {
return deregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest.builder()
.applyMutation(deregisterAppInstanceUserEndpointRequest).build());
}
/**
*
* Returns the full details of an AppInstance
.
*
*
* @param describeAppInstanceRequest
* @return A Java Future containing the result of the DescribeAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstance
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstance(
DescribeAppInstanceRequest describeAppInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the full details of an AppInstance
.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppInstanceRequest.Builder} avoiding the
* need to create one manually via {@link DescribeAppInstanceRequest#builder()}
*
*
* @param describeAppInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstance
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstance(
Consumer describeAppInstanceRequest) {
return describeAppInstance(DescribeAppInstanceRequest.builder().applyMutation(describeAppInstanceRequest).build());
}
/**
*
* Returns the full details of an AppInstanceAdmin
.
*
*
* @param describeAppInstanceAdminRequest
* @return A Java Future containing the result of the DescribeAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceAdmin(
DescribeAppInstanceAdminRequest describeAppInstanceAdminRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the full details of an AppInstanceAdmin
.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppInstanceAdminRequest.Builder} avoiding
* the need to create one manually via {@link DescribeAppInstanceAdminRequest#builder()}
*
*
* @param describeAppInstanceAdminRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceAdminRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeAppInstanceAdmin operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceAdmin
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceAdmin(
Consumer describeAppInstanceAdminRequest) {
return describeAppInstanceAdmin(DescribeAppInstanceAdminRequest.builder().applyMutation(describeAppInstanceAdminRequest)
.build());
}
/**
*
* The AppInstanceBot's
information.
*
*
* @param describeAppInstanceBotRequest
* @return A Java Future containing the result of the DescribeAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceBot(
DescribeAppInstanceBotRequest describeAppInstanceBotRequest) {
throw new UnsupportedOperationException();
}
/**
*
* The AppInstanceBot's
information.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppInstanceBotRequest.Builder} avoiding the
* need to create one manually via {@link DescribeAppInstanceBotRequest#builder()}
*
*
* @param describeAppInstanceBotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceBotRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceBot(
Consumer describeAppInstanceBotRequest) {
return describeAppInstanceBot(DescribeAppInstanceBotRequest.builder().applyMutation(describeAppInstanceBotRequest)
.build());
}
/**
*
* Returns the full details of an AppInstanceUser
.
*
*
* @param describeAppInstanceUserRequest
* @return A Java Future containing the result of the DescribeAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceUser(
DescribeAppInstanceUserRequest describeAppInstanceUserRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the full details of an AppInstanceUser
.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppInstanceUserRequest.Builder} avoiding
* the need to create one manually via {@link DescribeAppInstanceUserRequest#builder()}
*
*
* @param describeAppInstanceUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DescribeAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceUser(
Consumer describeAppInstanceUserRequest) {
return describeAppInstanceUser(DescribeAppInstanceUserRequest.builder().applyMutation(describeAppInstanceUserRequest)
.build());
}
/**
*
* Returns the full details of an AppInstanceUserEndpoint
.
*
*
* @param describeAppInstanceUserEndpointRequest
* @return A Java Future containing the result of the DescribeAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceUserEndpoint(
DescribeAppInstanceUserEndpointRequest describeAppInstanceUserEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the full details of an AppInstanceUserEndpoint
.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeAppInstanceUserEndpointRequest.Builder}
* avoiding the need to create one manually via {@link DescribeAppInstanceUserEndpointRequest#builder()}
*
*
* @param describeAppInstanceUserEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.DescribeAppInstanceUserEndpointRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DescribeAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.DescribeAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture describeAppInstanceUserEndpoint(
Consumer describeAppInstanceUserEndpointRequest) {
return describeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest.builder()
.applyMutation(describeAppInstanceUserEndpointRequest).build());
}
/**
*
* Gets the retention settings for an AppInstance
.
*
*
* @param getAppInstanceRetentionSettingsRequest
* @return A Java Future containing the result of the GetAppInstanceRetentionSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.GetAppInstanceRetentionSettings
* @see AWS API Documentation
*/
default CompletableFuture getAppInstanceRetentionSettings(
GetAppInstanceRetentionSettingsRequest getAppInstanceRetentionSettingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the retention settings for an AppInstance
.
*
*
*
* This is a convenience which creates an instance of the {@link GetAppInstanceRetentionSettingsRequest.Builder}
* avoiding the need to create one manually via {@link GetAppInstanceRetentionSettingsRequest#builder()}
*
*
* @param getAppInstanceRetentionSettingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.GetAppInstanceRetentionSettingsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetAppInstanceRetentionSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.GetAppInstanceRetentionSettings
* @see AWS API Documentation
*/
default CompletableFuture getAppInstanceRetentionSettings(
Consumer getAppInstanceRetentionSettingsRequest) {
return getAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest.builder()
.applyMutation(getAppInstanceRetentionSettingsRequest).build());
}
/**
*
* Returns a list of the administrators in the AppInstance
.
*
*
* @param listAppInstanceAdminsRequest
* @return A Java Future containing the result of the ListAppInstanceAdmins operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceAdmins
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceAdmins(
ListAppInstanceAdminsRequest listAppInstanceAdminsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of the administrators in the AppInstance
.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceAdminsRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceAdminsRequest#builder()}
*
*
* @param listAppInstanceAdminsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListAppInstanceAdmins operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceAdmins
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceAdmins(
Consumer listAppInstanceAdminsRequest) {
return listAppInstanceAdmins(ListAppInstanceAdminsRequest.builder().applyMutation(listAppInstanceAdminsRequest).build());
}
/**
*
* This is a variant of
* {@link #listAppInstanceAdmins(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceAdminsPublisher publisher = client.listAppInstanceAdminsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceAdminsPublisher publisher = client.listAppInstanceAdminsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceAdmins(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest)}
* operation.
*
*
* @param listAppInstanceAdminsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceAdmins
* @see AWS API Documentation
*/
default ListAppInstanceAdminsPublisher listAppInstanceAdminsPaginator(
ListAppInstanceAdminsRequest listAppInstanceAdminsRequest) {
return new ListAppInstanceAdminsPublisher(this, listAppInstanceAdminsRequest);
}
/**
*
* This is a variant of
* {@link #listAppInstanceAdmins(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceAdminsPublisher publisher = client.listAppInstanceAdminsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceAdminsPublisher publisher = client.listAppInstanceAdminsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceAdmins(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceAdminsRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceAdminsRequest#builder()}
*
*
* @param listAppInstanceAdminsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceAdminsRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceAdmins
* @see AWS API Documentation
*/
default ListAppInstanceAdminsPublisher listAppInstanceAdminsPaginator(
Consumer listAppInstanceAdminsRequest) {
return listAppInstanceAdminsPaginator(ListAppInstanceAdminsRequest.builder().applyMutation(listAppInstanceAdminsRequest)
.build());
}
/**
*
* Lists all AppInstanceBots
created under a single AppInstance
.
*
*
* @param listAppInstanceBotsRequest
* @return A Java Future containing the result of the ListAppInstanceBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceBots
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceBots(
ListAppInstanceBotsRequest listAppInstanceBotsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all AppInstanceBots
created under a single AppInstance
.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceBotsRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceBotsRequest#builder()}
*
*
* @param listAppInstanceBotsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListAppInstanceBots operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceBots
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceBots(
Consumer listAppInstanceBotsRequest) {
return listAppInstanceBots(ListAppInstanceBotsRequest.builder().applyMutation(listAppInstanceBotsRequest).build());
}
/**
*
* This is a variant of
* {@link #listAppInstanceBots(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceBotsPublisher publisher = client.listAppInstanceBotsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceBotsPublisher publisher = client.listAppInstanceBotsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceBots(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest)}
* operation.
*
*
* @param listAppInstanceBotsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceBots
* @see AWS API Documentation
*/
default ListAppInstanceBotsPublisher listAppInstanceBotsPaginator(ListAppInstanceBotsRequest listAppInstanceBotsRequest) {
return new ListAppInstanceBotsPublisher(this, listAppInstanceBotsRequest);
}
/**
*
* This is a variant of
* {@link #listAppInstanceBots(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceBotsPublisher publisher = client.listAppInstanceBotsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceBotsPublisher publisher = client.listAppInstanceBotsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceBots(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceBotsRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceBotsRequest#builder()}
*
*
* @param listAppInstanceBotsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceBotsRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceBots
* @see AWS API Documentation
*/
default ListAppInstanceBotsPublisher listAppInstanceBotsPaginator(
Consumer listAppInstanceBotsRequest) {
return listAppInstanceBotsPaginator(ListAppInstanceBotsRequest.builder().applyMutation(listAppInstanceBotsRequest)
.build());
}
/**
*
* Lists all the AppInstanceUserEndpoints
created under a single AppInstanceUser
.
*
*
* @param listAppInstanceUserEndpointsRequest
* @return A Java Future containing the result of the ListAppInstanceUserEndpoints operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUserEndpoints
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceUserEndpoints(
ListAppInstanceUserEndpointsRequest listAppInstanceUserEndpointsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all the AppInstanceUserEndpoints
created under a single AppInstanceUser
.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceUserEndpointsRequest.Builder}
* avoiding the need to create one manually via {@link ListAppInstanceUserEndpointsRequest#builder()}
*
*
* @param listAppInstanceUserEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the ListAppInstanceUserEndpoints operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUserEndpoints
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceUserEndpoints(
Consumer listAppInstanceUserEndpointsRequest) {
return listAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest.builder()
.applyMutation(listAppInstanceUserEndpointsRequest).build());
}
/**
*
* This is a variant of
* {@link #listAppInstanceUserEndpoints(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUserEndpointsPublisher publisher = client.listAppInstanceUserEndpointsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUserEndpointsPublisher publisher = client.listAppInstanceUserEndpointsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceUserEndpoints(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest)}
* operation.
*
*
* @param listAppInstanceUserEndpointsRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUserEndpoints
* @see AWS API Documentation
*/
default ListAppInstanceUserEndpointsPublisher listAppInstanceUserEndpointsPaginator(
ListAppInstanceUserEndpointsRequest listAppInstanceUserEndpointsRequest) {
return new ListAppInstanceUserEndpointsPublisher(this, listAppInstanceUserEndpointsRequest);
}
/**
*
* This is a variant of
* {@link #listAppInstanceUserEndpoints(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUserEndpointsPublisher publisher = client.listAppInstanceUserEndpointsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUserEndpointsPublisher publisher = client.listAppInstanceUserEndpointsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceUserEndpoints(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceUserEndpointsRequest.Builder}
* avoiding the need to create one manually via {@link ListAppInstanceUserEndpointsRequest#builder()}
*
*
* @param listAppInstanceUserEndpointsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUserEndpointsRequest.Builder}
* to create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUserEndpoints
* @see AWS API Documentation
*/
default ListAppInstanceUserEndpointsPublisher listAppInstanceUserEndpointsPaginator(
Consumer listAppInstanceUserEndpointsRequest) {
return listAppInstanceUserEndpointsPaginator(ListAppInstanceUserEndpointsRequest.builder()
.applyMutation(listAppInstanceUserEndpointsRequest).build());
}
/**
*
* List all AppInstanceUsers
created under a single AppInstance
.
*
*
* @param listAppInstanceUsersRequest
* @return A Java Future containing the result of the ListAppInstanceUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUsers
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceUsers(
ListAppInstanceUsersRequest listAppInstanceUsersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List all AppInstanceUsers
created under a single AppInstance
.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceUsersRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceUsersRequest#builder()}
*
*
* @param listAppInstanceUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListAppInstanceUsers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUsers
* @see AWS API Documentation
*/
default CompletableFuture listAppInstanceUsers(
Consumer listAppInstanceUsersRequest) {
return listAppInstanceUsers(ListAppInstanceUsersRequest.builder().applyMutation(listAppInstanceUsersRequest).build());
}
/**
*
* This is a variant of
* {@link #listAppInstanceUsers(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUsersPublisher publisher = client.listAppInstanceUsersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUsersPublisher publisher = client.listAppInstanceUsersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceUsers(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest)}
* operation.
*
*
* @param listAppInstanceUsersRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUsers
* @see AWS API Documentation
*/
default ListAppInstanceUsersPublisher listAppInstanceUsersPaginator(ListAppInstanceUsersRequest listAppInstanceUsersRequest) {
return new ListAppInstanceUsersPublisher(this, listAppInstanceUsersRequest);
}
/**
*
* This is a variant of
* {@link #listAppInstanceUsers(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUsersPublisher publisher = client.listAppInstanceUsersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstanceUsersPublisher publisher = client.listAppInstanceUsersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstanceUsers(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstanceUsersRequest.Builder} avoiding the
* need to create one manually via {@link ListAppInstanceUsersRequest#builder()}
*
*
* @param listAppInstanceUsersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstanceUsersRequest.Builder} to
* create a request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstanceUsers
* @see AWS API Documentation
*/
default ListAppInstanceUsersPublisher listAppInstanceUsersPaginator(
Consumer listAppInstanceUsersRequest) {
return listAppInstanceUsersPaginator(ListAppInstanceUsersRequest.builder().applyMutation(listAppInstanceUsersRequest)
.build());
}
/**
*
* Lists all Amazon Chime AppInstance
s created under a single AWS account.
*
*
* @param listAppInstancesRequest
* @return A Java Future containing the result of the ListAppInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstances
* @see AWS API Documentation
*/
default CompletableFuture listAppInstances(ListAppInstancesRequest listAppInstancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists all Amazon Chime AppInstance
s created under a single AWS account.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstancesRequest.Builder} avoiding the need
* to create one manually via {@link ListAppInstancesRequest#builder()}
*
*
* @param listAppInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListAppInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstances
* @see AWS API Documentation
*/
default CompletableFuture listAppInstances(
Consumer listAppInstancesRequest) {
return listAppInstances(ListAppInstancesRequest.builder().applyMutation(listAppInstancesRequest).build());
}
/**
*
* This is a variant of
* {@link #listAppInstances(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstancesPublisher publisher = client.listAppInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstancesPublisher publisher = client.listAppInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstances(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest)}
* operation.
*
*
* @param listAppInstancesRequest
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstances
* @see AWS API Documentation
*/
default ListAppInstancesPublisher listAppInstancesPaginator(ListAppInstancesRequest listAppInstancesRequest) {
return new ListAppInstancesPublisher(this, listAppInstancesRequest);
}
/**
*
* This is a variant of
* {@link #listAppInstances(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstancesPublisher publisher = client.listAppInstancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkidentity.paginators.ListAppInstancesPublisher publisher = client.listAppInstancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listAppInstances(software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListAppInstancesRequest.Builder} avoiding the need
* to create one manually via {@link ListAppInstancesRequest#builder()}
*
*
* @param listAppInstancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListAppInstancesRequest.Builder} to create a
* request.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListAppInstances
* @see AWS API Documentation
*/
default ListAppInstancesPublisher listAppInstancesPaginator(Consumer listAppInstancesRequest) {
return listAppInstancesPaginator(ListAppInstancesRequest.builder().applyMutation(listAppInstancesRequest).build());
}
/**
*
* Lists the tags applied to an Amazon Chime SDK identity resource.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags applied to an Amazon Chime SDK identity resource.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.ListTagsForResourceRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Sets the amount of time in days that a given AppInstance
retains data.
*
*
* @param putAppInstanceRetentionSettingsRequest
* @return A Java Future containing the result of the PutAppInstanceRetentionSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.PutAppInstanceRetentionSettings
* @see AWS API Documentation
*/
default CompletableFuture putAppInstanceRetentionSettings(
PutAppInstanceRetentionSettingsRequest putAppInstanceRetentionSettingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Sets the amount of time in days that a given AppInstance
retains data.
*
*
*
* This is a convenience which creates an instance of the {@link PutAppInstanceRetentionSettingsRequest.Builder}
* avoiding the need to create one manually via {@link PutAppInstanceRetentionSettingsRequest#builder()}
*
*
* @param putAppInstanceRetentionSettingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceRetentionSettingsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the PutAppInstanceRetentionSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.PutAppInstanceRetentionSettings
* @see AWS API Documentation
*/
default CompletableFuture putAppInstanceRetentionSettings(
Consumer putAppInstanceRetentionSettingsRequest) {
return putAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest.builder()
.applyMutation(putAppInstanceRetentionSettingsRequest).build());
}
/**
*
* Sets the number of days before the AppInstanceUser
is automatically deleted.
*
*
*
* A background process deletes expired AppInstanceUsers
within 6 hours of expiration. Actual deletion
* times may vary.
*
*
* Expired AppInstanceUsers
that have not yet been deleted appear as active, and you can update their
* expiration settings. The system honors the new settings.
*
*
*
* @param putAppInstanceUserExpirationSettingsRequest
* @return A Java Future containing the result of the PutAppInstanceUserExpirationSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.PutAppInstanceUserExpirationSettings
* @see AWS API Documentation
*/
default CompletableFuture putAppInstanceUserExpirationSettings(
PutAppInstanceUserExpirationSettingsRequest putAppInstanceUserExpirationSettingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Sets the number of days before the AppInstanceUser
is automatically deleted.
*
*
*
* A background process deletes expired AppInstanceUsers
within 6 hours of expiration. Actual deletion
* times may vary.
*
*
* Expired AppInstanceUsers
that have not yet been deleted appear as active, and you can update their
* expiration settings. The system honors the new settings.
*
*
*
* This is a convenience which creates an instance of the
* {@link PutAppInstanceUserExpirationSettingsRequest.Builder} avoiding the need to create one manually via
* {@link PutAppInstanceUserExpirationSettingsRequest#builder()}
*
*
* @param putAppInstanceUserExpirationSettingsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.PutAppInstanceUserExpirationSettingsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the PutAppInstanceUserExpirationSettings operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.PutAppInstanceUserExpirationSettings
* @see AWS API Documentation
*/
default CompletableFuture putAppInstanceUserExpirationSettings(
Consumer putAppInstanceUserExpirationSettingsRequest) {
return putAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest.builder()
.applyMutation(putAppInstanceUserExpirationSettingsRequest).build());
}
/**
*
* Registers an endpoint under an Amazon Chime AppInstanceUser
. The endpoint receives messages for a
* user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a
* user.
*
*
* @param registerAppInstanceUserEndpointRequest
* @return A Java Future containing the result of the RegisterAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.RegisterAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture registerAppInstanceUserEndpoint(
RegisterAppInstanceUserEndpointRequest registerAppInstanceUserEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Registers an endpoint under an Amazon Chime AppInstanceUser
. The endpoint receives messages for a
* user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a
* user.
*
*
*
* This is a convenience which creates an instance of the {@link RegisterAppInstanceUserEndpointRequest.Builder}
* avoiding the need to create one manually via {@link RegisterAppInstanceUserEndpointRequest#builder()}
*
*
* @param registerAppInstanceUserEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.RegisterAppInstanceUserEndpointRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the RegisterAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.RegisterAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture registerAppInstanceUserEndpoint(
Consumer registerAppInstanceUserEndpointRequest) {
return registerAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest.builder()
.applyMutation(registerAppInstanceUserEndpointRequest).build());
}
/**
*
* Applies the specified tags to the specified Amazon Chime SDK identity resource.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Applies the specified tags to the specified Amazon Chime SDK identity resource.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.TagResourceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes the specified tags from the specified Amazon Chime SDK identity resource.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Removes the specified tags from the specified Amazon Chime SDK identity resource.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.UntagResourceRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates AppInstance
metadata.
*
*
* @param updateAppInstanceRequest
* @return A Java Future containing the result of the UpdateAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstance
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstance(UpdateAppInstanceRequest updateAppInstanceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates AppInstance
metadata.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAppInstanceRequest.Builder} avoiding the need
* to create one manually via {@link UpdateAppInstanceRequest#builder()}
*
*
* @param updateAppInstanceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the UpdateAppInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstance
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstance(
Consumer updateAppInstanceRequest) {
return updateAppInstance(UpdateAppInstanceRequest.builder().applyMutation(updateAppInstanceRequest).build());
}
/**
*
* Updates the name and metadata of an AppInstanceBot
.
*
*
* @param updateAppInstanceBotRequest
* @return A Java Future containing the result of the UpdateAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceBot(
UpdateAppInstanceBotRequest updateAppInstanceBotRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the name and metadata of an AppInstanceBot
.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAppInstanceBotRequest.Builder} avoiding the
* need to create one manually via {@link UpdateAppInstanceBotRequest#builder()}
*
*
* @param updateAppInstanceBotRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceBotRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateAppInstanceBot operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceBot
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceBot(
Consumer updateAppInstanceBotRequest) {
return updateAppInstanceBot(UpdateAppInstanceBotRequest.builder().applyMutation(updateAppInstanceBotRequest).build());
}
/**
*
* Updates the details of an AppInstanceUser
. You can update names and metadata.
*
*
* @param updateAppInstanceUserRequest
* @return A Java Future containing the result of the UpdateAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceUser(
UpdateAppInstanceUserRequest updateAppInstanceUserRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the details of an AppInstanceUser
. You can update names and metadata.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAppInstanceUserRequest.Builder} avoiding the
* need to create one manually via {@link UpdateAppInstanceUserRequest#builder()}
*
*
* @param updateAppInstanceUserRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateAppInstanceUser operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceUser
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceUser(
Consumer updateAppInstanceUserRequest) {
return updateAppInstanceUser(UpdateAppInstanceUserRequest.builder().applyMutation(updateAppInstanceUserRequest).build());
}
/**
*
* Updates the details of an AppInstanceUserEndpoint
. You can update the name and
* AllowMessage
values.
*
*
* @param updateAppInstanceUserEndpointRequest
* @return A Java Future containing the result of the UpdateAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceUserEndpoint(
UpdateAppInstanceUserEndpointRequest updateAppInstanceUserEndpointRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the details of an AppInstanceUserEndpoint
. You can update the name and
* AllowMessage
values.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAppInstanceUserEndpointRequest.Builder}
* avoiding the need to create one manually via {@link UpdateAppInstanceUserEndpointRequest#builder()}
*
*
* @param updateAppInstanceUserEndpointRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkidentity.model.UpdateAppInstanceUserEndpointRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the UpdateAppInstanceUserEndpoint operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - ChimeSdkIdentityException Base class for all service exceptions. Unknown exceptions will be thrown as
* an instance of this type.
*
* @sample ChimeSdkIdentityAsyncClient.UpdateAppInstanceUserEndpoint
* @see AWS API Documentation
*/
default CompletableFuture updateAppInstanceUserEndpoint(
Consumer updateAppInstanceUserEndpointRequest) {
return updateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest.builder()
.applyMutation(updateAppInstanceUserEndpointRequest).build());
}
@Override
default ChimeSdkIdentityServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link ChimeSdkIdentityAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static ChimeSdkIdentityAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link ChimeSdkIdentityAsyncClient}.
*/
static ChimeSdkIdentityAsyncClientBuilder builder() {
return new DefaultChimeSdkIdentityAsyncClientBuilder();
}
}