update_hours_of_operation
¶
update_hours_of_operation(
instance_id: InstanceId,
hours_of_operation_id: HoursOfOperationId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
name: Optional[CommonNameLength127] = None,
description: Optional[UpdateHoursOfOperationDescription] = None,
time_zone: Optional[TimeZone] = None,
config: Optional[HoursOfOperationConfigList] = None,
) -> None
Updates the hours of operation.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
hours_of_operation_id(HoursOfOperationId) –The identifier of the hours of operation.
-
name(Optional[CommonNameLength127], default:None) –The name of the hours of operation.
-
description(Optional[UpdateHoursOfOperationDescription], default:None) –The description of the hours of operation.
-
time_zone(Optional[TimeZone], default:None) –The time zone of the hours of operation.
-
config(Optional[HoursOfOperationConfigList], default:None) –Configuration information of the hours of operation.
Raises:
-
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/connect.py
26619 26620 26621 26622 26623 26624 26625 26626 26627 26628 26629 26630 26631 26632 26633 26634 26635 26636 26637 26638 26639 26640 26641 26642 26643 26644 26645 26646 26647 26648 26649 26650 26651 26652 26653 26654 26655 26656 26657 26658 26659 26660 26661 26662 26663 26664 26665 26666 26667 26668 26669 26670 26671 26672 26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 | |