ELBProxy / Client / update_proxy_network_configuration

update_proxy_network_configuration

ELBProxy.Client.update_proxy_network_configuration(**kwargs)

Updates the network configuration for the specified proxy.

See also: AWS API Documentation

Request Syntax

response = client.update_proxy_network_configuration(
    proxyIdentifier='string',
    vpcConfiguration={
        'subnets': [
            {
                'subnetId': 'string'
            },
        ],
        'securityGroups': [
            {
                'securityGroupId': 'string'
            },
        ]
    }
)
Parameters:
  • proxyIdentifier (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the proxy.

  • vpcConfiguration (dict) –

    [REQUIRED]

    The updated VPC configuration for the proxy.

    • subnets (list) –

      The updated subnets for the proxy.

      • (dict) –

        The details of a subnet.

        • subnetId (string) – [REQUIRED]

          The ID of the subnet.

    • securityGroups (list) –

      The updated security groups for the proxy.

      • (dict) –

        The details of a security group.

        • securityGroupId (string) – [REQUIRED]

          The ID of the security group.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'type': 'envoy',
    'proxyVersion': 'string',
    'dnsName': 'string',
    'roleArn': 'string',
    'networkConfiguration': {
        'ipConfiguration': {
            'ipAddressingConfiguration': {
                'ipv4Addressability': 'off'|'internet-facing'|'internal',
                'ipv6Addressability': 'off'|'internet-facing'|'internal'
            }
        },
        'vpcConfiguration': {
            'vpcId': 'string',
            'availabilityZones': [
                {
                    'subnetId': 'string',
                    'zoneId': 'string',
                    'zoneName': 'string'
                },
            ],
            'securityGroups': [
                {
                    'securityGroupId': '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'
            },
        ]
    },
    'configurationMetadata': {
        'configFileHash': 'string',
        'configArchiveHash': 'string',
        'configFileLastUpdatedAt': datetime(2015, 1, 1),
        'configArchiveLastUpdatedAt': datetime(2015, 1, 1)
    },
    'createdAt': datetime(2015, 1, 1),
    'customerKmsKeyArn': 'string'
}

Response Structure

  • (dict) –

    Common Proxy details response mixin

    • arn (string) –

      The Amazon Resource Name (ARN) of the proxy.

    • name (string) –

      The name of the proxy.

    • type (string) –

      The type of proxy.

    • proxyVersion (string) –

      The version of the proxy software.

    • dnsName (string) –

      The DNS name of the proxy.

    • roleArn (string) –

      The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.

    • networkConfiguration (dict) –

      The network configuration for the proxy.

      • ipConfiguration (dict) –

        The IP configuration for the proxy.

        • ipAddressingConfiguration (dict) –

          The IP addressing configuration for the proxy.

          • ipv4Addressability (string) –

            The IPv4 addressability setting for the proxy.

          • ipv6Addressability (string) –

            The IPv6 addressability setting for the proxy.

      • vpcConfiguration (dict) –

        The VPC configuration for the proxy.

        • vpcId (string) –

          The ID of the VPC.

        • availabilityZones (list) –

          The Availability Zones used by the proxy.

          • (dict) –

            A subnet and its associated Availability Zone.

            • subnetId (string) –

              The ID of the subnet.

            • zoneId (string) –

              The ID of the Availability Zone.

            • zoneName (string) –

              The name of the Availability Zone (for example, us-east-1a).

        • securityGroups (list) –

          The security groups used by the proxy.

          • (dict) –

            The details of a security group.

            • securityGroupId (string) –

              The ID of the security group.

    • 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.

    • configurationMetadata (dict) –

      The configuration metadata for the proxy.

      • configFileHash (string) –

        The SHA-256 hash of the configuration file.

      • configArchiveHash (string) –

        The SHA-256 hash of the configuration archive. This value is absent when the proxy does not have a configuration archive.

      • configFileLastUpdatedAt (datetime) –

        The date and time that the configuration file was last updated.

      • configArchiveLastUpdatedAt (datetime) –

        The date and time that the configuration archive was last updated.

    • createdAt (datetime) –

      The date and time that the proxy was created.

    • customerKmsKeyArn (string) –

      The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy’s configuration content. This value is absent when the proxy uses the default service-owned key.

Exceptions