:doc:`S3Tables <../../s3tables>` / Client / get_table_bucket_maintenance_configuration

******************************************
get_table_bucket_maintenance_configuration
******************************************



.. py:method:: S3Tables.Client.get_table_bucket_maintenance_configuration(**kwargs)

  

  Gets details about a maintenance configuration for a given table bucket. For more information, see `Amazon S3 table bucket maintenance <https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-table-buckets-maintenance.html>`__ in the *Amazon Simple Storage Service User Guide*.

    Permissions  

  You must have the ``s3tables:GetTableBucketMaintenanceConfiguration`` permission to use this operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/GetTableBucketMaintenanceConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_table_bucket_maintenance_configuration(
        tableBucketARN='string'
    )
    
  :type tableBucketARN: string
  :param tableBucketARN: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

    

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

    
    ::

      {
          'tableBucketARN': 'string',
          'configuration': {
              'string': {
                  'status': 'enabled'|'disabled',
                  'settings': {
                      'icebergUnreferencedFileRemoval': {
                          'unreferencedDays': 123,
                          'nonCurrentDays': 123
                      }
                  }
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **tableBucketARN** *(string) --* 

        The Amazon Resource Name (ARN) of the table bucket associated with the maintenance configuration.

        
      

      - **configuration** *(dict) --* 

        Details about the maintenance configuration for the table bucket.

        
        

        - *(string) --* 
          

          - *(dict) --* 

            Details about the values that define the maintenance configuration for a table bucket.

            
            

            - **status** *(string) --* 

              The status of the maintenance configuration.

              
            

            - **settings** *(dict) --* 

              Contains details about the settings of the maintenance configuration.

              .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``icebergUnreferencedFileRemoval``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                            'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


            
              

              - **icebergUnreferencedFileRemoval** *(dict) --* 

                The unreferenced file removal settings for the table bucket.

                
                

                - **unreferencedDays** *(integer) --* 

                  The number of days an object has to be unreferenced before it is marked as non-current.

                  
                

                - **nonCurrentDays** *(integer) --* 

                  The number of days an object has to be non-current before it is deleted.

                  
            
          
        
    
  
  
  **Exceptions**
  
  *   :py:class:`S3Tables.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`S3Tables.Client.exceptions.ForbiddenException`

  
  *   :py:class:`S3Tables.Client.exceptions.NotFoundException`

  
  *   :py:class:`S3Tables.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`S3Tables.Client.exceptions.ConflictException`

  
  *   :py:class:`S3Tables.Client.exceptions.BadRequestException`

  