:doc:`ElasticLoadBalancingv2 <../../elbv2>` / Client / add_trust_store_revocations

***************************
add_trust_store_revocations
***************************



.. py:method:: ElasticLoadBalancingv2.Client.add_trust_store_revocations(**kwargs)

  

  Adds the specified revocation file to the specified trust store.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTrustStoreRevocations>`_  


  **Request Syntax**
  ::

    response = client.add_trust_store_revocations(
        TrustStoreArn='string',
        RevocationContents=[
            {
                'S3Bucket': 'string',
                'S3Key': 'string',
                'S3ObjectVersion': 'string',
                'RevocationType': 'CRL'
            },
        ]
    )
    
  :type TrustStoreArn: string
  :param TrustStoreArn: **[REQUIRED]** 

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

    

  
  :type RevocationContents: list
  :param RevocationContents: 

    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.

        

      
    

  
  :rtype: 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**
  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.TrustStoreNotFoundException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.InvalidRevocationContentException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.TooManyTrustStoreRevocationEntriesException`

  
  *   :py:class:`ElasticLoadBalancingv2.Client.exceptions.RevocationContentNotFoundException`

  