Struct aws_sdk_ssm::input::DeleteInventoryInput
source · [−]#[non_exhaustive]pub struct DeleteInventoryInput {
pub type_name: Option<String>,
pub schema_delete_option: Option<InventorySchemaDeleteOption>,
pub dry_run: bool,
pub client_token: Option<String>,
}
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.type_name: Option<String>
The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.
schema_delete_option: Option<InventorySchemaDeleteOption>
Use the SchemaDeleteOption
to delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:
DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the PutInventory
operation for a version greater than the disabled version.
DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
dry_run: bool
Use this option to view a summary of the deletion request without deleting any data or the data type. This option is useful when you only want to understand what will be deleted. Once you validate that the data to be deleted is what you intend to delete, you can run the same command without specifying the DryRun
option.
client_token: Option<String>
User-provided idempotency token.
Implementations
sourceimpl DeleteInventoryInput
impl DeleteInventoryInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DeleteInventory, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DeleteInventory, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteInventory
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteInventoryInput
sourceimpl DeleteInventoryInput
impl DeleteInventoryInput
sourcepub fn type_name(&self) -> Option<&str>
pub fn type_name(&self) -> Option<&str>
The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.
sourcepub fn schema_delete_option(&self) -> Option<&InventorySchemaDeleteOption>
pub fn schema_delete_option(&self) -> Option<&InventorySchemaDeleteOption>
Use the SchemaDeleteOption
to delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:
DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the PutInventory
operation for a version greater than the disabled version.
DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
sourcepub fn dry_run(&self) -> bool
pub fn dry_run(&self) -> bool
Use this option to view a summary of the deletion request without deleting any data or the data type. This option is useful when you only want to understand what will be deleted. Once you validate that the data to be deleted is what you intend to delete, you can run the same command without specifying the DryRun
option.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
User-provided idempotency token.
Trait Implementations
sourceimpl Clone for DeleteInventoryInput
impl Clone for DeleteInventoryInput
sourcefn clone(&self) -> DeleteInventoryInput
fn clone(&self) -> DeleteInventoryInput
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 DeleteInventoryInput
impl Debug for DeleteInventoryInput
sourceimpl PartialEq<DeleteInventoryInput> for DeleteInventoryInput
impl PartialEq<DeleteInventoryInput> for DeleteInventoryInput
sourcefn eq(&self, other: &DeleteInventoryInput) -> bool
fn eq(&self, other: &DeleteInventoryInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteInventoryInput) -> bool
fn ne(&self, other: &DeleteInventoryInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteInventoryInput
Auto Trait Implementations
impl RefUnwindSafe for DeleteInventoryInput
impl Send for DeleteInventoryInput
impl Sync for DeleteInventoryInput
impl Unpin for DeleteInventoryInput
impl UnwindSafe for DeleteInventoryInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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