deleteLicenseAssetGroup method

Future<DeleteLicenseAssetGroupResponse> deleteLicenseAssetGroup({
  1. required String licenseAssetGroupArn,
})

Deletes a license asset group.

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

Parameter licenseAssetGroupArn : Amazon Resource Name (ARN) of the license asset group.

Implementation

Future<DeleteLicenseAssetGroupResponse> deleteLicenseAssetGroup({
  required String licenseAssetGroupArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSLicenseManager.DeleteLicenseAssetGroup'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'LicenseAssetGroupArn': licenseAssetGroupArn,
    },
  );

  return DeleteLicenseAssetGroupResponse.fromJson(jsonResponse.body);
}