// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutAttachment`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`asset_identifier(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::asset_identifier) / [`set_asset_identifier(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_asset_identifier):<br>required: **true**<br><p>The unique identifier of the asset to attach the form to.</p><br>
/// - [`iterable_form_name(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::iterable_form_name) / [`set_iterable_form_name(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_iterable_form_name):<br>required: **false**<br><p>The name of the iterable form. When specified along with <code>itemIdentifier</code>, the attachment targets an item within the iterable form rather than the asset itself.</p><br>
/// - [`item_identifier(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::item_identifier) / [`set_item_identifier(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::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::put_attachment::builders::PutAttachmentFluentBuilder::attachment_name) / [`set_attachment_name(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_attachment_name):<br>required: **true**<br><p>The name of the attachment.</p><br>
/// - [`content(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::content) / [`set_content(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_content):<br>required: **true**<br><p>The JSON content of the form, conforming to the schema of the specified form type.</p><br>
/// - [`form_type_id(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::form_type_id) / [`set_form_type_id(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_form_type_id):<br>required: **true**<br><p>The identifier of the form type for this attachment.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
/// - On success, responds with [`PutAttachmentOutput`](crate::operation::put_attachment::PutAttachmentOutput) with field(s):
/// - [`asset_identifier(Option<String>)`](crate::operation::put_attachment::PutAttachmentOutput::asset_identifier): <p>The unique identifier of the asset.</p>
/// - [`iterable_form_name(Option<String>)`](crate::operation::put_attachment::PutAttachmentOutput::iterable_form_name): <p>The name of the iterable form, if the attachment targets an item.</p>
/// - [`item_identifier(Option<String>)`](crate::operation::put_attachment::PutAttachmentOutput::item_identifier): <p>The identifier of the item within the iterable form, if applicable.</p>
/// - [`attachment_name(Option<String>)`](crate::operation::put_attachment::PutAttachmentOutput::attachment_name): <p>The name of the attachment.</p>
/// - [`form_type_id(Option<String>)`](crate::operation::put_attachment::PutAttachmentOutput::form_type_id): <p>The identifier of the form type for this attachment.</p>
/// - On failure, responds with [`SdkError<PutAttachmentError>`](crate::operation::put_attachment::PutAttachmentError)
pub fn put_attachment(&self) -> crate::operation::put_attachment::builders::PutAttachmentFluentBuilder {
crate::operation::put_attachment::builders::PutAttachmentFluentBuilder::new(self.handle.clone())
}
}