| 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.IoT.RegisterCertificateWithoutCA
Description
Register a certificate that does not have a certificate authority (CA).
Synopsis
- data RegisterCertificateWithoutCA = RegisterCertificateWithoutCA' {}
- newRegisterCertificateWithoutCA :: Text -> RegisterCertificateWithoutCA
- registerCertificateWithoutCA_status :: Lens' RegisterCertificateWithoutCA (Maybe CertificateStatus)
- registerCertificateWithoutCA_certificatePem :: Lens' RegisterCertificateWithoutCA Text
- data RegisterCertificateWithoutCAResponse = RegisterCertificateWithoutCAResponse' {}
- newRegisterCertificateWithoutCAResponse :: Int -> RegisterCertificateWithoutCAResponse
- registerCertificateWithoutCAResponse_certificateArn :: Lens' RegisterCertificateWithoutCAResponse (Maybe Text)
- registerCertificateWithoutCAResponse_certificateId :: Lens' RegisterCertificateWithoutCAResponse (Maybe Text)
- registerCertificateWithoutCAResponse_httpStatus :: Lens' RegisterCertificateWithoutCAResponse Int
Creating a Request
data RegisterCertificateWithoutCA Source #
See: newRegisterCertificateWithoutCA smart constructor.
Constructors
| RegisterCertificateWithoutCA' | |
Fields
| |
Instances
newRegisterCertificateWithoutCA Source #
Create a value of RegisterCertificateWithoutCA 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:status:RegisterCertificateWithoutCA', registerCertificateWithoutCA_status - The status of the register certificate request.
$sel:certificatePem:RegisterCertificateWithoutCA', registerCertificateWithoutCA_certificatePem - The certificate data, in PEM format.
Request Lenses
registerCertificateWithoutCA_status :: Lens' RegisterCertificateWithoutCA (Maybe CertificateStatus) Source #
The status of the register certificate request.
registerCertificateWithoutCA_certificatePem :: Lens' RegisterCertificateWithoutCA Text Source #
The certificate data, in PEM format.
Destructuring the Response
data RegisterCertificateWithoutCAResponse Source #
See: newRegisterCertificateWithoutCAResponse smart constructor.
Constructors
| RegisterCertificateWithoutCAResponse' | |
Fields
| |
Instances
newRegisterCertificateWithoutCAResponse Source #
Arguments
| :: Int | |
| -> RegisterCertificateWithoutCAResponse |
Create a value of RegisterCertificateWithoutCAResponse 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:certificateArn:RegisterCertificateWithoutCAResponse', registerCertificateWithoutCAResponse_certificateArn - The Amazon Resource Name (ARN) of the registered certificate.
$sel:certificateId:RegisterCertificateWithoutCAResponse', registerCertificateWithoutCAResponse_certificateId - The ID of the registered certificate. (The last part of the certificate
ARN contains the certificate ID.
$sel:httpStatus:RegisterCertificateWithoutCAResponse', registerCertificateWithoutCAResponse_httpStatus - The response's http status code.
Response Lenses
registerCertificateWithoutCAResponse_certificateArn :: Lens' RegisterCertificateWithoutCAResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the registered certificate.
registerCertificateWithoutCAResponse_certificateId :: Lens' RegisterCertificateWithoutCAResponse (Maybe Text) Source #
The ID of the registered certificate. (The last part of the certificate ARN contains the certificate ID.
registerCertificateWithoutCAResponse_httpStatus :: Lens' RegisterCertificateWithoutCAResponse Int Source #
The response's http status code.