aws-sdk-storagegateway 1.70.0

AWS SDK for AWS Storage Gateway
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub(crate) fn type_erase_result<O, E>(
    result: ::std::result::Result<O, E>,
) -> ::std::result::Result<
    ::aws_smithy_runtime_api::client::interceptors::context::Output,
    ::aws_smithy_runtime_api::client::orchestrator::OrchestratorError<::aws_smithy_runtime_api::client::interceptors::context::Error>,
>
where
    O: ::std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
    E: ::std::error::Error + std::fmt::Debug + ::std::marker::Send + ::std::marker::Sync + 'static,
{
    result
        .map(|output| ::aws_smithy_runtime_api::client::interceptors::context::Output::erase(output))
        .map_err(|error| ::aws_smithy_runtime_api::client::interceptors::context::Error::erase(error))
        .map_err(::std::convert::Into::into)
}

pub fn parse_http_error_metadata(
    _response_status: u16,
    response_headers: &::aws_smithy_runtime_api::http::Headers,
    response_body: &[u8],
) -> ::std::result::Result<::aws_smithy_types::error::metadata::Builder, ::aws_smithy_json::deserialize::error::DeserializeError> {
    crate::json_errors::parse_error_metadata(response_body, response_headers)
}

pub(crate) mod shape_activate_gateway;

pub(crate) mod shape_add_cache;

pub(crate) mod shape_add_tags_to_resource;

pub(crate) mod shape_add_upload_buffer;

pub(crate) mod shape_add_working_storage;

pub(crate) mod shape_assign_tape_pool;

pub(crate) mod shape_associate_file_system;

pub(crate) mod shape_attach_volume;

pub(crate) mod shape_cancel_archival;

pub(crate) mod shape_cancel_cache_report;

pub(crate) mod shape_cancel_retrieval;

pub(crate) mod shape_create_cachedi_scsi_volume;

pub(crate) mod shape_create_nfs_file_share;

pub(crate) mod shape_create_smb_file_share;

pub(crate) mod shape_create_snapshot;

pub(crate) mod shape_create_snapshot_from_volume_recovery_point;

pub(crate) mod shape_create_storedi_scsi_volume;

pub(crate) mod shape_create_tape_pool;

pub(crate) mod shape_create_tape_with_barcode;

pub(crate) mod shape_create_tapes;

pub(crate) mod shape_delete_automatic_tape_creation_policy;

pub(crate) mod shape_delete_bandwidth_rate_limit;

pub(crate) mod shape_delete_cache_report;

pub(crate) mod shape_delete_chap_credentials;

pub(crate) mod shape_delete_file_share;

pub(crate) mod shape_delete_gateway;

pub(crate) mod shape_delete_snapshot_schedule;

pub(crate) mod shape_delete_tape;

pub(crate) mod shape_delete_tape_archive;

pub(crate) mod shape_delete_tape_pool;

pub(crate) mod shape_delete_volume;

pub(crate) mod shape_describe_availability_monitor_test;

pub(crate) mod shape_describe_bandwidth_rate_limit;

pub(crate) mod shape_describe_bandwidth_rate_limit_schedule;

pub(crate) mod shape_describe_cache;

pub(crate) mod shape_describe_cache_report;

pub(crate) mod shape_describe_cachedi_scsi_volumes;

pub(crate) mod shape_describe_chap_credentials;

pub(crate) mod shape_describe_file_system_associations;

pub(crate) mod shape_describe_gateway_information;

pub(crate) mod shape_describe_maintenance_start_time;

pub(crate) mod shape_describe_nfs_file_shares;

pub(crate) mod shape_describe_smb_file_shares;

pub(crate) mod shape_describe_smb_settings;

pub(crate) mod shape_describe_snapshot_schedule;

pub(crate) mod shape_describe_storedi_scsi_volumes;

pub(crate) mod shape_describe_tape_archives;

pub(crate) mod shape_describe_tape_recovery_points;

pub(crate) mod shape_describe_tapes;

pub(crate) mod shape_describe_upload_buffer;

