DeleteLicenseManagerReportGeneratorCommand

Deletes the specified report generator.

This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { LicenseManagerClient, DeleteLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
// const { LicenseManagerClient, DeleteLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
const client = new LicenseManagerClient(config);
const input = { // DeleteLicenseManagerReportGeneratorRequest
  LicenseManagerReportGeneratorArn: "STRING_VALUE", // required
};
const command = new DeleteLicenseManagerReportGeneratorCommand(input);
const response = await client.send(command);
// {};

DeleteLicenseManagerReportGeneratorCommand Input

Parameter
Type
Description
LicenseManagerReportGeneratorArn
Required
string | undefined

Amazon Resource Name (ARN) of the report generator to be deleted.

DeleteLicenseManagerReportGeneratorCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
AccessDeniedException
client

Access to resource denied.

AuthorizationException
client

The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.

InvalidParameterValueException
client

One or more parameter values are not valid.

RateLimitExceededException
client

Too many requests have been submitted. Try again after a brief wait.

ResourceLimitExceededException
client

Your resource limits have been exceeded.

ResourceNotFoundException
client

The resource cannot be found.

ServerInternalException
server

The server experienced an internal error. Try again.

ValidationException
client

The provided input is not valid. Try your request again.

LicenseManagerServiceException
Base exception class for all service exceptions from LicenseManager service.