aws_sdk_connect/client/
delete_attached_file.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteAttachedFile`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Connect instance.</p><br>
    ///   - [`file_id(impl Into<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::file_id) / [`set_file_id(Option<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::set_file_id):<br>required: **true**<br><p>The unique identifier of the attached file resource.</p><br>
    ///   - [`associated_resource_arn(impl Into<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::associated_resource_arn) / [`set_associated_resource_arn(Option<String>)`](crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::set_associated_resource_arn):<br>required: **true**<br><p>The resource to which the attached file is (being) uploaded to. <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are the only current supported resource.</p><note>  <p>This value must be a valid ARN.</p> </note><br>
    /// - On success, responds with [`DeleteAttachedFileOutput`](crate::operation::delete_attached_file::DeleteAttachedFileOutput)
    /// - On failure, responds with [`SdkError<DeleteAttachedFileError>`](crate::operation::delete_attached_file::DeleteAttachedFileError)
    pub fn delete_attached_file(&self) -> crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder {
        crate::operation::delete_attached_file::builders::DeleteAttachedFileFluentBuilder::new(self.handle.clone())
    }
}