aws-sdk-storagegateway 1.45.0 → 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,6 +66,8 @@ module Aws::StorageGateway
66
66
  CreateSnapshotOutput = Shapes::StructureShape.new(name: 'CreateSnapshotOutput')
67
67
  CreateStorediSCSIVolumeInput = Shapes::StructureShape.new(name: 'CreateStorediSCSIVolumeInput')
68
68
  CreateStorediSCSIVolumeOutput = Shapes::StructureShape.new(name: 'CreateStorediSCSIVolumeOutput')
69
+ CreateTapePoolInput = Shapes::StructureShape.new(name: 'CreateTapePoolInput')
70
+ CreateTapePoolOutput = Shapes::StructureShape.new(name: 'CreateTapePoolOutput')
69
71
  CreateTapeWithBarcodeInput = Shapes::StructureShape.new(name: 'CreateTapeWithBarcodeInput')
70
72
  CreateTapeWithBarcodeOutput = Shapes::StructureShape.new(name: 'CreateTapeWithBarcodeOutput')
71
73
  CreateTapesInput = Shapes::StructureShape.new(name: 'CreateTapesInput')
@@ -89,8 +91,11 @@ module Aws::StorageGateway
89
91
  DeleteTapeArchiveOutput = Shapes::StructureShape.new(name: 'DeleteTapeArchiveOutput')
90
92
  DeleteTapeInput = Shapes::StructureShape.new(name: 'DeleteTapeInput')
91
93
  DeleteTapeOutput = Shapes::StructureShape.new(name: 'DeleteTapeOutput')
94
+ DeleteTapePoolInput = Shapes::StructureShape.new(name: 'DeleteTapePoolInput')
95
+ DeleteTapePoolOutput = Shapes::StructureShape.new(name: 'DeleteTapePoolOutput')
92
96
  DeleteVolumeInput = Shapes::StructureShape.new(name: 'DeleteVolumeInput')
93
97
  DeleteVolumeOutput = Shapes::StructureShape.new(name: 'DeleteVolumeOutput')
98
+ DeprecationDate = Shapes::StringShape.new(name: 'DeprecationDate')
94
99
  DescribeAvailabilityMonitorTestInput = Shapes::StructureShape.new(name: 'DescribeAvailabilityMonitorTestInput')
95
100
  DescribeAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'DescribeAvailabilityMonitorTestOutput')
96
101
  DescribeBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DescribeBandwidthRateLimitInput')
@@ -196,6 +201,8 @@ module Aws::StorageGateway
196
201
  ListLocalDisksOutput = Shapes::StructureShape.new(name: 'ListLocalDisksOutput')
197
202
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
198
203
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
204
+ ListTapePoolsInput = Shapes::StructureShape.new(name: 'ListTapePoolsInput')
205
+ ListTapePoolsOutput = Shapes::StructureShape.new(name: 'ListTapePoolsOutput')
199
206
  ListTapesInput = Shapes::StructureShape.new(name: 'ListTapesInput')
200
207
  ListTapesOutput = Shapes::StructureShape.new(name: 'ListTapesOutput')
201
208
  ListVolumeInitiatorsInput = Shapes::StructureShape.new(name: 'ListVolumeInitiatorsInput')
@@ -225,7 +232,13 @@ module Aws::StorageGateway
225
232
  Path = Shapes::StringShape.new(name: 'Path')
226
233
  PermissionId = Shapes::IntegerShape.new(name: 'PermissionId')
227
234
  PermissionMode = Shapes::StringShape.new(name: 'PermissionMode')
235
+ PoolARN = Shapes::StringShape.new(name: 'PoolARN')
236
+ PoolARNs = Shapes::ListShape.new(name: 'PoolARNs')
228
237
  PoolId = Shapes::StringShape.new(name: 'PoolId')
238
+ PoolInfo = Shapes::StructureShape.new(name: 'PoolInfo')
239
+ PoolInfos = Shapes::ListShape.new(name: 'PoolInfos')
240
+ PoolName = Shapes::StringShape.new(name: 'PoolName')
241
+ PoolStatus = Shapes::StringShape.new(name: 'PoolStatus')
229
242
  PositiveIntObject = Shapes::IntegerShape.new(name: 'PositiveIntObject')
230
243
  RecurrenceInHours = Shapes::IntegerShape.new(name: 'RecurrenceInHours')
231
244
  RefreshCacheInput = Shapes::StructureShape.new(name: 'RefreshCacheInput')
@@ -236,6 +249,8 @@ module Aws::StorageGateway
236
249
  ResetCacheInput = Shapes::StructureShape.new(name: 'ResetCacheInput')
237
250
  ResetCacheOutput = Shapes::StructureShape.new(name: 'ResetCacheOutput')
238
251
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
252
+ RetentionLockTimeInDays = Shapes::IntegerShape.new(name: 'RetentionLockTimeInDays')
253
+ RetentionLockType = Shapes::StringShape.new(name: 'RetentionLockType')
239
254
  RetrieveTapeArchiveInput = Shapes::StructureShape.new(name: 'RetrieveTapeArchiveInput')
240
255
  RetrieveTapeArchiveOutput = Shapes::StructureShape.new(name: 'RetrieveTapeArchiveOutput')
241
256
  RetrieveTapeRecoveryPointInput = Shapes::StructureShape.new(name: 'RetrieveTapeRecoveryPointInput')
@@ -254,6 +269,7 @@ module Aws::StorageGateway
254
269
  ShutdownGatewayOutput = Shapes::StructureShape.new(name: 'ShutdownGatewayOutput')
255
270
  SnapshotDescription = Shapes::StringShape.new(name: 'SnapshotDescription')
256
271
  SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
272
+ SoftwareUpdatesEndDate = Shapes::StringShape.new(name: 'SoftwareUpdatesEndDate')
257
273
  Squash = Shapes::StringShape.new(name: 'Squash')
258
274
  StartAvailabilityMonitorTestInput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestInput')
259
275
  StartAvailabilityMonitorTestOutput = Shapes::StructureShape.new(name: 'StartAvailabilityMonitorTestOutput')
@@ -284,6 +300,7 @@ module Aws::StorageGateway
284
300
  TapeRecoveryPointStatus = Shapes::StringShape.new(name: 'TapeRecoveryPointStatus')
285
301
  TapeSize = Shapes::IntegerShape.new(name: 'TapeSize')
286
302
  TapeStatus = Shapes::StringShape.new(name: 'TapeStatus')
303
+ TapeStorageClass = Shapes::StringShape.new(name: 'TapeStorageClass')
287
304
  TapeUsage = Shapes::IntegerShape.new(name: 'TapeUsage')
288
305
  Tapes = Shapes::ListShape.new(name: 'Tapes')
