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

******************************
put_table_bucket_storage_class
******************************



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

  

  Sets or updates the storage class configuration for a table bucket. This configuration serves as the default storage class for all new tables created in the bucket, allowing you to optimize storage costs at the bucket level.

    Permissions  

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

  

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


  **Request Syntax**
  ::

    response = client.put_table_bucket_storage_class(
        tableBucketARN='string',
        storageClassConfiguration={
            'storageClass': 'STANDARD'|'INTELLIGENT_TIERING'
        }
    )
    
  :type tableBucketARN: string
  :param tableBucketARN: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the table bucket.

    

  
  :type storageClassConfiguration: dict
  :param storageClassConfiguration: **[REQUIRED]** 

    The storage class configuration to apply to the table bucket. This configuration will serve as the default for new tables created in this bucket.

    

  
    - **storageClass** *(string) --* **[REQUIRED]** 

      The storage class for the table or table bucket. Valid values include storage classes optimized for different access patterns and cost profiles.

      

    
  
  
  :returns: None
  **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`

  