update_hours_of_operation
async
¶
update_hours_of_operation(
instance_id: InstanceId,
hours_of_operation_id: HoursOfOperationId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
26978 26979 26980 26981 26982 26983 26984 26985 26986 26987 26988 26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 27022 27023 27024 27025 27026 27027 27028 27029 27030 27031 27032 27033 27034 27035 27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 27047 27048 27049 27050 | |