289
306
  TargetARN = Shapes::StringShape.new(name: 'TargetARN')
@@ -381,6 +398,7 @@ module Aws::StorageGateway
381
398
 
382
399
  AssignTapePoolInput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, required: true, location_name: "TapeARN"))
383
400
  AssignTapePoolInput.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, required: true, location_name: "PoolId"))
401
+ AssignTapePoolInput.add_member(:bypass_governance_retention, Shapes::ShapeRef.new(shape: boolean, location_name: "BypassGovernanceRetention"))
384
402
  AssignTapePoolInput.struct_class = Types::AssignTapePoolInput
385
403
 
386
404
  AssignTapePoolOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
@@ -407,6 +425,7 @@ module Aws::StorageGateway
407
425
  AutomaticTapeCreationRule.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, required: true, location_name: "PoolId"))
408
426
  AutomaticTapeCreationRule.add_member(:tape_size_in_bytes, Shapes::ShapeRef.new(shape: TapeSize, required: true, location_name: "TapeSizeInBytes"))
409
427
  AutomaticTapeCreationRule.add_member(:minimum_num_tapes, Shapes::ShapeRef.new(shape: MinimumNumTapes, required: true, location_name: "MinimumNumTapes"))
428
+ AutomaticTapeCreationRule.add_member(:worm, Shapes::ShapeRef.new(shape: boolean, location_name: "Worm"))
410
429
  AutomaticTapeCreationRule.struct_class = Types::AutomaticTapeCreationRule
411
430
 
412
431
  AutomaticTapeCreationRules.member = Shapes::ShapeRef.new(shape: AutomaticTapeCreationRule)
@@ -552,12 +571,23 @@ module Aws::StorageGateway
552
571
  CreateStorediSCSIVolumeOutput.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "TargetARN"))
553
572
  CreateStorediSCSIVolumeOutput.struct_class = Types::CreateStorediSCSIVolumeOutput
554
573
 
574
+ CreateTapePoolInput.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, required: true, location_name: "PoolName"))
575
+ CreateTapePoolInput.add_member(:storage_class, Shapes::ShapeRef.new(shape: TapeStorageClass, required: true, location_name: "StorageClass"))
576
+ CreateTapePoolInput.add_member(:retention_lock_type, Shapes::ShapeRef.new(shape: RetentionLockType, location_name: "RetentionLockType"))
577
+ CreateTapePoolInput.add_member(:retention_lock_time_in_days, Shapes::ShapeRef.new(shape: RetentionLockTimeInDays, location_name: "RetentionLockTimeInDays"))
578
+ CreateTapePoolInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
579
+ CreateTapePoolInput.struct_class = Types::CreateTapePoolInput
580
+
581
+ CreateTapePoolOutput.add_member(:pool_arn, Shapes::ShapeRef.new(shape: PoolARN, location_name: "PoolARN"))
582
+ CreateTapePoolOutput.struct_class = Types::CreateTapePoolOutput
583
+
555
584
  CreateTapeWithBarcodeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
556
585
  CreateTapeWithBarcodeInput.add_member(:tape_size_in_bytes, Shapes::ShapeRef.new(shape: TapeSize, required: true, location_name: "TapeSizeInBytes"))
557
586
  CreateTapeWithBarcodeInput.add_member(:tape_barcode, Shapes::ShapeRef.new(shape: TapeBarcode, required: true, location_name: "TapeBarcode"))
558
587
  CreateTapeWithBarcodeInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
559
588
  CreateTapeWithBarcodeInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
560
589
  CreateTapeWithBarcodeInput.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, location_name: "PoolId"))
590
+ CreateTapeWithBarcodeInput.add_member(:worm, Shapes::ShapeRef.new(shape: boolean, location_name: "Worm"))
561
591
  CreateTapeWithBarcodeInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
562
592
  CreateTapeWithBarcodeInput.struct_class = Types::CreateTapeWithBarcodeInput
563
593
 
@@ -572,6 +602,7 @@ module Aws::StorageGateway
572
602
  CreateTapesInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
573
603
  CreateTapesInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
574
604
  CreateTapesInput.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, location_name: "PoolId"))
605
+ CreateTapesInput.add_member(:worm, Shapes::ShapeRef.new(shape: boolean, location_name: "Worm"))
575
606
  CreateTapesInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
576
607
  CreateTapesInput.struct_class = Types::CreateTapesInput
577
608
 
@@ -619,6 +650,7 @@ module Aws::StorageGateway
619
650
  DeleteSnapshotScheduleOutput.struct_class = Types::DeleteSnapshotScheduleOutput
620
651
 
621
652
  DeleteTapeArchiveInput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, required: true, location_name: "TapeARN"))
653
+ DeleteTapeArchiveInput.add_member(:bypass_governance_retention, Shapes::ShapeRef.new(shape: boolean, location_name: "BypassGovernanceRetention"))
622
654
  DeleteTapeArchiveInput.struct_class = Types::DeleteTapeArchiveInput
623
655
 
624
656
  DeleteTapeArchiveOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
@@ -626,11 +658,18 @@ module Aws::StorageGateway
626
658
 
627
659
  DeleteTapeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
628
660
  DeleteTapeInput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, required: true, location_name: "TapeARN"))
661
+ DeleteTapeInput.add_member(:bypass_governance_retention, Shapes::ShapeRef.new(shape: boolean, location_name: "BypassGovernanceRetention"))
629
662
  DeleteTapeInput.struct_class = Types::DeleteTapeInput
630
663
 
631
664
  DeleteTapeOutput.add_member(:tape_arn, Shapes::ShapeRef.new(shape: TapeARN, location_name: "TapeARN"))
632
665
  DeleteTapeOutput.struct_class = Types::DeleteTapeOutput
633
666
 
667
+ DeleteTapePoolInput.add_member(:pool_arn, Shapes::ShapeRef.new(shape: PoolARN, required: true, location_name: "PoolARN"))
668
+ DeleteTapePoolInput.struct_class = Types::DeleteTapePoolInput
669
+
670
+ DeleteTapePoolOutput.add_member(:pool_arn, Shapes::ShapeRef.new(shape: PoolARN, location_name: "PoolARN"))
671
+ DeleteTapePoolOutput.struct_class = Types::DeleteTapePoolOutput
672
+
634
673
  DeleteVolumeInput.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, required: true, location_name: "VolumeARN"))
635
674
  DeleteVolumeInput.struct_class = Types::DeleteVolumeInput
636
675
 
@@ -696,6 +735,8 @@ module Aws::StorageGateway
696
735
  DescribeGatewayInformationOutput.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: CloudWatchLogGroupARN, location_name: "CloudWatchLogGroupARN"))
