update_hours_of_operation_override
async
¶
update_hours_of_operation_override(
instance_id: InstanceId,
hours_of_operation_id: HoursOfOperationId,
hours_of_operation_override_id: HoursOfOperationOverrideId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[CommonHumanReadableName] = None,
description: Optional[CommonHumanReadableDescription] = None,
config: Optional[HoursOfOperationOverrideConfigList] = None,
effective_from: Optional[HoursOfOperationOverrideYearMonthDayDateFormat] = None,
effective_till: Optional[HoursOfOperationOverrideYearMonthDayDateFormat] = None,
recurrence_config: Optional[RecurrenceConfig] = None,
override_type: Optional[OverrideType] = None,
) -> None
Update the hours of operation override.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance.
-
hours_of_operation_id(HoursOfOperationId) –The identifier for the hours of operation.
-
hours_of_operation_override_id(HoursOfOperationOverrideId) –The identifier for the hours of operation override.
-
name(Optional[CommonHumanReadableName], default:None) –The name of the hours of operation override.
-
description(Optional[CommonHumanReadableDescription], default:None) –The description of the hours of operation override.
-
config(Optional[HoursOfOperationOverrideConfigList], default:None) –Configuration information for the hours of operation override: day, start time, and end time.
-
effective_from(Optional[HoursOfOperationOverrideYearMonthDayDateFormat], default:None) –The date from when the hours of operation override would be effective.
-
effective_till(Optional[HoursOfOperationOverrideYearMonthDayDateFormat], default:None) –The date until the hours of operation override is effective.
-
recurrence_config(Optional[RecurrenceConfig], default:None) –Configuration for a recurring event.
-
override_type(Optional[OverrideType], default:None) –Whether the override will be defined as a standard or as a recurring event.
For more information about how override types are applied, see Build your list of overrides in the Administrator Guide.
Raises:
-
ConditionalOperationFailedException–Request processing failed because dependent condition failed.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
27297 27298 27299 27300 27301 27302 27303 27304 27305 27306 27307 27308 27309 27310 27311 27312 27313 27314 27315 27316 27317 27318 27319 27320 27321 27322 27323 27324 27325 27326 27327 27328 27329 27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 27344 27345 27346 27347 27348 27349 27350 27351 27352 27353 27354 27355 27356 27357 27358 27359 27360 27361 27362 27363 27364 27365 27366 27367 27368 27369 27370 27371 27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 27384 27385 27386 27387 27388 27389 27390 27391 | |