Connect / Paginator / SearchHoursOfOperationOverrides

SearchHoursOfOperationOverrides#

class Connect.Paginator.SearchHoursOfOperationOverrides#
paginator = client.get_paginator('search_hours_of_operation_overrides')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Connect.Client.search_hours_of_operation_overrides().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    InstanceId='string',
    SearchFilter={
        'TagFilter': {
            'OrConditions': [
                [
                    {
                        'TagKey': 'string',
                        'TagValue': 'string'
                    },
                ],
            ],
            'AndConditions': [
                {
                    'TagKey': 'string',
                    'TagValue': 'string'
                },
            ],
            'TagCondition': {
                'TagKey': 'string',
                'TagValue': 'string'
            }
        }
    },
    SearchCriteria={
        'OrConditions': [
            {'... recursive ...'},
        ],
        'AndConditions': [
            {'... recursive ...'},
        ],
        'StringCondition': {
            'FieldName': 'string',
            'Value': 'string',
            'ComparisonType': 'STARTS_WITH'|'CONTAINS'|'EXACT'
        },
        'DateCondition': {
            'FieldName': 'string',
            'Value': 'string',
            'ComparisonType': 'GREATER_THAN'|'LESS_THAN'|'GREATER_THAN_OR_EQUAL_TO'|'LESS_THAN_OR_EQUAL_TO'|'EQUAL_TO'
        }
    },
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance.

  • SearchFilter (dict) –

    Filters to be applied to search results.

    • TagFilter (dict) –

      An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR of AND (List of List) input where:

      • Top level list specifies conditions that need to be applied with OR operator

      • Inner list specifies conditions that need to be applied with AND operator.

      • OrConditions (list) –

        A list of conditions which would be applied together with an OR condition.

        • (list) –

          • (dict) –

            A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

            • TagKey (string) –

              The tag key in the tag condition.

            • TagValue (string) –

              The tag value in the tag condition.

      • AndConditions (list) –

        A list of conditions which would be applied together with an AND condition.

        • (dict) –

          A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123.

          • TagKey (string) –

            The tag key in the tag condition.

          • TagValue (string) –

            The tag value in the tag condition.

      • TagCondition (dict) –

        A leaf node condition which can be used to specify a tag condition.

        • TagKey (string) –

          The tag key in the tag condition.

        • TagValue (string) –

          The tag value in the tag condition.

  • SearchCriteria (dict) –

    The search criteria to be used to return hours of operations overrides.

    • OrConditions (list) –

      A list of conditions which would be applied together with an OR condition.

      • (dict) –

        The search criteria to be used to return hours of operations overrides.

    • AndConditions (list) –

      A list of conditions which would be applied together with an AND condition.

      • (dict) –

        The search criteria to be used to return hours of operations overrides.

    • StringCondition (dict) –

      A leaf node condition which can be used to specify a string condition.

      • FieldName (string) –

        The name of the field in the string condition.

      • Value (string) –

        The value of the string.

      • ComparisonType (string) –

        The type of comparison to be made when evaluating the string condition.

    • DateCondition (dict) –

      A leaf node condition which can be used to specify a date condition.

      • FieldName (string) –

        An object to specify the hours of operation override date field.

      • Value (string) –

        An object to specify the hours of operation override date value.

      • ComparisonType (string) –

        An object to specify the hours of operation override date condition comparisonType.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'HoursOfOperationOverrides': [
        {
            'HoursOfOperationOverrideId': 'string',
            'HoursOfOperationId': 'string',
            'HoursOfOperationArn': 'string',
            'Name': 'string',
            'Description': 'string',
            'Config': [
                {
                    'Day': 'SUNDAY'|'MONDAY'|'TUESDAY'|'WEDNESDAY'|'THURSDAY'|'FRIDAY'|'SATURDAY',
                    'StartTime': {
                        'Hours': 123,
                        'Minutes': 123
                    },
                    'EndTime': {
                        'Hours': 123,
                        'Minutes': 123
                    }
                },
            ],
            'EffectiveFrom': 'string',
            'EffectiveTill': 'string'
        },
    ],
    'ApproximateTotalCount': 123
}

Response Structure

  • (dict) –

    • HoursOfOperationOverrides (list) –

      Information about the hours of operations overrides.

      • (dict) –

        Information about the hours of operations override.

        • HoursOfOperationOverrideId (string) –

          The identifier for the hours of operation override.

        • 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 of the hours of operation override.

        • Description (string) –

          The description of the hours of operation override.

        • Config (list) –

          Configuration information for the hours of operation override: day, start time, and end time.

          • (dict) –

            Information about the hours of operation override config: day, start time, and end time.

            • Day (string) –

              The day that the hours of operation override applies to.

            • StartTime (dict) –

              The start time when your contact center opens if overrides are applied.

              • Hours (integer) –

                The hours.

              • Minutes (integer) –

                The minutes.

            • EndTime (dict) –

              The end time that your contact center closes if overrides are applied.

              • Hours (integer) –

                The hours.

              • Minutes (integer) –

                The minutes.

        • EffectiveFrom (string) –

          The date from which the hours of operation override would be effective.

        • EffectiveTill (string) –

          The date till which the hours of operation override would be effective.

    • ApproximateTotalCount (integer) –

      The total number of hours of operations which matched your search query.