aws_sdk_connect/client/batch_get_attached_file_metadata.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`BatchGetAttachedFileMetadata`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`file_ids(impl Into<String>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::file_ids) / [`set_file_ids(Option<Vec::<String>>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::set_file_ids):<br>required: **true**<br><p>The unique identifiers of the attached file resource.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Connect instance.</p><br>
/// - [`associated_resource_arn(impl Into<String>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::associated_resource_arn) / [`set_associated_resource_arn(Option<String>)`](crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::set_associated_resource_arn):<br>required: **true**<br><p>The resource to which the attached file is (being) uploaded to. The supported resources are <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cases.html">Cases</a> and <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-email-channel.html">Email</a>.</p><note> <p>This value must be a valid ARN.</p> </note><br>
/// - On success, responds with [`BatchGetAttachedFileMetadataOutput`](crate::operation::batch_get_attached_file_metadata::BatchGetAttachedFileMetadataOutput) with field(s):
/// - [`files(Option<Vec::<AttachedFile>>)`](crate::operation::batch_get_attached_file_metadata::BatchGetAttachedFileMetadataOutput::files): <p>List of attached files that were successfully retrieved.</p>
/// - [`errors(Option<Vec::<AttachedFileError>>)`](crate::operation::batch_get_attached_file_metadata::BatchGetAttachedFileMetadataOutput::errors): <p>List of errors of attached files that could not be retrieved.</p>
/// - On failure, responds with [`SdkError<BatchGetAttachedFileMetadataError>`](crate::operation::batch_get_attached_file_metadata::BatchGetAttachedFileMetadataError)
pub fn batch_get_attached_file_metadata(
&self,
) -> crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder {
crate::operation::batch_get_attached_file_metadata::builders::BatchGetAttachedFileMetadataFluentBuilder::new(self.handle.clone())
}
}