aws_sdk_iam/client/
update_server_certificate.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 [`UpdateServerCertificate`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`server_certificate_name(impl Into<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::server_certificate_name) / [`set_server_certificate_name(Option<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::set_server_certificate_name):<br>required: **true**<br><p>The name of the server certificate that you want to update.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
7    ///   - [`new_path(impl Into<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::new_path) / [`set_new_path(Option<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::set_new_path):<br>required: **false**<br><p>The new path for the server certificate. Include this only if you are updating the server certificate's path.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes. In addition, it can contain any ASCII character from the ! (<code>\u0021</code>) through the DEL character (<code>\u007F</code>), including most punctuation characters, digits, and upper and lowercased letters.</p><br>
8    ///   - [`new_server_certificate_name(impl Into<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::new_server_certificate_name) / [`set_new_server_certificate_name(Option<String>)`](crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::set_new_server_certificate_name):<br>required: **false**<br><p>The new name for the server certificate. Include this only if you are updating the server certificate's name. The name of the certificate cannot contain any spaces.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
9    /// - On success, responds with [`UpdateServerCertificateOutput`](crate::operation::update_server_certificate::UpdateServerCertificateOutput)
10    /// - On failure, responds with [`SdkError<UpdateServerCertificateError>`](crate::operation::update_server_certificate::UpdateServerCertificateError)
11    pub fn update_server_certificate(&self) -> crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder {
12        crate::operation::update_server_certificate::builders::UpdateServerCertificateFluentBuilder::new(self.handle.clone())
13    }
14}