deregisterAppInstanceUserEndpoint method

Future<void> deregisterAppInstanceUserEndpoint({
  1. required String appInstanceUserArn,
  2. required String endpointId,
})

Deregisters an AppInstanceUserEndpoint.

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

Parameter appInstanceUserArn : The ARN of the AppInstanceUser.

Parameter endpointId : The unique identifier of the AppInstanceUserEndpoint.

Implementation

Future<void> deregisterAppInstanceUserEndpoint({
  required String appInstanceUserArn,
  required String endpointId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/app-instance-users/${Uri.encodeComponent(appInstanceUserArn)}/endpoints/${Uri.encodeComponent(endpointId)}',
    exceptionFnMap: _exceptionFns,
  );
}