Skip to content

Create Hours Of Operation

connect_create_hours_of_operation R Documentation

This API is in preview release for Amazon Connect and is subject to change

Description

This API is in preview release for Amazon Connect and is subject to change.

Creates hours of operation.

Usage

connect_create_hours_of_operation(InstanceId, Name, Description,
  TimeZone, Config, Tags)

Arguments

InstanceId

[required] The identifier of the Amazon Connect 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.

Description

The 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.

Tags

The 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:

list(
  HoursOfOperationId = "string",
  HoursOfOperationArn = "string"
)

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
      )
    )
  ),
  Tags = list(
    "string"
  )
)