697
736
  DescribeGatewayInformationOutput.add_member(:host_environment, Shapes::ShapeRef.new(shape: HostEnvironment, location_name: "HostEnvironment"))
698
737
  DescribeGatewayInformationOutput.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
738
+ DescribeGatewayInformationOutput.add_member(:software_updates_end_date, Shapes::ShapeRef.new(shape: SoftwareUpdatesEndDate, location_name: "SoftwareUpdatesEndDate"))
739
+ DescribeGatewayInformationOutput.add_member(:deprecation_date, Shapes::ShapeRef.new(shape: DeprecationDate, location_name: "DeprecationDate"))
699
740
  DescribeGatewayInformationOutput.struct_class = Types::DescribeGatewayInformationOutput
700
741
 
701
742
  DescribeMaintenanceStartTimeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
@@ -937,6 +978,15 @@ module Aws::StorageGateway
937
978
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
938
979
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
939
980
 
981
+ ListTapePoolsInput.add_member(:pool_arns, Shapes::ShapeRef.new(shape: PoolARNs, location_name: "PoolARNs"))
982
+ ListTapePoolsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
983
+ ListTapePoolsInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntObject, location_name: "Limit"))
984
+ ListTapePoolsInput.struct_class = Types::ListTapePoolsInput
985
+
986
+ ListTapePoolsOutput.add_member(:pool_infos, Shapes::ShapeRef.new(shape: PoolInfos, location_name: "PoolInfos"))
987
+ ListTapePoolsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
988
+ ListTapePoolsOutput.struct_class = Types::ListTapePoolsOutput
989
+
940
990
  ListTapesInput.add_member(:tape_arns, Shapes::ShapeRef.new(shape: TapeARNs, location_name: "TapeARNs"))
941
991
  ListTapesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
942
992
  ListTapesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntObject, location_name: "Limit"))
@@ -1011,6 +1061,18 @@ module Aws::StorageGateway
1011
1061
  NotifyWhenUploadedOutput.add_member(:notification_id, Shapes::ShapeRef.new(shape: NotificationId, location_name: "NotificationId"))
1012
1062
  NotifyWhenUploadedOutput.struct_class = Types::NotifyWhenUploadedOutput
1013
1063
 
1064
+ PoolARNs.member = Shapes::ShapeRef.new(shape: PoolARN)
1065
+
1066
+ PoolInfo.add_member(:pool_arn, Shapes::ShapeRef.new(shape: PoolARN, location_name: "PoolARN"))
1067
+ PoolInfo.add_member(:pool_name, Shapes::ShapeRef.new(shape: PoolName, location_name: "PoolName"))
1068
+ PoolInfo.add_member(:storage_class, Shapes::ShapeRef.new(shape: TapeStorageClass, location_name: "StorageClass"))
1069
+ PoolInfo.add_member(:retention_lock_type, Shapes::ShapeRef.new(shape: RetentionLockType, location_name: "RetentionLockType"))
1070
+ PoolInfo.add_member(:retention_lock_time_in_days, Shapes::ShapeRef.new(shape: RetentionLockTimeInDays, location_name: "RetentionLockTimeInDays"))
1071
+ PoolInfo.add_member(:pool_status, Shapes::ShapeRef.new(shape: PoolStatus, location_name: "PoolStatus"))
1072
+ PoolInfo.struct_class = Types::PoolInfo
1073
+
1074
+ PoolInfos.member = Shapes::ShapeRef.new(shape: PoolInfo)
1075
+
1014
1076
  RefreshCacheInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
1015
1077
  RefreshCacheInput.add_member(:folder_list, Shapes::ShapeRef.new(shape: FolderList, location_name: "FolderList"))
1016
1078
  RefreshCacheInput.add_member(:recursive, Shapes::ShapeRef.new(shape: Boolean, location_name: "Recursive"))
@@ -1152,6 +1214,9 @@ module Aws::StorageGateway
1152
1214
  Tape.add_member(:tape_used_in_bytes, Shapes::ShapeRef.new(shape: TapeUsage, location_name: "TapeUsedInBytes"))
1153
1215
  Tape.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
1154
1216
  Tape.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, location_name: "PoolId"))
1217
+ Tape.add_member(:worm, Shapes::ShapeRef.new(shape: boolean, location_name: "Worm"))
1218
+ Tape.add_member(:retention_start_date, Shapes::ShapeRef.new(shape: Time, location_name: "RetentionStartDate"))
1219
+ Tape.add_member(:pool_entry_date, Shapes::ShapeRef.new(shape: Time, location_name: "PoolEntryDate"))
1155
1220
  Tape.struct_class = Types::Tape
1156
1221
 
1157
1222
  TapeARNs.member = Shapes::ShapeRef.new(shape: TapeARN)
@@ -1166,6 +1231,9 @@ module Aws::StorageGateway
1166
1231
  TapeArchive.add_member(:tape_used_in_bytes, Shapes::ShapeRef.new(shape: TapeUsage, location_name: "TapeUsedInBytes"))
1167
1232
  TapeArchive.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
1168
1233
  TapeArchive.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, location_name: "PoolId"))
1234
+ TapeArchive.add_member(:worm, Shapes::ShapeRef.new(shape: boolean, location_name: "Worm"))
1235
+ TapeArchive.add_member(:retention_start_date, Shapes::ShapeRef.new(shape: Time, location_name: "RetentionStartDate"))
1236
+ TapeArchive.add_member(:pool_entry_date, Shapes::ShapeRef.new(shape: Time, location_name: "PoolEntryDate"))
1169
1237
  TapeArchive.struct_class = Types::TapeArchive
1170
1238
 
1171
1239
  TapeArchives.member = Shapes::ShapeRef.new(shape: TapeArchive)
@@ -1176,6 +1244,8 @@ module Aws::StorageGateway
1176
1244
  TapeInfo.add_member(:tape_status, Shapes::ShapeRef.new(shape: TapeStatus, location_name: "TapeStatus"))
1177
1245
  TapeInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
1178
1246
  TapeInfo.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, location_name: "PoolId"))
1247
+ TapeInfo.add_member(:retention_start_date, Shapes::ShapeRef.new(shape: Time, location_name: "RetentionStartDate"))
1248
+ TapeInfo.add_member(:pool_entry_date, Shapes::ShapeRef.new(shape: Time, location_name: "PoolEntryDate"))
1179
1249
  TapeInfo.struct_class = Types::TapeInfo
1180
1250
 
1181
1251
  TapeInfos.member = Shapes::ShapeRef.new(shape: TapeInfo)
@@ -1516,6 +1586,16 @@ module Aws::StorageGateway
1516
1586
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1517
1587
  end)
1518
1588
 
