describeCachediScsiVolumes
inline suspend fun StorageGatewayClient.describeCachediScsiVolumes(crossinline block: DescribeCachediScsiVolumesRequest.Builder.() -> Unit): DescribeCachediScsiVolumesResponse
Returns a description of the gateway volumes specified in the request. This operation is only supported in the cached volume gateway types.
The list of gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume Amazon Resource Name (ARN).
Samples
fun main() {
//sampleStart
// Returns a description of the gateway cached iSCSI volumes specified in the request.
val resp = storageGatewayClient.describeCachediScsiVolumes {
volumeArns = listOf<String>(
"arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB"
)
}
//sampleEnd
}