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.DeleteBucketReplication

Description

Deletes the replication configuration from the bucket.

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

It can take a while for the deletion of a replication configuration to fully propagate.

For information about replication configuration, see Replication in the Amazon S3 User Guide.

The following operations are related to DeleteBucketReplication:

Synopsis

Creating a Request

data DeleteBucketReplication Source #

See: newDeleteBucketReplication smart constructor.

Constructors

DeleteBucketReplication' 

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 bucket name.

Instances

Instances details
Eq DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Read DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Show DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Generic DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Associated Types

type Rep DeleteBucketReplication :: Type -> Type #

NFData DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Methods

rnf :: DeleteBucketReplication -> () #

Hashable DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

AWSRequest DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

ToHeaders DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

ToPath DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

ToQuery DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

type Rep DeleteBucketReplication Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

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

Defined in Amazonka.S3.DeleteBucketReplication

newDeleteBucketReplication Source #

Create a value of DeleteBucketReplication 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:DeleteBucketReplication', deleteBucketReplication_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:DeleteBucketReplication', deleteBucketReplication_bucket - The bucket name.

Request Lenses

deleteBucketReplication_expectedBucketOwner :: Lens' DeleteBucketReplication (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.

Destructuring the Response

data DeleteBucketReplicationResponse Source #

See: newDeleteBucketReplicationResponse smart constructor.

Instances

Instances details
Eq DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Read DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Show DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Generic DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

Associated Types

type Rep DeleteBucketReplicationResponse :: Type -> Type #

NFData DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

type Rep DeleteBucketReplicationResponse Source # 
Instance details

Defined in Amazonka.S3.DeleteBucketReplication

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

newDeleteBucketReplicationResponse :: DeleteBucketReplicationResponse Source #

Create a value of DeleteBucketReplicationResponse with all optional fields omitted.

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