1589
+ api.add_operation(:create_tape_pool, Seahorse::Model::Operation.new.tap do |o|
1590
+ o.name = "CreateTapePool"
1591
+ o.http_method = "POST"
1592
+ o.http_request_uri = "/"
1593
+ o.input = Shapes::ShapeRef.new(shape: CreateTapePoolInput)
1594
+ o.output = Shapes::ShapeRef.new(shape: CreateTapePoolOutput)
1595
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1596
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1597
+ end)
1598
+
1519
1599
  api.add_operation(:create_tape_with_barcode, Seahorse::Model::Operation.new.tap do |o|
1520
1600
  o.name = "CreateTapeWithBarcode"
1521
1601
  o.http_method = "POST"
@@ -1616,6 +1696,16 @@ module Aws::StorageGateway
1616
1696
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1617
1697
  end)
1618
1698
 
1699
+ api.add_operation(:delete_tape_pool, Seahorse::Model::Operation.new.tap do |o|
1700
+ o.name = "DeleteTapePool"
1701
+ o.http_method = "POST"
1702
+ o.http_request_uri = "/"
1703
+ o.input = Shapes::ShapeRef.new(shape: DeleteTapePoolInput)
1704
+ o.output = Shapes::ShapeRef.new(shape: DeleteTapePoolOutput)
1705
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1707
+ end)
1708
+
1619
1709
  api.add_operation(:delete_volume, Seahorse::Model::Operation.new.tap do |o|
1620
1710
  o.name = "DeleteVolume"
1621
1711
  o.http_method = "POST"
@@ -1928,6 +2018,16 @@ module Aws::StorageGateway
1928
2018
  )
1929
2019
  end)
1930
2020
 
2021
+ api.add_operation(:list_tape_pools, Seahorse::Model::Operation.new.tap do |o|
2022
+ o.name = "ListTapePools"
2023
+ o.http_method = "POST"
2024
+ o.http_request_uri = "/"
2025
+ o.input = Shapes::ShapeRef.new(shape: ListTapePoolsInput)
2026
+ o.output = Shapes::ShapeRef.new(shape: ListTapePoolsOutput)
2027
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2028
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2029
+ end)
2030
+
1931
2031
  api.add_operation(:list_tapes, Seahorse::Model::Operation.new.tap do |o|
1932
2032
  o.name = "ListTapes"
1933
2033
  o.http_method = "POST"
@@ -111,7 +111,7 @@ module Aws::StorageGateway
111
111
  # The value that indicates the type of medium changer to use for tape
112
112
  # gateway. This field is optional.
113
113
  #
114
- # Valid Values: `STK-L700` \| `AWS-Gateway-VTL`
114
+ # Valid Values: `STK-L700` \| `AWS-Gateway-VTL` \| `IBM-03584L32-0402`
115
115
  # @return [String]
116
116
  #
117
117
  # @!attribute [rw] tags
@@ -368,6 +368,7 @@ module Aws::StorageGateway
368
368
  # {
369
369
  # tape_arn: "TapeARN", # required
370
370
  # pool_id: "PoolId", # required
371
+ # bypass_governance_retention: false,
371
372
  # }
372
373
  #
373
374
  # @!attribute [rw] tape_arn
@@ -386,11 +387,23 @@ module Aws::StorageGateway
386
387
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
387
388
  # @return [String]
388
389
  #
390
+ # @!attribute [rw] bypass_governance_retention
391
+ # Set permissions to bypass governance retention. If the lock type of
392
+ # the archived tape is `Governance`, the tape's archived age is not
393
+ # older than `RetentionLockInDays`, and the user does not already have
394
+ # `BypassGovernanceRetention`, setting this to TRUE enables the user
395
+ # to bypass the retention lock. This parameter is set to true by
396
+ # default for calls from the console.
397
+ #
398
+ # Valid values: `TRUE` \| `FALSE`
399
+ # @return [Boolean]
400
+ #
389
401
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePoolInput AWS API Documentation
390
402
  #
391
403
  class AssignTapePoolInput < Struct.new(
392
404
  :tape_arn,
393
- :pool_id)
405
+ :pool_id,
406
+ :bypass_governance_retention)
394
407
  SENSITIVE = []
395
408
  include Aws::Structure
396
409
  end
@@ -517,7 +530,13 @@ module Aws::StorageGateway
517
530
  end
518
531
 
519
532
  # An automatic tape creation policy consists of automatic tape creation
520
- # rules where each rule defines when and how to create new tapes.
533
+ # rules where each rule defines when and how to create new tapes. For
534
+ # more information about automatic tape creation, see [Creating Tapes
535
+ # Automatically][1].
536
+ #
537
+ #
538
+ #
539
+ # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedCreateTapes.html#CreateTapesAutomatically
521
540
  #
522
541
  # @note When making an API call, you may pass AutomaticTapeCreationRule
523
542
  # data as a hash:
@@ -527,6 +546,7 @@ module Aws::StorageGateway
527
546
  # pool_id: "PoolId", # required
528
547
  # tape_size_in_bytes: 1, # required
529
548
  # minimum_num_tapes: 1, # required
549
+ # worm: false,
530
550
  # }
531
551
  #
532
552
  # @!attribute [rw] tape_barcode_prefix
@@ -558,16 +578,29 @@ module Aws::StorageGateway
558
578
  # The minimum number of available virtual tapes that the gateway
559
579
  # maintains at all times. If the number of tapes on the gateway goes
560
580
  # below this value, the gateway creates as many new tapes as are
561
- # needed to have `MinimumNumTapes` on the gateway.
581
+ # needed to have `MinimumNumTapes` on the gateway. For more
582
+ # information about automatic tape creation, see [Creating Tapes
583
+ # Automatically][1].
584
+ #
585
+ #
586
+ #
587
+ # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedCreateTapes.html#CreateTapesAutomatically
562
588
  # @return [Integer]
563
589
  #
590
+ # @!attribute [rw] worm
591
+ # Set to `true` to indicate that tapes are to be archived as
592
+ # write-once-read-many (WORM). Set to `false` when WORM is not enabled
593
+ # for tapes.
594
+ # @return [Boolean]
595
+ #
564
596
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AutomaticTapeCreationRule AWS API Documentation
565
597
  #
566
598
  class AutomaticTapeCreationRule < Struct.new(
567
599
  :tape_barcode_prefix,
568
600
  :pool_id,
569
601
  :tape_size_in_bytes,
570
- :minimum_num_tapes)
602
+ :minimum_num_tapes,
603
+ :worm)
571
604
  SENSITIVE = []
572
605
  include Aws::Structure
573
606
  end
@@ -606,7 +639,7 @@ module Aws::StorageGateway
606
639
  # @return [String]
