Struct aws_sdk_ssm::input::DeleteDocumentInput [−][src]
#[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
pub 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
>
Creates a new builder-style object to manufacture DeleteDocumentInput
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more