MediaLive / Paginator / ListNetworks

ListNetworks#

class MediaLive.Paginator.ListNetworks#
paginator = client.get_paginator('list_networks')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from MediaLive.Client.list_networks().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'Networks': [
        {
            'Arn': 'string',
            'AssociatedClusterIds': [
                'string',
            ],
            'Id': 'string',
            'IpPools': [
                {
                    'Cidr': 'string'
                },
            ],
            'Name': 'string',
            'Routes': [
                {
                    'Cidr': 'string',
                    'Gateway': 'string'
                },
            ],
            'State': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'DELETING'|'IDLE'|'IN_USE'|'UPDATING'|'DELETE_FAILED'|'DELETED'
        },
    ],

}

Response Structure

  • (dict) – An array of networks.

    • Networks (list) – An array of networks that you have created.

      • (dict) – Used in ListNetworksResult.

        • Arn (string) – The ARN of this Network. It is automatically assigned when the Network is created.

        • AssociatedClusterIds (list) – Placeholder documentation for __listOf__string

          • (string) – Placeholder documentation for __string

        • Id (string) – The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN.

        • IpPools (list) – An array of IpPools in your organization’s network that identify a collection of IP addresses in your organization’s network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block.

          • (dict) – Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult.

            • Cidr (string) – A CIDR block of IP addresses that are reserved for MediaLive Anywhere.

        • Name (string) – The name that you specified for this Network.

        • Routes (list) – An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic.

          • (dict) – Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult.

            • Cidr (string) – A CIDR block for one Route.

            • Gateway (string) – The IP address of the Gateway for this route, if applicable.

        • State (string) – The current state of the Network. Only MediaLive Anywhere can change the state.