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
27052 27053 27054 27055 27056 27057 27058 27059 27060 27061 27062 27063 27064 27065 27066 27067 27068 27069 27070 27071 27072 27073 27074 27075 27076 27077 27078 27079 27080 27081 27082 27083 27084 27085 27086 27087 27088 27089 27090 27091 27092 27093 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125 27126 27127 27128 27129 27130 27131 27132 27133 27134 27135 27136 27137 27138 27139 27140 27141 27142 27143 27144 27145 27146 | |