:doc:`S3Control <../../s3control>` / Client / delete_storage_lens_group

*************************
delete_storage_lens_group
*************************



.. py:method:: S3Control.Client.delete_storage_lens_group(**kwargs)

  

  Deletes an existing S3 Storage Lens group.

   

  To use this operation, you must have the permission to perform the ``s3:DeleteStorageLensGroup`` action. For more information about the required Storage Lens Groups permissions, see `Setting account permissions to use S3 Storage Lens groups <https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_iam_permissions.html#storage_lens_groups_permissions>`__.

   

  For information about Storage Lens groups errors, see `List of Amazon S3 Storage Lens error codes <https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#S3LensErrorCodeList>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensGroup>`_  


  **Request Syntax**
  ::

    response = client.delete_storage_lens_group(
        Name='string',
        AccountId='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the Storage Lens group that you're trying to delete.

    

  
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Web Services account ID used to create the Storage Lens group that you're trying to delete.

    

  
  
  :returns: None