pub(crate) mod shape_describe_vtl_devices;

pub(crate) mod shape_describe_working_storage;

pub(crate) mod shape_detach_volume;

pub(crate) mod shape_disable_gateway;

pub(crate) mod shape_disassociate_file_system;

pub(crate) mod shape_evict_files_failing_upload;

pub(crate) mod shape_join_domain;

pub(crate) mod shape_list_automatic_tape_creation_policies;

pub(crate) mod shape_list_cache_reports;

pub(crate) mod shape_list_file_shares;

pub(crate) mod shape_list_file_system_associations;

pub(crate) mod shape_list_gateways;

pub(crate) mod shape_list_local_disks;

pub(crate) mod shape_list_tags_for_resource;

pub(crate) mod shape_list_tape_pools;

pub(crate) mod shape_list_tapes;

pub(crate) mod shape_list_volume_initiators;

pub(crate) mod shape_list_volume_recovery_points;

pub(crate) mod shape_list_volumes;

pub(crate) mod shape_notify_when_uploaded;

pub(crate) mod shape_refresh_cache;

pub(crate) mod shape_remove_tags_from_resource;

pub(crate) mod shape_reset_cache;

pub(crate) mod shape_retrieve_tape_archive;

pub(crate) mod shape_retrieve_tape_recovery_point;

pub(crate) mod shape_set_local_console_password;

pub(crate) mod shape_set_smb_guest_password;

pub(crate) mod shape_shutdown_gateway;

pub(crate) mod shape_start_availability_monitor_test;

pub(crate) mod shape_start_cache_report;

pub(crate) mod shape_start_gateway;

pub(crate) mod shape_update_automatic_tape_creation_policy;

pub(crate) mod shape_update_bandwidth_rate_limit;

pub(crate) mod shape_update_bandwidth_rate_limit_schedule;

pub(crate) mod shape_update_chap_credentials;

pub(crate) mod shape_update_file_system_association;

pub(crate) mod shape_update_gateway_information;

pub(crate) mod shape_update_gateway_software_now;

pub(crate) mod shape_update_maintenance_start_time;

pub(crate) mod shape_update_nfs_file_share;

pub(crate) mod shape_update_smb_file_share;

pub(crate) mod shape_update_smb_file_share_visibility;

pub(crate) mod shape_update_smb_local_groups;

pub(crate) mod shape_update_smb_security_strategy;

pub(crate) mod shape_update_snapshot_schedule;

pub(crate) mod shape_update_vtl_device_type;

pub(crate) fn or_empty_doc(data: &[u8]) -> &[u8] {
    if data.is_empty() {
        b"{}"
    } else {
        data
    }
}

pub(crate) mod shape_activate_gateway_input;

pub(crate) mod shape_add_cache_input;

pub(crate) mod shape_add_tags_to_resource_input;

pub(crate) mod shape_add_upload_buffer_input;

pub(crate) mod shape_add_working_storage_input;

pub(crate) mod shape_assign_tape_pool_input;

pub(crate) mod shape_associate_file_system_input;

pub(crate) mod shape_attach_volume_input;

pub(crate) mod shape_cancel_archival_input;

pub(crate) mod shape_cancel_cache_report_input;

pub(crate) mod shape_cancel_retrieval_input;

pub(crate) mod shape_create_cachedi_scsi_volume_input;

pub(crate) mod shape_create_nfs_file_share_input;

pub(crate) mod shape_create_smb_file_share_input;

pub(crate) mod shape_create_snapshot_from_volume_recovery_point_input;

pub(crate) mod shape_create_snapshot_input;

pub(crate) mod shape_create_storedi_scsi_volume_input;

pub(crate) mod shape_create_tape_pool_input;

pub(crate) mod shape_create_tape_with_barcode_input;

pub(crate) mod shape_create_tapes_input;

pub(crate) mod shape_delete_automatic_tape_creation_policy_input;

pub(crate) mod shape_delete_bandwidth_rate_limit_input;

pub(crate) mod shape_delete_cache_report_input;

pub(crate) mod shape_delete_chap_credentials_input;

