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

Description

Returns a list of all buckets owned by the authenticated sender of the request.

Synopsis

Creating a Request

data ListBuckets Source #

See: newListBuckets smart constructor.

Constructors

ListBuckets' 

Instances

Instances details
Eq ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Read ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Show ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Generic ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Associated Types

type Rep ListBuckets :: Type -> Type #

NFData ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Methods

rnf :: ListBuckets -> () #

Hashable ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

AWSRequest ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Associated Types

type AWSResponse ListBuckets #

ToHeaders ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Methods

toHeaders :: ListBuckets -> [Header] #

ToPath ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

ToQuery ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

type Rep ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

type Rep ListBuckets = D1 ('MetaData "ListBuckets" "Amazonka.S3.ListBuckets" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "ListBuckets'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse ListBuckets Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

newListBuckets :: ListBuckets Source #

Create a value of ListBuckets with all optional fields omitted.

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

Destructuring the Response

data ListBucketsResponse Source #

See: newListBucketsResponse smart constructor.

Constructors

ListBucketsResponse' 

Fields

Instances

Instances details
Eq ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Read ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Show ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Generic ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Associated Types

type Rep ListBucketsResponse :: Type -> Type #

NFData ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

Methods

rnf :: ListBucketsResponse -> () #

type Rep ListBucketsResponse Source # 
Instance details

Defined in Amazonka.S3.ListBuckets

type Rep ListBucketsResponse = D1 ('MetaData "ListBucketsResponse" "Amazonka.S3.ListBuckets" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "ListBucketsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "buckets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Bucket])) :*: (S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Owner)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListBucketsResponse Source #

Create a value of ListBucketsResponse 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:buckets:ListBucketsResponse', listBucketsResponse_buckets - The list of buckets owned by the requestor.

$sel:owner:ListBucketsResponse', listBucketsResponse_owner - The owner of the buckets listed.

$sel:httpStatus:ListBucketsResponse', listBucketsResponse_httpStatus - The response's http status code.

Response Lenses

listBucketsResponse_buckets :: Lens' ListBucketsResponse (Maybe [Bucket]) Source #

The list of buckets owned by the requestor.