amazonka-appflow-2.0: Amazon Appflow SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppFlow.Types.OAuth2Credentials

Description

 
Synopsis

Documentation

data OAuth2Credentials Source #

The OAuth 2.0 credentials required for OAuth 2.0 authentication.

See: newOAuth2Credentials smart constructor.

Constructors

OAuth2Credentials' 

Fields

Instances

Instances details
ToJSON OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

Generic OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

Associated Types

type Rep OAuth2Credentials :: Type -> Type #

Show OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

NFData OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

Methods

rnf :: OAuth2Credentials -> () #

Eq OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

Hashable OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

type Rep OAuth2Credentials Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuth2Credentials

type Rep OAuth2Credentials = D1 ('MetaData "OAuth2Credentials" "Amazonka.AppFlow.Types.OAuth2Credentials" "amazonka-appflow-2.0-3aJWKTszi6ZKDtrkFSqVAB" 'False) (C1 ('MetaCons "OAuth2Credentials'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clientSecret") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "oAuthRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectorOAuthRequest)) :*: S1 ('MetaSel ('Just "refreshToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newOAuth2Credentials :: OAuth2Credentials Source #

Create a value of OAuth2Credentials 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:accessToken:OAuth2Credentials', oAuth2Credentials_accessToken - The access token used to access the connector on your behalf.

$sel:clientId:OAuth2Credentials', oAuth2Credentials_clientId - The identifier for the desired client.

$sel:clientSecret:OAuth2Credentials', oAuth2Credentials_clientSecret - The client secret used by the OAuth client to authenticate to the authorization server.

$sel:oAuthRequest:OAuth2Credentials', oAuth2Credentials_oAuthRequest - Undocumented member.

$sel:refreshToken:OAuth2Credentials', oAuth2Credentials_refreshToken - The refresh token used to refresh an expired access token.

oAuth2Credentials_accessToken :: Lens' OAuth2Credentials (Maybe Text) Source #

The access token used to access the connector on your behalf.

oAuth2Credentials_clientId :: Lens' OAuth2Credentials (Maybe Text) Source #

The identifier for the desired client.

oAuth2Credentials_clientSecret :: Lens' OAuth2Credentials (Maybe Text) Source #

The client secret used by the OAuth client to authenticate to the authorization server.

oAuth2Credentials_refreshToken :: Lens' OAuth2Credentials (Maybe Text) Source #

The refresh token used to refresh an expired access token.