deleteApplication method

Future<void> deleteApplication({
  1. required String arn,
})

Deletes the Application. Only Applications that don't have any Application Associations can be deleted.

May throw AccessDeniedException. May throw InternalServiceError. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter arn : The Amazon Resource Name (ARN) of the Application.

Implementation

Future<void> deleteApplication({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/applications/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
}