effective_hours_of_operations
Creates, updates, deletes, gets or lists an effective_hours_of_operations resource.
Overview
| Name | effective_hours_of_operations |
| Type | Resource |
| Id | aws.connect.effective_hours_of_operations |
Fields
The following fields are returned by SELECT queries:
- get_effective_hours_of_operations
| Name | Datatype | Description |
|---|---|---|
effective_hours_of_operation_list | array | Information about the effective hours of operations. |
effective_override_hours_list | array | Information about override configurations applied to the base hours of operation to calculate the effective hours. For more information about how override types are applied, see Build your list of overrides in the Administrator Guide. |
time_zone | string | The time zone for the hours of operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_effective_hours_of_operations | select | instance_id, hours_of_operation_id, fromDate, toDate, region | Get the hours of operations with the effective override applied. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
fromDate | string | The date from when the hours of operation are listed. |
hours_of_operation_id | string | The identifier for the hours of operation. |
instance_id | string | The identifier of the Connect Customer instance. |
region | string | AWS region (default: us-east-1) |
toDate | string | The date until when the hours of operation are listed. |
SELECT examples
- get_effective_hours_of_operations
Get the hours of operations with the effective override applied.
SELECT
effective_hours_of_operation_list,
effective_override_hours_list,
time_zone
FROM aws.connect.effective_hours_of_operations
WHERE instance_id = '{{ instance_id }}' -- required
AND hours_of_operation_id = '{{ hours_of_operation_id }}' -- required
AND fromDate = '{{ fromDate }}' -- required
AND toDate = '{{ toDate }}' -- required
AND region = '{{ region }}' -- required
;