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
impl StructuralPartialEq for GetDocumentInput
Auto Trait Implementations§
impl Freeze for GetDocumentInput
impl RefUnwindSafe for GetDocumentInput
impl Send for GetDocumentInput
impl Sync for GetDocumentInput
impl Unpin for GetDocumentInput
impl UnwindSafe for GetDocumentInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more