| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.CognitoIdentityProvider.DescribeResourceServer
Description
Describes a resource server.
- describeResourceServer :: Text -> Text -> DescribeResourceServer
- data DescribeResourceServer
- desUserPoolId :: Lens' DescribeResourceServer Text
- desIdentifier :: Lens' DescribeResourceServer Text
- describeResourceServerResponse :: Int -> ResourceServerType -> DescribeResourceServerResponse
- data DescribeResourceServerResponse
- drsrsResponseStatus :: Lens' DescribeResourceServerResponse Int
- drsrsResourceServer :: Lens' DescribeResourceServerResponse ResourceServerType
Creating a Request
describeResourceServer Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeResourceServer |
Creates a value of DescribeResourceServer with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desUserPoolId- The user pool ID for the user pool that hosts the resource server.desIdentifier- The identifier for the resource server
data DescribeResourceServer Source #
See: describeResourceServer smart constructor.
Instances
Request Lenses
desUserPoolId :: Lens' DescribeResourceServer Text Source #
The user pool ID for the user pool that hosts the resource server.
desIdentifier :: Lens' DescribeResourceServer Text Source #
The identifier for the resource server
Destructuring the Response
describeResourceServerResponse Source #
Arguments
| :: Int | |
| -> ResourceServerType | |
| -> DescribeResourceServerResponse |
Creates a value of DescribeResourceServerResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsrsResponseStatus- -- | The response status code.drsrsResourceServer- The resource server.
data DescribeResourceServerResponse Source #
See: describeResourceServerResponse smart constructor.
Instances
Response Lenses
drsrsResponseStatus :: Lens' DescribeResourceServerResponse Int Source #
- - | The response status code.
drsrsResourceServer :: Lens' DescribeResourceServerResponse ResourceServerType Source #
The resource server.