aws_sdk_securityir/client/get_case_attachment_download_url.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetCaseAttachmentDownloadUrl`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`case_id(impl Into<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::case_id) / [`set_case_id(Option<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::set_case_id):<br>required: **true**<br><p>Required element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from.</p><br>
7 /// - [`attachment_id(impl Into<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::attachment_id) / [`set_attachment_id(Option<String>)`](crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::set_attachment_id):<br>required: **true**<br><p>Required element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment.</p><br>
8 /// - On success, responds with [`GetCaseAttachmentDownloadUrlOutput`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlOutput) with field(s):
9 /// - [`attachment_presigned_url(String)`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlOutput::attachment_presigned_url): <p>Response element providing the Amazon S3 presigned URL to download an attachment.</p>
10 /// - On failure, responds with [`SdkError<GetCaseAttachmentDownloadUrlError>`](crate::operation::get_case_attachment_download_url::GetCaseAttachmentDownloadUrlError)
11 pub fn get_case_attachment_download_url(
12 &self,
13 ) -> crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder {
14 crate::operation::get_case_attachment_download_url::builders::GetCaseAttachmentDownloadUrlFluentBuilder::new(self.handle.clone())
15 }
16}