Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.UpdateUserPoolClient
Description
Allows the developer to update the specified user pool client and password policy.
- updateUserPoolClient :: Text -> Text -> UpdateUserPoolClient
- data UpdateUserPoolClient
- uupcRefreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural)
- uupcExplicitAuthFlows :: Lens' UpdateUserPoolClient [ExplicitAuthFlowsType]
- uupcWriteAttributes :: Lens' UpdateUserPoolClient [Text]
- uupcReadAttributes :: Lens' UpdateUserPoolClient [Text]
- uupcClientName :: Lens' UpdateUserPoolClient (Maybe Text)
- uupcUserPoolId :: Lens' UpdateUserPoolClient Text
- uupcClientId :: Lens' UpdateUserPoolClient Text
- updateUserPoolClientResponse :: Int -> UpdateUserPoolClientResponse
- data UpdateUserPoolClientResponse
- uupcrsUserPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType)
- uupcrsResponseStatus :: Lens' UpdateUserPoolClientResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> UpdateUserPoolClient |
Creates a value of UpdateUserPoolClient
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uupcRefreshTokenValidity
- The validity of the refresh token.uupcExplicitAuthFlows
- Explicit authentication flows.uupcWriteAttributes
- The writeable attributes of the user pool.uupcReadAttributes
- The read-only attributes of the user pool.uupcClientName
- The client name from the update user pool client request.uupcUserPoolId
- The user pool ID for the user pool where you want to update the user pool client.uupcClientId
- The ID of the client associated with the user pool.
data UpdateUserPoolClient #
Represents the request to update the user pool client.
See: updateUserPoolClient
smart constructor.
Instances
Request Lenses
uupcRefreshTokenValidity :: Lens' UpdateUserPoolClient (Maybe Natural) #
The validity of the refresh token.
uupcExplicitAuthFlows :: Lens' UpdateUserPoolClient [ExplicitAuthFlowsType] #
Explicit authentication flows.
uupcWriteAttributes :: Lens' UpdateUserPoolClient [Text] #
The writeable attributes of the user pool.
uupcReadAttributes :: Lens' UpdateUserPoolClient [Text] #
The read-only attributes of the user pool.
uupcClientName :: Lens' UpdateUserPoolClient (Maybe Text) #
The client name from the update user pool client request.
uupcUserPoolId :: Lens' UpdateUserPoolClient Text #
The user pool ID for the user pool where you want to update the user pool client.
uupcClientId :: Lens' UpdateUserPoolClient Text #
The ID of the client associated with the user pool.
Destructuring the Response
updateUserPoolClientResponse #
Arguments
:: Int | |
-> UpdateUserPoolClientResponse |
Creates a value of UpdateUserPoolClientResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uupcrsUserPoolClient
- The user pool client value from the response from the server when an update user pool client request is made.uupcrsResponseStatus
- -- | The response status code.
data UpdateUserPoolClientResponse #
Represents the response from the server to the request to update the user pool client.
See: updateUserPoolClientResponse
smart constructor.
Response Lenses
uupcrsUserPoolClient :: Lens' UpdateUserPoolClientResponse (Maybe UserPoolClientType) #
The user pool client value from the response from the server when an update user pool client request is made.
uupcrsResponseStatus :: Lens' UpdateUserPoolClientResponse Int #
- - | The response status code.