aws-sdk-glue 1.163.0

AWS SDK for AWS Glue
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAttachment`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`asset_identifier(impl Into<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::asset_identifier) / [`set_asset_identifier(Option<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::set_asset_identifier):<br>required: **true**<br><p>The unique identifier of the asset from which to delete the attachment.</p><br>
    ///   - [`iterable_form_name(impl Into<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::iterable_form_name) / [`set_iterable_form_name(Option<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::set_iterable_form_name):<br>required: **false**<br><p>The name of the iterable form. When specified along with <code>itemIdentifier</code>, the attachment is deleted from an item within the iterable form rather than from the asset itself.</p><br>
    ///   - [`item_identifier(impl Into<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::item_identifier) / [`set_item_identifier(Option<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::set_item_identifier):<br>required: **false**<br><p>The identifier of the item within the iterable form. Required when <code>iterableFormName</code> is specified.</p><br>
    ///   - [`attachment_name(impl Into<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::attachment_name) / [`set_attachment_name(Option<String>)`](crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::set_attachment_name):<br>required: **true**<br><p>The name of the attachment to delete.</p><br>
    /// - On success, responds with [`DeleteAttachmentOutput`](crate::operation::delete_attachment::DeleteAttachmentOutput) with field(s):
    ///   - [`asset_identifier(Option<String>)`](crate::operation::delete_attachment::DeleteAttachmentOutput::asset_identifier): <p>The unique identifier of the asset.</p>
    ///   - [`iterable_form_name(Option<String>)`](crate::operation::delete_attachment::DeleteAttachmentOutput::iterable_form_name): <p>The name of the iterable form, if the deletion targets an item.</p>
    ///   - [`item_identifier(Option<String>)`](crate::operation::delete_attachment::DeleteAttachmentOutput::item_identifier): <p>The identifier of the item within the iterable form, if applicable.</p>
    /// - On failure, responds with [`SdkError<DeleteAttachmentError>`](crate::operation::delete_attachment::DeleteAttachmentError)
    pub fn delete_attachment(&self) -> crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder {
        crate::operation::delete_attachment::builders::DeleteAttachmentFluentBuilder::new(self.handle.clone())
    }
}