607
640
  #
608
641
  # @!attribute [rw] volume_id
609
- # The unique identifier of the volume, e.g. vol-AE4B946D.
642
+ # The unique identifier of the volume, e.g., vol-AE4B946D.
610
643
  # @return [String]
611
644
  #
612
645
  # @!attribute [rw] volume_type
@@ -642,7 +675,7 @@ module Aws::StorageGateway
642
675
  #
643
676
  # @!attribute [rw] source_snapshot_id
644
677
  # If the cached volume was created from a snapshot, this field
645
- # contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this
678
+ # contains the snapshot ID used, e.g., snap-78e22663. Otherwise, this
646
679
  # field is not included.
647
680
  # @return [String]
648
681
  #
@@ -653,7 +686,7 @@ module Aws::StorageGateway
653
686
  #
654
687
  # @!attribute [rw] created_date
655
688
  # The date the volume was created. Volumes created prior to March 28,
656
- # 2017 don’t have this time stamp.
689
+ # 2017 don’t have this timestamp.
657
690
  # @return [Time]
658
691
  #
659
692
  # @!attribute [rw] volume_used_in_bytes
@@ -821,7 +854,7 @@ module Aws::StorageGateway
821
854
  #
822
855
  # @!attribute [rw] secret_to_authenticate_target
823
856
  # The secret key that the target must provide to participate in mutual
824
- # CHAP with the initiator (e.g. Windows client).
857
+ # CHAP with the initiator (e.g., Windows client).
825
858
  # @return [String]
826
859
  #
827
860
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ChapInfo AWS API Documentation
@@ -1730,6 +1763,84 @@ module Aws::StorageGateway
1730
1763
  include Aws::Structure
1731
1764
  end
1732
1765
 
1766
+ # @note When making an API call, you may pass CreateTapePoolInput
1767
+ # data as a hash:
1768
+ #
1769
+ # {
1770
+ # pool_name: "PoolName", # required
1771
+ # storage_class: "DEEP_ARCHIVE", # required, accepts DEEP_ARCHIVE, GLACIER
1772
+ # retention_lock_type: "COMPLIANCE", # accepts COMPLIANCE, GOVERNANCE, NONE
1773
+ # retention_lock_time_in_days: 1,
1774
+ # tags: [
1775
+ # {
1776
+ # key: "TagKey", # required
1777
+ # value: "TagValue", # required
1778
+ # },
1779
+ # ],
1780
+ # }
1781
+ #
1782
+ # @!attribute [rw] pool_name
1783
+ # The name of the new custom tape pool.
1784
+ # @return [String]
1785
+ #
1786
+ # @!attribute [rw] storage_class
1787
+ # The storage class that is associated with the new custom pool. When
1788
+ # you use your backup application to eject the tape, the tape is
1789
+ # archived directly into the storage class (S3 Glacier or S3 Glacier
1790
+ # Deep Archive) that corresponds to the pool.
1791
+ # @return [String]
1792
+ #
1793
+ # @!attribute [rw] retention_lock_type
1794
+ # Tape retention lock can be configured in two modes. When configured
1795
+ # in governance mode, AWS accounts with specific IAM permissions are
1796
+ # authorized to remove the tape retention lock from archived virtual
1797
+ # tapes. When configured in compliance mode, the tape retention lock
1798
+ # cannot be removed by any user, including the root AWS account.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] retention_lock_time_in_days
1802
+ # Tape retention lock time is set in days. Tape retention lock can be
1803
+ # enabled for up to 100 years (36,500 days).
1804
+ # @return [Integer]
1805
+ #
1806
+ # @!attribute [rw] tags
1807
+ # A list of up to 50 tags that can be assigned to tape pool. Each tag
1808
+ # is a key-value pair.
1809
+ #
1810
+ # <note markdown="1"> Valid characters for key and value are letters, spaces, and numbers
1811
+ # representable in UTF-8 format, and the following special characters:
1812
+ # + - = . \_ : / @. The maximum length of a tag's key is 128
1813
+ # characters, and the maximum length for a tag's value is 256.
1814
+ #
1815
+ # </note>
1816
+ # @return [Array<Types::Tag>]
1817
+ #
1818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePoolInput AWS API Documentation
1819
+ #
1820
+ class CreateTapePoolInput < Struct.new(
1821
+ :pool_name,
1822
+ :storage_class,
1823
+ :retention_lock_type,
1824
+ :retention_lock_time_in_days,
1825
+ :tags)
1826
+ SENSITIVE = []
1827
+ include Aws::Structure
1828
+ end
1829
+
1830
+ # @!attribute [rw] pool_arn
1831
+ # The unique Amazon Resource Name (ARN) that represents the custom
1832
+ # tape pool. Use the ListTapePools operation to return a list of tape
1833
+ # pools for your account and AWS Region.
1834
+ # @return [String]
1835
+ #
1836
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePoolOutput AWS API Documentation
1837
+ #
1838
+ class CreateTapePoolOutput < Struct.new(
1839
+ :pool_arn)
1840
+ SENSITIVE = []
1841
+ include Aws::Structure
1842
+ end
1843
+
1733
1844
  # CreateTapeWithBarcodeInput
1734
1845
  #
1735
1846
  # @note When making an API call, you may pass CreateTapeWithBarcodeInput
@@ -1742,6 +1853,7 @@ module Aws::StorageGateway
1742
1853
  # kms_encrypted: false,
1743
1854
  # kms_key: "KMSKey",
1744
1855
  # pool_id: "PoolId",
1856
+ # worm: false,
1745
1857
  # tags: [
1746
1858
  # {
1747
1859
  # key: "TagKey", # required
@@ -1797,6 +1909,11 @@ module Aws::StorageGateway
1797
1909
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
1798
1910
  # @return [String]
1799
1911
  #
1912
+ # @!attribute [rw] worm
1913
+ # Set to `TRUE` if the tape you are creating is to be configured as a
1914
+ # write-once-read-many (WORM) tape.
1915
+ # @return [Boolean]
1916
+ #
1800
1917
  # @!attribute [rw] tags
1801
1918
  # A list of up to 50 tags that can be assigned to a virtual tape that
1802
1919
  # has a barcode. Each tag is a key-value pair.
@@ -1818,6 +1935,7 @@ module Aws::StorageGateway
1818
1935
  :kms_encrypted,
1819
1936
  :kms_key,
1820
1937
  :pool_id,
1938
+ :worm,
1821
1939
  :tags)
1822
1940
  SENSITIVE = []
1823
1941
  include Aws::Structure
@@ -1852,6 +1970,7 @@ module Aws::StorageGateway
1852
1970
  # kms_encrypted: false,
