update_report_plan
async
¶
update_report_plan(
report_plan_name: ReportPlanName,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
report_plan_description: Optional[ReportPlanDescription] = None,
report_delivery_channel: Optional[ReportDeliveryChannel] = None,
report_setting: Optional[ReportSetting] = None,
idempotency_token: Optional[string] = None,
) -> UpdateReportPlanOutput
Updates the specified report plan.
Parameters:
-
report_plan_name(ReportPlanName) –The unique name of the report plan. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
-
report_plan_description(Optional[ReportPlanDescription], default:None) –An optional description of the report plan with a maximum 1,024 characters.
-
report_delivery_channel(Optional[ReportDeliveryChannel], default:None) –The information about where to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.
-
report_setting(Optional[ReportSetting], default:None) –The report template for the report. Reports are built using a report template. The report templates are:
RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORTIf the report template is
RESOURCE_COMPLIANCE_REPORTorCONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks. -
idempotency_token(Optional[string], default:None) –A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.
Raises:
-
ConflictException–Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 | |