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 |
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.
Instances
newGetPublicKeyConfig Source #
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:
$sel:id: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.
GetPublicKeyConfigResponse' | |
|
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.
$sel:publicKeyConfig: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.