deleteLicenseConfiguration method
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
May throw InvalidParameterValueException. May throw ServerInternalException. May throw AuthorizationException. May throw AccessDeniedException. May throw RateLimitExceededException.
Parameter licenseConfigurationArn
:
ID of the license configuration.
Implementation
Future<void> deleteLicenseConfiguration({
required String licenseConfigurationArn,
}) async {
ArgumentError.checkNotNull(
licenseConfigurationArn, 'licenseConfigurationArn');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSLicenseManager.DeleteLicenseConfiguration'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'LicenseConfigurationArn': licenseConfigurationArn,
},
);
}