Skip to content

Commit

Permalink
feat(aws-android-sdk-chimesdkidentity): update models to latest (#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
awsmobilesdk authored Mar 27, 2023
1 parent d5e7ce7 commit f4d3d86
Show file tree
Hide file tree
Showing 189 changed files with 6,854 additions and 213 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* 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.
Expand Down Expand Up @@ -127,8 +127,8 @@ CreateAppInstanceResult createAppInstance(CreateAppInstanceRequest createAppInst

/**
* <p>
* Promotes an <code>AppInstanceUser</code> to an
* <code>AppInstanceAdmin</code>. The promoted user can perform the
* Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
* to an <code>AppInstanceAdmin</code>. The promoted entity can perform the
* following actions.
* </p>
* <ul>
Expand All @@ -145,8 +145,8 @@ CreateAppInstanceResult createAppInstance(CreateAppInstanceRequest createAppInst
* </li>
* </ul>
* <p>
* Only an <code>AppInstanceUser</code> can be promoted to an
* <code>AppInstanceAdmin</code> role.
* Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can
* be promoted to an <code>AppInstanceAdmin</code> role.
* </p>
*
* @param createAppInstanceAdminRequest
Expand All @@ -173,6 +173,37 @@ CreateAppInstanceAdminResult createAppInstanceAdmin(
CreateAppInstanceAdminRequest createAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Creates a bot under an Amazon Chime <code>AppInstance</code>. The request
* consists of a unique <code>Configuration</code> and <code>Name</code> for
* that bot.
* </p>
*
* @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;

/**
* <p>
* Creates a user under an Amazon Chime <code>AppInstance</code>. The
Expand Down Expand Up @@ -232,7 +263,8 @@ void deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest)
/**
* <p>
* Demotes an <code>AppInstanceAdmin</code> to an
* <code>AppInstanceUser</code>. This action does not delete the user.
* <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. This action
* does not delete the user.
* </p>
*
* @param deleteAppInstanceAdminRequest
Expand All @@ -255,6 +287,31 @@ void deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest)
void deleteAppInstanceAdmin(DeleteAppInstanceAdminRequest deleteAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Deletes an <code>AppInstanceBot</code>.
* </p>
*
* @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;

/**
* <p>
* Deletes an <code>AppInstanceUser</code>.
Expand Down Expand Up @@ -358,6 +415,34 @@ DescribeAppInstanceAdminResult describeAppInstanceAdmin(
DescribeAppInstanceAdminRequest describeAppInstanceAdminRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* The <code>AppInstanceBot's</code> information.
* </p>
*
* @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;

/**
* <p>
* Returns the full details of an <code>AppInstanceUser</code>.
Expand Down Expand Up @@ -467,6 +552,35 @@ ListAppInstanceAdminsResult listAppInstanceAdmins(
ListAppInstanceAdminsRequest listAppInstanceAdminsRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Lists all <code>AppInstanceBots</code> created under a single
* <code>AppInstance</code>.
* </p>
*
* @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;

/**
* <p>
* Lists all the <code>AppInstanceUserEndpoints</code> created under a
Expand Down Expand Up @@ -604,6 +718,46 @@ PutAppInstanceRetentionSettingsResult putAppInstanceRetentionSettings(
PutAppInstanceRetentionSettingsRequest putAppInstanceRetentionSettingsRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Sets the number of days before the <code>AppInstanceUser</code> is
* automatically deleted.
* </p>
* <note>
* <p>
* A background process deletes expired <code>AppInstanceUsers</code> within
* 6 hours of expiration. Actual deletion times may vary.
* </p>
* <p>
* Expired <code>AppInstanceUsers</code> that have not yet been deleted
* appear as active, and you can update their expiration settings. The
* system honors the new settings.
* </p>
* </note>
*
* @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;

/**
* <p>
* Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>.
Expand Down Expand Up @@ -711,6 +865,35 @@ void untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClien
UpdateAppInstanceResult updateAppInstance(UpdateAppInstanceRequest updateAppInstanceRequest)
throws AmazonClientException, AmazonServiceException;

/**
* <p>
* Updates the name and metadata of an <code>AppInstanceBot</code>.
* </p>
*
* @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;

/**
* <p>
* Updates the details of an <code>AppInstanceUser</code>. You can update
Expand Down
Loading

0 comments on commit f4d3d86

Please sign in to comment.