Struct aws_sdk_ssm::operation::get_document::GetDocumentInput
source · #[non_exhaustive]pub struct GetDocumentInput {
pub name: Option<String>,
pub version_name: Option<String>,
pub document_version: Option<String>,
pub document_format: Option<DocumentFormat>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the SSM document.
version_name: Option<String>
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.
document_version: Option<String>
The document version for which you want information.
document_format: Option<DocumentFormat>
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
Implementations§
source§impl GetDocumentInput
impl GetDocumentInput
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
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.
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The document version for which you want information.
sourcepub fn document_format(&self) -> Option<&DocumentFormat>
pub fn document_format(&self) -> Option<&DocumentFormat>
Returns the document in the specified format. The document format can be either JSON or YAML. JSON is the default format.
source§impl GetDocumentInput
impl GetDocumentInput
sourcepub fn builder() -> GetDocumentInputBuilder
pub fn builder() -> GetDocumentInputBuilder
Creates a new builder-style object to manufacture GetDocumentInput
.
Trait Implementations§
source§impl Clone for GetDocumentInput
impl Clone for GetDocumentInput
source§fn clone(&self) -> GetDocumentInput
fn clone(&self) -> GetDocumentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDocumentInput
impl Debug for GetDocumentInput
source§impl PartialEq for GetDocumentInput
impl PartialEq for GetDocumentInput
source§fn eq(&self, other: &GetDocumentInput) -> bool
fn eq(&self, other: &GetDocumentInput) -> bool
self
and other
values to be equal, and is used
by ==
.