deleteIdentityCenterApplication method

Future<void> deleteIdentityCenterApplication({
  1. required String applicationArn,
})

Deletes the IAM Identity Center application from WorkMail. This action does not affect the authentication settings for any WorkMail organizations.

May throw InvalidParameterException. May throw OrganizationStateException.

Parameter applicationArn : The Amazon Resource Name (ARN) of the application.

Implementation

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