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
8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 | |