aws_sdk_transfer/client/
update_certificate.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCertificate`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`certificate_id(impl Into<String>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::certificate_id) / [`set_certificate_id(Option<String>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::set_certificate_id):<br>required: **true**<br><p>The identifier of the certificate object that you are updating.</p><br>
    ///   - [`active_date(DateTime)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::active_date) / [`set_active_date(Option<DateTime>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::set_active_date):<br>required: **false**<br><p>An optional date that specifies when the certificate becomes active.</p><br>
    ///   - [`inactive_date(DateTime)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::inactive_date) / [`set_inactive_date(Option<DateTime>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::set_inactive_date):<br>required: **false**<br><p>An optional date that specifies when the certificate becomes inactive.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::set_description):<br>required: **false**<br><p>A short description to help identify the certificate.</p><br>
    /// - On success, responds with [`UpdateCertificateOutput`](crate::operation::update_certificate::UpdateCertificateOutput) with field(s):
    ///   - [`certificate_id(String)`](crate::operation::update_certificate::UpdateCertificateOutput::certificate_id): <p>Returns the identifier of the certificate object that you are updating.</p>
    /// - On failure, responds with [`SdkError<UpdateCertificateError>`](crate::operation::update_certificate::UpdateCertificateError)
    pub fn update_certificate(&self) -> crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder {
        crate::operation::update_certificate::builders::UpdateCertificateFluentBuilder::new(self.handle.clone())
    }
}