MediaLive / Paginator / ListNodes

ListNodes#

class MediaLive.Paginator.ListNodes#
paginator = client.get_paginator('list_nodes')
paginate(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ClusterId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • ClusterId (string) – [REQUIRED] The ID of the cluster

  • 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

{
    'Nodes': [
        {
            'Arn': 'string',
            'ChannelPlacementGroups': [
                'string',
            ],
            'ClusterId': 'string',
            'ConnectionState': 'CONNECTED'|'DISCONNECTED',
            'Id': 'string',
            'InstanceArn': 'string',
            'ManagedInstanceId': 'string',
            'Name': 'string',
            'NodeInterfaceMappings': [
                {
                    'LogicalInterfaceName': 'string',
                    'NetworkInterfaceMode': 'NAT'|'BRIDGE',
                    'PhysicalInterfaceName': 'string'
                },
            ],
            'Role': 'BACKUP'|'ACTIVE',
            'State': 'CREATED'|'REGISTERING'|'READY_TO_ACTIVATE'|'REGISTRATION_FAILED'|'ACTIVATION_FAILED'|'ACTIVE'|'READY'|'IN_USE'|'DEREGISTERING'|'DRAINING'|'DEREGISTRATION_FAILED'|'DEREGISTERED'
        },
    ]
}

Response Structure

  • (dict) – An array of nodes.

    • Nodes (list) – An array of Nodes that exist in the Cluster.

      • (dict) – Placeholder documentation for DescribeNodeSummary

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

        • ChannelPlacementGroups (list) – An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.

          • (string) – Placeholder documentation for __string

        • ClusterId (string) – The ID of the Cluster that the Node belongs to.

        • ConnectionState (string) – The current connection state of the Node.

        • Id (string) – The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.

        • InstanceArn (string) – The EC2 ARN of the Instance associated with the Node.

        • ManagedInstanceId (string) – At the routing layer will get it from the callerId/context for use with bring your own device.

        • Name (string) – The name that you specified for the Node.

        • NodeInterfaceMappings (list) – Documentation update needed

          • (dict) – A mapping that’s used to pair a logical network interface name on a Node with the physical interface name exposed in the operating system.

            • LogicalInterfaceName (string) – A uniform logical interface name to address in a MediaLive channel configuration.

            • NetworkInterfaceMode (string) – Used in NodeInterfaceMapping and NodeInterfaceMappingCreateRequest

            • PhysicalInterfaceName (string) – The name of the physical interface on the hardware that will be running Elemental anywhere.

        • Role (string) – The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.

        • State (string) – The current state of the Node.