#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ActivateGateway {
_private: (),
}
impl ActivateGateway {
pub fn builder() -> crate::input::activate_gateway_input::Builder {
crate::input::activate_gateway_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ActivateGateway {
type Output = std::result::Result<
crate::output::ActivateGatewayOutput,
crate::error::ActivateGatewayError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_activate_gateway_error(response)
} else {
crate::operation_deser::parse_activate_gateway_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AddCache {
_private: (),
}
impl AddCache {
pub fn builder() -> crate::input::add_cache_input::Builder {
crate::input::add_cache_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddCache {
type Output = std::result::Result<crate::output::AddCacheOutput, crate::error::AddCacheError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_add_cache_error(response)
} else {
crate::operation_deser::parse_add_cache_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AddTagsToResource {
_private: (),
}
impl AddTagsToResource {
pub fn builder() -> crate::input::add_tags_to_resource_input::Builder {
crate::input::add_tags_to_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddTagsToResource {
type Output = std::result::Result<
crate::output::AddTagsToResourceOutput,
crate::error::AddTagsToResourceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_add_tags_to_resource_error(response)
} else {
crate::operation_deser::parse_add_tags_to_resource_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AddUploadBuffer {
_private: (),
}
impl AddUploadBuffer {
pub fn builder() -> crate::input::add_upload_buffer_input::Builder {
crate::input::add_upload_buffer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddUploadBuffer {
type Output = std::result::Result<
crate::output::AddUploadBufferOutput,
crate::error::AddUploadBufferError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_add_upload_buffer_error(response)
} else {
crate::operation_deser::parse_add_upload_buffer_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AddWorkingStorage {
_private: (),
}
impl AddWorkingStorage {
pub fn builder() -> crate::input::add_working_storage_input::Builder {
crate::input::add_working_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AddWorkingStorage {
type Output = std::result::Result<
crate::output::AddWorkingStorageOutput,
crate::error::AddWorkingStorageError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_add_working_storage_error(response)
} else {
crate::operation_deser::parse_add_working_storage_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssignTapePool {
_private: (),
}
impl AssignTapePool {
pub fn builder() -> crate::input::assign_tape_pool_input::Builder {
crate::input::assign_tape_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssignTapePool {
type Output =
std::result::Result<crate::output::AssignTapePoolOutput, crate::error::AssignTapePoolError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_assign_tape_pool_error(response)
} else {
crate::operation_deser::parse_assign_tape_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AssociateFileSystem {
_private: (),
}
impl AssociateFileSystem {
pub fn builder() -> crate::input::associate_file_system_input::Builder {
crate::input::associate_file_system_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AssociateFileSystem {
type Output = std::result::Result<
crate::output::AssociateFileSystemOutput,
crate::error::AssociateFileSystemError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_associate_file_system_error(response)
} else {
crate::operation_deser::parse_associate_file_system_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct AttachVolume {
_private: (),
}
impl AttachVolume {
pub fn builder() -> crate::input::attach_volume_input::Builder {
crate::input::attach_volume_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for AttachVolume {
type Output =
std::result::Result<crate::output::AttachVolumeOutput, crate::error::AttachVolumeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_attach_volume_error(response)
} else {
crate::operation_deser::parse_attach_volume_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelArchival {
_private: (),
}
impl CancelArchival {
pub fn builder() -> crate::input::cancel_archival_input::Builder {
crate::input::cancel_archival_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelArchival {
type Output =
std::result::Result<crate::output::CancelArchivalOutput, crate::error::CancelArchivalError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_cancel_archival_error(response)
} else {
crate::operation_deser::parse_cancel_archival_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CancelRetrieval {
_private: (),
}
impl CancelRetrieval {
pub fn builder() -> crate::input::cancel_retrieval_input::Builder {
crate::input::cancel_retrieval_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CancelRetrieval {
type Output = std::result::Result<
crate::output::CancelRetrievalOutput,
crate::error::CancelRetrievalError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_cancel_retrieval_error(response)
} else {
crate::operation_deser::parse_cancel_retrieval_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateCachediSCSIVolume {
_private: (),
}
impl CreateCachediSCSIVolume {
pub fn builder() -> crate::input::create_cachedi_scsi_volume_input::Builder {
crate::input::create_cachedi_scsi_volume_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateCachediSCSIVolume {
type Output = std::result::Result<
crate::output::CreateCachediScsiVolumeOutput,
crate::error::CreateCachediSCSIVolumeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_cachedi_scsi_volume_error(response)
} else {
crate::operation_deser::parse_create_cachedi_scsi_volume_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateNFSFileShare {
_private: (),
}
impl CreateNFSFileShare {
pub fn builder() -> crate::input::create_nfs_file_share_input::Builder {
crate::input::create_nfs_file_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateNFSFileShare {
type Output = std::result::Result<
crate::output::CreateNfsFileShareOutput,
crate::error::CreateNFSFileShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_nfs_file_share_error(response)
} else {
crate::operation_deser::parse_create_nfs_file_share_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateSMBFileShare {
_private: (),
}
impl CreateSMBFileShare {
pub fn builder() -> crate::input::create_smb_file_share_input::Builder {
crate::input::create_smb_file_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSMBFileShare {
type Output = std::result::Result<
crate::output::CreateSmbFileShareOutput,
crate::error::CreateSMBFileShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_smb_file_share_error(response)
} else {
crate::operation_deser::parse_create_smb_file_share_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateSnapshot {
_private: (),
}
impl CreateSnapshot {
pub fn builder() -> crate::input::create_snapshot_input::Builder {
crate::input::create_snapshot_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSnapshot {
type Output =
std::result::Result<crate::output::CreateSnapshotOutput, crate::error::CreateSnapshotError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_snapshot_error(response)
} else {
crate::operation_deser::parse_create_snapshot_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateSnapshotFromVolumeRecoveryPoint {
_private: (),
}
impl CreateSnapshotFromVolumeRecoveryPoint {
pub fn builder() -> crate::input::create_snapshot_from_volume_recovery_point_input::Builder {
crate::input::create_snapshot_from_volume_recovery_point_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateSnapshotFromVolumeRecoveryPoint {
type Output = std::result::Result<
crate::output::CreateSnapshotFromVolumeRecoveryPointOutput,
crate::error::CreateSnapshotFromVolumeRecoveryPointError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_snapshot_from_volume_recovery_point_error(response)
} else {
crate::operation_deser::parse_create_snapshot_from_volume_recovery_point_response(
response,
)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateStorediSCSIVolume {
_private: (),
}
impl CreateStorediSCSIVolume {
pub fn builder() -> crate::input::create_storedi_scsi_volume_input::Builder {
crate::input::create_storedi_scsi_volume_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateStorediSCSIVolume {
type Output = std::result::Result<
crate::output::CreateStorediScsiVolumeOutput,
crate::error::CreateStorediSCSIVolumeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_storedi_scsi_volume_error(response)
} else {
crate::operation_deser::parse_create_storedi_scsi_volume_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateTapePool {
_private: (),
}
impl CreateTapePool {
pub fn builder() -> crate::input::create_tape_pool_input::Builder {
crate::input::create_tape_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTapePool {
type Output =
std::result::Result<crate::output::CreateTapePoolOutput, crate::error::CreateTapePoolError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_tape_pool_error(response)
} else {
crate::operation_deser::parse_create_tape_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateTapes {
_private: (),
}
impl CreateTapes {
pub fn builder() -> crate::input::create_tapes_input::Builder {
crate::input::create_tapes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTapes {
type Output =
std::result::Result<crate::output::CreateTapesOutput, crate::error::CreateTapesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_tapes_error(response)
} else {
crate::operation_deser::parse_create_tapes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct CreateTapeWithBarcode {
_private: (),
}
impl CreateTapeWithBarcode {
pub fn builder() -> crate::input::create_tape_with_barcode_input::Builder {
crate::input::create_tape_with_barcode_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for CreateTapeWithBarcode {
type Output = std::result::Result<
crate::output::CreateTapeWithBarcodeOutput,
crate::error::CreateTapeWithBarcodeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_create_tape_with_barcode_error(response)
} else {
crate::operation_deser::parse_create_tape_with_barcode_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteAutomaticTapeCreationPolicy {
_private: (),
}
impl DeleteAutomaticTapeCreationPolicy {
pub fn builder() -> crate::input::delete_automatic_tape_creation_policy_input::Builder {
crate::input::delete_automatic_tape_creation_policy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteAutomaticTapeCreationPolicy {
type Output = std::result::Result<
crate::output::DeleteAutomaticTapeCreationPolicyOutput,
crate::error::DeleteAutomaticTapeCreationPolicyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_automatic_tape_creation_policy_error(response)
} else {
crate::operation_deser::parse_delete_automatic_tape_creation_policy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteBandwidthRateLimit {
_private: (),
}
impl DeleteBandwidthRateLimit {
pub fn builder() -> crate::input::delete_bandwidth_rate_limit_input::Builder {
crate::input::delete_bandwidth_rate_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteBandwidthRateLimit {
type Output = std::result::Result<
crate::output::DeleteBandwidthRateLimitOutput,
crate::error::DeleteBandwidthRateLimitError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_bandwidth_rate_limit_error(response)
} else {
crate::operation_deser::parse_delete_bandwidth_rate_limit_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteChapCredentials {
_private: (),
}
impl DeleteChapCredentials {
pub fn builder() -> crate::input::delete_chap_credentials_input::Builder {
crate::input::delete_chap_credentials_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteChapCredentials {
type Output = std::result::Result<
crate::output::DeleteChapCredentialsOutput,
crate::error::DeleteChapCredentialsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_chap_credentials_error(response)
} else {
crate::operation_deser::parse_delete_chap_credentials_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteFileShare {
_private: (),
}
impl DeleteFileShare {
pub fn builder() -> crate::input::delete_file_share_input::Builder {
crate::input::delete_file_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteFileShare {
type Output = std::result::Result<
crate::output::DeleteFileShareOutput,
crate::error::DeleteFileShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_file_share_error(response)
} else {
crate::operation_deser::parse_delete_file_share_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteGateway {
_private: (),
}
impl DeleteGateway {
pub fn builder() -> crate::input::delete_gateway_input::Builder {
crate::input::delete_gateway_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteGateway {
type Output =
std::result::Result<crate::output::DeleteGatewayOutput, crate::error::DeleteGatewayError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_gateway_error(response)
} else {
crate::operation_deser::parse_delete_gateway_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteSnapshotSchedule {
_private: (),
}
impl DeleteSnapshotSchedule {
pub fn builder() -> crate::input::delete_snapshot_schedule_input::Builder {
crate::input::delete_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteSnapshotSchedule {
type Output = std::result::Result<
crate::output::DeleteSnapshotScheduleOutput,
crate::error::DeleteSnapshotScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_delete_snapshot_schedule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTape {
_private: (),
}
impl DeleteTape {
pub fn builder() -> crate::input::delete_tape_input::Builder {
crate::input::delete_tape_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTape {
type Output =
std::result::Result<crate::output::DeleteTapeOutput, crate::error::DeleteTapeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_tape_error(response)
} else {
crate::operation_deser::parse_delete_tape_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTapeArchive {
_private: (),
}
impl DeleteTapeArchive {
pub fn builder() -> crate::input::delete_tape_archive_input::Builder {
crate::input::delete_tape_archive_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTapeArchive {
type Output = std::result::Result<
crate::output::DeleteTapeArchiveOutput,
crate::error::DeleteTapeArchiveError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_tape_archive_error(response)
} else {
crate::operation_deser::parse_delete_tape_archive_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteTapePool {
_private: (),
}
impl DeleteTapePool {
pub fn builder() -> crate::input::delete_tape_pool_input::Builder {
crate::input::delete_tape_pool_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteTapePool {
type Output =
std::result::Result<crate::output::DeleteTapePoolOutput, crate::error::DeleteTapePoolError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_tape_pool_error(response)
} else {
crate::operation_deser::parse_delete_tape_pool_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DeleteVolume {
_private: (),
}
impl DeleteVolume {
pub fn builder() -> crate::input::delete_volume_input::Builder {
crate::input::delete_volume_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DeleteVolume {
type Output =
std::result::Result<crate::output::DeleteVolumeOutput, crate::error::DeleteVolumeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_delete_volume_error(response)
} else {
crate::operation_deser::parse_delete_volume_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeAvailabilityMonitorTest {
_private: (),
}
impl DescribeAvailabilityMonitorTest {
pub fn builder() -> crate::input::describe_availability_monitor_test_input::Builder {
crate::input::describe_availability_monitor_test_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeAvailabilityMonitorTest {
type Output = std::result::Result<
crate::output::DescribeAvailabilityMonitorTestOutput,
crate::error::DescribeAvailabilityMonitorTestError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_availability_monitor_test_error(response)
} else {
crate::operation_deser::parse_describe_availability_monitor_test_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeBandwidthRateLimit {
_private: (),
}
impl DescribeBandwidthRateLimit {
pub fn builder() -> crate::input::describe_bandwidth_rate_limit_input::Builder {
crate::input::describe_bandwidth_rate_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeBandwidthRateLimit {
type Output = std::result::Result<
crate::output::DescribeBandwidthRateLimitOutput,
crate::error::DescribeBandwidthRateLimitError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_bandwidth_rate_limit_error(response)
} else {
crate::operation_deser::parse_describe_bandwidth_rate_limit_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeBandwidthRateLimitSchedule {
_private: (),
}
impl DescribeBandwidthRateLimitSchedule {
pub fn builder() -> crate::input::describe_bandwidth_rate_limit_schedule_input::Builder {
crate::input::describe_bandwidth_rate_limit_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeBandwidthRateLimitSchedule {
type Output = std::result::Result<
crate::output::DescribeBandwidthRateLimitScheduleOutput,
crate::error::DescribeBandwidthRateLimitScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_bandwidth_rate_limit_schedule_error(response)
} else {
crate::operation_deser::parse_describe_bandwidth_rate_limit_schedule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeCache {
_private: (),
}
impl DescribeCache {
pub fn builder() -> crate::input::describe_cache_input::Builder {
crate::input::describe_cache_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeCache {
type Output =
std::result::Result<crate::output::DescribeCacheOutput, crate::error::DescribeCacheError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_cache_error(response)
} else {
crate::operation_deser::parse_describe_cache_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeCachediSCSIVolumes {
_private: (),
}
impl DescribeCachediSCSIVolumes {
pub fn builder() -> crate::input::describe_cachedi_scsi_volumes_input::Builder {
crate::input::describe_cachedi_scsi_volumes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeCachediSCSIVolumes {
type Output = std::result::Result<
crate::output::DescribeCachediScsiVolumesOutput,
crate::error::DescribeCachediSCSIVolumesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_cachedi_scsi_volumes_error(response)
} else {
crate::operation_deser::parse_describe_cachedi_scsi_volumes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeChapCredentials {
_private: (),
}
impl DescribeChapCredentials {
pub fn builder() -> crate::input::describe_chap_credentials_input::Builder {
crate::input::describe_chap_credentials_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeChapCredentials {
type Output = std::result::Result<
crate::output::DescribeChapCredentialsOutput,
crate::error::DescribeChapCredentialsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_chap_credentials_error(response)
} else {
crate::operation_deser::parse_describe_chap_credentials_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeFileSystemAssociations {
_private: (),
}
impl DescribeFileSystemAssociations {
pub fn builder() -> crate::input::describe_file_system_associations_input::Builder {
crate::input::describe_file_system_associations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeFileSystemAssociations {
type Output = std::result::Result<
crate::output::DescribeFileSystemAssociationsOutput,
crate::error::DescribeFileSystemAssociationsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_file_system_associations_error(response)
} else {
crate::operation_deser::parse_describe_file_system_associations_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeGatewayInformation {
_private: (),
}
impl DescribeGatewayInformation {
pub fn builder() -> crate::input::describe_gateway_information_input::Builder {
crate::input::describe_gateway_information_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeGatewayInformation {
type Output = std::result::Result<
crate::output::DescribeGatewayInformationOutput,
crate::error::DescribeGatewayInformationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_gateway_information_error(response)
} else {
crate::operation_deser::parse_describe_gateway_information_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeMaintenanceStartTime {
_private: (),
}
impl DescribeMaintenanceStartTime {
pub fn builder() -> crate::input::describe_maintenance_start_time_input::Builder {
crate::input::describe_maintenance_start_time_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeMaintenanceStartTime {
type Output = std::result::Result<
crate::output::DescribeMaintenanceStartTimeOutput,
crate::error::DescribeMaintenanceStartTimeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_maintenance_start_time_error(response)
} else {
crate::operation_deser::parse_describe_maintenance_start_time_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeNFSFileShares {
_private: (),
}
impl DescribeNFSFileShares {
pub fn builder() -> crate::input::describe_nfs_file_shares_input::Builder {
crate::input::describe_nfs_file_shares_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeNFSFileShares {
type Output = std::result::Result<
crate::output::DescribeNfsFileSharesOutput,
crate::error::DescribeNFSFileSharesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_nfs_file_shares_error(response)
} else {
crate::operation_deser::parse_describe_nfs_file_shares_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeSMBFileShares {
_private: (),
}
impl DescribeSMBFileShares {
pub fn builder() -> crate::input::describe_smb_file_shares_input::Builder {
crate::input::describe_smb_file_shares_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeSMBFileShares {
type Output = std::result::Result<
crate::output::DescribeSmbFileSharesOutput,
crate::error::DescribeSMBFileSharesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_smb_file_shares_error(response)
} else {
crate::operation_deser::parse_describe_smb_file_shares_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeSMBSettings {
_private: (),
}
impl DescribeSMBSettings {
pub fn builder() -> crate::input::describe_smb_settings_input::Builder {
crate::input::describe_smb_settings_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeSMBSettings {
type Output = std::result::Result<
crate::output::DescribeSmbSettingsOutput,
crate::error::DescribeSMBSettingsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_smb_settings_error(response)
} else {
crate::operation_deser::parse_describe_smb_settings_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeSnapshotSchedule {
_private: (),
}
impl DescribeSnapshotSchedule {
pub fn builder() -> crate::input::describe_snapshot_schedule_input::Builder {
crate::input::describe_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeSnapshotSchedule {
type Output = std::result::Result<
crate::output::DescribeSnapshotScheduleOutput,
crate::error::DescribeSnapshotScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_describe_snapshot_schedule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeStorediSCSIVolumes {
_private: (),
}
impl DescribeStorediSCSIVolumes {
pub fn builder() -> crate::input::describe_storedi_scsi_volumes_input::Builder {
crate::input::describe_storedi_scsi_volumes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeStorediSCSIVolumes {
type Output = std::result::Result<
crate::output::DescribeStorediScsiVolumesOutput,
crate::error::DescribeStorediSCSIVolumesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_storedi_scsi_volumes_error(response)
} else {
crate::operation_deser::parse_describe_storedi_scsi_volumes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTapeArchives {
_private: (),
}
impl DescribeTapeArchives {
pub fn builder() -> crate::input::describe_tape_archives_input::Builder {
crate::input::describe_tape_archives_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTapeArchives {
type Output = std::result::Result<
crate::output::DescribeTapeArchivesOutput,
crate::error::DescribeTapeArchivesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_tape_archives_error(response)
} else {
crate::operation_deser::parse_describe_tape_archives_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTapeRecoveryPoints {
_private: (),
}
impl DescribeTapeRecoveryPoints {
pub fn builder() -> crate::input::describe_tape_recovery_points_input::Builder {
crate::input::describe_tape_recovery_points_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTapeRecoveryPoints {
type Output = std::result::Result<
crate::output::DescribeTapeRecoveryPointsOutput,
crate::error::DescribeTapeRecoveryPointsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_tape_recovery_points_error(response)
} else {
crate::operation_deser::parse_describe_tape_recovery_points_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeTapes {
_private: (),
}
impl DescribeTapes {
pub fn builder() -> crate::input::describe_tapes_input::Builder {
crate::input::describe_tapes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeTapes {
type Output =
std::result::Result<crate::output::DescribeTapesOutput, crate::error::DescribeTapesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_tapes_error(response)
} else {
crate::operation_deser::parse_describe_tapes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeUploadBuffer {
_private: (),
}
impl DescribeUploadBuffer {
pub fn builder() -> crate::input::describe_upload_buffer_input::Builder {
crate::input::describe_upload_buffer_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeUploadBuffer {
type Output = std::result::Result<
crate::output::DescribeUploadBufferOutput,
crate::error::DescribeUploadBufferError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_upload_buffer_error(response)
} else {
crate::operation_deser::parse_describe_upload_buffer_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeVTLDevices {
_private: (),
}
impl DescribeVTLDevices {
pub fn builder() -> crate::input::describe_vtl_devices_input::Builder {
crate::input::describe_vtl_devices_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeVTLDevices {
type Output = std::result::Result<
crate::output::DescribeVtlDevicesOutput,
crate::error::DescribeVTLDevicesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_vtl_devices_error(response)
} else {
crate::operation_deser::parse_describe_vtl_devices_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DescribeWorkingStorage {
_private: (),
}
impl DescribeWorkingStorage {
pub fn builder() -> crate::input::describe_working_storage_input::Builder {
crate::input::describe_working_storage_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DescribeWorkingStorage {
type Output = std::result::Result<
crate::output::DescribeWorkingStorageOutput,
crate::error::DescribeWorkingStorageError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_describe_working_storage_error(response)
} else {
crate::operation_deser::parse_describe_working_storage_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DetachVolume {
_private: (),
}
impl DetachVolume {
pub fn builder() -> crate::input::detach_volume_input::Builder {
crate::input::detach_volume_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DetachVolume {
type Output =
std::result::Result<crate::output::DetachVolumeOutput, crate::error::DetachVolumeError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_detach_volume_error(response)
} else {
crate::operation_deser::parse_detach_volume_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisableGateway {
_private: (),
}
impl DisableGateway {
pub fn builder() -> crate::input::disable_gateway_input::Builder {
crate::input::disable_gateway_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisableGateway {
type Output =
std::result::Result<crate::output::DisableGatewayOutput, crate::error::DisableGatewayError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disable_gateway_error(response)
} else {
crate::operation_deser::parse_disable_gateway_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct DisassociateFileSystem {
_private: (),
}
impl DisassociateFileSystem {
pub fn builder() -> crate::input::disassociate_file_system_input::Builder {
crate::input::disassociate_file_system_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for DisassociateFileSystem {
type Output = std::result::Result<
crate::output::DisassociateFileSystemOutput,
crate::error::DisassociateFileSystemError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_disassociate_file_system_error(response)
} else {
crate::operation_deser::parse_disassociate_file_system_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct JoinDomain {
_private: (),
}
impl JoinDomain {
pub fn builder() -> crate::input::join_domain_input::Builder {
crate::input::join_domain_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for JoinDomain {
type Output =
std::result::Result<crate::output::JoinDomainOutput, crate::error::JoinDomainError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_join_domain_error(response)
} else {
crate::operation_deser::parse_join_domain_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListAutomaticTapeCreationPolicies {
_private: (),
}
impl ListAutomaticTapeCreationPolicies {
pub fn builder() -> crate::input::list_automatic_tape_creation_policies_input::Builder {
crate::input::list_automatic_tape_creation_policies_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListAutomaticTapeCreationPolicies {
type Output = std::result::Result<
crate::output::ListAutomaticTapeCreationPoliciesOutput,
crate::error::ListAutomaticTapeCreationPoliciesError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_automatic_tape_creation_policies_error(response)
} else {
crate::operation_deser::parse_list_automatic_tape_creation_policies_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListFileShares {
_private: (),
}
impl ListFileShares {
pub fn builder() -> crate::input::list_file_shares_input::Builder {
crate::input::list_file_shares_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListFileShares {
type Output =
std::result::Result<crate::output::ListFileSharesOutput, crate::error::ListFileSharesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_file_shares_error(response)
} else {
crate::operation_deser::parse_list_file_shares_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListFileSystemAssociations {
_private: (),
}
impl ListFileSystemAssociations {
pub fn builder() -> crate::input::list_file_system_associations_input::Builder {
crate::input::list_file_system_associations_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListFileSystemAssociations {
type Output = std::result::Result<
crate::output::ListFileSystemAssociationsOutput,
crate::error::ListFileSystemAssociationsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_file_system_associations_error(response)
} else {
crate::operation_deser::parse_list_file_system_associations_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListGateways {
_private: (),
}
impl ListGateways {
pub fn builder() -> crate::input::list_gateways_input::Builder {
crate::input::list_gateways_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListGateways {
type Output =
std::result::Result<crate::output::ListGatewaysOutput, crate::error::ListGatewaysError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_gateways_error(response)
} else {
crate::operation_deser::parse_list_gateways_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListLocalDisks {
_private: (),
}
impl ListLocalDisks {
pub fn builder() -> crate::input::list_local_disks_input::Builder {
crate::input::list_local_disks_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListLocalDisks {
type Output =
std::result::Result<crate::output::ListLocalDisksOutput, crate::error::ListLocalDisksError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_local_disks_error(response)
} else {
crate::operation_deser::parse_list_local_disks_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTagsForResource {
_private: (),
}
impl ListTagsForResource {
pub fn builder() -> crate::input::list_tags_for_resource_input::Builder {
crate::input::list_tags_for_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTagsForResource {
type Output = std::result::Result<
crate::output::ListTagsForResourceOutput,
crate::error::ListTagsForResourceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tags_for_resource_error(response)
} else {
crate::operation_deser::parse_list_tags_for_resource_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTapePools {
_private: (),
}
impl ListTapePools {
pub fn builder() -> crate::input::list_tape_pools_input::Builder {
crate::input::list_tape_pools_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTapePools {
type Output =
std::result::Result<crate::output::ListTapePoolsOutput, crate::error::ListTapePoolsError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tape_pools_error(response)
} else {
crate::operation_deser::parse_list_tape_pools_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListTapes {
_private: (),
}
impl ListTapes {
pub fn builder() -> crate::input::list_tapes_input::Builder {
crate::input::list_tapes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListTapes {
type Output = std::result::Result<crate::output::ListTapesOutput, crate::error::ListTapesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_tapes_error(response)
} else {
crate::operation_deser::parse_list_tapes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVolumeInitiators {
_private: (),
}
impl ListVolumeInitiators {
pub fn builder() -> crate::input::list_volume_initiators_input::Builder {
crate::input::list_volume_initiators_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVolumeInitiators {
type Output = std::result::Result<
crate::output::ListVolumeInitiatorsOutput,
crate::error::ListVolumeInitiatorsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_volume_initiators_error(response)
} else {
crate::operation_deser::parse_list_volume_initiators_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVolumeRecoveryPoints {
_private: (),
}
impl ListVolumeRecoveryPoints {
pub fn builder() -> crate::input::list_volume_recovery_points_input::Builder {
crate::input::list_volume_recovery_points_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVolumeRecoveryPoints {
type Output = std::result::Result<
crate::output::ListVolumeRecoveryPointsOutput,
crate::error::ListVolumeRecoveryPointsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_volume_recovery_points_error(response)
} else {
crate::operation_deser::parse_list_volume_recovery_points_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ListVolumes {
_private: (),
}
impl ListVolumes {
pub fn builder() -> crate::input::list_volumes_input::Builder {
crate::input::list_volumes_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ListVolumes {
type Output =
std::result::Result<crate::output::ListVolumesOutput, crate::error::ListVolumesError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_list_volumes_error(response)
} else {
crate::operation_deser::parse_list_volumes_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct NotifyWhenUploaded {
_private: (),
}
impl NotifyWhenUploaded {
pub fn builder() -> crate::input::notify_when_uploaded_input::Builder {
crate::input::notify_when_uploaded_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for NotifyWhenUploaded {
type Output = std::result::Result<
crate::output::NotifyWhenUploadedOutput,
crate::error::NotifyWhenUploadedError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_notify_when_uploaded_error(response)
} else {
crate::operation_deser::parse_notify_when_uploaded_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RefreshCache {
_private: (),
}
impl RefreshCache {
pub fn builder() -> crate::input::refresh_cache_input::Builder {
crate::input::refresh_cache_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RefreshCache {
type Output =
std::result::Result<crate::output::RefreshCacheOutput, crate::error::RefreshCacheError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_refresh_cache_error(response)
} else {
crate::operation_deser::parse_refresh_cache_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RemoveTagsFromResource {
_private: (),
}
impl RemoveTagsFromResource {
pub fn builder() -> crate::input::remove_tags_from_resource_input::Builder {
crate::input::remove_tags_from_resource_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RemoveTagsFromResource {
type Output = std::result::Result<
crate::output::RemoveTagsFromResourceOutput,
crate::error::RemoveTagsFromResourceError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_remove_tags_from_resource_error(response)
} else {
crate::operation_deser::parse_remove_tags_from_resource_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ResetCache {
_private: (),
}
impl ResetCache {
pub fn builder() -> crate::input::reset_cache_input::Builder {
crate::input::reset_cache_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ResetCache {
type Output =
std::result::Result<crate::output::ResetCacheOutput, crate::error::ResetCacheError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_reset_cache_error(response)
} else {
crate::operation_deser::parse_reset_cache_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RetrieveTapeArchive {
_private: (),
}
impl RetrieveTapeArchive {
pub fn builder() -> crate::input::retrieve_tape_archive_input::Builder {
crate::input::retrieve_tape_archive_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RetrieveTapeArchive {
type Output = std::result::Result<
crate::output::RetrieveTapeArchiveOutput,
crate::error::RetrieveTapeArchiveError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_retrieve_tape_archive_error(response)
} else {
crate::operation_deser::parse_retrieve_tape_archive_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct RetrieveTapeRecoveryPoint {
_private: (),
}
impl RetrieveTapeRecoveryPoint {
pub fn builder() -> crate::input::retrieve_tape_recovery_point_input::Builder {
crate::input::retrieve_tape_recovery_point_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for RetrieveTapeRecoveryPoint {
type Output = std::result::Result<
crate::output::RetrieveTapeRecoveryPointOutput,
crate::error::RetrieveTapeRecoveryPointError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_retrieve_tape_recovery_point_error(response)
} else {
crate::operation_deser::parse_retrieve_tape_recovery_point_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SetLocalConsolePassword {
_private: (),
}
impl SetLocalConsolePassword {
pub fn builder() -> crate::input::set_local_console_password_input::Builder {
crate::input::set_local_console_password_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SetLocalConsolePassword {
type Output = std::result::Result<
crate::output::SetLocalConsolePasswordOutput,
crate::error::SetLocalConsolePasswordError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_set_local_console_password_error(response)
} else {
crate::operation_deser::parse_set_local_console_password_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct SetSMBGuestPassword {
_private: (),
}
impl SetSMBGuestPassword {
pub fn builder() -> crate::input::set_smb_guest_password_input::Builder {
crate::input::set_smb_guest_password_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for SetSMBGuestPassword {
type Output = std::result::Result<
crate::output::SetSmbGuestPasswordOutput,
crate::error::SetSMBGuestPasswordError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_set_smb_guest_password_error(response)
} else {
crate::operation_deser::parse_set_smb_guest_password_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct ShutdownGateway {
_private: (),
}
impl ShutdownGateway {
pub fn builder() -> crate::input::shutdown_gateway_input::Builder {
crate::input::shutdown_gateway_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for ShutdownGateway {
type Output = std::result::Result<
crate::output::ShutdownGatewayOutput,
crate::error::ShutdownGatewayError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_shutdown_gateway_error(response)
} else {
crate::operation_deser::parse_shutdown_gateway_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct StartAvailabilityMonitorTest {
_private: (),
}
impl StartAvailabilityMonitorTest {
pub fn builder() -> crate::input::start_availability_monitor_test_input::Builder {
crate::input::start_availability_monitor_test_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for StartAvailabilityMonitorTest {
type Output = std::result::Result<
crate::output::StartAvailabilityMonitorTestOutput,
crate::error::StartAvailabilityMonitorTestError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_start_availability_monitor_test_error(response)
} else {
crate::operation_deser::parse_start_availability_monitor_test_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct StartGateway {
_private: (),
}
impl StartGateway {
pub fn builder() -> crate::input::start_gateway_input::Builder {
crate::input::start_gateway_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for StartGateway {
type Output =
std::result::Result<crate::output::StartGatewayOutput, crate::error::StartGatewayError>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_start_gateway_error(response)
} else {
crate::operation_deser::parse_start_gateway_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateAutomaticTapeCreationPolicy {
_private: (),
}
impl UpdateAutomaticTapeCreationPolicy {
pub fn builder() -> crate::input::update_automatic_tape_creation_policy_input::Builder {
crate::input::update_automatic_tape_creation_policy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateAutomaticTapeCreationPolicy {
type Output = std::result::Result<
crate::output::UpdateAutomaticTapeCreationPolicyOutput,
crate::error::UpdateAutomaticTapeCreationPolicyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_automatic_tape_creation_policy_error(response)
} else {
crate::operation_deser::parse_update_automatic_tape_creation_policy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateBandwidthRateLimit {
_private: (),
}
impl UpdateBandwidthRateLimit {
pub fn builder() -> crate::input::update_bandwidth_rate_limit_input::Builder {
crate::input::update_bandwidth_rate_limit_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateBandwidthRateLimit {
type Output = std::result::Result<
crate::output::UpdateBandwidthRateLimitOutput,
crate::error::UpdateBandwidthRateLimitError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_bandwidth_rate_limit_error(response)
} else {
crate::operation_deser::parse_update_bandwidth_rate_limit_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateBandwidthRateLimitSchedule {
_private: (),
}
impl UpdateBandwidthRateLimitSchedule {
pub fn builder() -> crate::input::update_bandwidth_rate_limit_schedule_input::Builder {
crate::input::update_bandwidth_rate_limit_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateBandwidthRateLimitSchedule {
type Output = std::result::Result<
crate::output::UpdateBandwidthRateLimitScheduleOutput,
crate::error::UpdateBandwidthRateLimitScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_bandwidth_rate_limit_schedule_error(response)
} else {
crate::operation_deser::parse_update_bandwidth_rate_limit_schedule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateChapCredentials {
_private: (),
}
impl UpdateChapCredentials {
pub fn builder() -> crate::input::update_chap_credentials_input::Builder {
crate::input::update_chap_credentials_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateChapCredentials {
type Output = std::result::Result<
crate::output::UpdateChapCredentialsOutput,
crate::error::UpdateChapCredentialsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_chap_credentials_error(response)
} else {
crate::operation_deser::parse_update_chap_credentials_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateFileSystemAssociation {
_private: (),
}
impl UpdateFileSystemAssociation {
pub fn builder() -> crate::input::update_file_system_association_input::Builder {
crate::input::update_file_system_association_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateFileSystemAssociation {
type Output = std::result::Result<
crate::output::UpdateFileSystemAssociationOutput,
crate::error::UpdateFileSystemAssociationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_file_system_association_error(response)
} else {
crate::operation_deser::parse_update_file_system_association_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateGatewayInformation {
_private: (),
}
impl UpdateGatewayInformation {
pub fn builder() -> crate::input::update_gateway_information_input::Builder {
crate::input::update_gateway_information_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateGatewayInformation {
type Output = std::result::Result<
crate::output::UpdateGatewayInformationOutput,
crate::error::UpdateGatewayInformationError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_gateway_information_error(response)
} else {
crate::operation_deser::parse_update_gateway_information_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateGatewaySoftwareNow {
_private: (),
}
impl UpdateGatewaySoftwareNow {
pub fn builder() -> crate::input::update_gateway_software_now_input::Builder {
crate::input::update_gateway_software_now_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateGatewaySoftwareNow {
type Output = std::result::Result<
crate::output::UpdateGatewaySoftwareNowOutput,
crate::error::UpdateGatewaySoftwareNowError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_gateway_software_now_error(response)
} else {
crate::operation_deser::parse_update_gateway_software_now_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateMaintenanceStartTime {
_private: (),
}
impl UpdateMaintenanceStartTime {
pub fn builder() -> crate::input::update_maintenance_start_time_input::Builder {
crate::input::update_maintenance_start_time_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateMaintenanceStartTime {
type Output = std::result::Result<
crate::output::UpdateMaintenanceStartTimeOutput,
crate::error::UpdateMaintenanceStartTimeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_maintenance_start_time_error(response)
} else {
crate::operation_deser::parse_update_maintenance_start_time_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateNFSFileShare {
_private: (),
}
impl UpdateNFSFileShare {
pub fn builder() -> crate::input::update_nfs_file_share_input::Builder {
crate::input::update_nfs_file_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateNFSFileShare {
type Output = std::result::Result<
crate::output::UpdateNfsFileShareOutput,
crate::error::UpdateNFSFileShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_nfs_file_share_error(response)
} else {
crate::operation_deser::parse_update_nfs_file_share_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateSMBFileShare {
_private: (),
}
impl UpdateSMBFileShare {
pub fn builder() -> crate::input::update_smb_file_share_input::Builder {
crate::input::update_smb_file_share_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSMBFileShare {
type Output = std::result::Result<
crate::output::UpdateSmbFileShareOutput,
crate::error::UpdateSMBFileShareError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_smb_file_share_error(response)
} else {
crate::operation_deser::parse_update_smb_file_share_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateSMBFileShareVisibility {
_private: (),
}
impl UpdateSMBFileShareVisibility {
pub fn builder() -> crate::input::update_smb_file_share_visibility_input::Builder {
crate::input::update_smb_file_share_visibility_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSMBFileShareVisibility {
type Output = std::result::Result<
crate::output::UpdateSmbFileShareVisibilityOutput,
crate::error::UpdateSMBFileShareVisibilityError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_smb_file_share_visibility_error(response)
} else {
crate::operation_deser::parse_update_smb_file_share_visibility_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateSMBLocalGroups {
_private: (),
}
impl UpdateSMBLocalGroups {
pub fn builder() -> crate::input::update_smb_local_groups_input::Builder {
crate::input::update_smb_local_groups_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSMBLocalGroups {
type Output = std::result::Result<
crate::output::UpdateSmbLocalGroupsOutput,
crate::error::UpdateSMBLocalGroupsError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_smb_local_groups_error(response)
} else {
crate::operation_deser::parse_update_smb_local_groups_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateSMBSecurityStrategy {
_private: (),
}
impl UpdateSMBSecurityStrategy {
pub fn builder() -> crate::input::update_smb_security_strategy_input::Builder {
crate::input::update_smb_security_strategy_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSMBSecurityStrategy {
type Output = std::result::Result<
crate::output::UpdateSmbSecurityStrategyOutput,
crate::error::UpdateSMBSecurityStrategyError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_smb_security_strategy_error(response)
} else {
crate::operation_deser::parse_update_smb_security_strategy_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateSnapshotSchedule {
_private: (),
}
impl UpdateSnapshotSchedule {
pub fn builder() -> crate::input::update_snapshot_schedule_input::Builder {
crate::input::update_snapshot_schedule_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateSnapshotSchedule {
type Output = std::result::Result<
crate::output::UpdateSnapshotScheduleOutput,
crate::error::UpdateSnapshotScheduleError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_snapshot_schedule_error(response)
} else {
crate::operation_deser::parse_update_snapshot_schedule_response(response)
}
}
}
#[derive(std::clone::Clone, std::default::Default, std::fmt::Debug)]
pub struct UpdateVTLDeviceType {
_private: (),
}
impl UpdateVTLDeviceType {
pub fn builder() -> crate::input::update_vtl_device_type_input::Builder {
crate::input::update_vtl_device_type_input::Builder::default()
}
pub fn new() -> Self {
Self { _private: () }
}
}
impl aws_smithy_http::response::ParseStrictResponse for UpdateVTLDeviceType {
type Output = std::result::Result<
crate::output::UpdateVtlDeviceTypeOutput,
crate::error::UpdateVTLDeviceTypeError,
>;
fn parse(&self, response: &http::Response<bytes::Bytes>) -> Self::Output {
if !response.status().is_success() && response.status().as_u16() != 200 {
crate::operation_deser::parse_update_vtl_device_type_error(response)
} else {
crate::operation_deser::parse_update_vtl_device_type_response(response)
}
}
}
pub mod customize;