create_hours_of_operation_override
¶
create_hours_of_operation_override(
instance_id: InstanceId,
hours_of_operation_id: HoursOfOperationId,
name: CommonHumanReadableName,
config: HoursOfOperationOverrideConfigList,
effective_from: HoursOfOperationOverrideYearMonthDayDateFormat,
effective_till: HoursOfOperationOverrideYearMonthDayDateFormat,
*,
config_overrides: Optional[ConnectClientConfig] = None,
description: Optional[CommonHumanReadableDescription] = None,
recurrence_config: Optional[RecurrenceConfig] = None,
override_type: Optional[OverrideType] = None,
) -> CreateHoursOfOperationOverrideResponse
Creates an hours of operation override in an Connect Customer hours of operation resource.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance.
-
hours_of_operation_id(HoursOfOperationId) –The identifier for the hours of operation
-
name(CommonHumanReadableName) –The name of the hours of operation override.
-
description(Optional[CommonHumanReadableDescription], default:None) –The description of the hours of operation override.
-
config(HoursOfOperationOverrideConfigList) –Configuration information for the hours of operation override: day, start time, and end time.
-
effective_from(HoursOfOperationOverrideYearMonthDayDateFormat) –The date from when the hours of operation override is effective.
-
effective_till(HoursOfOperationOverrideYearMonthDayDateFormat) –The date until when 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:
-
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.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
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
4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 | |