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 |
Client method for returning the configuration information and metadata of the specified user pool app client.
Synopsis
- data DescribeUserPoolClient = DescribeUserPoolClient' {
- userPoolId :: Text
- clientId :: Sensitive Text
- newDescribeUserPoolClient :: Text -> Text -> DescribeUserPoolClient
- describeUserPoolClient_userPoolId :: Lens' DescribeUserPoolClient Text
- describeUserPoolClient_clientId :: Lens' DescribeUserPoolClient Text
- data DescribeUserPoolClientResponse = DescribeUserPoolClientResponse' {}
- newDescribeUserPoolClientResponse :: Int -> DescribeUserPoolClientResponse
- describeUserPoolClientResponse_userPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType)
- describeUserPoolClientResponse_httpStatus :: Lens' DescribeUserPoolClientResponse Int
Creating a Request
data DescribeUserPoolClient Source #
Represents the request to describe a user pool client.
See: newDescribeUserPoolClient
smart constructor.
DescribeUserPoolClient' | |
|
Instances
newDescribeUserPoolClient Source #
:: Text | |
-> Text | |
-> DescribeUserPoolClient |
Create a value of DescribeUserPoolClient
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:userPoolId:DescribeUserPoolClient'
, describeUserPoolClient_userPoolId
- The user pool ID for the user pool you want to describe.
$sel:clientId:DescribeUserPoolClient'
, describeUserPoolClient_clientId
- The app client ID of the app associated with the user pool.
Request Lenses
describeUserPoolClient_userPoolId :: Lens' DescribeUserPoolClient Text Source #
The user pool ID for the user pool you want to describe.
describeUserPoolClient_clientId :: Lens' DescribeUserPoolClient Text Source #
The app client ID of the app associated with the user pool.
Destructuring the Response
data DescribeUserPoolClientResponse Source #
Represents the response from the server from a request to describe the user pool client.
See: newDescribeUserPoolClientResponse
smart constructor.
DescribeUserPoolClientResponse' | |
|
Instances
Eq DescribeUserPoolClientResponse Source # | |
Show DescribeUserPoolClientResponse Source # | |
Generic DescribeUserPoolClientResponse Source # | |
NFData DescribeUserPoolClientResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeUserPoolClient rnf :: DescribeUserPoolClientResponse -> () # | |
type Rep DescribeUserPoolClientResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeUserPoolClient type Rep DescribeUserPoolClientResponse = D1 ('MetaData "DescribeUserPoolClientResponse" "Amazonka.CognitoIdentityProvider.DescribeUserPoolClient" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "DescribeUserPoolClientResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPoolClient") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserPoolClientType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeUserPoolClientResponse Source #
Create a value of DescribeUserPoolClientResponse
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:userPoolClient:DescribeUserPoolClientResponse'
, describeUserPoolClientResponse_userPoolClient
- The user pool client from a server response to describe the user pool
client.
$sel:httpStatus:DescribeUserPoolClientResponse'
, describeUserPoolClientResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserPoolClientResponse_userPoolClient :: Lens' DescribeUserPoolClientResponse (Maybe UserPoolClientType) Source #
The user pool client from a server response to describe the user pool client.
describeUserPoolClientResponse_httpStatus :: Lens' DescribeUserPoolClientResponse Int Source #
The response's http status code.