Connect / Client / get_effective_hours_of_operations

get_effective_hours_of_operations#

Connect.Client.get_effective_hours_of_operations(**kwargs)#

Get the hours of operations with the effective override applied.

See also: AWS API Documentation

Request Syntax

response = client.get_effective_hours_of_operations(
    InstanceId='string',
    HoursOfOperationId='string',
    FromDate='string',
    ToDate='string'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • HoursOfOperationId (string) –

    [REQUIRED]

    The identifier for the hours of operation.

  • FromDate (string) –

    [REQUIRED]

    The Date from when the hours of operation are listed.

  • ToDate (string) –

    [REQUIRED]

    The Date until when the hours of operation are listed.

Return type:

dict

Returns:

Response Syntax

{
    'EffectiveHoursOfOperationList': [
        {
            'Date': 'string',
            'OperationalHours': [
                {
                    'Start': {
                        'Hours': 123,
                        'Minutes': 123
                    },
                    'End': {
                        'Hours': 123,
                        'Minutes': 123
                    }
                },
            ]
        },
    ],
    'TimeZone': 'string'
}

Response Structure

  • (dict) –

    • EffectiveHoursOfOperationList (list) –

      Information about the effective hours of operations

      • (dict) –

        Information about the hours of operations with the effective override applied.

        • Date (string) –

          The date that the hours of operation or overrides applies to.

        • OperationalHours (list) –

          Information about the hours of operations with the effective override applied.

          • (dict) –

            Information about the hours of operations with the effective override applied.

            • Start (dict) –

              The start time that your contact center opens.

              • Hours (integer) –

                The hours.

              • Minutes (integer) –

                The minutes.

            • End (dict) –

              The end time that your contact center closes.

              • Hours (integer) –

                The hours.

              • Minutes (integer) –

                The minutes.

    • TimeZone (string) –

      The time zone for the hours of operation.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException