aws_sdk_iot/client/register_certificate_without_ca.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RegisterCertificateWithoutCA`](crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`certificate_pem(impl Into<String>)`](crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder::certificate_pem) / [`set_certificate_pem(Option<String>)`](crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder::set_certificate_pem):<br>required: **true**<br><p>The certificate data, in PEM format.</p><br>
7 /// - [`status(CertificateStatus)`](crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder::status) / [`set_status(Option<CertificateStatus>)`](crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder::set_status):<br>required: **false**<br><p>The status of the register certificate request.</p><br>
8 /// - On success, responds with [`RegisterCertificateWithoutCaOutput`](crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCaOutput) with field(s):
9 /// - [`certificate_arn(Option<String>)`](crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCaOutput::certificate_arn): <p>The Amazon Resource Name (ARN) of the registered certificate.</p>
10 /// - [`certificate_id(Option<String>)`](crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCaOutput::certificate_id): <p>The ID of the registered certificate. (The last part of the certificate ARN contains the certificate ID.</p>
11 /// - On failure, responds with [`SdkError<RegisterCertificateWithoutCAError>`](crate::operation::register_certificate_without_ca::RegisterCertificateWithoutCAError)
12 pub fn register_certificate_without_ca(
13 &self,
14 ) -> crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder {
15 crate::operation::register_certificate_without_ca::builders::RegisterCertificateWithoutCAFluentBuilder::new(self.handle.clone())
16 }
17}