libZSservicesZSamazonka-finspace-dataZSamazonka-finspace-data
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.FinSpaceData.Types.Credentials

Description

 
Synopsis

Documentation

data Credentials Source #

Set short term API credentials.

See: newCredentials smart constructor.

Constructors

Credentials' 

Fields

Instances

Instances details
Eq Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

Read Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

Show Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

Generic Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

Associated Types

type Rep Credentials :: Type -> Type #

NFData Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

Methods

rnf :: Credentials -> () #

Hashable Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

FromJSON Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

type Rep Credentials Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.Credentials

type Rep Credentials = D1 ('MetaData "Credentials" "Amazonka.FinSpaceData.Types.Credentials" "libZSservicesZSamazonka-finspace-dataZSamazonka-finspace-data" 'False) (C1 ('MetaCons "Credentials'" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretAccessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCredentials :: Credentials Source #

Create a value of Credentials 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:secretAccessKey:Credentials', credentials_secretAccessKey - The access key.

$sel:sessionToken:Credentials', credentials_sessionToken - The session token.

$sel:accessKeyId:Credentials', credentials_accessKeyId - The access key identifier.

credentials_accessKeyId :: Lens' Credentials (Maybe Text) Source #

The access key identifier.