:doc:`RedshiftServerless <../../redshift-serverless>` / Client / delete_usage_limit

******************
delete_usage_limit
******************



.. py:method:: RedshiftServerless.Client.delete_usage_limit(**kwargs)

  

  Deletes a usage limit from Amazon Redshift Serverless.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteUsageLimit>`_  


  **Request Syntax**
  ::

    response = client.delete_usage_limit(
        usageLimitId='string'
    )
    
  :type usageLimitId: string
  :param usageLimitId: **[REQUIRED]** 

    The unique identifier of the usage limit to delete.

    

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

    
    ::

      {
          'usageLimit': {
              'amount': 123,
              'breachAction': 'log'|'emit-metric'|'deactivate',
              'period': 'daily'|'weekly'|'monthly',
              'resourceArn': 'string',
              'usageLimitArn': 'string',
              'usageLimitId': 'string',
              'usageType': 'serverless-compute'|'cross-region-datasharing'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **usageLimit** *(dict) --* 

        The deleted usage limit object.

        
        

        - **amount** *(integer) --* 

          The limit amount. If time-based, this amount is in RPUs consumed per hour. If data-based, this amount is in terabytes (TB). The value must be a positive number.

          
        

        - **breachAction** *(string) --* 

          The action that Amazon Redshift Serverless takes when the limit is reached.

          
        

        - **period** *(string) --* 

          The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly.

          
        

        - **resourceArn** *(string) --* 

          The Amazon Resource Name (ARN) that identifies the Amazon Redshift Serverless resource.

          
        

        - **usageLimitArn** *(string) --* 

          The Amazon Resource Name (ARN) of the resource associated with the usage limit.

          
        

        - **usageLimitId** *(string) --* 

          The identifier of the usage limit.

          
        

        - **usageType** *(string) --* 

          The Amazon Redshift Serverless feature to limit.

          
    
  
  **Exceptions**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

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

  