ElasticLoadBalancingv2 / Client / remove_listener_certificates

remove_listener_certificates#

ElasticLoadBalancingv2.Client.remove_listener_certificates(**kwargs)#

Removes the specified certificate from the certificate list for the specified HTTPS or TLS listener.

See also: AWS API Documentation

Request Syntax

response = client.remove_listener_certificates(
    ListenerArn='string',
    Certificates=[
        {
            'CertificateArn': 'string',
            'IsDefault': True|False
        },
    ]
)
Parameters:
  • ListenerArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the listener.

  • Certificates (list) –

    [REQUIRED]

    The certificate to remove. You can specify one certificate per call. Set CertificateArn to the certificate ARN but do not set IsDefault.

    • (dict) –

      Information about an SSL server certificate.

      • CertificateArn (string) –

        The Amazon Resource Name (ARN) of the certificate.

      • IsDefault (boolean) –

        Indicates whether the certificate is the default certificate. Do not set this value when specifying a certificate as an input. This value is not included in the output when describing a listener, but is included when describing listener certificates.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ElasticLoadBalancingv2.Client.exceptions.ListenerNotFoundException

  • ElasticLoadBalancingv2.Client.exceptions.OperationNotPermittedException