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
26862 26863 26864 26865 26866 26867 26868 26869 26870 26871 26872 26873 26874 26875 26876 26877 26878 26879 26880 26881 26882 26883 26884 26885 26886 26887 26888 26889 26890 26891 26892 26893 26894 26895 26896 26897 26898 26899 26900 26901 26902 26903 26904 26905 26906 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 26917 26918 26919 26920 26921 26922 26923 26924 26925 26926 26927 26928 26929 26930 26931 26932 26933 | |