| 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.CognitoIdentityProvider.DescribeUserPool
Description
Returns the configuration information and metadata of the specified user pool.
Synopsis
- data DescribeUserPool = DescribeUserPool' {
- userPoolId :: Text
- newDescribeUserPool :: Text -> DescribeUserPool
- describeUserPool_userPoolId :: Lens' DescribeUserPool Text
- data DescribeUserPoolResponse = DescribeUserPoolResponse' {}
- newDescribeUserPoolResponse :: Int -> DescribeUserPoolResponse
- describeUserPoolResponse_userPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType)
- describeUserPoolResponse_httpStatus :: Lens' DescribeUserPoolResponse Int
Creating a Request
data DescribeUserPool Source #
Represents the request to describe the user pool.
See: newDescribeUserPool smart constructor.
Constructors
| DescribeUserPool' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeUserPool |
Create a value of DescribeUserPool 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:
DescribeUserPool, describeUserPool_userPoolId - The user pool ID for the user pool you want to describe.
Request Lenses
describeUserPool_userPoolId :: Lens' DescribeUserPool Text Source #
The user pool ID for the user pool you want to describe.
Destructuring the Response
data DescribeUserPoolResponse Source #
Represents the response to describe the user pool.
See: newDescribeUserPoolResponse smart constructor.
Constructors
| DescribeUserPoolResponse' | |
Fields
| |
Instances
newDescribeUserPoolResponse Source #
Create a value of DescribeUserPoolResponse 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:userPool:DescribeUserPoolResponse', describeUserPoolResponse_userPool - The container of metadata returned by the server to describe the pool.
$sel:httpStatus:DescribeUserPoolResponse', describeUserPoolResponse_httpStatus - The response's http status code.
Response Lenses
describeUserPoolResponse_userPool :: Lens' DescribeUserPoolResponse (Maybe UserPoolType) Source #
The container of metadata returned by the server to describe the pool.
describeUserPoolResponse_httpStatus :: Lens' DescribeUserPoolResponse Int Source #
The response's http status code.