pub(crate) mod shape_delete_file_share_input;

pub(crate) mod shape_delete_gateway_input;

pub(crate) mod shape_delete_snapshot_schedule_input;

pub(crate) mod shape_delete_tape_archive_input;

pub(crate) mod shape_delete_tape_input;

pub(crate) mod shape_delete_tape_pool_input;

pub(crate) mod shape_delete_volume_input;

pub(crate) mod shape_describe_availability_monitor_test_input;

pub(crate) mod shape_describe_bandwidth_rate_limit_input;

pub(crate) mod shape_describe_bandwidth_rate_limit_schedule_input;

pub(crate) mod shape_describe_cache_input;

pub(crate) mod shape_describe_cache_report_input;

pub(crate) mod shape_describe_cachedi_scsi_volumes_input;

pub(crate) mod shape_describe_chap_credentials_input;

pub(crate) mod shape_describe_file_system_associations_input;

pub(crate) mod shape_describe_gateway_information_input;

pub(crate) mod shape_describe_maintenance_start_time_input;

pub(crate) mod shape_describe_nfs_file_shares_input;

pub(crate) mod shape_describe_smb_file_shares_input;

pub(crate) mod shape_describe_smb_settings_input;

pub(crate) mod shape_describe_snapshot_schedule_input;

pub(crate) mod shape_describe_storedi_scsi_volumes_input;

pub(crate) mod shape_describe_tape_archives_input;

pub(crate) mod shape_describe_tape_recovery_points_input;

pub(crate) mod shape_describe_tapes_input;

pub(crate) mod shape_describe_upload_buffer_input;

pub(crate) mod shape_describe_vtl_devices_input;

pub(crate) mod shape_describe_working_storage_input;

pub(crate) mod shape_detach_volume_input;

pub(crate) mod shape_disable_gateway_input;

pub(crate) mod shape_disassociate_file_system_input;

pub(crate) mod shape_evict_files_failing_upload_input;

pub(crate) mod shape_internal_server_error;

pub(crate) mod shape_invalid_gateway_request_exception;

pub(crate) mod shape_join_domain_input;

pub(crate) mod shape_list_automatic_tape_creation_policies_input;

pub(crate) mod shape_list_cache_reports_input;

pub(crate) mod shape_list_file_shares_input;

pub(crate) mod shape_list_file_system_associations_input;

pub(crate) mod shape_list_gateways_input;

pub(crate) mod shape_list_local_disks_input;

pub(crate) mod shape_list_tags_for_resource_input;

pub(crate) mod shape_list_tape_pools_input;

pub(crate) mod shape_list_tapes_input;

pub(crate) mod shape_list_volume_initiators_input;

pub(crate) mod shape_list_volume_recovery_points_input;

pub(crate) mod shape_list_volumes_input;

pub(crate) mod shape_notify_when_uploaded_input;

pub(crate) mod shape_refresh_cache_input;

pub(crate) mod shape_remove_tags_from_resource_input;

pub(crate) mod shape_reset_cache_input;

pub(crate) mod shape_retrieve_tape_archive_input;

pub(crate) mod shape_retrieve_tape_recovery_point_input;

pub(crate) mod shape_service_unavailable_error;

pub(crate) mod shape_set_local_console_password_input;

pub(crate) mod shape_set_smb_guest_password_input;

pub(crate) mod shape_shutdown_gateway_input;

pub(crate) mod shape_start_availability_monitor_test_input;

pub(crate) mod shape_start_cache_report_input;

pub(crate) mod shape_start_gateway_input;

pub(crate) mod shape_update_automatic_tape_creation_policy_input;

pub(crate) mod shape_update_bandwidth_rate_limit_input;

pub(crate) mod shape_update_bandwidth_rate_limit_schedule_input;

pub(crate) mod shape_update_chap_credentials_input;

pub(crate) mod shape_update_file_system_association_input;

pub(crate) mod shape_update_gateway_information_input;

pub(crate) mod shape_update_gateway_software_now_input;

pub(crate) mod shape_update_maintenance_start_time_input;

