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 |
Describes a resource server.
Synopsis
- data DescribeResourceServer = DescribeResourceServer' {
- userPoolId :: Text
- identifier :: Text
- newDescribeResourceServer :: Text -> Text -> DescribeResourceServer
- describeResourceServer_userPoolId :: Lens' DescribeResourceServer Text
- describeResourceServer_identifier :: Lens' DescribeResourceServer Text
- data DescribeResourceServerResponse = DescribeResourceServerResponse' {}
- newDescribeResourceServerResponse :: Int -> ResourceServerType -> DescribeResourceServerResponse
- describeResourceServerResponse_httpStatus :: Lens' DescribeResourceServerResponse Int
- describeResourceServerResponse_resourceServer :: Lens' DescribeResourceServerResponse ResourceServerType
Creating a Request
data DescribeResourceServer Source #
See: newDescribeResourceServer
smart constructor.
DescribeResourceServer' | |
|
Instances
newDescribeResourceServer Source #
:: Text | |
-> Text | |
-> DescribeResourceServer |
Create a value of DescribeResourceServer
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:DescribeResourceServer'
, describeResourceServer_userPoolId
- The user pool ID for the user pool that hosts the resource server.
$sel:identifier:DescribeResourceServer'
, describeResourceServer_identifier
- The identifier for the resource server
Request Lenses
describeResourceServer_userPoolId :: Lens' DescribeResourceServer Text Source #
The user pool ID for the user pool that hosts the resource server.
describeResourceServer_identifier :: Lens' DescribeResourceServer Text Source #
The identifier for the resource server
Destructuring the Response
data DescribeResourceServerResponse Source #
See: newDescribeResourceServerResponse
smart constructor.
DescribeResourceServerResponse' | |
|
Instances
Eq DescribeResourceServerResponse Source # | |
Read DescribeResourceServerResponse Source # | |
Show DescribeResourceServerResponse Source # | |
Generic DescribeResourceServerResponse Source # | |
NFData DescribeResourceServerResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeResourceServer rnf :: DescribeResourceServerResponse -> () # | |
type Rep DescribeResourceServerResponse Source # | |
Defined in Amazonka.CognitoIdentityProvider.DescribeResourceServer type Rep DescribeResourceServerResponse = D1 ('MetaData "DescribeResourceServerResponse" "Amazonka.CognitoIdentityProvider.DescribeResourceServer" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "DescribeResourceServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resourceServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceServerType))) |
newDescribeResourceServerResponse Source #
Create a value of DescribeResourceServerResponse
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:DescribeResourceServerResponse'
, describeResourceServerResponse_httpStatus
- The response's http status code.
$sel:resourceServer:DescribeResourceServerResponse'
, describeResourceServerResponse_resourceServer
- The resource server.
Response Lenses
describeResourceServerResponse_httpStatus :: Lens' DescribeResourceServerResponse Int Source #
The response's http status code.
describeResourceServerResponse_resourceServer :: Lens' DescribeResourceServerResponse ResourceServerType Source #
The resource server.