aws_sdk_storagegateway/client/
describe_cachedi_scsi_volumes.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 [`DescribeCachediSCSIVolumes`](crate::operation::describe_cachedi_scsi_volumes::builders::DescribeCachediSCSIVolumesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`volume_arns(impl Into<String>)`](crate::operation::describe_cachedi_scsi_volumes::builders::DescribeCachediSCSIVolumesFluentBuilder::volume_arns) / [`set_volume_arns(Option<Vec::<String>>)`](crate::operation::describe_cachedi_scsi_volumes::builders::DescribeCachediSCSIVolumesFluentBuilder::set_volume_arns):<br>required: **true**<br><p>An array of strings where each string represents the Amazon Resource Name (ARN) of a cached volume. All of the specified cached volumes must be from the same gateway. Use <code>ListVolumes</code> to get volume ARNs for a gateway.</p><br>
7    /// - On success, responds with [`DescribeCachediScsiVolumesOutput`](crate::operation::describe_cachedi_scsi_volumes::DescribeCachediScsiVolumesOutput) with field(s):
8    ///   - [`cachedi_scsi_volumes(Option<Vec::<CachediScsiVolume>>)`](crate::operation::describe_cachedi_scsi_volumes::DescribeCachediScsiVolumesOutput::cachedi_scsi_volumes): <p>An array of objects where each object contains metadata about one cached volume.</p>
9    /// - On failure, responds with [`SdkError<DescribeCachediSCSIVolumesError>`](crate::operation::describe_cachedi_scsi_volumes::DescribeCachediSCSIVolumesError)
10    pub fn describe_cachedi_scsi_volumes(
11        &self,
12    ) -> crate::operation::describe_cachedi_scsi_volumes::builders::DescribeCachediSCSIVolumesFluentBuilder {
13        crate::operation::describe_cachedi_scsi_volumes::builders::DescribeCachediSCSIVolumesFluentBuilder::new(self.handle.clone())
14    }
15}