Amazon Connect Hours of Operations API

Operations for managing hours of operation configurations

Operations 5

PUT /hours-of-operations/{InstanceId} Create Hours Of Operation #
DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId} Delete Hours Of Operation #
GET /hours-of-operations/{InstanceId}/{HoursOfOperationId} Describe Hours Of Operation #
POST /hours-of-operations/{InstanceId}/{HoursOfOperationId} Update Hours Of Operation #
POST /queues/{InstanceId}/{QueueId}/hours-of-operation Update Queue Hours Of Operation #

Documentation

Specifications

Schemas & Data

Other Resources

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. 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. 5 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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateHoursOfOperationRequest'
      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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteHoursOfOperationRequest'
      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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DescribeHoursOfOperationRequest'
      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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateHoursOfOperationRequest'
      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'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateQueueHoursOfOperationRequest'
      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:
    CreateHoursOfOperationRequest:
      type: object
      properties:
        InstanceId:
          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:
          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:
      - InstanceId
      - Name
      - TimeZone
      - Config
    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.
    DeleteHoursOfOperationRequest:
      type: object
      properties:
        InstanceId:
          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.
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
      required:
      - InstanceId
      - HoursOfOperationId
    DescribeHoursOfOperationRequest:
      type: object
      properties:
        InstanceId:
          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.
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
      required:
      - InstanceId
      - HoursOfOperationId
    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
    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.
    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
    UpdateHoursOfOperationRequest:
      type: object
      properties:
        InstanceId:
          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.
        HoursOfOperationId:
          type: string
          description: The identifier of the hours of operation.
        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.
      required:
      - InstanceId
      - HoursOfOperationId
    UpdateQueueHoursOfOperationRequest:
      type: object
      properties:
        InstanceId:
          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.
        QueueId:
          type: string
          description: The identifier for the queue.
        HoursOfOperationId:
          type: string
          description: The identifier for the hours of operation.
      required:
      - InstanceId
      - QueueId
      - HoursOfOperationId
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/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)