Struct aws_sdk_ssm::input::DeleteDocumentInput
source · [−]#[non_exhaustive]pub struct DeleteDocumentInput {
pub name: Option<String>,
pub document_version: Option<String>,
pub version_name: Option<String>,
pub force: 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: 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
sourceimpl DeleteDocumentInput
impl DeleteDocumentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDocument, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDocument, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteDocument
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteDocumentInput
.
sourceimpl 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) -> bool
pub fn force(&self) -> 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.
Trait Implementations
sourceimpl Clone for DeleteDocumentInput
impl Clone for DeleteDocumentInput
sourcefn clone(&self) -> DeleteDocumentInput
fn clone(&self) -> DeleteDocumentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeleteDocumentInput
impl Debug for DeleteDocumentInput
sourceimpl PartialEq<DeleteDocumentInput> for DeleteDocumentInput
impl PartialEq<DeleteDocumentInput> for DeleteDocumentInput
sourcefn eq(&self, other: &DeleteDocumentInput) -> bool
fn eq(&self, other: &DeleteDocumentInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteDocumentInput) -> bool
fn ne(&self, other: &DeleteDocumentInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteDocumentInput
Auto Trait Implementations
impl RefUnwindSafe for DeleteDocumentInput
impl Send for DeleteDocumentInput
impl Sync for DeleteDocumentInput
impl Unpin for DeleteDocumentInput
impl UnwindSafe for DeleteDocumentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more