libZSservicesZSamazonka-appflowZSamazonka-appflow
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.AppFlow.Types.ConnectorOAuthRequest

Description

 
Synopsis

Documentation

data ConnectorOAuthRequest Source #

Used by select connectors for which the OAuth workflow is supported, such as Salesforce, Google Analytics, Marketo, Zendesk, and Slack.

See: newConnectorOAuthRequest smart constructor.

Constructors

ConnectorOAuthRequest' 

Fields

  • redirectUri :: Maybe Text

    The URL to which the authentication server redirects the browser after authorization has been granted.

  • authCode :: Maybe Text

    The code provided by the connector when it has been authenticated via the connected app.

Instances

Instances details
Eq ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

Read ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

Show ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

Generic ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

Associated Types

type Rep ConnectorOAuthRequest :: Type -> Type #

NFData ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

Methods

rnf :: ConnectorOAuthRequest -> () #

Hashable ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

ToJSON ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

type Rep ConnectorOAuthRequest Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ConnectorOAuthRequest

type Rep ConnectorOAuthRequest = D1 ('MetaData "ConnectorOAuthRequest" "Amazonka.AppFlow.Types.ConnectorOAuthRequest" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "ConnectorOAuthRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "redirectUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "authCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newConnectorOAuthRequest :: ConnectorOAuthRequest Source #

Create a value of ConnectorOAuthRequest 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:redirectUri:ConnectorOAuthRequest', connectorOAuthRequest_redirectUri - The URL to which the authentication server redirects the browser after authorization has been granted.

$sel:authCode:ConnectorOAuthRequest', connectorOAuthRequest_authCode - The code provided by the connector when it has been authenticated via the connected app.

connectorOAuthRequest_redirectUri :: Lens' ConnectorOAuthRequest (Maybe Text) Source #

The URL to which the authentication server redirects the browser after authorization has been granted.

connectorOAuthRequest_authCode :: Lens' ConnectorOAuthRequest (Maybe Text) Source #

The code provided by the connector when it has been authenticated via the connected app.