AlexaForBusiness / Paginator / SearchSkillGroups

SearchSkillGroups#

class AlexaForBusiness.Paginator.SearchSkillGroups#
paginator = client.get_paginator('search_skill_groups')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from AlexaForBusiness.Client.search_skill_groups().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Filters=[
        {
            'Key': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    SortCriteria=[
        {
            'Key': 'string',
            'Value': 'ASC'|'DESC'
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • Filters (list) –

    The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.

    • (dict) –

      A filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria.

      • Key (string) – [REQUIRED]

        The key of a filter.

      • Values (list) – [REQUIRED]

        The values of a filter.

        • (string) –

  • SortCriteria (list) –

    The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.

    • (dict) –

      An object representing a sort criteria.

      • Key (string) – [REQUIRED]

        The sort key of a sort object.

      • Value (string) – [REQUIRED]

        The sort value of a sort object.

  • 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

{
    'SkillGroups': [
        {
            'SkillGroupArn': 'string',
            'SkillGroupName': 'string',
            'Description': 'string'
        },
    ],
    'TotalCount': 123
}

Response Structure

  • (dict) –

    • SkillGroups (list) –

      The skill groups that meet the filter criteria, in sort order.

      • (dict) –

        The attributes of a skill group.

        • SkillGroupArn (string) –

          The skill group ARN of a skill group.

        • SkillGroupName (string) –

          The skill group name of a skill group.

        • Description (string) –

          The description of a skill group.

    • TotalCount (integer) –

      The total number of skill groups returned.