:doc:`S3 <../../s3>` / Client / get_bucket_abac

***************
get_bucket_abac
***************



.. py:method:: S3.Client.get_bucket_abac(**kwargs)

  

  Returns the attribute-based access control (ABAC) property of the general purpose bucket. If ABAC is enabled on your bucket, you can use tags on the bucket for access control. For more information, see `Enabling ABAC in general purpose buckets <https://docs.aws.amazon.com/AmazonS3/latest/userguide/buckets-tagging-enable-abac.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAbac>`_  


  **Request Syntax**
  ::

    response = client.get_bucket_abac(
        Bucket='string',
        ExpectedBucketOwner='string'
    )
    
  :type Bucket: string
  :param Bucket: **[REQUIRED]** 

    The name of the general purpose bucket.

    

  
  :type ExpectedBucketOwner: string
  :param ExpectedBucketOwner: 

    The Amazon Web Services account ID of the general purpose bucket's owner.

    

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

    
    ::

      {
          'AbacStatus': {
              'Status': 'Enabled'|'Disabled'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AbacStatus** *(dict) --* 

        The ABAC status of the general purpose bucket.

        
        

        - **Status** *(string) --* 

          The ABAC status of the general purpose bucket.

          
    
  