1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDocument`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::set_name):<br>required: **true**<br><p>The name of the SSM document.</p><br>
    ///   - [`document_version(impl Into<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::document_version) / [`set_document_version(Option<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::set_document_version):<br>required: **false**<br><p>The document version for which you want information. Can be a specific version or the default version.</p><br>
    ///   - [`version_name(impl Into<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::version_name) / [`set_version_name(Option<String>)`](crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::set_version_name):<br>required: **false**<br><p>An optional field specifying the version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.</p><br>
    /// - On success, responds with [`DescribeDocumentOutput`](crate::operation::describe_document::DescribeDocumentOutput) with field(s):
    ///   - [`document(Option<DocumentDescription>)`](crate::operation::describe_document::DescribeDocumentOutput::document): <p>Information about the SSM document.</p>
    /// - On failure, responds with [`SdkError<DescribeDocumentError>`](crate::operation::describe_document::DescribeDocumentError)
    pub fn describe_document(&self) -> crate::operation::describe_document::builders::DescribeDocumentFluentBuilder {
        crate::operation::describe_document::builders::DescribeDocumentFluentBuilder::new(self.handle.clone())
    }
}