Struct aws_sdk_ssm::operation::delete_document::DeleteDocumentInput
source · #[non_exhaustive]pub struct DeleteDocumentInput {
pub name: Option<String>,
pub document_version: Option<String>,
pub version_name: Option<String>,
pub force: Option<bool>,
}
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 document.
document_version: Option<String>
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
version_name: Option<String>
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
force: Option<bool>
Some SSM document types require that you specify a Force
flag before you can delete the document. For example, you must specify a Force
flag to delete a document of type ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an Identity and Access Management (IAM) policy.
Implementations§
source§impl DeleteDocumentInput
impl DeleteDocumentInput
sourcepub fn document_version(&self) -> Option<&str>
pub fn document_version(&self) -> Option<&str>
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
sourcepub fn version_name(&self) -> Option<&str>
pub fn version_name(&self) -> Option<&str>
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
sourcepub fn force(&self) -> Option<bool>
pub fn force(&self) -> Option<bool>
Some SSM document types require that you specify a Force
flag before you can delete the document. For example, you must specify a Force
flag to delete a document of type ApplicationConfigurationSchema
. You can restrict access to the Force
flag in an Identity and Access Management (IAM) policy.
source§impl DeleteDocumentInput
impl DeleteDocumentInput
sourcepub fn builder() -> DeleteDocumentInputBuilder
pub fn builder() -> DeleteDocumentInputBuilder
Creates a new builder-style object to manufacture DeleteDocumentInput
.
Trait Implementations§
source§impl Clone for DeleteDocumentInput
impl Clone for DeleteDocumentInput
source§fn clone(&self) -> DeleteDocumentInput
fn clone(&self) -> DeleteDocumentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteDocumentInput
impl Debug for DeleteDocumentInput
source§impl PartialEq for DeleteDocumentInput
impl PartialEq for DeleteDocumentInput
source§fn eq(&self, other: &DeleteDocumentInput) -> bool
fn eq(&self, other: &DeleteDocumentInput) -> bool
self
and other
values to be equal, and is used
by ==
.