libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.GetBucketAccessKeys

Description

Returns the existing access key IDs for the specified Amazon Lightsail bucket.

This action does not return the secret access key value of an access key. You can get a secret access key only when you create it from the response of the CreateBucketAccessKey action. If you lose the secret access key, you must create a new access key.

Synopsis

Creating a Request

data GetBucketAccessKeys Source #

See: newGetBucketAccessKeys smart constructor.

Constructors

GetBucketAccessKeys' 

Fields

  • bucketName :: Text

    The name of the bucket for which to return access keys.

Instances

Instances details
Eq GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Read GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Show GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Generic GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Associated Types

type Rep GetBucketAccessKeys :: Type -> Type #

NFData GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Methods

rnf :: GetBucketAccessKeys -> () #

Hashable GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

ToJSON GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

AWSRequest GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Associated Types

type AWSResponse GetBucketAccessKeys #

ToHeaders GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

ToPath GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

ToQuery GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

type Rep GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

type Rep GetBucketAccessKeys = D1 ('MetaData "GetBucketAccessKeys" "Amazonka.Lightsail.GetBucketAccessKeys" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetBucketAccessKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBucketAccessKeys Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

newGetBucketAccessKeys Source #

Create a value of GetBucketAccessKeys 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:bucketName:GetBucketAccessKeys', getBucketAccessKeys_bucketName - The name of the bucket for which to return access keys.

Request Lenses

getBucketAccessKeys_bucketName :: Lens' GetBucketAccessKeys Text Source #

The name of the bucket for which to return access keys.

Destructuring the Response

data GetBucketAccessKeysResponse Source #

See: newGetBucketAccessKeysResponse smart constructor.

Constructors

GetBucketAccessKeysResponse' 

Fields

Instances

Instances details
Eq GetBucketAccessKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Show GetBucketAccessKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Generic GetBucketAccessKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

Associated Types

type Rep GetBucketAccessKeysResponse :: Type -> Type #

NFData GetBucketAccessKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

type Rep GetBucketAccessKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetBucketAccessKeys

type Rep GetBucketAccessKeysResponse = D1 ('MetaData "GetBucketAccessKeysResponse" "Amazonka.Lightsail.GetBucketAccessKeys" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetBucketAccessKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccessKey])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetBucketAccessKeysResponse Source #

Create a value of GetBucketAccessKeysResponse 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:accessKeys:GetBucketAccessKeysResponse', getBucketAccessKeysResponse_accessKeys - An object that describes the access keys for the specified bucket.

$sel:httpStatus:GetBucketAccessKeysResponse', getBucketAccessKeysResponse_httpStatus - The response's http status code.

Response Lenses

getBucketAccessKeysResponse_accessKeys :: Lens' GetBucketAccessKeysResponse (Maybe [AccessKey]) Source #

An object that describes the access keys for the specified bucket.