/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.chimesdkidentity;
import com.amazonaws.*;
import com.amazonaws.regions.*;
import com.amazonaws.services.chimesdkidentity.model.*;
/**
* Interface for accessing Amazon ChimeSDK Identity
*
* 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.
*
**/
public interface AmazonChimeSDKIdentity {
/**
* Overrides the default endpoint for this client
* ("https://identity-chime.us-east-1.amazonaws.com"). Callers can use this
* method to control which AWS region they want to work with.
*
* Callers can pass in just the endpoint (ex:
* "identity-chime.us-east-1.amazonaws.com") or a full URL, including the
* protocol (ex: "https://identity-chime.us-east-1.amazonaws.com"). If the
* protocol is not specified here, the default protocol from this client's
* {@link ClientConfiguration} will be used, which by default is HTTPS.
*
* For more information on using AWS regions with the AWS SDK for Java, and
* a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=
* 3912
*
* This method is not threadsafe. An endpoint should be configured when
* the client is created and before any service requests are made. Changing
* it afterwards creates inevitable race conditions for any service requests
* in transit or retrying.
*
* @param endpoint The endpoint (ex:
* "identity-chime.us-east-1.amazonaws.com") or a full URL,
* including the protocol (ex:
* "https://identity-chime.us-east-1.amazonaws.com") of the
* region specific AWS endpoint this client will communicate
* with.
* @throws IllegalArgumentException If any problems are detected with the
* specified endpoint.
*/
public void setEndpoint(String endpoint) throws java.lang.IllegalArgumentException;
/**
* An alternative to {@link AmazonChimeSDKIdentity#setEndpoint(String)},
* sets the regional endpoint for this client's service calls. Callers can
* use this method to control which AWS region they want to work with.
*
* By default, all service endpoints in all regions use the https protocol.
* To use http instead, specify it in the {@link ClientConfiguration}
* supplied at construction.
*
* This method is not threadsafe. A region should be configured when the
* client is created and before any service requests are made. Changing it
* afterwards creates inevitable race conditions for any service requests in
* transit or retrying.
*
* @param region The region this client will communicate with. See
* {@link Region#getRegion(com.amazonaws.regions.Regions)} for
* accessing a given region.
* @throws java.lang.IllegalArgumentException If the given region is null,
* or if this service isn't available in the given region. See
* {@link Region#isServiceSupported(String)}
* @see Region#getRegion(com.amazonaws.regions.Regions)
* @see Region#createClient(Class,
* com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
*/
public void setRegion(Region region) throws java.lang.IllegalArgumentException;
/**
*
* 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 createAppInstanceResult The response from the CreateAppInstance
* service method, as returned by Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
CreateAppInstanceResult createAppInstance(CreateAppInstanceRequest createAppInstanceRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Promotes an AppInstanceUser
or AppInstanceBot
* to an AppInstanceAdmin
. The promoted entity can perform the
* following actions.
*
*
*
* Only an AppInstanceUser
and AppInstanceBot
can
* be promoted to an AppInstanceAdmin
role.
*
*
* @param createAppInstanceAdminRequest
* @return createAppInstanceAdminResult The response from the
* CreateAppInstanceAdmin service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
CreateAppInstanceAdminResult createAppInstanceAdmin(
CreateAppInstanceAdminRequest createAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Creates a bot under an Amazon Chime AppInstance
. The request
* consists of a unique Configuration
and Name
for
* that bot.
*
*
* @param createAppInstanceBotRequest
* @return createAppInstanceBotResult The response from the
* CreateAppInstanceBot service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
CreateAppInstanceBotResult createAppInstanceBot(
CreateAppInstanceBotRequest createAppInstanceBotRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Creates a user under an Amazon Chime AppInstance
. The
* request consists of a unique appInstanceUserId
and
* Name
for that user.
*
*
* @param createAppInstanceUserRequest
* @return createAppInstanceUserResult The response from the
* CreateAppInstanceUser service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
CreateAppInstanceUserResult createAppInstanceUser(
CreateAppInstanceUserRequest createAppInstanceUserRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Deletes an AppInstance
and all associated data
* asynchronously.
*
*
* @param deleteAppInstanceRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Demotes an AppInstanceAdmin
to an
* AppInstanceUser
or AppInstanceBot
. This action
* does not delete the user.
*
*
* @param deleteAppInstanceAdminRequest
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void deleteAppInstanceAdmin(DeleteAppInstanceAdminRequest deleteAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Deletes an AppInstanceBot
.
*
*
* @param deleteAppInstanceBotRequest
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void deleteAppInstanceBot(DeleteAppInstanceBotRequest deleteAppInstanceBotRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Deletes an AppInstanceUser
.
*
*
* @param deleteAppInstanceUserRequest
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void deleteAppInstanceUser(DeleteAppInstanceUserRequest deleteAppInstanceUserRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Deregisters an AppInstanceUserEndpoint
.
*
*
* @param deregisterAppInstanceUserEndpointRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void deregisterAppInstanceUserEndpoint(
DeregisterAppInstanceUserEndpointRequest deregisterAppInstanceUserEndpointRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Returns the full details of an AppInstance
.
*
*
* @param describeAppInstanceRequest
* @return describeAppInstanceResult The response from the
* DescribeAppInstance service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
DescribeAppInstanceResult describeAppInstance(
DescribeAppInstanceRequest describeAppInstanceRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Returns the full details of an AppInstanceAdmin
.
*
*
* @param describeAppInstanceAdminRequest
* @return describeAppInstanceAdminResult The response from the
* DescribeAppInstanceAdmin service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
DescribeAppInstanceAdminResult describeAppInstanceAdmin(
DescribeAppInstanceAdminRequest describeAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* The AppInstanceBot's
information.
*
*
* @param describeAppInstanceBotRequest
* @return describeAppInstanceBotResult The response from the
* DescribeAppInstanceBot service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws NotFoundException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
DescribeAppInstanceBotResult describeAppInstanceBot(
DescribeAppInstanceBotRequest describeAppInstanceBotRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Returns the full details of an AppInstanceUser
.
*
*
* @param describeAppInstanceUserRequest
* @return describeAppInstanceUserResult The response from the
* DescribeAppInstanceUser service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
DescribeAppInstanceUserResult describeAppInstanceUser(
DescribeAppInstanceUserRequest describeAppInstanceUserRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Returns the full details of an AppInstanceUserEndpoint
.
*
*
* @param describeAppInstanceUserEndpointRequest
* @return describeAppInstanceUserEndpointResult The response from the
* DescribeAppInstanceUserEndpoint service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
DescribeAppInstanceUserEndpointResult describeAppInstanceUserEndpoint(
DescribeAppInstanceUserEndpointRequest describeAppInstanceUserEndpointRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Gets the retention settings for an AppInstance
.
*
*
* @param getAppInstanceRetentionSettingsRequest
* @return getAppInstanceRetentionSettingsResult The response from the
* GetAppInstanceRetentionSettings service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
GetAppInstanceRetentionSettingsResult getAppInstanceRetentionSettings(
GetAppInstanceRetentionSettingsRequest getAppInstanceRetentionSettingsRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Returns a list of the administrators in the AppInstance
.
*
*
* @param listAppInstanceAdminsRequest
* @return listAppInstanceAdminsResult The response from the
* ListAppInstanceAdmins service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListAppInstanceAdminsResult listAppInstanceAdmins(
ListAppInstanceAdminsRequest listAppInstanceAdminsRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Lists all AppInstanceBots
created under a single
* AppInstance
.
*
*
* @param listAppInstanceBotsRequest
* @return listAppInstanceBotsResult The response from the
* ListAppInstanceBots service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListAppInstanceBotsResult listAppInstanceBots(
ListAppInstanceBotsRequest listAppInstanceBotsRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Lists all the AppInstanceUserEndpoints
created under a
* single AppInstanceUser
.
*
*
* @param listAppInstanceUserEndpointsRequest
* @return listAppInstanceUserEndpointsResult The response from the
* ListAppInstanceUserEndpoints service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListAppInstanceUserEndpointsResult listAppInstanceUserEndpoints(
ListAppInstanceUserEndpointsRequest listAppInstanceUserEndpointsRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* List all AppInstanceUsers
created under a single
* AppInstance
.
*
*
* @param listAppInstanceUsersRequest
* @return listAppInstanceUsersResult The response from the
* ListAppInstanceUsers service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListAppInstanceUsersResult listAppInstanceUsers(
ListAppInstanceUsersRequest listAppInstanceUsersRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Lists all Amazon Chime AppInstance
s created under a single
* AWS account.
*
*
* @param listAppInstancesRequest
* @return listAppInstancesResult The response from the ListAppInstances
* service method, as returned by Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListAppInstancesResult listAppInstances(ListAppInstancesRequest listAppInstancesRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Lists the tags applied to an Amazon Chime SDK identity resource.
*
*
* @param listTagsForResourceRequest
* @return listTagsForResourceResult The response from the
* ListTagsForResource service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
ListTagsForResourceResult listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Sets the amount of time in days that a given AppInstance
* retains data.
*
*
* @param putAppInstanceRetentionSettingsRequest
* @return putAppInstanceRetentionSettingsResult The response from the
* PutAppInstanceRetentionSettings service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
PutAppInstanceRetentionSettingsResult putAppInstanceRetentionSettings(
PutAppInstanceRetentionSettingsRequest putAppInstanceRetentionSettingsRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* 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 putAppInstanceUserExpirationSettingsResult The response from the
* PutAppInstanceUserExpirationSettings service method, as returned
* by Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
PutAppInstanceUserExpirationSettingsResult putAppInstanceUserExpirationSettings(
PutAppInstanceUserExpirationSettingsRequest putAppInstanceUserExpirationSettingsRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* 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 registerAppInstanceUserEndpointResult The response from the
* RegisterAppInstanceUserEndpoint service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
RegisterAppInstanceUserEndpointResult registerAppInstanceUserEndpoint(
RegisterAppInstanceUserEndpointRequest registerAppInstanceUserEndpointRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Applies the specified tags to the specified Amazon Chime SDK identity
* resource.
*
*
* @param tagResourceRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws UnauthorizedClientException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void tagResource(TagResourceRequest tagResourceRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Removes the specified tags from the specified Amazon Chime SDK identity
* resource.
*
*
* @param untagResourceRequest
* @throws BadRequestException
* @throws ForbiddenException
* @throws UnauthorizedClientException
* @throws ThrottledClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
void untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Updates AppInstance
metadata.
*
*
* @param updateAppInstanceRequest
* @return updateAppInstanceResult The response from the UpdateAppInstance
* service method, as returned by Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
UpdateAppInstanceResult updateAppInstance(UpdateAppInstanceRequest updateAppInstanceRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Updates the name and metadata of an AppInstanceBot
.
*
*
* @param updateAppInstanceBotRequest
* @return updateAppInstanceBotResult The response from the
* UpdateAppInstanceBot service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
UpdateAppInstanceBotResult updateAppInstanceBot(
UpdateAppInstanceBotRequest updateAppInstanceBotRequest) throws AmazonClientException,
AmazonServiceException;
/**
*
* Updates the details of an AppInstanceUser
. You can update
* names and metadata.
*
*
* @param updateAppInstanceUserRequest
* @return updateAppInstanceUserResult The response from the
* UpdateAppInstanceUser service method, as returned by Amazon
* ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ResourceLimitExceededException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
UpdateAppInstanceUserResult updateAppInstanceUser(
UpdateAppInstanceUserRequest updateAppInstanceUserRequest)
throws AmazonClientException, AmazonServiceException;
/**
*
* Updates the details of an AppInstanceUserEndpoint
. You can
* update the name and AllowMessage
values.
*
*
* @param updateAppInstanceUserEndpointRequest
* @return updateAppInstanceUserEndpointResult The response from the
* UpdateAppInstanceUserEndpoint service method, as returned by
* Amazon ChimeSDK Identity.
* @throws BadRequestException
* @throws ConflictException
* @throws ForbiddenException
* @throws ThrottledClientException
* @throws UnauthorizedClientException
* @throws ServiceUnavailableException
* @throws ServiceFailureException
* @throws AmazonClientException If any internal errors are encountered
* inside the client while attempting to make the request or
* handle the response. For example if a network connection is
* not available.
* @throws AmazonServiceException If an error response is returned by Amazon
* ChimeSDK Identity indicating either a problem with the data
* in the request, or a server side issue.
*/
UpdateAppInstanceUserEndpointResult updateAppInstanceUserEndpoint(
UpdateAppInstanceUserEndpointRequest updateAppInstanceUserEndpointRequest)
throws AmazonClientException, AmazonServiceException;
/**
* Shuts down this client object, releasing any resources that might be held
* open. This is an optional method, and callers are not expected to call
* it, but can if they want to explicitly release any open resources. Once a
* client has been shutdown, it should not be used to make any more
* requests.
*/
public void shutdown();
/**
* Returns additional metadata for a previously executed successful request,
* typically used for debugging issues where a service isn't acting as
* expected. This data isn't considered part of the result data returned by
* an operation, so it's available through this separate, diagnostic
* interface.
*
* Response metadata is only cached for a limited period of time, so if you
* need to access this extra diagnostic information for an executed request,
* you should use this method to retrieve it as soon as possible after
* executing a request.
*
* @param request The originally executed request.
* @return The response metadata for the specified request, or null if none
* is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);
}