1853
1971
  # kms_key: "KMSKey",
1854
1972
  # pool_id: "PoolId",
1973
+ # worm: false,
1855
1974
  # tags: [
1856
1975
  # {
1857
1976
  # key: "TagKey", # required
@@ -1924,6 +2043,11 @@ module Aws::StorageGateway
1924
2043
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
1925
2044
  # @return [String]
1926
2045
  #
2046
+ # @!attribute [rw] worm
2047
+ # Set to `TRUE` if the tape you are creating is to be configured as a
2048
+ # write-once-read-many (WORM) tape.
2049
+ # @return [Boolean]
2050
+ #
1927
2051
  # @!attribute [rw] tags
1928
2052
  # A list of up to 50 tags that can be assigned to a virtual tape. Each
1929
2053
  # tag is a key-value pair.
@@ -1947,6 +2071,7 @@ module Aws::StorageGateway
1947
2071
  :kms_encrypted,
1948
2072
  :kms_key,
1949
2073
  :pool_id,
2074
+ :worm,
1950
2075
  :tags)
1951
2076
  SENSITIVE = []
1952
2077
  include Aws::Structure
@@ -2026,7 +2151,7 @@ module Aws::StorageGateway
2026
2151
  # One of the BandwidthType values that indicates the gateway bandwidth
2027
2152
  # rate limit to delete.
2028
2153
  #
2029
- # Valid Values: `Upload` \| `Download` \| `All`
2154
+ # Valid Values: `UPLOAD` \| `DOWNLOAD` \| `ALL`
2030
2155
  # @return [String]
2031
2156
  #
2032
2157
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimitInput AWS API Documentation
@@ -2231,6 +2356,7 @@ module Aws::StorageGateway
2231
2356
  #
2232
2357
  # {
2233
2358
  # tape_arn: "TapeARN", # required
2359
+ # bypass_governance_retention: false,
2234
2360
  # }
2235
2361
  #
2236
2362
  # @!attribute [rw] tape_arn
@@ -2238,10 +2364,18 @@ module Aws::StorageGateway
2238
2364
  # the virtual tape shelf (VTS).
2239
2365
  # @return [String]
2240
2366
  #
2367
+ # @!attribute [rw] bypass_governance_retention
2368
+ # Set to `TRUE` to delete an archived tape that belongs to a custom
2369
+ # pool with tape retention lock. Only archived tapes with tape
2370
+ # retention lock set to `governance` can be deleted. Archived tapes
2371
+ # with tape retention lock set to `compliance` can't be deleted.
2372
+ # @return [Boolean]
2373
+ #
2241
2374
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchiveInput AWS API Documentation
2242
2375
  #
2243
2376
  class DeleteTapeArchiveInput < Struct.new(
2244
- :tape_arn)
2377
+ :tape_arn,
2378
+ :bypass_governance_retention)
2245
2379
  SENSITIVE = []
2246
2380
  include Aws::Structure
2247
2381
  end
@@ -2269,6 +2403,7 @@ module Aws::StorageGateway
2269
2403
  # {
2270
2404
  # gateway_arn: "GatewayARN", # required
2271
2405
  # tape_arn: "TapeARN", # required
2406
+ # bypass_governance_retention: false,
2272
2407
  # }
2273
2408
  #
2274
2409
  # @!attribute [rw] gateway_arn
@@ -2282,11 +2417,19 @@ module Aws::StorageGateway
2282
2417
  # The Amazon Resource Name (ARN) of the virtual tape to delete.
2283
2418
  # @return [String]
2284
2419
  #
2420
+ # @!attribute [rw] bypass_governance_retention
2421
+ # Set to `TRUE` to delete an archived tape that belongs to a custom
2422
+ # pool with tape retention lock. Only archived tapes with tape
2423
+ # retention lock set to `governance` can be deleted. Archived tapes
2424
+ # with tape retention lock set to `compliance` can't be deleted.
2425
+ # @return [Boolean]
2426
+ #
2285
2427
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeInput AWS API Documentation
2286
2428
  #
2287
2429
  class DeleteTapeInput < Struct.new(
2288
2430
  :gateway_arn,
2289
- :tape_arn)
2431
+ :tape_arn,
2432
+ :bypass_governance_retention)
2290
2433
  SENSITIVE = []
2291
2434
  include Aws::Structure
2292
2435
  end
@@ -2305,6 +2448,38 @@ module Aws::StorageGateway
2305
2448
  include Aws::Structure
2306
2449
  end
2307
2450
 
2451
+ # @note When making an API call, you may pass DeleteTapePoolInput
2452
+ # data as a hash:
2453
+ #
2454
+ # {
2455
+ # pool_arn: "PoolARN", # required
2456
+ # }
2457
+ #
2458
+ # @!attribute [rw] pool_arn
2459
+ # The Amazon Resource Name (ARN) of the custom tape pool to delete.
2460
+ # @return [String]
2461
+ #
2462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePoolInput AWS API Documentation
2463
+ #
2464
+ class DeleteTapePoolInput < Struct.new(
2465
+ :pool_arn)
2466
+ SENSITIVE = []
2467
+ include Aws::Structure
2468
+ end
2469
+
2470
+ # @!attribute [rw] pool_arn
2471
+ # The Amazon Resource Name (ARN) of the custom tape pool being
2472
+ # deleted.
2473
+ # @return [String]
2474
+ #
2475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePoolOutput AWS API Documentation
2476
+ #
2477
+ class DeleteTapePoolOutput < Struct.new(
2478
+ :pool_arn)
2479
+ SENSITIVE = []
2480
+ include Aws::Structure
2481
+ end
2482
+
2308
2483
  # A JSON object containing the DeleteVolumeInput$VolumeARN to delete.
2309
2484
  #
2310
2485
  # @note When making an API call, you may pass DeleteVolumeInput
@@ -2704,7 +2879,7 @@ module Aws::StorageGateway
2704
2879
  # @return [String]
2705
2880
  #
2706
2881
  # @!attribute [rw] cloud_watch_log_group_arn
2707
- # The Amazon Resource Name (ARN) of the Amazon CloudWatch Log Group
2882
+ # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
2708
2883
  # that is used to monitor events in the gateway.
2709
2884
  # @return [String]
2710
2885
  #
@@ -2718,6 +2893,16 @@ module Aws::StorageGateway
2718
2893
  # Valid Values: `STANDARD` \| `FIPS`
2719
2894
  # @return [String]
2720
2895
  #
2896
+ # @!attribute [rw] software_updates_end_date
2897
+ # Date after which this gateway will not receive software updates for
2898
+ # new features.
2899
+ # @return [String]
2900
+ #
2901
+ # @!attribute [rw] deprecation_date
2902
+ # Date after which this gateway will not receive software updates for
2903
+ # new features and bug fixes.
2904
+ # @return [String]
2905
+ #
2721
2906
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationOutput AWS API Documentation
2722
2907
  #
