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 |
Amazonka.CognitoIdentityProvider.DescribeResourceServer
Description
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.
Constructors
DescribeResourceServer' | |
Fields
|
Instances
newDescribeResourceServer Source #
Arguments
:: 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.
Constructors
DescribeResourceServerResponse' | |
Fields
|
Instances
newDescribeResourceServerResponse Source #
Arguments
:: Int | |
-> ResourceServerType | |
-> DescribeResourceServerResponse |
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.