Skip to content

Cancel Declarative Policies Report

ec2_cancel_declarative_policies_report R Documentation

Cancels the generation of an account status report

Description

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.

Usage

ec2_cancel_declarative_policies_report(DryRun, ReportId)

Arguments

DryRun

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.

ReportId

[required] The ID of the report.

Value

A list with the following syntax:

list(
  Return = TRUE|FALSE
)

Request syntax

svc$cancel_declarative_policies_report(
  DryRun = TRUE|FALSE,
  ReportId = "string"
)