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 |
Creates the user pool client.
- createUserPoolClient :: Text -> Text -> CreateUserPoolClient
- data CreateUserPoolClient
- cupcRefreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural)
- cupcExplicitAuthFlows :: Lens' CreateUserPoolClient [ExplicitAuthFlowsType]
- cupcGenerateSecret :: Lens' CreateUserPoolClient (Maybe Bool)
- cupcWriteAttributes :: Lens' CreateUserPoolClient [Text]
- cupcReadAttributes :: Lens' CreateUserPoolClient [Text]
- cupcUserPoolId :: Lens' CreateUserPoolClient Text
- cupcClientName :: Lens' CreateUserPoolClient Text
- createUserPoolClientResponse :: Int -> CreateUserPoolClientResponse
- data CreateUserPoolClientResponse
- cupcrsUserPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType)
- cupcrsResponseStatus :: Lens' CreateUserPoolClientResponse Int
Creating a Request
Creates a value of CreateUserPoolClient
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cupcRefreshTokenValidity
- Refreshes the token validity.cupcExplicitAuthFlows
- The explicit authentication flows.cupcGenerateSecret
- Boolean to specify whether you want to generate a secret for the user pool client being created.cupcWriteAttributes
- The write attributes.cupcReadAttributes
- The read attributes.cupcUserPoolId
- The user pool ID for the user pool where you want to create a user pool client.cupcClientName
- The client name for the user pool client you would like to create.
data CreateUserPoolClient Source #
Represents the request to create a user pool client.
See: createUserPoolClient
smart constructor.
Request Lenses
cupcRefreshTokenValidity :: Lens' CreateUserPoolClient (Maybe Natural) Source #
Refreshes the token validity.
cupcExplicitAuthFlows :: Lens' CreateUserPoolClient [ExplicitAuthFlowsType] Source #
The explicit authentication flows.
cupcGenerateSecret :: Lens' CreateUserPoolClient (Maybe Bool) Source #
Boolean to specify whether you want to generate a secret for the user pool client being created.
cupcWriteAttributes :: Lens' CreateUserPoolClient [Text] Source #
The write attributes.
cupcReadAttributes :: Lens' CreateUserPoolClient [Text] Source #
The read attributes.
cupcUserPoolId :: Lens' CreateUserPoolClient Text Source #
The user pool ID for the user pool where you want to create a user pool client.
cupcClientName :: Lens' CreateUserPoolClient Text Source #
The client name for the user pool client you would like to create.
Destructuring the Response
createUserPoolClientResponse Source #
Creates a value of CreateUserPoolClientResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cupcrsUserPoolClient
- The user pool client that was just created.cupcrsResponseStatus
- -- | The response status code.
data CreateUserPoolClientResponse Source #
Represents the response from the server to create a user pool client.
See: createUserPoolClientResponse
smart constructor.
Response Lenses
cupcrsUserPoolClient :: Lens' CreateUserPoolClientResponse (Maybe UserPoolClientType) Source #
The user pool client that was just created.
cupcrsResponseStatus :: Lens' CreateUserPoolClientResponse Int Source #
- - | The response status code.