deleteAppInstanceUser method

Future<void> deleteAppInstanceUser({
  1. required String appInstanceUserArn,
})

Deletes an AppInstanceUser.

May throw BadRequestException. May throw ForbiddenException. May throw ThrottledClientException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter appInstanceUserArn : The ARN of the user request being deleted.

Implementation

Future<void> deleteAppInstanceUser({
  required String appInstanceUserArn,
}) async {
  ArgumentError.checkNotNull(appInstanceUserArn, 'appInstanceUserArn');
  _s.validateStringLength(
    'appInstanceUserArn',
    appInstanceUserArn,
    5,
    1600,
    isRequired: true,
  );
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/app-instance-users/${Uri.encodeComponent(appInstanceUserArn)}',
    exceptionFnMap: _exceptionFns,
  );
}