| 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 |
Amazonka.AmplifyUiBuilder.Types.ExchangeCodeForTokenRequestBody
Description
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.
Constructors
| ExchangeCodeForTokenRequestBody' | |
Fields
| |
Instances
newExchangeCodeForTokenRequestBody Source #
Arguments
| :: Text | |
| -> Text | |
| -> ExchangeCodeForTokenRequestBody |
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.