list_hours_of_operations

list_hours_of_operations(**kwargs)

Provides information about the hours of operation for the specified Amazon Connect instance.

For more information about hours of operation, see Set the Hours of Operation for a Queue in the Amazon Connect Administrator Guide .

See also: AWS API Documentation

Request Syntax

response = client.list_hours_of_operations(
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
Parameters
  • InstanceId (string) --

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • NextToken (string) -- 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.
  • MaxResults (integer) -- The maximum number of results to return per page. The default MaxResult size is 100.
Return type

dict

Returns

Response Syntax

{
    'HoursOfOperationSummaryList': [
        {
            'Id': 'string',
            'Arn': 'string',
            'Name': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • HoursOfOperationSummaryList (list) --

      Information about the hours of operation.

      • (dict) --

        Contains summary information about hours of operation for a contact center.

        • Id (string) --

          The identifier of the hours of operation.

        • Arn (string) --

          The Amazon Resource Name (ARN) of the hours of operation.

        • Name (string) --

          The name of the hours of operation.

    • NextToken (string) --

      If there are additional results, this is the token for the next set of results.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.InvalidParameterException
  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.ThrottlingException
  • Connect.Client.exceptions.InternalServiceException