aws_sdk_workdocs/client/
delete_custom_metadata.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteCustomMetadata`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
    ///   - [`resource_id(impl Into<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::set_resource_id):<br>required: **true**<br><p>The ID of the resource, either a document or folder.</p><br>
    ///   - [`version_id(impl Into<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::set_version_id):<br>required: **false**<br><p>The ID of the version, if the custom metadata is being deleted from a document version.</p><br>
    ///   - [`keys(impl Into<String>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::keys) / [`set_keys(Option<Vec::<String>>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::set_keys):<br>required: **false**<br><p>List of properties to remove.</p><br>
    ///   - [`delete_all(bool)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::delete_all) / [`set_delete_all(Option<bool>)`](crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::set_delete_all):<br>required: **false**<br><p>Flag to indicate removal of all custom metadata properties from the specified resource.</p><br>
    /// - On success, responds with [`DeleteCustomMetadataOutput`](crate::operation::delete_custom_metadata::DeleteCustomMetadataOutput)
    /// - On failure, responds with [`SdkError<DeleteCustomMetadataError>`](crate::operation::delete_custom_metadata::DeleteCustomMetadataError)
    pub fn delete_custom_metadata(&self) -> crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder {
        crate::operation::delete_custom_metadata::builders::DeleteCustomMetadataFluentBuilder::new(self.handle.clone())
    }
}