Skip to content

/AWS1/CL_EC2=>DESCRDECLARATIVEPOLREPORTS()

About DescribeDeclarativePoliciesReports

Describes the metadata of an account status report, including the status of the report.

To view the full report, download it from the Amazon S3 bucket where it was saved. Reports are accessible only when they have the complete status. Reports with other statuses (running, cancelled, or error) are not available in the S3 bucket. For more information about downloading objects from an S3 bucket, see Downloading objects in the Amazon Simple Storage Service User Guide.

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

Method Signature

IMPORTING

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.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

IV_MAXRESULTS TYPE /AWS1/EC2DECLARATIVEPOLMAXRSS /AWS1/EC2DECLARATIVEPOLMAXRSS

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

IT_REPORTIDS TYPE /AWS1/CL_EC2VALUESTRINGLIST_W=>TT_VALUESTRINGLIST TT_VALUESTRINGLIST

One or more report IDs.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2DSCDECLARATIVEPO01 /AWS1/CL_EC2DSCDECLARATIVEPO01