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
pub 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
>
Creates a new builder-style object to manufacture DeleteInventoryInput
The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.
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.
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.
User-provided idempotency token.
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 DeleteInventoryInput
impl Send for DeleteInventoryInput
impl Sync for DeleteInventoryInput
impl Unpin for DeleteInventoryInput
impl UnwindSafe for DeleteInventoryInput
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