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
impl StructuralPartialEq for DeleteDocumentInput
Auto Trait Implementations§
impl Freeze for DeleteDocumentInput
impl RefUnwindSafe for DeleteDocumentInput
impl Send for DeleteDocumentInput
impl Sync for DeleteDocumentInput
impl Unpin for DeleteDocumentInput
impl UnwindSafe for DeleteDocumentInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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