libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.S3.DeleteBucketAnalyticsConfiguration

Description

Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).

To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.

The following operations are related to DeleteBucketAnalyticsConfiguration:

Synopsis

Creating a Request

data DeleteBucketAnalyticsConfiguration Source #

Constructors

DeleteBucketAnalyticsConfiguration' 

Fields

  • expectedBucketOwner :: Maybe Text

    The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

  • bucket :: BucketName

    The name of the bucket from which an analytics configuration is deleted.

  • id :: Text

    The ID that identifies the analytics configuration.

Instances

Instances details
Eq DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Read DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Show DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Generic DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Associated Types

type Rep DeleteBucketAnalyticsConfiguration :: Type -> Type #

NFData DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Hashable DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

AWSRequest DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

ToHeaders DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

ToPath DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

ToQuery DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

type Rep DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

type Rep DeleteBucketAnalyticsConfiguration = D1 ('MetaData "DeleteBucketAnalyticsConfiguration" "Amazonka.S3.DeleteBucketAnalyticsConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "DeleteBucketAnalyticsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expectedBucketOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteBucketAnalyticsConfiguration Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

newDeleteBucketAnalyticsConfiguration Source #

Create a value of DeleteBucketAnalyticsConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:expectedBucketOwner:DeleteBucketAnalyticsConfiguration', deleteBucketAnalyticsConfiguration_expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

$sel:bucket:DeleteBucketAnalyticsConfiguration', deleteBucketAnalyticsConfiguration_bucket - The name of the bucket from which an analytics configuration is deleted.

$sel:id:DeleteBucketAnalyticsConfiguration', deleteBucketAnalyticsConfiguration_id - The ID that identifies the analytics configuration.

Request Lenses

deleteBucketAnalyticsConfiguration_expectedBucketOwner :: Lens' DeleteBucketAnalyticsConfiguration (Maybe Text) Source #

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.

deleteBucketAnalyticsConfiguration_bucket :: Lens' DeleteBucketAnalyticsConfiguration BucketName Source #

The name of the bucket from which an analytics configuration is deleted.

deleteBucketAnalyticsConfiguration_id :: Lens' DeleteBucketAnalyticsConfiguration Text Source #

The ID that identifies the analytics configuration.

Destructuring the Response

data DeleteBucketAnalyticsConfigurationResponse Source #

Instances

Instances details
Eq DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Read DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Show DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

Generic DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

NFData DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

type Rep DeleteBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketAnalyticsConfiguration

type Rep DeleteBucketAnalyticsConfigurationResponse = D1 ('MetaData "DeleteBucketAnalyticsConfigurationResponse" "Amazonka.S3.DeleteBucketAnalyticsConfiguration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "DeleteBucketAnalyticsConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type))