| 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.IoT.RegisterCertificateWithoutCA
Description
Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.
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 #
Arguments
| :: Text | |
| -> RegisterCertificateWithoutCA |
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:
RegisterCertificateWithoutCA, registerCertificateWithoutCA_status - The status of the register certificate request.
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:
RegisterCertificateWithoutCAResponse, registerCertificateWithoutCAResponse_certificateArn - The Amazon Resource Name (ARN) of the registered certificate.
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.