deleteApplication method

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

Removes the specified application from monitoring. Does not delete the application.

May throw BadRequestException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter resourceGroupName : The name of the resource group.

Implementation

Future<void> deleteApplication({
  required String resourceGroupName,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'EC2WindowsBarleyService.DeleteApplication'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResourceGroupName': resourceGroupName,
    },
  );
}