// // 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. // #import #import #import "AWSChimeSDKIdentityModel.h" #import "AWSChimeSDKIdentityResources.h" NS_ASSUME_NONNULL_BEGIN //! SDK version for AWSChimeSDKIdentity FOUNDATION_EXPORT NSString *const AWSChimeSDKIdentitySDKVersion; /**

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.

*/ @interface AWSChimeSDKIdentity : AWSService /** The service configuration used to instantiate this service client. @warning Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors. */ @property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration; /** Returns the singleton service client. If the singleton object does not exist, the SDK instantiates the default service client with `defaultServiceConfiguration` from `[AWSServiceManager defaultServiceManager]`. The reference to this object is maintained by the SDK, and you do not need to retain it manually. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USEast1, credentialsProvider: credentialProvider) AWSServiceManager.default().defaultServiceConfiguration = configuration return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:credentialsProvider]; [AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration; return YES; } Then call the following to get the default service client: *Swift* let ChimeSDKIdentity = AWSChimeSDKIdentity.default() *Objective-C* AWSChimeSDKIdentity *ChimeSDKIdentity = [AWSChimeSDKIdentity defaultChimeSDKIdentity]; @return The default service client. */ + (instancetype)defaultChimeSDKIdentity; /** Creates a service client with the given service configuration and registers it for the key. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSChimeSDKIdentity.register(with: configuration!, forKey: "USWest2ChimeSDKIdentity") return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSChimeSDKIdentity registerChimeSDKIdentityWithConfiguration:configuration forKey:@"USWest2ChimeSDKIdentity"]; return YES; } Then call the following to get the service client: *Swift* let ChimeSDKIdentity = AWSChimeSDKIdentity(forKey: "USWest2ChimeSDKIdentity") *Objective-C* AWSChimeSDKIdentity *ChimeSDKIdentity = [AWSChimeSDKIdentity ChimeSDKIdentityForKey:@"USWest2ChimeSDKIdentity"]; @warning After calling this method, do not modify the configuration object. It may cause unspecified behaviors. @param configuration A service configuration object. @param key A string to identify the service client. */ + (void)registerChimeSDKIdentityWithConfiguration:(AWSServiceConfiguration *)configuration forKey:(NSString *)key; /** Retrieves the service client associated with the key. You need to call `+ registerChimeSDKIdentityWithConfiguration:forKey:` before invoking this method. For example, set the default service configuration in `- application:didFinishLaunchingWithOptions:` *Swift* func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId") let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider) AWSChimeSDKIdentity.register(with: configuration!, forKey: "USWest2ChimeSDKIdentity") return true } *Objective-C* - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1 identityPoolId:@"YourIdentityPoolId"]; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2 credentialsProvider:credentialsProvider]; [AWSChimeSDKIdentity registerChimeSDKIdentityWithConfiguration:configuration forKey:@"USWest2ChimeSDKIdentity"]; return YES; } Then call the following to get the service client: *Swift* let ChimeSDKIdentity = AWSChimeSDKIdentity(forKey: "USWest2ChimeSDKIdentity") *Objective-C* AWSChimeSDKIdentity *ChimeSDKIdentity = [AWSChimeSDKIdentity ChimeSDKIdentityForKey:@"USWest2ChimeSDKIdentity"]; @param key A string to identify the service client. @return An instance of the service client. */ + (instancetype)ChimeSDKIdentityForKey:(NSString *)key; /** Removes the service client associated with the key and release it. @warning Before calling this method, make sure no method is running on this client. @param key A string to identify the service client. */ + (void)removeChimeSDKIdentityForKey:(NSString *)key; /**

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 request A container for the necessary parameters to execute the CreateAppInstance service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityCreateAppInstanceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceRequest @see AWSChimeSDKIdentityCreateAppInstanceResponse */ - (AWSTask *)createAppInstance:(AWSChimeSDKIdentityCreateAppInstanceRequest *)request; /**

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 request A container for the necessary parameters to execute the CreateAppInstance service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceRequest @see AWSChimeSDKIdentityCreateAppInstanceResponse */ - (void)createAppInstance:(AWSChimeSDKIdentityCreateAppInstanceRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityCreateAppInstanceResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

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 request A container for the necessary parameters to execute the CreateAppInstanceAdmin service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityCreateAppInstanceAdminResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceAdminRequest @see AWSChimeSDKIdentityCreateAppInstanceAdminResponse */ - (AWSTask *)createAppInstanceAdmin:(AWSChimeSDKIdentityCreateAppInstanceAdminRequest *)request; /**

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 request A container for the necessary parameters to execute the CreateAppInstanceAdmin service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceAdminRequest @see AWSChimeSDKIdentityCreateAppInstanceAdminResponse */ - (void)createAppInstanceAdmin:(AWSChimeSDKIdentityCreateAppInstanceAdminRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityCreateAppInstanceAdminResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates a bot under an Amazon Chime AppInstance. The request consists of a unique Configuration and Name for that bot.

@param request A container for the necessary parameters to execute the CreateAppInstanceBot service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityCreateAppInstanceBotResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceBotRequest @see AWSChimeSDKIdentityCreateAppInstanceBotResponse */ - (AWSTask *)createAppInstanceBot:(AWSChimeSDKIdentityCreateAppInstanceBotRequest *)request; /**

Creates a bot under an Amazon Chime AppInstance. The request consists of a unique Configuration and Name for that bot.

@param request A container for the necessary parameters to execute the CreateAppInstanceBot service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceBotRequest @see AWSChimeSDKIdentityCreateAppInstanceBotResponse */ - (void)createAppInstanceBot:(AWSChimeSDKIdentityCreateAppInstanceBotRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityCreateAppInstanceBotResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Creates a user under an Amazon Chime AppInstance. The request consists of a unique appInstanceUserId and Name for that user.

@param request A container for the necessary parameters to execute the CreateAppInstanceUser service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityCreateAppInstanceUserResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceUserRequest @see AWSChimeSDKIdentityCreateAppInstanceUserResponse */ - (AWSTask *)createAppInstanceUser:(AWSChimeSDKIdentityCreateAppInstanceUserRequest *)request; /**

Creates a user under an Amazon Chime AppInstance. The request consists of a unique appInstanceUserId and Name for that user.

@param request A container for the necessary parameters to execute the CreateAppInstanceUser service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityCreateAppInstanceUserRequest @see AWSChimeSDKIdentityCreateAppInstanceUserResponse */ - (void)createAppInstanceUser:(AWSChimeSDKIdentityCreateAppInstanceUserRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityCreateAppInstanceUserResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Deletes an AppInstance and all associated data asynchronously.

@param request A container for the necessary parameters to execute the DeleteAppInstance service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceRequest */ - (AWSTask *)deleteAppInstance:(AWSChimeSDKIdentityDeleteAppInstanceRequest *)request; /**

Deletes an AppInstance and all associated data asynchronously.

@param request A container for the necessary parameters to execute the DeleteAppInstance service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceRequest */ - (void)deleteAppInstance:(AWSChimeSDKIdentityDeleteAppInstanceRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Demotes an AppInstanceAdmin to an AppInstanceUser or AppInstanceBot. This action does not delete the user.

@param request A container for the necessary parameters to execute the DeleteAppInstanceAdmin service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceAdminRequest */ - (AWSTask *)deleteAppInstanceAdmin:(AWSChimeSDKIdentityDeleteAppInstanceAdminRequest *)request; /**

Demotes an AppInstanceAdmin to an AppInstanceUser or AppInstanceBot. This action does not delete the user.

@param request A container for the necessary parameters to execute the DeleteAppInstanceAdmin service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceAdminRequest */ - (void)deleteAppInstanceAdmin:(AWSChimeSDKIdentityDeleteAppInstanceAdminRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Deletes an AppInstanceBot.

@param request A container for the necessary parameters to execute the DeleteAppInstanceBot service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceBotRequest */ - (AWSTask *)deleteAppInstanceBot:(AWSChimeSDKIdentityDeleteAppInstanceBotRequest *)request; /**

Deletes an AppInstanceBot.

@param request A container for the necessary parameters to execute the DeleteAppInstanceBot service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceBotRequest */ - (void)deleteAppInstanceBot:(AWSChimeSDKIdentityDeleteAppInstanceBotRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Deletes an AppInstanceUser.

@param request A container for the necessary parameters to execute the DeleteAppInstanceUser service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceUserRequest */ - (AWSTask *)deleteAppInstanceUser:(AWSChimeSDKIdentityDeleteAppInstanceUserRequest *)request; /**

Deletes an AppInstanceUser.

@param request A container for the necessary parameters to execute the DeleteAppInstanceUser service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeleteAppInstanceUserRequest */ - (void)deleteAppInstanceUser:(AWSChimeSDKIdentityDeleteAppInstanceUserRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Deregisters an AppInstanceUserEndpoint.

@param request A container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeregisterAppInstanceUserEndpointRequest */ - (AWSTask *)deregisterAppInstanceUserEndpoint:(AWSChimeSDKIdentityDeregisterAppInstanceUserEndpointRequest *)request; /**

Deregisters an AppInstanceUserEndpoint.

@param request A container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDeregisterAppInstanceUserEndpointRequest */ - (void)deregisterAppInstanceUserEndpoint:(AWSChimeSDKIdentityDeregisterAppInstanceUserEndpointRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Returns the full details of an AppInstance.

@param request A container for the necessary parameters to execute the DescribeAppInstance service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityDescribeAppInstanceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceRequest @see AWSChimeSDKIdentityDescribeAppInstanceResponse */ - (AWSTask *)describeAppInstance:(AWSChimeSDKIdentityDescribeAppInstanceRequest *)request; /**

Returns the full details of an AppInstance.

@param request A container for the necessary parameters to execute the DescribeAppInstance service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceRequest @see AWSChimeSDKIdentityDescribeAppInstanceResponse */ - (void)describeAppInstance:(AWSChimeSDKIdentityDescribeAppInstanceRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityDescribeAppInstanceResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Returns the full details of an AppInstanceAdmin.

@param request A container for the necessary parameters to execute the DescribeAppInstanceAdmin service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityDescribeAppInstanceAdminResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceAdminRequest @see AWSChimeSDKIdentityDescribeAppInstanceAdminResponse */ - (AWSTask *)describeAppInstanceAdmin:(AWSChimeSDKIdentityDescribeAppInstanceAdminRequest *)request; /**

Returns the full details of an AppInstanceAdmin.

@param request A container for the necessary parameters to execute the DescribeAppInstanceAdmin service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceAdminRequest @see AWSChimeSDKIdentityDescribeAppInstanceAdminResponse */ - (void)describeAppInstanceAdmin:(AWSChimeSDKIdentityDescribeAppInstanceAdminRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityDescribeAppInstanceAdminResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

The AppInstanceBot's information.

@param request A container for the necessary parameters to execute the DescribeAppInstanceBot service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityDescribeAppInstanceBotResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorNotFound`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceBotRequest @see AWSChimeSDKIdentityDescribeAppInstanceBotResponse */ - (AWSTask *)describeAppInstanceBot:(AWSChimeSDKIdentityDescribeAppInstanceBotRequest *)request; /**

The AppInstanceBot's information.

@param request A container for the necessary parameters to execute the DescribeAppInstanceBot service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorNotFound`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceBotRequest @see AWSChimeSDKIdentityDescribeAppInstanceBotResponse */ - (void)describeAppInstanceBot:(AWSChimeSDKIdentityDescribeAppInstanceBotRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityDescribeAppInstanceBotResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Returns the full details of an AppInstanceUser.

@param request A container for the necessary parameters to execute the DescribeAppInstanceUser service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityDescribeAppInstanceUserResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceUserRequest @see AWSChimeSDKIdentityDescribeAppInstanceUserResponse */ - (AWSTask *)describeAppInstanceUser:(AWSChimeSDKIdentityDescribeAppInstanceUserRequest *)request; /**

Returns the full details of an AppInstanceUser.

@param request A container for the necessary parameters to execute the DescribeAppInstanceUser service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceUserRequest @see AWSChimeSDKIdentityDescribeAppInstanceUserResponse */ - (void)describeAppInstanceUser:(AWSChimeSDKIdentityDescribeAppInstanceUserRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityDescribeAppInstanceUserResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Returns the full details of an AppInstanceUserEndpoint.

@param request A container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityDescribeAppInstanceUserEndpointResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityDescribeAppInstanceUserEndpointResponse */ - (AWSTask *)describeAppInstanceUserEndpoint:(AWSChimeSDKIdentityDescribeAppInstanceUserEndpointRequest *)request; /**

Returns the full details of an AppInstanceUserEndpoint.

@param request A container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityDescribeAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityDescribeAppInstanceUserEndpointResponse */ - (void)describeAppInstanceUserEndpoint:(AWSChimeSDKIdentityDescribeAppInstanceUserEndpointRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityDescribeAppInstanceUserEndpointResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Gets the retention settings for an AppInstance.

@param request A container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityGetAppInstanceRetentionSettingsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityGetAppInstanceRetentionSettingsRequest @see AWSChimeSDKIdentityGetAppInstanceRetentionSettingsResponse */ - (AWSTask *)getAppInstanceRetentionSettings:(AWSChimeSDKIdentityGetAppInstanceRetentionSettingsRequest *)request; /**

Gets the retention settings for an AppInstance.

@param request A container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityGetAppInstanceRetentionSettingsRequest @see AWSChimeSDKIdentityGetAppInstanceRetentionSettingsResponse */ - (void)getAppInstanceRetentionSettings:(AWSChimeSDKIdentityGetAppInstanceRetentionSettingsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityGetAppInstanceRetentionSettingsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Returns a list of the administrators in the AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceAdmins service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListAppInstanceAdminsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceAdminsRequest @see AWSChimeSDKIdentityListAppInstanceAdminsResponse */ - (AWSTask *)listAppInstanceAdmins:(AWSChimeSDKIdentityListAppInstanceAdminsRequest *)request; /**

Returns a list of the administrators in the AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceAdmins service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceAdminsRequest @see AWSChimeSDKIdentityListAppInstanceAdminsResponse */ - (void)listAppInstanceAdmins:(AWSChimeSDKIdentityListAppInstanceAdminsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListAppInstanceAdminsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Lists all AppInstanceBots created under a single AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceBots service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListAppInstanceBotsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceBotsRequest @see AWSChimeSDKIdentityListAppInstanceBotsResponse */ - (AWSTask *)listAppInstanceBots:(AWSChimeSDKIdentityListAppInstanceBotsRequest *)request; /**

Lists all AppInstanceBots created under a single AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceBots service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceBotsRequest @see AWSChimeSDKIdentityListAppInstanceBotsResponse */ - (void)listAppInstanceBots:(AWSChimeSDKIdentityListAppInstanceBotsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListAppInstanceBotsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Lists all the AppInstanceUserEndpoints created under a single AppInstanceUser.

@param request A container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListAppInstanceUserEndpointsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceUserEndpointsRequest @see AWSChimeSDKIdentityListAppInstanceUserEndpointsResponse */ - (AWSTask *)listAppInstanceUserEndpoints:(AWSChimeSDKIdentityListAppInstanceUserEndpointsRequest *)request; /**

Lists all the AppInstanceUserEndpoints created under a single AppInstanceUser.

@param request A container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceUserEndpointsRequest @see AWSChimeSDKIdentityListAppInstanceUserEndpointsResponse */ - (void)listAppInstanceUserEndpoints:(AWSChimeSDKIdentityListAppInstanceUserEndpointsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListAppInstanceUserEndpointsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

List all AppInstanceUsers created under a single AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceUsers service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListAppInstanceUsersResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceUsersRequest @see AWSChimeSDKIdentityListAppInstanceUsersResponse */ - (AWSTask *)listAppInstanceUsers:(AWSChimeSDKIdentityListAppInstanceUsersRequest *)request; /**

List all AppInstanceUsers created under a single AppInstance.

@param request A container for the necessary parameters to execute the ListAppInstanceUsers service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstanceUsersRequest @see AWSChimeSDKIdentityListAppInstanceUsersResponse */ - (void)listAppInstanceUsers:(AWSChimeSDKIdentityListAppInstanceUsersRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListAppInstanceUsersResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Lists all Amazon Chime AppInstances created under a single AWS account.

@param request A container for the necessary parameters to execute the ListAppInstances service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListAppInstancesResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstancesRequest @see AWSChimeSDKIdentityListAppInstancesResponse */ - (AWSTask *)listAppInstances:(AWSChimeSDKIdentityListAppInstancesRequest *)request; /**

Lists all Amazon Chime AppInstances created under a single AWS account.

@param request A container for the necessary parameters to execute the ListAppInstances service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListAppInstancesRequest @see AWSChimeSDKIdentityListAppInstancesResponse */ - (void)listAppInstances:(AWSChimeSDKIdentityListAppInstancesRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListAppInstancesResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Lists the tags applied to an Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the ListTagsForResource service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityListTagsForResourceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListTagsForResourceRequest @see AWSChimeSDKIdentityListTagsForResourceResponse */ - (AWSTask *)listTagsForResource:(AWSChimeSDKIdentityListTagsForResourceRequest *)request; /**

Lists the tags applied to an Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the ListTagsForResource service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityListTagsForResourceRequest @see AWSChimeSDKIdentityListTagsForResourceResponse */ - (void)listTagsForResource:(AWSChimeSDKIdentityListTagsForResourceRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityListTagsForResourceResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Sets the amount of time in days that a given AppInstance retains data.

@param request A container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityPutAppInstanceRetentionSettingsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityPutAppInstanceRetentionSettingsRequest @see AWSChimeSDKIdentityPutAppInstanceRetentionSettingsResponse */ - (AWSTask *)putAppInstanceRetentionSettings:(AWSChimeSDKIdentityPutAppInstanceRetentionSettingsRequest *)request; /**

Sets the amount of time in days that a given AppInstance retains data.

@param request A container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityPutAppInstanceRetentionSettingsRequest @see AWSChimeSDKIdentityPutAppInstanceRetentionSettingsResponse */ - (void)putAppInstanceRetentionSettings:(AWSChimeSDKIdentityPutAppInstanceRetentionSettingsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityPutAppInstanceRetentionSettingsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

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 request A container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsRequest @see AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsResponse */ - (AWSTask *)putAppInstanceUserExpirationSettings:(AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsRequest *)request; /**

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 request A container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsRequest @see AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsResponse */ - (void)putAppInstanceUserExpirationSettings:(AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityPutAppInstanceUserExpirationSettingsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

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 request A container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityRegisterAppInstanceUserEndpointResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityRegisterAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityRegisterAppInstanceUserEndpointResponse */ - (AWSTask *)registerAppInstanceUserEndpoint:(AWSChimeSDKIdentityRegisterAppInstanceUserEndpointRequest *)request; /**

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 request A container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityRegisterAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityRegisterAppInstanceUserEndpointResponse */ - (void)registerAppInstanceUserEndpoint:(AWSChimeSDKIdentityRegisterAppInstanceUserEndpointRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityRegisterAppInstanceUserEndpointResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Applies the specified tags to the specified Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the TagResource service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityTagResourceRequest */ - (AWSTask *)tagResource:(AWSChimeSDKIdentityTagResourceRequest *)request; /**

Applies the specified tags to the specified Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the TagResource service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityTagResourceRequest */ - (void)tagResource:(AWSChimeSDKIdentityTagResourceRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Removes the specified tags from the specified Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the UntagResource service method. @return An instance of `AWSTask`. On successful execution, `task.result` will be `nil`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUntagResourceRequest */ - (AWSTask *)untagResource:(AWSChimeSDKIdentityUntagResourceRequest *)request; /**

Removes the specified tags from the specified Amazon Chime SDK identity resource.

@param request A container for the necessary parameters to execute the UntagResource service method. @param completionHandler The completion handler to call when the load request is complete. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUntagResourceRequest */ - (void)untagResource:(AWSChimeSDKIdentityUntagResourceRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /**

Updates AppInstance metadata.

@param request A container for the necessary parameters to execute the UpdateAppInstance service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityUpdateAppInstanceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceRequest @see AWSChimeSDKIdentityUpdateAppInstanceResponse */ - (AWSTask *)updateAppInstance:(AWSChimeSDKIdentityUpdateAppInstanceRequest *)request; /**

Updates AppInstance metadata.

@param request A container for the necessary parameters to execute the UpdateAppInstance service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceRequest @see AWSChimeSDKIdentityUpdateAppInstanceResponse */ - (void)updateAppInstance:(AWSChimeSDKIdentityUpdateAppInstanceRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityUpdateAppInstanceResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Updates the name and metadata of an AppInstanceBot.

@param request A container for the necessary parameters to execute the UpdateAppInstanceBot service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityUpdateAppInstanceBotResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceBotRequest @see AWSChimeSDKIdentityUpdateAppInstanceBotResponse */ - (AWSTask *)updateAppInstanceBot:(AWSChimeSDKIdentityUpdateAppInstanceBotRequest *)request; /**

Updates the name and metadata of an AppInstanceBot.

@param request A container for the necessary parameters to execute the UpdateAppInstanceBot service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceBotRequest @see AWSChimeSDKIdentityUpdateAppInstanceBotResponse */ - (void)updateAppInstanceBot:(AWSChimeSDKIdentityUpdateAppInstanceBotRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityUpdateAppInstanceBotResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Updates the details of an AppInstanceUser. You can update names and metadata.

@param request A container for the necessary parameters to execute the UpdateAppInstanceUser service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityUpdateAppInstanceUserResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceUserRequest @see AWSChimeSDKIdentityUpdateAppInstanceUserResponse */ - (AWSTask *)updateAppInstanceUser:(AWSChimeSDKIdentityUpdateAppInstanceUserRequest *)request; /**

Updates the details of an AppInstanceUser. You can update names and metadata.

@param request A container for the necessary parameters to execute the UpdateAppInstanceUser service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorResourceLimitExceeded`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceUserRequest @see AWSChimeSDKIdentityUpdateAppInstanceUserResponse */ - (void)updateAppInstanceUser:(AWSChimeSDKIdentityUpdateAppInstanceUserRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityUpdateAppInstanceUserResponse * _Nullable response, NSError * _Nullable error))completionHandler; /**

Updates the details of an AppInstanceUserEndpoint. You can update the name and AllowMessage values.

@param request A container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method. @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSChimeSDKIdentityUpdateAppInstanceUserEndpointResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityUpdateAppInstanceUserEndpointResponse */ - (AWSTask *)updateAppInstanceUserEndpoint:(AWSChimeSDKIdentityUpdateAppInstanceUserEndpointRequest *)request; /**

Updates the details of an AppInstanceUserEndpoint. You can update the name and AllowMessage values.

@param request A container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method. @param completionHandler The completion handler to call when the load request is complete. `response` - A response object, or `nil` if the request failed. `error` - An error object that indicates why the request failed, or `nil` if the request was successful. On failed execution, `error` may contain an `NSError` with `AWSChimeSDKIdentityErrorDomain` domain and the following error code: `AWSChimeSDKIdentityErrorBadRequest`, `AWSChimeSDKIdentityErrorConflict`, `AWSChimeSDKIdentityErrorForbidden`, `AWSChimeSDKIdentityErrorThrottledClient`, `AWSChimeSDKIdentityErrorUnauthorizedClient`, `AWSChimeSDKIdentityErrorServiceUnavailable`, `AWSChimeSDKIdentityErrorServiceFailure`. @see AWSChimeSDKIdentityUpdateAppInstanceUserEndpointRequest @see AWSChimeSDKIdentityUpdateAppInstanceUserEndpointResponse */ - (void)updateAppInstanceUserEndpoint:(AWSChimeSDKIdentityUpdateAppInstanceUserEndpointRequest *)request completionHandler:(void (^ _Nullable)(AWSChimeSDKIdentityUpdateAppInstanceUserEndpointResponse * _Nullable response, NSError * _Nullable error))completionHandler; @end NS_ASSUME_NONNULL_END