describe_hours_of_operation

Connect.Client.describe_hours_of_operation(**kwargs)

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

Describes the hours of operation.

See also: AWS API Documentation

Request Syntax

response = client.describe_hours_of_operation(
    InstanceId='string',
    HoursOfOperationId='string'
)
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.

  • HoursOfOperationId (string) --

    [REQUIRED]

    The identifier for the hours of operation.

Return type

dict

Returns

Response Syntax

{
    'HoursOfOperation': {
        'HoursOfOperationId': 'string',
        'HoursOfOperationArn': 'string',
        'Name': 'string',
        'Description': 'string',
        'TimeZone': 'string',
        'Config': [
            {
                'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY',
                'StartTime': {
                    'Hours': 123,
                    'Minutes': 123
                },
                'EndTime': {
                    'Hours': 123,
                    'Minutes': 123
                }
            },
        ],
        'Tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    • HoursOfOperation (dict) --

      The hours of operation.

      • HoursOfOperationId (string) --

        The identifier for the hours of operation.

      • HoursOfOperationArn (string) --

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

      • Name (string) --

        The name for the hours of operation.

      • Description (string) --

        The description for the hours of operation.

      • TimeZone (string) --

        The time zone for the hours of operation.

      • Config (list) --

        Configuration information for the hours of operation.

        • (dict) --

          Contains information about the hours of operation.

          • Day (string) --

            The day that the hours of operation applies to.

          • StartTime (dict) --

            The start time that your contact center opens.

            • Hours (integer) --

              The hours.

            • Minutes (integer) --

              The minutes.

          • EndTime (dict) --

            The end time that your contact center closes.

            • Hours (integer) --

              The hours.

            • Minutes (integer) --

              The minutes.

      • Tags (dict) --

        The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

        • (string) --
          • (string) --

Exceptions

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