Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ExchangeCodeForTokenRequestBody = ExchangeCodeForTokenRequestBody' {
- code :: Sensitive Text
- redirectUri :: Text
- newExchangeCodeForTokenRequestBody :: Text -> Text -> ExchangeCodeForTokenRequestBody
- exchangeCodeForTokenRequestBody_code :: Lens' ExchangeCodeForTokenRequestBody Text
- exchangeCodeForTokenRequestBody_redirectUri :: Lens' ExchangeCodeForTokenRequestBody Text
Documentation
data ExchangeCodeForTokenRequestBody Source #
Describes the configuration of a request to exchange an access code for a token.
See: newExchangeCodeForTokenRequestBody
smart constructor.
ExchangeCodeForTokenRequestBody' | |
|
Instances
ToJSON ExchangeCodeForTokenRequestBody Source # | |
Generic ExchangeCodeForTokenRequestBody Source # | |
Show ExchangeCodeForTokenRequestBody Source # | |
NFData ExchangeCodeForTokenRequestBody Source # | |
Eq ExchangeCodeForTokenRequestBody Source # | |
Hashable ExchangeCodeForTokenRequestBody Source # | |
type Rep ExchangeCodeForTokenRequestBody Source # | |
Defined in Amazonka.AmplifyUiBuilder.Types.ExchangeCodeForTokenRequestBody type Rep ExchangeCodeForTokenRequestBody = D1 ('MetaData "ExchangeCodeForTokenRequestBody" "Amazonka.AmplifyUiBuilder.Types.ExchangeCodeForTokenRequestBody" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "ExchangeCodeForTokenRequestBody'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "redirectUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newExchangeCodeForTokenRequestBody Source #
Create a value of ExchangeCodeForTokenRequestBody
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:code:ExchangeCodeForTokenRequestBody'
, exchangeCodeForTokenRequestBody_code
- The access code to send in the request.
$sel:redirectUri:ExchangeCodeForTokenRequestBody'
, exchangeCodeForTokenRequestBody_redirectUri
- The location of the application that will receive the access code.
exchangeCodeForTokenRequestBody_code :: Lens' ExchangeCodeForTokenRequestBody Text Source #
The access code to send in the request.
exchangeCodeForTokenRequestBody_redirectUri :: Lens' ExchangeCodeForTokenRequestBody Text Source #
The location of the application that will receive the access code.