deleteLicenseAssetRuleset method

Future<void> deleteLicenseAssetRuleset({
  1. required String licenseAssetRulesetArn,
})

Deletes a license asset ruleset.

May throw AccessDeniedException. May throw AuthorizationException. May throw InvalidParameterValueException. May throw RateLimitExceededException. May throw ServerInternalException. May throw ValidationException.

Parameter licenseAssetRulesetArn : Amazon Resource Name (ARN) of the license asset ruleset.

Implementation

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