Creates hours of operation¶
Description¶
Creates hours of operation.
Usage¶
connect_create_hours_of_operation(InstanceId, Name, Description,
TimeZone, Config, ParentHoursOfOperationConfigs, Tags)
Arguments¶
-
InstanceId[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
Name[required] The name of the hours of operation.
-
DescriptionThe description of the hours of operation.
-
TimeZone[required] The time zone of the hours of operation.
-
Config[required] Configuration information for the hours of operation: day, start time, and end time.
-
ParentHoursOfOperationConfigsConfiguration for parent hours of operations. Eg: ResourceArn.
For more information about parent hours of operations, see Link overrides from different hours of operation in the Administrator Guide.
-
TagsThe tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_hours_of_operation(
InstanceId = "string",
Name = "string",
Description = "string",
TimeZone = "string",
Config = list(
list(
Day = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY",
StartTime = list(
Hours = 123,
Minutes = 123
),
EndTime = list(
Hours = 123,
Minutes = 123
)
)
),
ParentHoursOfOperationConfigs = list(
list(
HoursOfOperationId = "string"
)
),
Tags = list(
"string"
)
)