Struct aws_sdk_ssm::types::DocumentRequires
source · #[non_exhaustive]pub struct DocumentRequires {
pub name: String,
pub version: Option<String>,
pub require_type: Option<String>,
pub version_name: Option<String>,
}
Expand description
An SSM document required by the current document.
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: String
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
version: Option<String>
The document version required by the current document.
require_type: Option<String>
The document type of the required SSM document.
version_name: Option<String>
An optional field specifying the version of the artifact associated with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.
Implementations§
source§impl DocumentRequires
impl DocumentRequires
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of the required SSM document. The name can be an Amazon Resource Name (ARN).
sourcepub fn require_type(&self) -> Option<&str>
pub fn require_type(&self) -> Option<&str>
The document type of the required SSM document.
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, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.
source§impl DocumentRequires
impl DocumentRequires
sourcepub fn builder() -> DocumentRequiresBuilder
pub fn builder() -> DocumentRequiresBuilder
Creates a new builder-style object to manufacture DocumentRequires
.
Trait Implementations§
source§impl Clone for DocumentRequires
impl Clone for DocumentRequires
source§fn clone(&self) -> DocumentRequires
fn clone(&self) -> DocumentRequires
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentRequires
impl Debug for DocumentRequires
source§impl PartialEq for DocumentRequires
impl PartialEq for DocumentRequires
source§fn eq(&self, other: &DocumentRequires) -> bool
fn eq(&self, other: &DocumentRequires) -> bool
self
and other
values to be equal, and is used
by ==
.