2723
2908
  class DescribeGatewayInformationOutput < Struct.new(
@@ -2736,7 +2921,9 @@ module Aws::StorageGateway
2736
2921
  :vpc_endpoint,
2737
2922
  :cloud_watch_log_group_arn,
2738
2923
  :host_environment,
2739
- :endpoint_type)
2924
+ :endpoint_type,
2925
+ :software_updates_end_date,
2926
+ :deprecation_date)
2740
2927
  SENSITIVE = []
2741
2928
  include Aws::Structure
2742
2929
  end
@@ -4201,7 +4388,7 @@ module Aws::StorageGateway
4201
4388
  # ListTagsForResourceOutput
4202
4389
  #
4203
4390
  # @!attribute [rw] resource_arn
4204
- # he Amazon Resource Name (ARN) of the resource for which you want to
4391
+ # The Amazon Resource Name (ARN) of the resource for which you want to
4205
4392
  # list tags.
4206
4393
  # @return [String]
4207
4394
  #
@@ -4224,6 +4411,63 @@ module Aws::StorageGateway
4224
4411
  include Aws::Structure
4225
4412
  end
4226
4413
 
4414
+ # @note When making an API call, you may pass ListTapePoolsInput
4415
+ # data as a hash:
4416
+ #
4417
+ # {
4418
+ # pool_arns: ["PoolARN"],
4419
+ # marker: "Marker",
4420
+ # limit: 1,
4421
+ # }
4422
+ #
4423
+ # @!attribute [rw] pool_arns
4424
+ # The Amazon Resource Name (ARN) of each of the custom tape pools you
4425
+ # want to list. If you don't specify a custom tape pool ARN, the
4426
+ # response lists all custom tape pools.
4427
+ # @return [Array<String>]
4428
+ #
4429
+ # @!attribute [rw] marker
4430
+ # A string that indicates the position at which to begin the returned
4431
+ # list of tape pools.
4432
+ # @return [String]
4433
+ #
4434
+ # @!attribute [rw] limit
4435
+ # An optional number limit for the tape pools in the list returned by
4436
+ # this call.
4437
+ # @return [Integer]
4438
+ #
4439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapePoolsInput AWS API Documentation
4440
+ #
4441
+ class ListTapePoolsInput < Struct.new(
4442
+ :pool_arns,
4443
+ :marker,
4444
+ :limit)
4445
+ SENSITIVE = []
4446
+ include Aws::Structure
4447
+ end
4448
+
4449
+ # @!attribute [rw] pool_infos
4450
+ # An array of `PoolInfo` objects, where each object describes a single
4451
+ # custom tape pool. If there are no custom tape pools, the `PoolInfos`
4452
+ # is an empty array.
4453
+ # @return [Array<Types::PoolInfo>]
4454
+ #
4455
+ # @!attribute [rw] marker
4456
+ # A string that indicates the position at which to begin the returned
4457
+ # list of tape pools. Use the marker in your next request to continue
4458
+ # pagination of tape pools. If there are no more tape pools to list,
4459
+ # this element does not appear in the response body.
4460
+ # @return [String]
4461
+ #
4462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapePoolsOutput AWS API Documentation
4463
+ #
4464
+ class ListTapePoolsOutput < Struct.new(
4465
+ :pool_infos,
4466
+ :marker)
4467
+ SENSITIVE = []
4468
+ include Aws::Structure
4469
+ end
4470
+
4227
4471
  # A JSON object that contains one or more of the following fields:
4228
4472
  #
4229
4473
  # * ListTapesInput$Limit
@@ -4736,6 +4980,57 @@ module Aws::StorageGateway
4736
4980
  include Aws::Structure
4737
4981
  end
4738
4982
 
4983
+ # Describes a custom tape pool.
4984
+ #
4985
+ # @!attribute [rw] pool_arn
4986
+ # The Amazon Resource Name (ARN) of the custom tape pool. Use the
4987
+ # ListTapePools operation to return a list of custom tape pools for
4988
+ # your account and AWS Region.
4989
+ # @return [String]
4990
+ #
4991
+ # @!attribute [rw] pool_name
4992
+ # The name of the custom tape pool. `PoolName` can use all ASCII
4993
+ # characters, except '/' and '\\'.
4994
+ # @return [String]
4995
+ #
4996
+ # @!attribute [rw] storage_class
4997
+ # The storage class that is associated with the custom pool. When you
4998
+ # use your backup application to eject the tape, the tape is archived
4999
+ # directly into the storage class (S3 Glacier or S3 Glacier Deep
5000
+ # Archive) that corresponds to the pool.
5001
+ # @return [String]
5002
+ #
5003
+ # @!attribute [rw] retention_lock_type
5004
+ # Tape retention lock type, which can be configured in two modes. When
5005
+ # configured in governance mode, AWS accounts with specific IAM
5006
+ # permissions are authorized to remove the tape retention lock from
5007
+ # archived virtual tapes. When configured in compliance mode, the tape
5008
+ # retention lock cannot be removed by any user, including the root AWS
5009
+ # account.
5010
+ # @return [String]
5011
+ #
5012
+ # @!attribute [rw] retention_lock_time_in_days
5013
+ # Tape retention lock time is set in days. Tape retention lock can be
5014
+ # enabled for up to 100 years (36,500 days).
5015
+ # @return [Integer]
5016
+ #
5017
+ # @!attribute [rw] pool_status
5018
+ # Status of the custom tape pool. Pool can be `ACTIVE` or `DELETED`.
5019
+ # @return [String]
5020
+ #
5021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/PoolInfo AWS API Documentation
5022
+ #
5023
+ class PoolInfo < Struct.new(
5024
+ :pool_arn,
5025
+ :pool_name,
5026
+ :storage_class,
5027
+ :retention_lock_type,
5028
+ :retention_lock_time_in_days,
5029
+ :pool_status)
5030
+ SENSITIVE = []
5031
+ include Aws::Structure
5032
+ end
5033
+
4739
5034
  # RefreshCacheInput
4740
5035
  #
4741
5036
  # @note When making an API call, you may pass RefreshCacheInput
@@ -5436,7 +5731,7 @@ module Aws::StorageGateway
5436
5731
  # @return [String]
5437
5732
  #
5438
5733
  # @!attribute [rw] volume_id
5439
- # The unique identifier of the volume, e.g. vol-AE4B946D.
5734
+ # The unique identifier of the volume, e.g., vol-AE4B946D.
5440
5735
  # @return [String]
5441
5736
  #
