ElasticLoadBalancingv2 / Client / add_trust_store_revocations

add_trust_store_revocations#

ElasticLoadBalancingv2.Client.add_trust_store_revocations(**kwargs)#

Adds the specified revocation file to the specified trust store.

See also: AWS API Documentation

Request Syntax

response = client.add_trust_store_revocations(
    TrustStoreArn='string',
    RevocationContents=[
        {
            'S3Bucket': 'string',
            'S3Key': 'string',
            'S3ObjectVersion': 'string',
            'RevocationType': 'CRL'
        },
    ]
)
Parameters:
  • TrustStoreArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the trust store.

  • RevocationContents (list) –

    The revocation file to add.

    • (dict) –

      Information about a revocation file.

      • S3Bucket (string) –

        The Amazon S3 bucket for the revocation file.

      • S3Key (string) –

        The Amazon S3 path for the revocation file.

      • S3ObjectVersion (string) –

        The Amazon S3 object version of the revocation file.

      • RevocationType (string) –

        The type of revocation file.

Return type:

dict

Returns:

Response Syntax

{
    'TrustStoreRevocations': [
        {
            'TrustStoreArn': 'string',
            'RevocationId': 123,
            'RevocationType': 'CRL',
            'NumberOfRevokedEntries': 123
        },
    ]
}

Response Structure

  • (dict) –

    • TrustStoreRevocations (list) –

      Information about the revocation file added to the trust store.

      • (dict) –

        Information about a revocation file in use by a trust store.

        • TrustStoreArn (string) –

          The Amazon Resource Name (ARN) of the trust store.

        • RevocationId (integer) –

          The revocation ID of the revocation file.

        • RevocationType (string) –

          The type of revocation file.

        • NumberOfRevokedEntries (integer) –

          The number of revoked certificates.

Exceptions

  • ElasticLoadBalancingv2.Client.exceptions.TrustStoreNotFoundException

  • ElasticLoadBalancingv2.Client.exceptions.InvalidRevocationContentException

  • ElasticLoadBalancingv2.Client.exceptions.TooManyTrustStoreRevocationEntriesException

  • ElasticLoadBalancingv2.Client.exceptions.RevocationContentNotFoundException