aws_sdk_transfer/client/
describe_certificate.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeCertificate`](crate::operation::describe_certificate::builders::DescribeCertificateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`certificate_id(impl Into<String>)`](crate::operation::describe_certificate::builders::DescribeCertificateFluentBuilder::certificate_id) / [`set_certificate_id(Option<String>)`](crate::operation::describe_certificate::builders::DescribeCertificateFluentBuilder::set_certificate_id):<br>required: **true**<br><p>An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.</p><br>
    /// - On success, responds with [`DescribeCertificateOutput`](crate::operation::describe_certificate::DescribeCertificateOutput) with field(s):
    ///   - [`certificate(Option<DescribedCertificate>)`](crate::operation::describe_certificate::DescribeCertificateOutput::certificate): <p>The details for the specified certificate, returned as an object.</p>
    /// - On failure, responds with [`SdkError<DescribeCertificateError>`](crate::operation::describe_certificate::DescribeCertificateError)
    pub fn describe_certificate(&self) -> crate::operation::describe_certificate::builders::DescribeCertificateFluentBuilder {
        crate::operation::describe_certificate::builders::DescribeCertificateFluentBuilder::new(self.handle.clone())
    }
}