deleteAppInstance method

Future<void> deleteAppInstance({
  1. required String appInstanceArn,
})

Deletes an AppInstance and all associated data asynchronously.

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

Parameter appInstanceArn : The ARN of the AppInstance.

Implementation

Future<void> deleteAppInstance({
  required String appInstanceArn,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/app-instances/${Uri.encodeComponent(appInstanceArn)}',
    exceptionFnMap: _exceptionFns,
  );
}