libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity
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.CognitoIdentity.Types.Credentials

Description

 
Synopsis

Documentation

data Credentials Source #

Credentials for the provided identity ID.

See: newCredentials smart constructor.

Constructors

Credentials' 

Fields

Instances

Instances details
Eq Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

Read Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

Show Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

Generic Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

Associated Types

type Rep Credentials :: Type -> Type #

NFData Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

Methods

rnf :: Credentials -> () #

Hashable Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

FromJSON Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

type Rep Credentials Source # 
Instance details

Defined in Amazonka.CognitoIdentity.Types.Credentials

type Rep Credentials = D1 ('MetaData "Credentials" "Amazonka.CognitoIdentity.Types.Credentials" "libZSservicesZSamazonka-cognito-identityZSamazonka-cognito-identity" 'False) (C1 ('MetaCons "Credentials'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "secretKey") '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:sessionToken:Credentials', credentials_sessionToken - The Session Token portion of the credentials

$sel:expiration:Credentials', credentials_expiration - The date at which these credentials will expire.

$sel:secretKey:Credentials', credentials_secretKey - The Secret Access Key portion of the credentials

$sel:accessKeyId:Credentials', credentials_accessKeyId - The Access Key portion of the credentials.

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

The Session Token portion of the credentials

credentials_expiration :: Lens' Credentials (Maybe UTCTime) Source #

The date at which these credentials will expire.

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

The Secret Access Key portion of the credentials

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

The Access Key portion of the credentials.