| 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.CloudFront.GetPublicKey
Description
Get the public key information.
Synopsis
- getPublicKey :: Text -> GetPublicKey
- data GetPublicKey
- gpkId :: Lens' GetPublicKey Text
- getPublicKeyResponse :: Int -> GetPublicKeyResponse
- data GetPublicKeyResponse
- gpkrsETag :: Lens' GetPublicKeyResponse (Maybe Text)
- gpkrsPublicKey :: Lens' GetPublicKeyResponse (Maybe PublicKey)
- gpkrsResponseStatus :: Lens' GetPublicKeyResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetPublicKey |
Creates a value of GetPublicKey with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpkId- Request the ID for the public key.
data GetPublicKey Source #
See: getPublicKey smart constructor.
Instances
Request Lenses
Destructuring the Response
Arguments
| :: Int | |
| -> GetPublicKeyResponse |
Creates a value of GetPublicKeyResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gpkrsETag- The current version of the public key. For example:E2QWRUHAPOMQZL.gpkrsPublicKey- Return the public key.gpkrsResponseStatus- -- | The response status code.
data GetPublicKeyResponse Source #
See: getPublicKeyResponse smart constructor.
Instances
Response Lenses
gpkrsETag :: Lens' GetPublicKeyResponse (Maybe Text) Source #
The current version of the public key. For example: E2QWRUHAPOMQZL .
gpkrsPublicKey :: Lens' GetPublicKeyResponse (Maybe PublicKey) Source #
Return the public key.
gpkrsResponseStatus :: Lens' GetPublicKeyResponse Int Source #
- - | The response status code.