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.Types.Bucket

Description

 
Synopsis

Documentation

data Bucket Source #

In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally unique, and the namespace is shared by all Amazon Web Services accounts.

See: newBucket smart constructor.

Constructors

Bucket' 

Fields

  • creationDate :: ISO8601

    Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

  • name :: BucketName

    The name of the bucket.

Instances

Instances details
Eq Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Methods

(==) :: Bucket -> Bucket -> Bool #

(/=) :: Bucket -> Bucket -> Bool #

Read Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Show Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Generic Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Associated Types

type Rep Bucket :: Type -> Type #

Methods

from :: Bucket -> Rep Bucket x #

to :: Rep Bucket x -> Bucket #

NFData Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Methods

rnf :: Bucket -> () #

Hashable Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

Methods

hashWithSalt :: Int -> Bucket -> Int #

hash :: Bucket -> Int #

FromXML Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

type Rep Bucket Source # 
Instance details

Defined in Amazonka.S3.Types.Bucket

type Rep Bucket = D1 ('MetaData "Bucket" "Amazonka.S3.Types.Bucket" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "Bucket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BucketName)))

newBucket Source #

Create a value of Bucket 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:creationDate:Bucket', bucket_creationDate - Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

$sel:name:Bucket', bucket_name - The name of the bucket.

bucket_creationDate :: Lens' Bucket UTCTime Source #

Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

bucket_name :: Lens' Bucket BucketName Source #

The name of the bucket.