11/*
2- * Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License").
55 * You may not use this file except in compliance with the License.
@@ -127,8 +127,8 @@ CreateAppInstanceResult createAppInstance(CreateAppInstanceRequest createAppInst
127127
128128 /**
129129 * <p>
130- * Promotes an <code>AppInstanceUser</code> to an
131- * <code>AppInstanceAdmin</code>. The promoted user can perform the
130+ * Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>
131+ * to an <code>AppInstanceAdmin</code>. The promoted entity can perform the
132132 * following actions.
133133 * </p>
134134 * <ul>
@@ -145,8 +145,8 @@ CreateAppInstanceResult createAppInstance(CreateAppInstanceRequest createAppInst
145145 * </li>
146146 * </ul>
147147 * <p>
148- * Only an <code>AppInstanceUser</code> can be promoted to an
149- * <code>AppInstanceAdmin</code> role.
148+ * Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can
149+ * be promoted to an <code>AppInstanceAdmin</code> role.
150150 * </p>
151151 *
152152 * @param createAppInstanceAdminRequest
@@ -173,6 +173,37 @@ CreateAppInstanceAdminResult createAppInstanceAdmin(
173173 CreateAppInstanceAdminRequest createAppInstanceAdminRequest )
174174 throws AmazonClientException , AmazonServiceException ;
175175
176+ /**
177+ * <p>
178+ * Creates a bot under an Amazon Chime <code>AppInstance</code>. The request
179+ * consists of a unique <code>Configuration</code> and <code>Name</code> for
180+ * that bot.
181+ * </p>
182+ *
183+ * @param createAppInstanceBotRequest
184+ * @return createAppInstanceBotResult The response from the
185+ * CreateAppInstanceBot service method, as returned by Amazon
186+ * ChimeSDK Identity.
187+ * @throws BadRequestException
188+ * @throws ConflictException
189+ * @throws ForbiddenException
190+ * @throws ResourceLimitExceededException
191+ * @throws ThrottledClientException
192+ * @throws UnauthorizedClientException
193+ * @throws ServiceUnavailableException
194+ * @throws ServiceFailureException
195+ * @throws AmazonClientException If any internal errors are encountered
196+ * inside the client while attempting to make the request or
197+ * handle the response. For example if a network connection is
198+ * not available.
199+ * @throws AmazonServiceException If an error response is returned by Amazon
200+ * ChimeSDK Identity indicating either a problem with the data
201+ * in the request, or a server side issue.
202+ */
203+ CreateAppInstanceBotResult createAppInstanceBot (
204+ CreateAppInstanceBotRequest createAppInstanceBotRequest ) throws AmazonClientException ,
205+ AmazonServiceException ;
206+
176207 /**
177208 * <p>
178209 * Creates a user under an Amazon Chime <code>AppInstance</code>. The
@@ -232,7 +263,8 @@ void deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest)
232263 /**
233264 * <p>
234265 * Demotes an <code>AppInstanceAdmin</code> to an
235- * <code>AppInstanceUser</code>. This action does not delete the user.
266+ * <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. This action
267+ * does not delete the user.
236268 * </p>
237269 *
238270 * @param deleteAppInstanceAdminRequest
@@ -255,6 +287,31 @@ void deleteAppInstance(DeleteAppInstanceRequest deleteAppInstanceRequest)
255287 void deleteAppInstanceAdmin (DeleteAppInstanceAdminRequest deleteAppInstanceAdminRequest )
256288 throws AmazonClientException , AmazonServiceException ;
257289
290+ /**
291+ * <p>
292+ * Deletes an <code>AppInstanceBot</code>.
293+ * </p>
294+ *
295+ * @param deleteAppInstanceBotRequest
296+ * @throws BadRequestException
297+ * @throws ConflictException
298+ * @throws ForbiddenException
299+ * @throws ResourceLimitExceededException
300+ * @throws ThrottledClientException
301+ * @throws UnauthorizedClientException
302+ * @throws ServiceUnavailableException
303+ * @throws ServiceFailureException
304+ * @throws AmazonClientException If any internal errors are encountered
305+ * inside the client while attempting to make the request or
306+ * handle the response. For example if a network connection is
307+ * not available.
308+ * @throws AmazonServiceException If an error response is returned by Amazon
309+ * ChimeSDK Identity indicating either a problem with the data
310+ * in the request, or a server side issue.
311+ */
312+ void deleteAppInstanceBot (DeleteAppInstanceBotRequest deleteAppInstanceBotRequest )
313+ throws AmazonClientException , AmazonServiceException ;
314+
258315 /**
259316 * <p>
260317 * Deletes an <code>AppInstanceUser</code>.
@@ -358,6 +415,34 @@ DescribeAppInstanceAdminResult describeAppInstanceAdmin(
358415 DescribeAppInstanceAdminRequest describeAppInstanceAdminRequest )
359416 throws AmazonClientException , AmazonServiceException ;
360417
418+ /**
419+ * <p>
420+ * The <code>AppInstanceBot's</code> information.
421+ * </p>
422+ *
423+ * @param describeAppInstanceBotRequest
424+ * @return describeAppInstanceBotResult The response from the
425+ * DescribeAppInstanceBot service method, as returned by Amazon
426+ * ChimeSDK Identity.
427+ * @throws BadRequestException
428+ * @throws ForbiddenException
429+ * @throws ThrottledClientException
430+ * @throws UnauthorizedClientException
431+ * @throws NotFoundException
432+ * @throws ServiceUnavailableException
433+ * @throws ServiceFailureException
434+ * @throws AmazonClientException If any internal errors are encountered
435+ * inside the client while attempting to make the request or
436+ * handle the response. For example if a network connection is
437+ * not available.
438+ * @throws AmazonServiceException If an error response is returned by Amazon
439+ * ChimeSDK Identity indicating either a problem with the data
440+ * in the request, or a server side issue.
441+ */
442+ DescribeAppInstanceBotResult describeAppInstanceBot (
443+ DescribeAppInstanceBotRequest describeAppInstanceBotRequest )
444+ throws AmazonClientException , AmazonServiceException ;
445+
361446 /**
362447 * <p>
363448 * Returns the full details of an <code>AppInstanceUser</code>.
@@ -467,6 +552,35 @@ ListAppInstanceAdminsResult listAppInstanceAdmins(
467552 ListAppInstanceAdminsRequest listAppInstanceAdminsRequest )
468553 throws AmazonClientException , AmazonServiceException ;
469554
555+ /**
556+ * <p>
557+ * Lists all <code>AppInstanceBots</code> created under a single
558+ * <code>AppInstance</code>.
559+ * </p>
560+ *
561+ * @param listAppInstanceBotsRequest
562+ * @return listAppInstanceBotsResult The response from the
563+ * ListAppInstanceBots service method, as returned by Amazon
564+ * ChimeSDK Identity.
565+ * @throws BadRequestException
566+ * @throws ForbiddenException
567+ * @throws ResourceLimitExceededException
568+ * @throws ThrottledClientException
569+ * @throws UnauthorizedClientException
570+ * @throws ServiceUnavailableException
571+ * @throws ServiceFailureException
572+ * @throws AmazonClientException If any internal errors are encountered
573+ * inside the client while attempting to make the request or
574+ * handle the response. For example if a network connection is
575+ * not available.
576+ * @throws AmazonServiceException If an error response is returned by Amazon
577+ * ChimeSDK Identity indicating either a problem with the data
578+ * in the request, or a server side issue.
579+ */
580+ ListAppInstanceBotsResult listAppInstanceBots (
581+ ListAppInstanceBotsRequest listAppInstanceBotsRequest ) throws AmazonClientException ,
582+ AmazonServiceException ;
583+
470584 /**
471585 * <p>
472586 * Lists all the <code>AppInstanceUserEndpoints</code> created under a
@@ -604,6 +718,46 @@ PutAppInstanceRetentionSettingsResult putAppInstanceRetentionSettings(
604718 PutAppInstanceRetentionSettingsRequest putAppInstanceRetentionSettingsRequest )
605719 throws AmazonClientException , AmazonServiceException ;
606720
721+ /**
722+ * <p>
723+ * Sets the number of days before the <code>AppInstanceUser</code> is
724+ * automatically deleted.
725+ * </p>
726+ * <note>
727+ * <p>
728+ * A background process deletes expired <code>AppInstanceUsers</code> within
729+ * 6 hours of expiration. Actual deletion times may vary.
730+ * </p>
731+ * <p>
732+ * Expired <code>AppInstanceUsers</code> that have not yet been deleted
733+ * appear as active, and you can update their expiration settings. The
734+ * system honors the new settings.
735+ * </p>
736+ * </note>
737+ *
738+ * @param putAppInstanceUserExpirationSettingsRequest
739+ * @return putAppInstanceUserExpirationSettingsResult The response from the
740+ * PutAppInstanceUserExpirationSettings service method, as returned
741+ * by Amazon ChimeSDK Identity.
742+ * @throws BadRequestException
743+ * @throws ConflictException
744+ * @throws ForbiddenException
745+ * @throws ThrottledClientException
746+ * @throws UnauthorizedClientException
747+ * @throws ServiceUnavailableException
748+ * @throws ServiceFailureException
749+ * @throws AmazonClientException If any internal errors are encountered
750+ * inside the client while attempting to make the request or
751+ * handle the response. For example if a network connection is
752+ * not available.
753+ * @throws AmazonServiceException If an error response is returned by Amazon
754+ * ChimeSDK Identity indicating either a problem with the data
755+ * in the request, or a server side issue.
756+ */
757+ PutAppInstanceUserExpirationSettingsResult putAppInstanceUserExpirationSettings (
758+ PutAppInstanceUserExpirationSettingsRequest putAppInstanceUserExpirationSettingsRequest )
759+ throws AmazonClientException , AmazonServiceException ;
760+
607761 /**
608762 * <p>
609763 * Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>.
@@ -711,6 +865,35 @@ void untagResource(UntagResourceRequest untagResourceRequest) throws AmazonClien
711865 UpdateAppInstanceResult updateAppInstance (UpdateAppInstanceRequest updateAppInstanceRequest )
712866 throws AmazonClientException , AmazonServiceException ;
713867
868+ /**
869+ * <p>
870+ * Updates the name and metadata of an <code>AppInstanceBot</code>.
871+ * </p>
872+ *
873+ * @param updateAppInstanceBotRequest
874+ * @return updateAppInstanceBotResult The response from the
875+ * UpdateAppInstanceBot service method, as returned by Amazon
876+ * ChimeSDK Identity.
877+ * @throws BadRequestException
878+ * @throws ConflictException
879+ * @throws ForbiddenException
880+ * @throws ResourceLimitExceededException
881+ * @throws ThrottledClientException
882+ * @throws UnauthorizedClientException
883+ * @throws ServiceUnavailableException
884+ * @throws ServiceFailureException
885+ * @throws AmazonClientException If any internal errors are encountered
886+ * inside the client while attempting to make the request or
887+ * handle the response. For example if a network connection is
888+ * not available.
889+ * @throws AmazonServiceException If an error response is returned by Amazon
890+ * ChimeSDK Identity indicating either a problem with the data
891+ * in the request, or a server side issue.
892+ */
893+ UpdateAppInstanceBotResult updateAppInstanceBot (
894+ UpdateAppInstanceBotRequest updateAppInstanceBotRequest ) throws AmazonClientException ,
895+ AmazonServiceException ;
896+
714897 /**
715898 * <p>
716899 * Updates the details of an <code>AppInstanceUser</code>. You can update
0 commit comments