5442
5737
  # @!attribute [rw] volume_type
@@ -5496,7 +5791,7 @@ module Aws::StorageGateway
5496
5791
  #
5497
5792
  # @!attribute [rw] created_date
5498
5793
  # The date the volume was created. Volumes created prior to March 28,
5499
- # 2017 don’t have this time stamp.
5794
+ # 2017 don’t have this timestamp.
5500
5795
  # @return [Time]
5501
5796
  #
5502
5797
  # @!attribute [rw] volume_used_in_bytes
@@ -5643,6 +5938,20 @@ module Aws::StorageGateway
5643
5938
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
5644
5939
  # @return [String]
5645
5940
  #
5941
+ # @!attribute [rw] worm
5942
+ # If the tape is archived as write-once-read-many (WORM), this value
5943
+ # is `true`.
5944
+ # @return [Boolean]
5945
+ #
5946
+ # @!attribute [rw] retention_start_date
5947
+ # The date that the tape is first archived with tape retention lock
5948
+ # enabled.
5949
+ # @return [Time]
5950
+ #
5951
+ # @!attribute [rw] pool_entry_date
5952
+ # The date that the tape enters a custom tape pool.
5953
+ # @return [Time]
5954
+ #
5646
5955
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Tape AWS API Documentation
5647
5956
  #
5648
5957
  class Tape < Struct.new(
@@ -5655,7 +5964,10 @@ module Aws::StorageGateway
5655
5964
  :progress,
5656
5965
  :tape_used_in_bytes,
5657
5966
  :kms_key,
5658
- :pool_id)
5967
+ :pool_id,
5968
+ :worm,
5969
+ :retention_start_date,
5970
+ :pool_entry_date)
5659
5971
  SENSITIVE = []
5660
5972
  include Aws::Structure
5661
5973
  end
@@ -5682,7 +5994,7 @@ module Aws::StorageGateway
5682
5994
  # @!attribute [rw] completion_time
5683
5995
  # The time that the archiving of the virtual tape was completed.
5684
5996
  #
5685
- # The default time stamp format is in the ISO8601 extended
5997
+ # The default timestamp format is in the ISO8601 extended
5686
5998
  # YYYY-MM-DD'T'HH:MM:SS'Z' format.
5687
5999
  # @return [Time]
5688
6000
  #
@@ -5720,6 +6032,23 @@ module Aws::StorageGateway
5720
6032
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
5721
6033
  # @return [String]
5722
6034
  #
6035
+ # @!attribute [rw] worm
6036
+ # Set to `true` if the archived tape is stored as write-once-read-many
6037
+ # (WORM).
6038
+ # @return [Boolean]
6039
+ #
6040
+ # @!attribute [rw] retention_start_date
6041
+ # If the archived tape is subject to tape retention lock, the date
6042
+ # that the archived tape started being retained.
6043
+ # @return [Time]
6044
+ #
6045
+ # @!attribute [rw] pool_entry_date
6046
+ # The time that the tape entered the custom tape pool.
6047
+ #
6048
+ # The default timestamp format is in the ISO8601 extended
6049
+ # YYYY-MM-DD'T'HH:MM:SS'Z' format.
6050
+ # @return [Time]
6051
+ #
5723
6052
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeArchive AWS API Documentation
5724
6053
  #
5725
6054
  class TapeArchive < Struct.new(
@@ -5732,7 +6061,10 @@ module Aws::StorageGateway
5732
6061
  :tape_status,
5733
6062
  :tape_used_in_bytes,
5734
6063
  :kms_key,
5735
- :pool_id)
6064
+ :pool_id,
6065
+ :worm,
6066
+ :retention_start_date,
6067
+ :pool_entry_date)
5736
6068
  SENSITIVE = []
5737
6069
  include Aws::Structure
5738
6070
  end
@@ -5772,6 +6104,15 @@ module Aws::StorageGateway
5772
6104
  # Valid Values: `GLACIER` \| `DEEP_ARCHIVE`
5773
6105
  # @return [String]
5774
6106
  #
6107
+ # @!attribute [rw] retention_start_date
6108
+ # The date that the tape became subject to tape retention lock.
6109
+ # @return [Time]
6110
+ #
6111
+ # @!attribute [rw] pool_entry_date
6112
+ # The date that the tape entered the custom tape pool with tape
6113
+ # retention lock enabled.
6114
+ # @return [Time]
6115
+ #
5775
6116
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeInfo AWS API Documentation
5776
6117
  #
5777
6118
  class TapeInfo < Struct.new(
@@ -5780,7 +6121,9 @@ module Aws::StorageGateway
5780
6121
  :tape_size_in_bytes,
5781
6122
  :tape_status,
5782
6123
  :gateway_arn,
5783
- :pool_id)
6124
+ :pool_id,
6125
+ :retention_start_date,
6126
+ :pool_entry_date)
5784
6127
  SENSITIVE = []
5785
6128
  include Aws::Structure
5786
6129
  end
@@ -5795,7 +6138,7 @@ module Aws::StorageGateway
5795
6138
  # The time when the point-in-time view of the virtual tape was
5796
6139
  # replicated for later recovery.
5797
6140
  #
5798
- # The default time stamp format of the tape recovery point time is in
6141
+ # The default timestamp format of the tape recovery point time is in
5799
6142
  # the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format.
5800
6143
  # @return [Time]
5801
6144
  #
@@ -5828,6 +6171,7 @@ module Aws::StorageGateway
5828
6171
  # pool_id: "PoolId", # required
5829
6172
  # tape_size_in_bytes: 1, # required
5830
6173
  # minimum_num_tapes: 1, # required
6174
+ # worm: false,
5831
6175
  # },
5832
6176
  # ],
5833
6177
  # gateway_arn: "GatewayARN", # required
@@ -6036,7 +6380,7 @@ module Aws::StorageGateway
6036
6380
  # The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
6037
6381
  # that you want to use to monitor and log events in the gateway.
6038
6382
  #
6039
- # For more information, see [What is Amazon CloudWatch logs?][1].
6383
+ # For more information, see [What is Amazon CloudWatch Logs?][1]
6040
6384
  #
6041
6385
  #
6042
6386
  #
@@ -6715,7 +7059,7 @@ module Aws::StorageGateway
6715
7059
  # @!attribute [rw] device_type
6716
7060
  # The type of medium changer you want to select.
6717
7061
  #
6718
- # Valid Values: `STK-L700` \| `AWS-Gateway-VTL`
7062
+ # Valid Values: `STK-L700` \| `AWS-Gateway-VTL` \| `IBM-03584L32-0402`
6719
7063
  # @return [String]
6720
7064
  #
6721
7065
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceTypeInput AWS API Documentation