describe_storedi_scsi_volumes
¶
describe_storedi_scsi_volumes(
volume_ar_ns: VolumeARNs,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
) -> DescribeStorediSCSIVolumesOutput
Returns the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported in stored volume gateway type.
Parameters:
-
volume_ar_ns(VolumeARNs) –An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must be from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe the volumes of a gateway Returns the description of the gateway volumes specified in the request belonging to the same gateway.
>>> client.describe_storedi_scsi_volumes(volume_ar_ns=['arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB'])