pub(crate) mod shape_update_nfs_file_share_input;

pub(crate) mod shape_update_smb_file_share_input;

pub(crate) mod shape_update_smb_file_share_visibility_input;

pub(crate) mod shape_update_smb_local_groups_input;

pub(crate) mod shape_update_smb_security_strategy_input;

pub(crate) mod shape_update_snapshot_schedule_input;

pub(crate) mod shape_update_vtl_device_type_input;

pub(crate) mod shape_automatic_tape_creation_policy_infos;

pub(crate) mod shape_automatic_tape_creation_rule;

pub(crate) mod shape_bandwidth_rate_limit_interval;

pub(crate) mod shape_bandwidth_rate_limit_intervals;

pub(crate) mod shape_cache_attributes;

pub(crate) mod shape_cache_report_filter;

pub(crate) mod shape_cache_report_info;

pub(crate) mod shape_cache_report_list;

pub(crate) mod shape_cachedi_scsi_volumes;

pub(crate) mod shape_chap_credentials;

pub(crate) mod shape_disk_ids;

pub(crate) mod shape_disks;

pub(crate) mod shape_endpoint_network_configuration;

pub(crate) mod shape_file_share_info_list;

pub(crate) mod shape_file_system_association_info_list;

pub(crate) mod shape_file_system_association_summary_list;

pub(crate) mod shape_gateway_network_interfaces;

pub(crate) mod shape_gateways;

pub(crate) mod shape_initiators;

pub(crate) mod shape_nfs_file_share_defaults;

pub(crate) mod shape_nfs_file_share_info_list;

pub(crate) mod shape_pool_infos;

pub(crate) mod shape_smb_file_share_info_list;

pub(crate) mod shape_smb_local_groups;

pub(crate) mod shape_software_update_preferences;

pub(crate) mod shape_storage_gateway_error;

pub(crate) mod shape_storedi_scsi_volumes;

pub(crate) mod shape_supported_gateway_capacities;

pub(crate) mod shape_tag;

pub(crate) mod shape_tags;

pub(crate) mod shape_tape_archives;

pub(crate) mod shape_tape_arns;

pub(crate) mod shape_tape_infos;

pub(crate) mod shape_tape_recovery_point_infos;

pub(crate) mod shape_tapes;

pub(crate) mod shape_volume_infos;

pub(crate) mod shape_volume_recovery_point_infos;

pub(crate) mod shape_vtl_devices;

pub(crate) mod shape_automatic_tape_creation_policy_info;

pub(crate) mod shape_cache_report_filter_list;

pub(crate) mod shape_cachedi_scsi_volume;

pub(crate) mod shape_chap_info;

pub(crate) mod shape_disk;

pub(crate) mod shape_error_details;

pub(crate) mod shape_file_share_info;

pub(crate) mod shape_file_system_association_info;

pub(crate) mod shape_file_system_association_summary;

pub(crate) mod shape_gateway_info;

pub(crate) mod shape_network_interface;

pub(crate) mod shape_nfs_file_share_info;

pub(crate) mod shape_pool_info;

pub(crate) mod shape_smb_file_share_info;

pub(crate) mod shape_storedi_scsi_volume;

pub(crate) mod shape_tape;

pub(crate) mod shape_tape_archive;

pub(crate) mod shape_tape_info;

pub(crate) mod shape_tape_recovery_point_info;

pub(crate) mod shape_user_list;

pub(crate) mod shape_volume_info;

pub(crate) mod shape_volume_recovery_point_info;

pub(crate) mod shape_vtl_device;

pub(crate) mod shape_automatic_tape_creation_rules;

pub(crate) mod shape_days_of_week;

pub(crate) mod shape_devicei_scsi_attributes;

pub(crate) mod shape_disk_attribute_list;

pub(crate) mod shape_file_share_client_list;

pub(crate) mod shape_file_system_association_status_details;

pub(crate) mod shape_volumei_scsi_attributes;

pub(crate) mod shape_cache_report_filter_values;

pub(crate) mod shape_file_system_association_status_detail;

pub(crate) mod shape_ip_address_list;