:doc:`Shield <../../shield>` / Client / associate_drt_log_bucket

************************
associate_drt_log_bucket
************************



.. py:method:: Shield.Client.associate_drt_log_bucket(**kwargs)

  

  Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.

   

  To use the services of the SRT and make an ``AssociateDRTLogBucket`` request, you must be subscribed to the `Business Support plan <http://aws.amazon.com/premiumsupport/business-support/>`__ or the `Enterprise Support plan <http://aws.amazon.com/premiumsupport/enterprise-support/>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateDRTLogBucket>`_  


  **Request Syntax**
  ::

    response = client.associate_drt_log_bucket(
        LogBucket='string'
    )
    
  :type LogBucket: string
  :param LogBucket: **[REQUIRED]** 

    The Amazon S3 bucket that contains the logs that you want to share.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Shield.Client.exceptions.InternalErrorException`

  
  *   :py:class:`Shield.Client.exceptions.InvalidOperationException`

  
  *   :py:class:`Shield.Client.exceptions.NoAssociatedRoleException`

  
  *   :py:class:`Shield.Client.exceptions.LimitsExceededException`

  
  *   :py:class:`Shield.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Shield.Client.exceptions.AccessDeniedForDependencyException`

  
  *   :py:class:`Shield.Client.exceptions.OptimisticLockException`

  
  *   :py:class:`Shield.Client.exceptions.ResourceNotFoundException`

  