ELBProxy / Client / list_proxies

list_proxies

ELBProxy.Client.list_proxies(**kwargs)

Lists the proxies owned by the caller account.

See also: AWS API Documentation

Request Syntax

response = client.list_proxies(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The maximum number of results to return.

  • nextToken (string) – A pagination token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'arn': 'string',
            'name': 'string',
            'type': 'envoy',
            'dnsName': 'string',
            'vpcId': 'string',
            'status': {
                'code': 'action-required'|'active'|'create-failed'|'create-in-progress'|'deleted'|'delete-in-progress'|'update-in-progress'|'cancel-update-in-progress',
                'reasons': [
                    {
                        'code': 'string',
                        'target': 'string',
                        'message': 'string'
                    },
                ]
            },
            'createdAt': datetime(2015, 1, 1)
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the proxies.

      • (dict) –

        Summary information about a proxy.

        • arn (string) –

          The Amazon Resource Name (ARN) of the proxy.

        • name (string) –

          The name of the proxy.

        • type (string) –

          The type of proxy.

        • dnsName (string) –

          The DNS name of the proxy.

        • vpcId (string) –

          The ID of the VPC.

        • status (dict) –

          The status of the proxy.

          • code (string) –

            The status code of the proxy.

          • reasons (list) –

            The reasons for the current status of the proxy.

            • (dict) –

              A reason for the current status of a proxy.

              • code (string) –

                The status reason code.

              • target (string) –

                The target resource of the status reason.

              • message (string) –

                The status reason message.

        • createdAt (datetime) –

          The date and time that the proxy was created.

    • nextToken (string) –

      If there are additional results, a pagination token for the next page of results.

Exceptions

  • ELBProxy.Client.exceptions.ValidationException

  • ELBProxy.Client.exceptions.InternalServerException

  • ELBProxy.Client.exceptions.ThrottlingException