Connect / Client / describe_hours_of_operation

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'
        },
        'LastModifiedTime': datetime(2015, 1, 1),
        'LastModifiedRegion': '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) –

      • LastModifiedTime (datetime) –

        The timestamp when this resource was last modified.

      • LastModifiedRegion (string) –

        The Amazon Web Services Region where this resource was last modified.

Exceptions