Amazon Connect Hours of Operations API

Operations for managing hours of operation configurations

GitHub OpenAPI
Business capability
Contact Centre Operations Management BC-430.30

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /hours-of-operations/{InstanceId} Create hours of operation · Create Hours Of Operation #
Ask an LLM
“How do I define when my queues are open for business?”
“Can I set different hours for each day of the week?”
Tell an agent
Create hours of operation {Name} in instance {InstanceId} for time zone {TimeZone} with config {Config}.
Set up business hours {Name} in {InstanceId} for {TimeZone}.
DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId} Delete hours of operation · Delete Hours Of Operation #
Ask an LLM
“How do I remove hours of operation I no longer use?”
“Can I delete a hours of operation by its ID?”
Tell an agent destructive · confirm first
Delete hours of operation {HoursOfOperationId} from instance {InstanceId}.
Remove the hours of operation {HoursOfOperationId}.
GET /hours-of-operations/{InstanceId}/{HoursOfOperationId} Get hours of operation · Describe Hours Of Operation #
Ask an LLM
“What days and times are my hours of operation set to?”
“Can I look up one hours of operation by ID?”
Tell an agent
Show hours of operation {HoursOfOperationId} in instance {InstanceId}.
Describe the hours of operation {HoursOfOperationId}.
POST /hours-of-operations/{InstanceId}/{HoursOfOperationId} Update hours of operation · Update Hours Of Operation #
Ask an LLM
“Can I change the hours of operation after creating it?”
“Is it possible to rename an existing hours of operation?”
Tell an agent
Update hours of operation {HoursOfOperationId} in instance {InstanceId} to config {Config}.
Rename hours of operation {HoursOfOperationId} to {Name}.
POST /queues/{InstanceId}/{QueueId}/hours-of-operation Set hours of operation for a queue · Update Queue Hours Of Operation #
Ask an LLM
“How do I make a queue follow a specific hours of operation?”
“Can I change the hours of operation a queue uses?”
Tell an agent
Set queue {QueueId} in instance {InstanceId} to hours of operation {HoursOfOperationId}.
Make queue {QueueId} follow hours {HoursOfOperationId}.
GET /hours-of-operations-summary/{InstanceId} List hours of operation · List Hours Of Operations #
Ask an LLM
“Which hours of operation are defined in my instance?”
“Can I page through hours of operation?”
Tell an agent
List hours of operation in instance {InstanceId}.
Show up to {maxResults} hours of operation for instance {InstanceId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-connect:amazon-connect-hours-of-operations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-connect-hours-of-operations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Connect Service Hours Of Operations API
  version: '2017-08-08'
  description: Generated from AWS's published Smithy model for Amazon Connect Service. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://connect.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /hours-of-operations/{InstanceId}:
    put:
      operationId: CreateHoursOfOperation
      summary: Create Hours Of Operation
      description: Creates hours of operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateHoursOfOperationResponse'
        '409':
          description: DuplicateResourceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DuplicateResourceException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '429':
          description: LimitExceededException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Name:
                  type: string
                  description: The name of the hours of operation.
                Description:
                  type: string
                  description: The description of the hours of operation.
                TimeZone:
                  type: string
                  description: The time zone of the hours of operation.
                Config:
                  type: array
                  items:
                    $ref: '#/components/schemas/HoursOfOperationConfig'
                  description: 'Configuration information for the hours of operation: day, start time, and end time.'
                ParentHoursOfOperationConfigs:
                  type: array
                  items:
                    $ref: '#/components/schemas/ParentHoursOfOperationConfig'
                  description: 'Configuration 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.'
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: 'The tags used to organize, track, or control access for this resource. For example, { "Tags":
                    {"key1":"value1", "key2":"value2"} }.'
              required:
              - Name
              - TimeZone
              - Config
      tags:
      - Hours Of Operations
  /hours-of-operations/{InstanceId}/{HoursOfOperationId}:
    delete:
      operationId: DeleteHoursOfOperation
      summary: Delete Hours Of Operation
      description: Deletes an hours of operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: HoursOfOperationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the hours of operation.
      tags:
      - Hours Of Operations
    get:
      operationId: DescribeHoursOfOperation
      summary: Describe Hours Of Operation
      description: Describes the hours of operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeHoursOfOperationResponse'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: HoursOfOperationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the hours of operation.
      tags:
      - Hours Of Operations
    post:
      operationId: UpdateHoursOfOperation
      summary: Update Hours Of Operation
      description: Updates the hours of operation.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '409':
          description: DuplicateResourceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DuplicateResourceException'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: HoursOfOperationId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the hours of operation.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Name:
                  type: string
                  description: The name of the hours of operation.
                Description:
                  type: string
                  description: The description of the hours of operation.
                TimeZone:
                  type: string
                  description: The time zone of the hours of operation.
                Config:
                  type: array
                  items:
                    $ref: '#/components/schemas/HoursOfOperationConfig'
                  description: Configuration information of the hours of operation.
      tags:
      - Hours Of Operations
  /queues/{InstanceId}/{QueueId}/hours-of-operation:
    post:
      operationId: UpdateQueueHoursOfOperation
      summary: Update Queue Hours Of Operation
      description: Updates the hours of operation for the specified queue.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: QueueId
        in: path
        required: true
        schema:
          type: string
        description: The identifier for the queue.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                HoursOfOperationId:
                  type: string
                  description: The identifier for the hours of operation.
              required:
              - HoursOfOperationId
      tags:
      - Hours Of Operations
  /hours-of-operations-summary/{InstanceId}:
    get:
      operationId: ListHoursOfOperations
      summary: List Hours Of Operations
      description: Provides information about the hours of operation for the specified Connect Customer instance. For more
        information about hours of operation, see Set the Hours of Operation for a Queue in the Connect Customer Administrator
        Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListHoursOfOperationsResponse'
        '500':
          description: InternalServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
        '400':
          description: InvalidParameterException; InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: InstanceId
        in: path
        required: true
        schema:
          type: string
        description: The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource
          Name (ARN) of the instance.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of results. Use the value returned in the previous response in the next request
          to retrieve the next set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return per page. The default MaxResult size is 100.
      tags:
      - Hours Of Operations
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: connect
  schemas:
    CreateHoursOfOperationResponse:
      type: object
      properties:
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
        HoursOfOperationArn:
          type: string
          description: The Amazon Resource Name (ARN) for the hours of operation.
    DescribeHoursOfOperationResponse:
      type: object
      properties:
        HoursOfOperation:
          $ref: '#/components/schemas/HoursOfOperation'
    DuplicateResourceException:
      type: object
      properties:
        Message:
          type: string
    HoursOfOperation:
      type: object
      properties:
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
        HoursOfOperationArn:
          type: string
          description: The Amazon Resource Name (ARN) for the hours of operation.
        Name:
          type: string
          description: The name for the hours of operation.
        Description:
          type: string
          description: The description for the hours of operation.
        TimeZone:
          type: string
          description: The time zone for the hours of operation.
        Config:
          type: array
          items:
            $ref: '#/components/schemas/HoursOfOperationConfig'
          description: Configuration information for the hours of operation.
        ParentHoursOfOperations:
          type: array
          items:
            $ref: '#/components/schemas/HoursOfOperationsIdentifier'
          description: Information about parent hours of operations.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: 'The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1",
            "key2":"value2"} }.'
        LastModifiedTime:
          type: string
          format: date-time
          description: The timestamp when this resource was last modified.
        LastModifiedRegion:
          type: string
          description: The Amazon Web Services Region where this resource was last modified.
    HoursOfOperationConfig:
      type: object
      properties:
        Day:
          type: string
          enum:
          - SUNDAY
          - MONDAY
          - TUESDAY
          - WEDNESDAY
          - THURSDAY
          - FRIDAY
          - SATURDAY
          description: The day that the hours of operation applies to.
        StartTime:
          $ref: '#/components/schemas/HoursOfOperationTimeSlice'
        EndTime:
          $ref: '#/components/schemas/HoursOfOperationTimeSlice'
      required:
      - Day
      - StartTime
      - EndTime
    HoursOfOperationSummary:
      type: object
      properties:
        Id:
          type: string
          description: The identifier of the hours of operation.
        Arn:
          type: string
          description: The Amazon Resource Name (ARN) of the hours of operation.
        Name:
          type: string
          description: The name of the hours of operation.
        LastModifiedTime:
          type: string
          format: date-time
          description: The timestamp when this resource was last modified.
        LastModifiedRegion:
          type: string
          description: The Amazon Web Services Region where this resource was last modified.
    HoursOfOperationTimeSlice:
      type: object
      properties:
        Hours:
          type: integer
          description: The hours.
        Minutes:
          type: integer
          description: The minutes.
      required:
      - Hours
      - Minutes
    HoursOfOperationsIdentifier:
      type: object
      properties:
        Name:
          type: string
          description: Name of the hours of operation
        Id:
          type: string
          description: Unique identifier of the hours of operation.
        Arn:
          type: string
          description: Amazon Resource Name (ARN) of the hours of operations.
      required:
      - Name
      - Id
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: The message.
    InvalidParameterException:
      type: object
      properties:
        Message:
          type: string
          description: The message about the parameters.
    LimitExceededException:
      type: object
      properties:
        Message:
          type: string
          description: The message about the limit.
    ListHoursOfOperationsResponse:
      type: object
      properties:
        HoursOfOperationSummaryList:
          type: array
          items:
            $ref: '#/components/schemas/HoursOfOperationSummary'
          description: Information about the hours of operation.
        NextToken:
          type: string
          description: If there are additional results, this is the token for the next set of results.
    ParentHoursOfOperationConfig:
      type: object
      properties:
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: The message about the resource.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          $ref: '#/components/schemas/ServiceQuotaExceededExceptionReason'
    ServiceQuotaExceededExceptionReason:
      type: object
      properties:
        AttachedFileServiceQuotaExceededExceptionReason:
          type: string
          enum:
          - TOTAL_FILE_SIZE_EXCEEDED
          - TOTAL_FILE_COUNT_EXCEEDED
          description: Total file size of all files or total number of files exceeds the service quota
      description: Exactly one member is set.
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/connect/service/2017-08-08/connect-2017-08-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)