| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudFront.GetPublicKeyConfig
Description
Gets a public key configuration.
Synopsis
- data GetPublicKeyConfig = GetPublicKeyConfig' {}
- newGetPublicKeyConfig :: Text -> GetPublicKeyConfig
- getPublicKeyConfig_id :: Lens' GetPublicKeyConfig Text
- data GetPublicKeyConfigResponse = GetPublicKeyConfigResponse' {}
- newGetPublicKeyConfigResponse :: Int -> GetPublicKeyConfigResponse
- getPublicKeyConfigResponse_eTag :: Lens' GetPublicKeyConfigResponse (Maybe Text)
- getPublicKeyConfigResponse_publicKeyConfig :: Lens' GetPublicKeyConfigResponse (Maybe PublicKeyConfig)
- getPublicKeyConfigResponse_httpStatus :: Lens' GetPublicKeyConfigResponse Int
Creating a Request
data GetPublicKeyConfig Source #
See: newGetPublicKeyConfig smart constructor.
Constructors
| GetPublicKeyConfig' | |
Instances
newGetPublicKeyConfig Source #
Arguments
| :: Text | |
| -> GetPublicKeyConfig |
Create a value of GetPublicKeyConfig 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:
GetPublicKeyConfig, getPublicKeyConfig_id - The identifier of the public key whose configuration you are getting.
Request Lenses
getPublicKeyConfig_id :: Lens' GetPublicKeyConfig Text Source #
The identifier of the public key whose configuration you are getting.
Destructuring the Response
data GetPublicKeyConfigResponse Source #
See: newGetPublicKeyConfigResponse smart constructor.
Constructors
| GetPublicKeyConfigResponse' | |
Fields
| |
Instances
newGetPublicKeyConfigResponse Source #
Create a value of GetPublicKeyConfigResponse 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:eTag:GetPublicKeyConfigResponse', getPublicKeyConfigResponse_eTag - The identifier for this version of the public key configuration.
GetPublicKeyConfigResponse, getPublicKeyConfigResponse_publicKeyConfig - A public key configuration.
$sel:httpStatus:GetPublicKeyConfigResponse', getPublicKeyConfigResponse_httpStatus - The response's http status code.
Response Lenses
getPublicKeyConfigResponse_eTag :: Lens' GetPublicKeyConfigResponse (Maybe Text) Source #
The identifier for this version of the public key configuration.
getPublicKeyConfigResponse_publicKeyConfig :: Lens' GetPublicKeyConfigResponse (Maybe PublicKeyConfig) Source #
A public key configuration.
getPublicKeyConfigResponse_httpStatus :: Lens' GetPublicKeyConfigResponse Int Source #
The response's http status code.