Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Verifies the specified user attributes in the user pool.
Synopsis
- data VerifyUserAttribute = VerifyUserAttribute' {
- accessToken :: Sensitive Text
- attributeName :: Text
- code :: Text
- newVerifyUserAttribute :: Text -> Text -> Text -> VerifyUserAttribute
- verifyUserAttribute_accessToken :: Lens' VerifyUserAttribute Text
- verifyUserAttribute_attributeName :: Lens' VerifyUserAttribute Text
- verifyUserAttribute_code :: Lens' VerifyUserAttribute Text
- data VerifyUserAttributeResponse = VerifyUserAttributeResponse' {
- httpStatus :: Int
- newVerifyUserAttributeResponse :: Int -> VerifyUserAttributeResponse
- verifyUserAttributeResponse_httpStatus :: Lens' VerifyUserAttributeResponse Int
Creating a Request
data VerifyUserAttribute Source #
Represents the request to verify user attributes.
See: newVerifyUserAttribute
smart constructor.
VerifyUserAttribute' | |
|
Instances
newVerifyUserAttribute Source #
:: Text | |
-> Text | |
-> Text | |
-> VerifyUserAttribute |
Create a value of VerifyUserAttribute
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:VerifyUserAttribute'
, verifyUserAttribute_accessToken
- Represents the access token of the request to verify user attributes.
$sel:attributeName:VerifyUserAttribute'
, verifyUserAttribute_attributeName
- The attribute name in the request to verify user attributes.
$sel:code:VerifyUserAttribute'
, verifyUserAttribute_code
- The verification code in the request to verify user attributes.
Request Lenses
verifyUserAttribute_accessToken :: Lens' VerifyUserAttribute Text Source #
Represents the access token of the request to verify user attributes.
verifyUserAttribute_attributeName :: Lens' VerifyUserAttribute Text Source #
The attribute name in the request to verify user attributes.
verifyUserAttribute_code :: Lens' VerifyUserAttribute Text Source #
The verification code in the request to verify user attributes.
Destructuring the Response
data VerifyUserAttributeResponse Source #
A container representing the response from the server from the request to verify user attributes.
See: newVerifyUserAttributeResponse
smart constructor.
VerifyUserAttributeResponse' | |
|
Instances
newVerifyUserAttributeResponse Source #
Create a value of VerifyUserAttributeResponse
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:httpStatus:VerifyUserAttributeResponse'
, verifyUserAttributeResponse_httpStatus
- The response's http status code.
Response Lenses
verifyUserAttributeResponse_httpStatus :: Lens' VerifyUserAttributeResponse Int Source #
The response's http status code.