Skip to content

/AWS1/CL_EC2=>CANCELDECLARATIVEPOLREPORT()

About CancelDeclarativePoliciesReport

Cancels the generation of an account status report.

You can only cancel a report while it has the running status. Reports with other statuses (complete, cancelled, or error) can't be canceled.

For more information, see Generating the account status report for declarative policies in the Amazon Web Services Organizations User Guide.

Method Signature

IMPORTING

Required arguments:

IV_REPORTID TYPE /AWS1/EC2DECLARATIVEPOLRPTID /AWS1/EC2DECLARATIVEPOLRPTID

The ID of the report.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CANCDECLARATIVEP01 /AWS1/CL_EC2CANCDECLARATIVEP01