aws-sdk-storagegateway 1.36.0 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,12 @@ module Aws::StorageGateway
27
27
  AssignTapePoolOutput = Shapes::StructureShape.new(name: 'AssignTapePoolOutput')
28
28
  AttachVolumeInput = Shapes::StructureShape.new(name: 'AttachVolumeInput')
29
29
  AttachVolumeOutput = Shapes::StructureShape.new(name: 'AttachVolumeOutput')
30
+ AuditDestinationARN = Shapes::StringShape.new(name: 'AuditDestinationARN')
30
31
  Authentication = Shapes::StringShape.new(name: 'Authentication')
32
+ AutomaticTapeCreationPolicyInfo = Shapes::StructureShape.new(name: 'AutomaticTapeCreationPolicyInfo')
33
+ AutomaticTapeCreationPolicyInfos = Shapes::ListShape.new(name: 'AutomaticTapeCreationPolicyInfos')
34
+ AutomaticTapeCreationRule = Shapes::StructureShape.new(name: 'AutomaticTapeCreationRule')
35
+ AutomaticTapeCreationRules = Shapes::ListShape.new(name: 'AutomaticTapeCreationRules')
31
36
  AvailabilityMonitorTestStatus = Shapes::StringShape.new(name: 'AvailabilityMonitorTestStatus')
32
37
  BandwidthDownloadRateLimit = Shapes::IntegerShape.new(name: 'BandwidthDownloadRateLimit')
33
38
  BandwidthType = Shapes::StringShape.new(name: 'BandwidthType')
@@ -63,6 +68,8 @@ module Aws::StorageGateway
63
68
  CreatedDate = Shapes::TimestampShape.new(name: 'CreatedDate')
64
69
  DayOfMonth = Shapes::IntegerShape.new(name: 'DayOfMonth')
65
70
  DayOfWeek = Shapes::IntegerShape.new(name: 'DayOfWeek')
71
+ DeleteAutomaticTapeCreationPolicyInput = Shapes::StructureShape.new(name: 'DeleteAutomaticTapeCreationPolicyInput')
72
+ DeleteAutomaticTapeCreationPolicyOutput = Shapes::StructureShape.new(name: 'DeleteAutomaticTapeCreationPolicyOutput')
66
73
  DeleteBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'DeleteBandwidthRateLimitInput')
67
74
  DeleteBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'DeleteBandwidthRateLimitOutput')
68
75
  DeleteChapCredentialsInput = Shapes::StructureShape.new(name: 'DeleteChapCredentialsInput')
@@ -172,6 +179,8 @@ module Aws::StorageGateway
172
179
  JoinDomainOutput = Shapes::StructureShape.new(name: 'JoinDomainOutput')
173
180
  KMSKey = Shapes::StringShape.new(name: 'KMSKey')
174
181
  LastSoftwareUpdate = Shapes::StringShape.new(name: 'LastSoftwareUpdate')
182
+ ListAutomaticTapeCreationPoliciesInput = Shapes::StructureShape.new(name: 'ListAutomaticTapeCreationPoliciesInput')
183
+ ListAutomaticTapeCreationPoliciesOutput = Shapes::StructureShape.new(name: 'ListAutomaticTapeCreationPoliciesOutput')
175
184
  ListFileSharesInput = Shapes::StructureShape.new(name: 'ListFileSharesInput')
176
185
  ListFileSharesOutput = Shapes::StructureShape.new(name: 'ListFileSharesOutput')
177
186
  ListGatewaysInput = Shapes::StructureShape.new(name: 'ListGatewaysInput')
@@ -192,6 +201,7 @@ module Aws::StorageGateway
192
201
  LocationARN = Shapes::StringShape.new(name: 'LocationARN')
193
202
  Marker = Shapes::StringShape.new(name: 'Marker')
194
203
  MediumChangerType = Shapes::StringShape.new(name: 'MediumChangerType')
204
+ MinimumNumTapes = Shapes::IntegerShape.new(name: 'MinimumNumTapes')
195
205
  MinuteOfHour = Shapes::IntegerShape.new(name: 'MinuteOfHour')
196
206
  NFSFileShareDefaults = Shapes::StructureShape.new(name: 'NFSFileShareDefaults')
197
207
  NFSFileShareInfo = Shapes::StructureShape.new(name: 'NFSFileShareInfo')
@@ -273,6 +283,8 @@ module Aws::StorageGateway
273
283
  TargetName = Shapes::StringShape.new(name: 'TargetName')
274
284
  Time = Shapes::TimestampShape.new(name: 'Time')
275
285
  TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
286
+ UpdateAutomaticTapeCreationPolicyInput = Shapes::StructureShape.new(name: 'UpdateAutomaticTapeCreationPolicyInput')
287
+ UpdateAutomaticTapeCreationPolicyOutput = Shapes::StructureShape.new(name: 'UpdateAutomaticTapeCreationPolicyOutput')
276
288
  UpdateBandwidthRateLimitInput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitInput')
277
289
  UpdateBandwidthRateLimitOutput = Shapes::StructureShape.new(name: 'UpdateBandwidthRateLimitOutput')
278
290
  UpdateChapCredentialsInput = Shapes::StructureShape.new(name: 'UpdateChapCredentialsInput')
@@ -378,6 +390,20 @@ module Aws::StorageGateway
378
390
  AttachVolumeOutput.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetARN, location_name: "TargetARN"))
379
391
  AttachVolumeOutput.struct_class = Types::AttachVolumeOutput
380
392
 
393
+ AutomaticTapeCreationPolicyInfo.add_member(:automatic_tape_creation_rules, Shapes::ShapeRef.new(shape: AutomaticTapeCreationRules, location_name: "AutomaticTapeCreationRules"))
394
+ AutomaticTapeCreationPolicyInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
395
+ AutomaticTapeCreationPolicyInfo.struct_class = Types::AutomaticTapeCreationPolicyInfo
396
+
397
+ AutomaticTapeCreationPolicyInfos.member = Shapes::ShapeRef.new(shape: AutomaticTapeCreationPolicyInfo)
398
+
399
+ AutomaticTapeCreationRule.add_member(:tape_barcode_prefix, Shapes::ShapeRef.new(shape: TapeBarcodePrefix, required: true, location_name: "TapeBarcodePrefix"))
400
+ AutomaticTapeCreationRule.add_member(:pool_id, Shapes::ShapeRef.new(shape: PoolId, required: true, location_name: "PoolId"))
401
+ AutomaticTapeCreationRule.add_member(:tape_size_in_bytes, Shapes::ShapeRef.new(shape: TapeSize, required: true, location_name: "TapeSizeInBytes"))
402
+ AutomaticTapeCreationRule.add_member(:minimum_num_tapes, Shapes::ShapeRef.new(shape: MinimumNumTapes, required: true, location_name: "MinimumNumTapes"))
403
+ AutomaticTapeCreationRule.struct_class = Types::AutomaticTapeCreationRule
404
+
405
+ AutomaticTapeCreationRules.member = Shapes::ShapeRef.new(shape: AutomaticTapeCreationRule)
406
+
381
407
  CachediSCSIVolume.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeARN, location_name: "VolumeARN"))
382
408
  CachediSCSIVolume.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "VolumeId"))
383
409
  CachediSCSIVolume.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
@@ -468,6 +494,7 @@ module Aws::StorageGateway
468
494
  CreateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
469
495
  CreateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
470
496
  CreateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
497
+ CreateSMBFileShareInput.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
471
498
  CreateSMBFileShareInput.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
472
499
  CreateSMBFileShareInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
473
500
  CreateSMBFileShareInput.struct_class = Types::CreateSMBFileShareInput
@@ -536,6 +563,12 @@ module Aws::StorageGateway
536
563
  CreateTapesOutput.add_member(:tape_arns, Shapes::ShapeRef.new(shape: TapeARNs, location_name: "TapeARNs"))
537
564
  CreateTapesOutput.struct_class = Types::CreateTapesOutput
538
565
 
566
+ DeleteAutomaticTapeCreationPolicyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
567
+ DeleteAutomaticTapeCreationPolicyInput.struct_class = Types::DeleteAutomaticTapeCreationPolicyInput
568
+
569
+ DeleteAutomaticTapeCreationPolicyOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
570
+ DeleteAutomaticTapeCreationPolicyOutput.struct_class = Types::DeleteAutomaticTapeCreationPolicyOutput
571
+
539
572
  DeleteBandwidthRateLimitInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
540
573
  DeleteBandwidthRateLimitInput.add_member(:bandwidth_type, Shapes::ShapeRef.new(shape: BandwidthType, required: true, location_name: "BandwidthType"))
541
574
  DeleteBandwidthRateLimitInput.struct_class = Types::DeleteBandwidthRateLimitInput
@@ -847,6 +880,12 @@ module Aws::StorageGateway
847
880
  JoinDomainOutput.add_member(:active_directory_status, Shapes::ShapeRef.new(shape: ActiveDirectoryStatus, location_name: "ActiveDirectoryStatus"))
848
881
  JoinDomainOutput.struct_class = Types::JoinDomainOutput
849
882
 
883
+ ListAutomaticTapeCreationPoliciesInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
884
+ ListAutomaticTapeCreationPoliciesInput.struct_class = Types::ListAutomaticTapeCreationPoliciesInput
885
+
886
+ ListAutomaticTapeCreationPoliciesOutput.add_member(:automatic_tape_creation_policy_infos, Shapes::ShapeRef.new(shape: AutomaticTapeCreationPolicyInfos, location_name: "AutomaticTapeCreationPolicyInfos"))
887
+ ListAutomaticTapeCreationPoliciesOutput.struct_class = Types::ListAutomaticTapeCreationPoliciesOutput
888
+
850
889
  ListFileSharesInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
851
890
  ListFileSharesInput.add_member(:limit, Shapes::ShapeRef.new(shape: PositiveIntObject, location_name: "Limit"))
852
891
  ListFileSharesInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
@@ -1008,6 +1047,7 @@ module Aws::StorageGateway
1008
1047
  SMBFileShareInfo.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1009
1048
  SMBFileShareInfo.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1010
1049
  SMBFileShareInfo.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
1050
+ SMBFileShareInfo.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
1011
1051
  SMBFileShareInfo.add_member(:authentication, Shapes::ShapeRef.new(shape: Authentication, location_name: "Authentication"))
1012
1052
  SMBFileShareInfo.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1013
1053
  SMBFileShareInfo.struct_class = Types::SMBFileShareInfo
@@ -1129,6 +1169,13 @@ module Aws::StorageGateway
1129
1169
 
1130
1170
  Tapes.member = Shapes::ShapeRef.new(shape: Tape)
1131
1171
 
1172
+ UpdateAutomaticTapeCreationPolicyInput.add_member(:automatic_tape_creation_rules, Shapes::ShapeRef.new(shape: AutomaticTapeCreationRules, required: true, location_name: "AutomaticTapeCreationRules"))
1173
+ UpdateAutomaticTapeCreationPolicyInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
1174
+ UpdateAutomaticTapeCreationPolicyInput.struct_class = Types::UpdateAutomaticTapeCreationPolicyInput
1175
+
1176
+ UpdateAutomaticTapeCreationPolicyOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
1177
+ UpdateAutomaticTapeCreationPolicyOutput.struct_class = Types::UpdateAutomaticTapeCreationPolicyOutput
1178
+
1132
1179
  UpdateBandwidthRateLimitInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
1133
1180
  UpdateBandwidthRateLimitInput.add_member(:average_upload_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: BandwidthUploadRateLimit, location_name: "AverageUploadRateLimitInBitsPerSec"))
1134
1181
  UpdateBandwidthRateLimitInput.add_member(:average_download_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: BandwidthDownloadRateLimit, location_name: "AverageDownloadRateLimitInBitsPerSec"))
@@ -1201,6 +1248,7 @@ module Aws::StorageGateway
1201
1248
  UpdateSMBFileShareInput.add_member(:admin_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "AdminUserList"))
1202
1249
  UpdateSMBFileShareInput.add_member(:valid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "ValidUserList"))
1203
1250
  UpdateSMBFileShareInput.add_member(:invalid_user_list, Shapes::ShapeRef.new(shape: FileShareUserList, location_name: "InvalidUserList"))
1251
+ UpdateSMBFileShareInput.add_member(:audit_destination_arn, Shapes::ShapeRef.new(shape: AuditDestinationARN, location_name: "AuditDestinationARN"))
1204
1252
  UpdateSMBFileShareInput.struct_class = Types::UpdateSMBFileShareInput
1205
1253
 
1206
1254
  UpdateSMBFileShareOutput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, location_name: "FileShareARN"))
@@ -1462,6 +1510,16 @@ module Aws::StorageGateway
1462
1510
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1463
1511
  end)
1464
1512
 
1513
+ api.add_operation(:delete_automatic_tape_creation_policy, Seahorse::Model::Operation.new.tap do |o|
1514
+ o.name = "DeleteAutomaticTapeCreationPolicy"
1515
+ o.http_method = "POST"
1516
+ o.http_request_uri = "/"
1517
+ o.input = Shapes::ShapeRef.new(shape: DeleteAutomaticTapeCreationPolicyInput)
1518
+ o.output = Shapes::ShapeRef.new(shape: DeleteAutomaticTapeCreationPolicyOutput)
1519
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1520
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1521
+ end)
1522
+
1465
1523
  api.add_operation(:delete_bandwidth_rate_limit, Seahorse::Model::Operation.new.tap do |o|
1466
1524
  o.name = "DeleteBandwidthRateLimit"
1467
1525
  o.http_method = "POST"
@@ -1776,6 +1834,16 @@ module Aws::StorageGateway
1776
1834
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1777
1835
  end)
1778
1836
 
1837
+ api.add_operation(:list_automatic_tape_creation_policies, Seahorse::Model::Operation.new.tap do |o|
1838
+ o.name = "ListAutomaticTapeCreationPolicies"
1839
+ o.http_method = "POST"
1840
+ o.http_request_uri = "/"
1841
+ o.input = Shapes::ShapeRef.new(shape: ListAutomaticTapeCreationPoliciesInput)
1842
+ o.output = Shapes::ShapeRef.new(shape: ListAutomaticTapeCreationPoliciesOutput)
1843
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1845
+ end)
1846
+
1779
1847
  api.add_operation(:list_file_shares, Seahorse::Model::Operation.new.tap do |o|
1780
1848
  o.name = "ListFileShares"
1781
1849
  o.http_method = "POST"
@@ -1996,6 +2064,16 @@ module Aws::StorageGateway
1996
2064
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1997
2065
  end)
1998
2066
 
2067
+ api.add_operation(:update_automatic_tape_creation_policy, Seahorse::Model::Operation.new.tap do |o|
2068
+ o.name = "UpdateAutomaticTapeCreationPolicy"
2069
+ o.http_method = "POST"
2070
+ o.http_request_uri = "/"
2071
+ o.input = Shapes::ShapeRef.new(shape: UpdateAutomaticTapeCreationPolicyInput)
2072
+ o.output = Shapes::ShapeRef.new(shape: UpdateAutomaticTapeCreationPolicyOutput)
2073
+ o.errors << Shapes::ShapeRef.new(shape: InvalidGatewayRequestException)
2074
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2075
+ end)
2076
+
1999
2077
  api.add_operation(:update_bandwidth_rate_limit, Seahorse::Model::Operation.new.tap do |o|
2000
2078
  o.name = "UpdateBandwidthRateLimit"
2001
2079
  o.http_method = "POST"
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::StorageGateway
9
- # This class provides a resource oriented interface for StorageGateway.
10
- # To create a resource object:
11
- # resource = Aws::StorageGateway::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::StorageGateway::Client.new(region: 'us-west-2')
15
- # resource = Aws::StorageGateway::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -177,7 +177,7 @@ module Aws::StorageGateway
177
177
  #
178
178
  # @!attribute [rw] disk_ids
179
179
  # An array of strings that identify disks that are to be configured as
180
- # working storage. Each string have a minimum length of 1 and maximum
180
+ # working storage. Each string has a minimum length of 1 and maximum
181
181
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
182
182
  # @return [Array<String>]
183
183
  #
@@ -272,7 +272,7 @@ module Aws::StorageGateway
272
272
  #
273
273
  # @!attribute [rw] disk_ids
274
274
  # An array of strings that identify disks that are to be configured as
275
- # working storage. Each string have a minimum length of 1 and maximum
275
+ # working storage. Each string has a minimum length of 1 and maximum
276
276
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
277
277
  # @return [Array<String>]
278
278
  #
@@ -319,7 +319,7 @@ module Aws::StorageGateway
319
319
  #
320
320
  # @!attribute [rw] disk_ids
321
321
  # An array of strings that identify disks that are to be configured as
322
- # working storage. Each string have a minimum length of 1 and maximum
322
+ # working storage. Each string has a minimum length of 1 and maximum
323
323
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
324
324
  # @return [Array<String>]
325
325
  #
@@ -331,8 +331,8 @@ module Aws::StorageGateway
331
331
  include Aws::Structure
332
332
  end
333
333
 
334
- # A JSON object containing the of the gateway for which working storage
335
- # was configured.
334
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
335
+ # for which working storage was configured.
336
336
  #
337
337
  # @!attribute [rw] gateway_arn
338
338
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -365,7 +365,8 @@ module Aws::StorageGateway
365
365
  # The tape in this pool is archived in the S3 storage class that is
366
366
  # associated with the pool. When you use your backup application to
367
367
  # eject the tape, the tape is archived directly into the storage class
368
- # (Glacier or Deep Archive) that corresponds to the pool.
368
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
369
+ # pool.
369
370
  #
370
371
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
371
372
  # @return [String]
@@ -471,6 +472,85 @@ module Aws::StorageGateway
471
472
  include Aws::Structure
472
473
  end
473
474
 
475
+ # Information about the gateway's automatic tape creation policies,
476
+ # including the automatic tape creation rules and the gateway that is
477
+ # using the policies.
478
+ #
479
+ # @!attribute [rw] automatic_tape_creation_rules
480
+ # An automatic tape creation policy consists of a list of automatic
481
+ # tape creation rules. This returns the rules that determine when and
482
+ # how to automatically create new tapes.
483
+ # @return [Array<Types::AutomaticTapeCreationRule>]
484
+ #
485
+ # @!attribute [rw] gateway_arn
486
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
487
+ # operation to return a list of gateways for your account and AWS
488
+ # Region.
489
+ # @return [String]
490
+ #
491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AutomaticTapeCreationPolicyInfo AWS API Documentation
492
+ #
493
+ class AutomaticTapeCreationPolicyInfo < Struct.new(
494
+ :automatic_tape_creation_rules,
495
+ :gateway_arn)
496
+ include Aws::Structure
497
+ end
498
+
499
+ # An automatic tape creation policy consists of automatic tape creation
500
+ # rules where each rule defines when and how to create new tapes.
501
+ #
502
+ # @note When making an API call, you may pass AutomaticTapeCreationRule
503
+ # data as a hash:
504
+ #
505
+ # {
506
+ # tape_barcode_prefix: "TapeBarcodePrefix", # required
507
+ # pool_id: "PoolId", # required
508
+ # tape_size_in_bytes: 1, # required
509
+ # minimum_num_tapes: 1, # required
510
+ # }
511
+ #
512
+ # @!attribute [rw] tape_barcode_prefix
513
+ # A prefix that you append to the barcode of the virtual tape that you
514
+ # are creating. This prefix makes the barcode unique.
515
+ #
516
+ # <note markdown="1"> The prefix must be 1-4 characters in length and must be one of the
517
+ # uppercase letters from A to Z.
518
+ #
519
+ # </note>
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] pool_id
523
+ # The ID of the pool that you want to add your tape to for archiving.
524
+ # The tape in this pool is archived in the Amazon S3 storage class
525
+ # that is associated with the pool. When you use your backup
526
+ # application to eject the tape, the tape is archived directly into
527
+ # the storage class (S3 Glacier or S3 Glacier Deep Archive) that
528
+ # corresponds to the pool.
529
+ #
530
+ # Valid values: "GLACIER", "DEEP\_ARCHIVE"
531
+ # @return [String]
532
+ #
533
+ # @!attribute [rw] tape_size_in_bytes
534
+ # The size, in bytes, of the virtual tape capacity.
535
+ # @return [Integer]
536
+ #
537
+ # @!attribute [rw] minimum_num_tapes
538
+ # The minimum number of available virtual tapes that the gateway
539
+ # maintains at all times. If the number of tapes on the gateway goes
540
+ # below this value, the gateway creates as many new tapes as are
541
+ # needed to have `MinimumNumTapes` on the gateway.
542
+ # @return [Integer]
543
+ #
544
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AutomaticTapeCreationRule AWS API Documentation
545
+ #
546
+ class AutomaticTapeCreationRule < Struct.new(
547
+ :tape_barcode_prefix,
548
+ :pool_id,
549
+ :tape_size_in_bytes,
550
+ :minimum_num_tapes)
551
+ include Aws::Structure
552
+ end
553
+
474
554
  # Describes an iSCSI cached volume.
475
555
  #
476
556
  # @!attribute [rw] volume_arn
@@ -545,7 +625,7 @@ module Aws::StorageGateway
545
625
  #
546
626
  # @!attribute [rw] kms_key
547
627
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
548
- # server side encryption. This value can only be set when KMSEncrypted
628
+ # server-side encryption. This value can only be set when KMSEncrypted
549
629
  # is true. Optional.
550
630
  # @return [String]
551
631
  #
@@ -779,13 +859,13 @@ module Aws::StorageGateway
779
859
  # @return [String]
780
860
  #
781
861
  # @!attribute [rw] kms_encrypted
782
- # True to use Amazon S3 server side encryption with your own AWS KMS
862
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
783
863
  # key, or false to use a key managed by Amazon S3. Optional.
784
864
  # @return [Boolean]
785
865
  #
786
866
  # @!attribute [rw] kms_key
787
867
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
788
- # server side encryption. This value can only be set when KMSEncrypted
868
+ # server-side encryption. This value can only be set when KMSEncrypted
789
869
  # is true. Optional.
790
870
  # @return [String]
791
871
  #
@@ -883,14 +963,14 @@ module Aws::StorageGateway
883
963
  # @return [String]
884
964
  #
885
965
  # @!attribute [rw] kms_encrypted
886
- # True to use Amazon S3 server side encryption with your own AWS KMS
966
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
887
967
  # key, or false to use a key managed by Amazon S3. Optional.
888
968
  # @return [Boolean]
889
969
  #
890
970
  # @!attribute [rw] kms_key
891
- # The Amazon Resource Name (ARN) AWS KMS key used for Amazon S3 server
892
- # side encryption. This value can only be set when KMSEncrypted is
893
- # true. Optional.
971
+ # The Amazon Resource Name (ARN) AWS KMS key used for Amazon S3
972
+ # server-side encryption. This value can only be set when KMSEncrypted
973
+ # is true. Optional.
894
974
  # @return [String]
895
975
  #
896
976
  # @!attribute [rw] role
@@ -1023,6 +1103,7 @@ module Aws::StorageGateway
1023
1103
  # admin_user_list: ["FileShareUser"],
1024
1104
  # valid_user_list: ["FileShareUser"],
1025
1105
  # invalid_user_list: ["FileShareUser"],
1106
+ # audit_destination_arn: "AuditDestinationARN",
1026
1107
  # authentication: "Authentication",
1027
1108
  # tags: [
1028
1109
  # {
@@ -1038,18 +1119,18 @@ module Aws::StorageGateway
1038
1119
  # @return [String]
1039
1120
  #
1040
1121
  # @!attribute [rw] gateway_arn
1041
- # The Amazon Resource Name (ARN) of the file gateway on which you want
1042
- # to create a file share.
1122
+ # The ARN of the file gateway on which you want to create a file
1123
+ # share.
1043
1124
  # @return [String]
1044
1125
  #
1045
1126
  # @!attribute [rw] kms_encrypted
1046
- # True to use Amazon S3 server side encryption with your own AWS KMS
1127
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1047
1128
  # key, or false to use a key managed by Amazon S3. Optional.
1048
1129
  # @return [Boolean]
1049
1130
  #
1050
1131
  # @!attribute [rw] kms_key
1051
1132
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1052
- # server side encryption. This value can only be set when KMSEncrypted
1133
+ # server-side encryption. This value can only be set when KMSEncrypted
1053
1134
  # is true. Optional.
1054
1135
  # @return [String]
1055
1136
  #
@@ -1130,10 +1211,15 @@ module Aws::StorageGateway
1130
1211
  # @!attribute [rw] invalid_user_list
1131
1212
  # A list of users or groups in the Active Directory that are not
1132
1213
  # allowed to access the file share. A group must be prefixed with the
1133
- # @ character. For example `@group1`. Can only be set if
1214
+ # @ character. For example, `@group1`. Can only be set if
1134
1215
  # Authentication is set to `ActiveDirectory`.
1135
1216
  # @return [Array<String>]
1136
1217
  #
1218
+ # @!attribute [rw] audit_destination_arn
1219
+ # The Amazon Resource Name (ARN) of the storage used for the audit
1220
+ # logs.
1221
+ # @return [String]
1222
+ #
1137
1223
  # @!attribute [rw] authentication
1138
1224
  # The authentication method that users use to access the file share.
1139
1225
  #
@@ -1171,6 +1257,7 @@ module Aws::StorageGateway
1171
1257
  :admin_user_list,
1172
1258
  :valid_user_list,
1173
1259
  :invalid_user_list,
1260
+ :audit_destination_arn,
1174
1261
  :authentication,
1175
1262
  :tags)
1176
1263
  include Aws::Structure
@@ -1425,13 +1512,13 @@ module Aws::StorageGateway
1425
1512
  # @return [String]
1426
1513
  #
1427
1514
  # @!attribute [rw] kms_encrypted
1428
- # True to use Amazon S3 server side encryption with your own AWS KMS
1515
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1429
1516
  # key, or false to use a key managed by Amazon S3. Optional.
1430
1517
  # @return [Boolean]
1431
1518
  #
1432
1519
  # @!attribute [rw] kms_key
1433
1520
  # The Amazon Resource Name (ARN) of the KMS key used for Amazon S3
1434
- # server side encryption. This value can only be set when KMSEncrypted
1521
+ # server-side encryption. This value can only be set when KMSEncrypted
1435
1522
  # is true. Optional.
1436
1523
  # @return [String]
1437
1524
  #
@@ -1515,7 +1602,7 @@ module Aws::StorageGateway
1515
1602
  # @!attribute [rw] tape_size_in_bytes
1516
1603
  # The size, in bytes, of the virtual tape that you want to create.
1517
1604
  #
1518
- # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 byte).
1605
+ # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
1519
1606
  #
1520
1607
  # </note>
1521
1608
  # @return [Integer]
@@ -1530,13 +1617,13 @@ module Aws::StorageGateway
1530
1617
  # @return [String]
1531
1618
  #
1532
1619
  # @!attribute [rw] kms_encrypted
1533
- # True to use Amazon S3 server side encryption with your own AWS KMS
1620
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1534
1621
  # key, or false to use a key managed by Amazon S3. Optional.
1535
1622
  # @return [Boolean]
1536
1623
  #
1537
1624
  # @!attribute [rw] kms_key
1538
- # The Amazon Resource Name (ARN) of the AWS KMS Key used for Amazon S3
1539
- # server side encryption. This value can only be set when KMSEncrypted
1625
+ # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1626
+ # server-side encryption. This value can only be set when KMSEncrypted
1540
1627
  # is true. Optional.
1541
1628
  # @return [String]
1542
1629
  #
@@ -1545,7 +1632,8 @@ module Aws::StorageGateway
1545
1632
  # The tape in this pool is archived in the S3 storage class that is
1546
1633
  # associated with the pool. When you use your backup application to
1547
1634
  # eject the tape, the tape is archived directly into the storage class
1548
- # (Glacier or Deep Archive) that corresponds to the pool.
1635
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
1636
+ # pool.
1549
1637
  #
1550
1638
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
1551
1639
  # @return [String]
@@ -1620,7 +1708,7 @@ module Aws::StorageGateway
1620
1708
  # @!attribute [rw] tape_size_in_bytes
1621
1709
  # The size, in bytes, of the virtual tapes that you want to create.
1622
1710
  #
1623
- # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 byte).
1711
+ # <note markdown="1"> The size must be aligned by gigabyte (1024*1024*1024 bytes).
1624
1712
  #
1625
1713
  # </note>
1626
1714
  # @return [Integer]
@@ -1651,13 +1739,13 @@ module Aws::StorageGateway
1651
1739
  # @return [String]
1652
1740
  #
1653
1741
  # @!attribute [rw] kms_encrypted
1654
- # True to use Amazon S3 server side encryption with your own AWS KMS
1742
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
1655
1743
  # key, or false to use a key managed by Amazon S3. Optional.
1656
1744
  # @return [Boolean]
1657
1745
  #
1658
1746
  # @!attribute [rw] kms_key
1659
1747
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
1660
- # server side encryption. This value can only be set when KMSEncrypted
1748
+ # server-side encryption. This value can only be set when KMSEncrypted
1661
1749
  # is true. Optional.
1662
1750
  # @return [String]
1663
1751
  #
@@ -1666,7 +1754,8 @@ module Aws::StorageGateway
1666
1754
  # The tape in this pool is archived in the S3 storage class that is
1667
1755
  # associated with the pool. When you use your backup application to
1668
1756
  # eject the tape, the tape is archived directly into the storage class
1669
- # (Glacier or Deep Archive) that corresponds to the pool.
1757
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
1758
+ # pool.
1670
1759
  #
1671
1760
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
1672
1761
  # @return [String]
@@ -1712,6 +1801,39 @@ module Aws::StorageGateway
1712
1801
  include Aws::Structure
1713
1802
  end
1714
1803
 
1804
+ # @note When making an API call, you may pass DeleteAutomaticTapeCreationPolicyInput
1805
+ # data as a hash:
1806
+ #
1807
+ # {
1808
+ # gateway_arn: "GatewayARN", # required
1809
+ # }
1810
+ #
1811
+ # @!attribute [rw] gateway_arn
1812
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
1813
+ # operation to return a list of gateways for your account and AWS
1814
+ # Region.
1815
+ # @return [String]
1816
+ #
1817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicyInput AWS API Documentation
1818
+ #
1819
+ class DeleteAutomaticTapeCreationPolicyInput < Struct.new(
1820
+ :gateway_arn)
1821
+ include Aws::Structure
1822
+ end
1823
+
1824
+ # @!attribute [rw] gateway_arn
1825
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
1826
+ # operation to return a list of gateways for your account and AWS
1827
+ # Region.
1828
+ # @return [String]
1829
+ #
1830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicyOutput AWS API Documentation
1831
+ #
1832
+ class DeleteAutomaticTapeCreationPolicyOutput < Struct.new(
1833
+ :gateway_arn)
1834
+ include Aws::Structure
1835
+ end
1836
+
1715
1837
  # A JSON object containing the following fields:
1716
1838
  #
1717
1839
  # * DeleteBandwidthRateLimitInput$BandwidthType
@@ -1747,8 +1869,8 @@ module Aws::StorageGateway
1747
1869
  include Aws::Structure
1748
1870
  end
1749
1871
 
1750
- # A JSON object containing the of the gateway whose bandwidth rate
1751
- # information was deleted.
1872
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
1873
+ # whose bandwidth rate information was deleted.
1752
1874
  #
1753
1875
  # @!attribute [rw] gateway_arn
1754
1876
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -2020,7 +2142,8 @@ module Aws::StorageGateway
2020
2142
  include Aws::Structure
2021
2143
  end
2022
2144
 
2023
- # A JSON object containing the of the storage volume that was deleted
2145
+ # A JSON object containing the Amazon Resource Name (ARN) of the storage
2146
+ # volume that was deleted
2024
2147
  #
2025
2148
  # @!attribute [rw] volume_arn
2026
2149
  # The Amazon Resource Name (ARN) of the storage volume that was
@@ -2079,7 +2202,8 @@ module Aws::StorageGateway
2079
2202
  include Aws::Structure
2080
2203
  end
2081
2204
 
2082
- # A JSON object containing the of the gateway.
2205
+ # A JSON object containing the Amazon Resource Name (ARN) of the
2206
+ # gateway.
2083
2207
  #
2084
2208
  # @note When making an API call, you may pass DescribeBandwidthRateLimitInput
2085
2209
  # data as a hash:
@@ -2158,12 +2282,12 @@ module Aws::StorageGateway
2158
2282
  #
2159
2283
  # @!attribute [rw] disk_ids
2160
2284
  # An array of strings that identify disks that are to be configured as
2161
- # working storage. Each string have a minimum length of 1 and maximum
2285
+ # working storage. Each string has a minimum length of 1 and maximum
2162
2286
  # length of 300. You can get the disk IDs from the ListLocalDisks API.
2163
2287
  # @return [Array<String>]
2164
2288
  #
2165
2289
  # @!attribute [rw] cache_allocated_in_bytes
2166
- # The amount of cache in bytes allocated to the a gateway.
2290
+ # The amount of cache in bytes allocated to a gateway.
2167
2291
  # @return [Integer]
2168
2292
  #
2169
2293
  # @!attribute [rw] cache_used_percentage
@@ -2213,8 +2337,8 @@ module Aws::StorageGateway
2213
2337
  # @!attribute [rw] volume_arns
2214
2338
  # An array of strings where each string represents the Amazon Resource
2215
2339
  # Name (ARN) of a cached volume. All of the specified cached volumes
2216
- # must from the same gateway. Use ListVolumes to get volume ARNs for a
2217
- # gateway.
2340
+ # must be from the same gateway. Use ListVolumes to get volume ARNs
2341
+ # for a gateway.
2218
2342
  # @return [Array<String>]
2219
2343
  #
2220
2344
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumesInput AWS API Documentation
@@ -2412,7 +2536,8 @@ module Aws::StorageGateway
2412
2536
  include Aws::Structure
2413
2537
  end
2414
2538
 
2415
- # A JSON object containing the of the gateway.
2539
+ # A JSON object containing the Amazon Resource Name (ARN) of the
2540
+ # gateway.
2416
2541
  #
2417
2542
  # @note When making an API call, you may pass DescribeMaintenanceStartTimeInput
2418
2543
  # data as a hash:
@@ -2734,8 +2859,8 @@ module Aws::StorageGateway
2734
2859
  # @!attribute [rw] volume_arns
2735
2860
  # An array of strings where each string represents the Amazon Resource
2736
2861
  # Name (ARN) of a stored volume. All of the specified stored volumes
2737
- # must from the same gateway. Use ListVolumes to get volume ARNs for a
2738
- # gateway.
2862
+ # must be from the same gateway. Use ListVolumes to get volume ARNs
2863
+ # for a gateway.
2739
2864
  # @return [Array<String>]
2740
2865
  #
2741
2866
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumesInput AWS API Documentation
@@ -2830,7 +2955,7 @@ module Aws::StorageGateway
2830
2955
  # @return [String]
2831
2956
  #
2832
2957
  # @!attribute [rw] limit
2833
- # Specifies that the number of virtual tapes descried be limited to
2958
+ # Specifies that the number of virtual tapes described be limited to
2834
2959
  # the specified number.
2835
2960
  # @return [Integer]
2836
2961
  #
@@ -3121,8 +3246,8 @@ module Aws::StorageGateway
3121
3246
  # @return [String]
3122
3247
  #
3123
3248
  # @!attribute [rw] vtl_devices
3124
- # An array of VTL device objects composed of the Amazon Resource
3125
- # Name(ARN) of the VTL devices.
3249
+ # An array of VTL device objects composed of the Amazon Resource Name
3250
+ # (ARN) of the VTL devices.
3126
3251
  # @return [Array<Types::VTLDevice>]
3127
3252
  #
3128
3253
  # @!attribute [rw] marker
@@ -3142,7 +3267,8 @@ module Aws::StorageGateway
3142
3267
  include Aws::Structure
3143
3268
  end
3144
3269
 
3145
- # A JSON object containing the of the gateway.
3270
+ # A JSON object containing the Amazon Resource Name (ARN) of the
3271
+ # gateway.
3146
3272
  #
3147
3273
  # @note When making an API call, you may pass DescribeWorkingStorageInput
3148
3274
  # data as a hash:
@@ -3595,6 +3721,39 @@ module Aws::StorageGateway
3595
3721
  include Aws::Structure
3596
3722
  end
3597
3723
 
3724
+ # @note When making an API call, you may pass ListAutomaticTapeCreationPoliciesInput
3725
+ # data as a hash:
3726
+ #
3727
+ # {
3728
+ # gateway_arn: "GatewayARN",
3729
+ # }
3730
+ #
3731
+ # @!attribute [rw] gateway_arn
3732
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
3733
+ # operation to return a list of gateways for your account and AWS
3734
+ # Region.
3735
+ # @return [String]
3736
+ #
3737
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPoliciesInput AWS API Documentation
3738
+ #
3739
+ class ListAutomaticTapeCreationPoliciesInput < Struct.new(
3740
+ :gateway_arn)
3741
+ include Aws::Structure
3742
+ end
3743
+
3744
+ # @!attribute [rw] automatic_tape_creation_policy_infos
3745
+ # Gets a listing of information about the gateway's automatic tape
3746
+ # creation policies, including the automatic tape creation rules and
3747
+ # the gateway that is using the policies.
3748
+ # @return [Array<Types::AutomaticTapeCreationPolicyInfo>]
3749
+ #
3750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPoliciesOutput AWS API Documentation
3751
+ #
3752
+ class ListAutomaticTapeCreationPoliciesOutput < Struct.new(
3753
+ :automatic_tape_creation_policy_infos)
3754
+ include Aws::Structure
3755
+ end
3756
+
3598
3757
  # ListFileShareInput
3599
3758
  #
3600
3759
  # @note When making an API call, you may pass ListFileSharesInput
@@ -3607,7 +3766,7 @@ module Aws::StorageGateway
3607
3766
  # }
3608
3767
  #
3609
3768
  # @!attribute [rw] gateway_arn
3610
- # The Amazon resource Name (ARN) of the gateway whose file shares you
3769
+ # The Amazon Resource Name (ARN) of the gateway whose file shares you
3611
3770
  # want to list. If this field is not present, all file shares under
3612
3771
  # your account are listed.
3613
3772
  # @return [String]
@@ -3708,7 +3867,8 @@ module Aws::StorageGateway
3708
3867
  include Aws::Structure
3709
3868
  end
3710
3869
 
3711
- # A JSON object containing the of the gateway.
3870
+ # A JSON object containing the Amazon Resource Name (ARN) of the
3871
+ # gateway.
3712
3872
  #
3713
3873
  # @note When making an API call, you may pass ListLocalDisksInput
3714
3874
  # data as a hash:
@@ -3861,8 +4021,8 @@ module Aws::StorageGateway
3861
4021
  # * ListTapesOutput$VolumeInfos
3862
4022
  #
3863
4023
  # @!attribute [rw] tape_infos
3864
- # An array of TapeInfo objects, where each object describes an a
3865
- # single tape. If there not tapes in the tape library or VTS, then the
4024
+ # An array of TapeInfo objects, where each object describes a single
4025
+ # tape. If there are no tapes in the tape library or VTS, then the
3866
4026
  # `TapeInfos` is an empty array.
3867
4027
  # @return [Array<Types::TapeInfo>]
3868
4028
  #
@@ -4110,13 +4270,13 @@ module Aws::StorageGateway
4110
4270
  # @return [String]
4111
4271
  #
4112
4272
  # @!attribute [rw] kms_encrypted
4113
- # True to use Amazon S3 server side encryption with your own AWS KMS
4273
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
4114
4274
  # key, or false to use a key managed by Amazon S3. Optional.
4115
4275
  # @return [Boolean]
4116
4276
  #
4117
4277
  # @!attribute [rw] kms_key
4118
4278
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
4119
- # server side encryption. This value can only be set when KMSEncrypted
4279
+ # server-side encryption. This value can only be set when KMSEncrypted
4120
4280
  # is true. Optional.
4121
4281
  # @return [String]
4122
4282
  #
@@ -4361,7 +4521,7 @@ module Aws::StorageGateway
4361
4521
  #
4362
4522
  # @!attribute [rw] tag_keys
4363
4523
  # The keys of the tags you want to remove from the specified resource.
4364
- # A tag is composed of a key/value pair.
4524
+ # A tag is composed of a key-value pair.
4365
4525
  # @return [Array<String>]
4366
4526
  #
4367
4527
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResourceInput AWS API Documentation
@@ -4537,7 +4697,7 @@ module Aws::StorageGateway
4537
4697
  #
4538
4698
  # @!attribute [rw] kms_key
4539
4699
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
4540
- # server side encryption. This value can only be set when KMSEncrypted
4700
+ # server-side encryption. This value can only be set when KMSEncrypted
4541
4701
  # is true. Optional.
4542
4702
  # @return [String]
4543
4703
  #
@@ -4625,6 +4785,11 @@ module Aws::StorageGateway
4625
4785
  # Authentication is set to `ActiveDirectory`.
4626
4786
  # @return [Array<String>]
4627
4787
  #
4788
+ # @!attribute [rw] audit_destination_arn
4789
+ # The Amazon Resource Name (ARN) of the storage used for the audit
4790
+ # logs.
4791
+ # @return [String]
4792
+ #
4628
4793
  # @!attribute [rw] authentication
4629
4794
  # The authentication method of the file share.
4630
4795
  #
@@ -4660,6 +4825,7 @@ module Aws::StorageGateway
4660
4825
  :admin_user_list,
4661
4826
  :valid_user_list,
4662
4827
  :invalid_user_list,
4828
+ :audit_destination_arn,
4663
4829
  :authentication,
4664
4830
  :tags)
4665
4831
  include Aws::Structure
@@ -4766,7 +4932,8 @@ module Aws::StorageGateway
4766
4932
  include Aws::Structure
4767
4933
  end
4768
4934
 
4769
- # A JSON object containing the of the gateway to shut down.
4935
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
4936
+ # to shut down.
4770
4937
  #
4771
4938
  # @note When making an API call, you may pass ShutdownGatewayInput
4772
4939
  # data as a hash:
@@ -4788,7 +4955,8 @@ module Aws::StorageGateway
4788
4955
  include Aws::Structure
4789
4956
  end
4790
4957
 
4791
- # A JSON object containing the of the gateway that was shut down.
4958
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
4959
+ # that was shut down.
4792
4960
  #
4793
4961
  # @!attribute [rw] gateway_arn
4794
4962
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -4836,7 +5004,8 @@ module Aws::StorageGateway
4836
5004
  include Aws::Structure
4837
5005
  end
4838
5006
 
4839
- # A JSON object containing the of the gateway to start.
5007
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5008
+ # to start.
4840
5009
  #
4841
5010
  # @note When making an API call, you may pass StartGatewayInput
4842
5011
  # data as a hash:
@@ -4858,7 +5027,8 @@ module Aws::StorageGateway
4858
5027
  include Aws::Structure
4859
5028
  end
4860
5029
 
4861
- # A JSON object containing the of the gateway that was restarted.
5030
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5031
+ # that was restarted.
4862
5032
  #
4863
5033
  # @!attribute [rw] gateway_arn
4864
5034
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -4874,8 +5044,8 @@ module Aws::StorageGateway
4874
5044
  end
4875
5045
 
4876
5046
  # Provides additional information about an error that was returned by
4877
- # the service as an or. See the `errorCode` and `errorDetails` members
4878
- # for more information about the error.
5047
+ # the service. See the `errorCode` and `errorDetails` members for more
5048
+ # information about the error.
4879
5049
  #
4880
5050
  # @!attribute [rw] error_code
4881
5051
  # Additional information about the error.
@@ -4981,7 +5151,7 @@ module Aws::StorageGateway
4981
5151
  #
4982
5152
  # @!attribute [rw] kms_key
4983
5153
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
4984
- # server side encryption. This value can only be set when KMSEncrypted
5154
+ # server-side encryption. This value can only be set when KMSEncrypted
4985
5155
  # is true. Optional.
4986
5156
  # @return [String]
4987
5157
  #
@@ -5089,7 +5259,7 @@ module Aws::StorageGateway
5089
5259
  #
5090
5260
  # @!attribute [rw] kms_key
5091
5261
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5092
- # server side encryption. This value can only be set when KMSEncrypted
5262
+ # server-side encryption. This value can only be set when KMSEncrypted
5093
5263
  # is true. Optional.
5094
5264
  # @return [String]
5095
5265
  #
@@ -5098,7 +5268,8 @@ module Aws::StorageGateway
5098
5268
  # tapes in this pool are archived in the S3 storage class that is
5099
5269
  # associated with the pool. When you use your backup application to
5100
5270
  # eject the tape, the tape is archived directly into the storage class
5101
- # (Glacier or Deep Archive) that corresponds to the pool.
5271
+ # (S3 Glacier or S# Glacier Deep Archive) that corresponds to the
5272
+ # pool.
5102
5273
  #
5103
5274
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
5104
5275
  # @return [String]
@@ -5166,7 +5337,7 @@ module Aws::StorageGateway
5166
5337
  #
5167
5338
  # @!attribute [rw] kms_key
5168
5339
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5169
- # server side encryption. This value can only be set when KMSEncrypted
5340
+ # server-side encryption. This value can only be set when KMSEncrypted
5170
5341
  # is true. Optional.
5171
5342
  # @return [String]
5172
5343
  #
@@ -5223,7 +5394,8 @@ module Aws::StorageGateway
5223
5394
  # The tape in this pool is archived in the S3 storage class that is
5224
5395
  # associated with the pool. When you use your backup application to
5225
5396
  # eject the tape, the tape is archived directly into the storage class
5226
- # (Glacier or Deep Archive) that corresponds to the pool.
5397
+ # (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the
5398
+ # pool.
5227
5399
  #
5228
5400
  # Valid values: "GLACIER", "DEEP\_ARCHIVE"
5229
5401
  # @return [String]
@@ -5272,6 +5444,54 @@ module Aws::StorageGateway
5272
5444
  include Aws::Structure
5273
5445
  end
5274
5446
 
5447
+ # @note When making an API call, you may pass UpdateAutomaticTapeCreationPolicyInput
5448
+ # data as a hash:
5449
+ #
5450
+ # {
5451
+ # automatic_tape_creation_rules: [ # required
5452
+ # {
5453
+ # tape_barcode_prefix: "TapeBarcodePrefix", # required
5454
+ # pool_id: "PoolId", # required
5455
+ # tape_size_in_bytes: 1, # required
5456
+ # minimum_num_tapes: 1, # required
5457
+ # },
5458
+ # ],
5459
+ # gateway_arn: "GatewayARN", # required
5460
+ # }
5461
+ #
5462
+ # @!attribute [rw] automatic_tape_creation_rules
5463
+ # An automatic tape creation policy consists of a list of automatic
5464
+ # tape creation rules. The rules determine when and how to
5465
+ # automatically create new tapes.
5466
+ # @return [Array<Types::AutomaticTapeCreationRule>]
5467
+ #
5468
+ # @!attribute [rw] gateway_arn
5469
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
5470
+ # operation to return a list of gateways for your account and AWS
5471
+ # Region.
5472
+ # @return [String]
5473
+ #
5474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateAutomaticTapeCreationPolicyInput AWS API Documentation
5475
+ #
5476
+ class UpdateAutomaticTapeCreationPolicyInput < Struct.new(
5477
+ :automatic_tape_creation_rules,
5478
+ :gateway_arn)
5479
+ include Aws::Structure
5480
+ end
5481
+
5482
+ # @!attribute [rw] gateway_arn
5483
+ # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
5484
+ # operation to return a list of gateways for your account and AWS
5485
+ # Region.
5486
+ # @return [String]
5487
+ #
5488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateAutomaticTapeCreationPolicyOutput AWS API Documentation
5489
+ #
5490
+ class UpdateAutomaticTapeCreationPolicyOutput < Struct.new(
5491
+ :gateway_arn)
5492
+ include Aws::Structure
5493
+ end
5494
+
5275
5495
  # A JSON object containing one or more of the following fields:
5276
5496
  #
5277
5497
  # * UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec
@@ -5310,8 +5530,8 @@ module Aws::StorageGateway
5310
5530
  include Aws::Structure
5311
5531
  end
5312
5532
 
5313
- # A JSON object containing the of the gateway whose throttle information
5314
- # was updated.
5533
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5534
+ # whose throttle information was updated.
5315
5535
  #
5316
5536
  # @!attribute [rw] gateway_arn
5317
5537
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -5473,7 +5693,8 @@ module Aws::StorageGateway
5473
5693
  include Aws::Structure
5474
5694
  end
5475
5695
 
5476
- # A JSON object containing the of the gateway to update.
5696
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5697
+ # to update.
5477
5698
  #
5478
5699
  # @note When making an API call, you may pass UpdateGatewaySoftwareNowInput
5479
5700
  # data as a hash:
@@ -5495,7 +5716,8 @@ module Aws::StorageGateway
5495
5716
  include Aws::Structure
5496
5717
  end
5497
5718
 
5498
- # A JSON object containing the of the gateway that was updated.
5719
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5720
+ # that was updated.
5499
5721
  #
5500
5722
  # @!attribute [rw] gateway_arn
5501
5723
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -5577,8 +5799,8 @@ module Aws::StorageGateway
5577
5799
  include Aws::Structure
5578
5800
  end
5579
5801
 
5580
- # A JSON object containing the of the gateway whose maintenance start
5581
- # time is updated.
5802
+ # A JSON object containing the Amazon Resource Name (ARN) of the gateway
5803
+ # whose maintenance start time is updated.
5582
5804
  #
5583
5805
  # @!attribute [rw] gateway_arn
5584
5806
  # The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
@@ -5622,13 +5844,13 @@ module Aws::StorageGateway
5622
5844
  # @return [String]
5623
5845
  #
5624
5846
  # @!attribute [rw] kms_encrypted
5625
- # True to use Amazon S3 server side encryption with your own AWS KMS
5847
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
5626
5848
  # key, or false to use a key managed by Amazon S3. Optional.
5627
5849
  # @return [Boolean]
5628
5850
  #
5629
5851
  # @!attribute [rw] kms_key
5630
5852
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5631
- # server side encryption. This value can only be set when KMSEncrypted
5853
+ # server-side encryption. This value can only be set when KMSEncrypted
5632
5854
  # is true. Optional.
5633
5855
  # @return [String]
5634
5856
  #
@@ -5737,6 +5959,7 @@ module Aws::StorageGateway
5737
5959
  # admin_user_list: ["FileShareUser"],
5738
5960
  # valid_user_list: ["FileShareUser"],
5739
5961
  # invalid_user_list: ["FileShareUser"],
5962
+ # audit_destination_arn: "AuditDestinationARN",
5740
5963
  # }
5741
5964
  #
5742
5965
  # @!attribute [rw] file_share_arn
@@ -5745,13 +5968,13 @@ module Aws::StorageGateway
5745
5968
  # @return [String]
5746
5969
  #
5747
5970
  # @!attribute [rw] kms_encrypted
5748
- # True to use Amazon S3 server side encryption with your own AWS KMS
5971
+ # True to use Amazon S3 server-side encryption with your own AWS KMS
5749
5972
  # key, or false to use a key managed by Amazon S3. Optional.
5750
5973
  # @return [Boolean]
5751
5974
  #
5752
5975
  # @!attribute [rw] kms_key
5753
5976
  # The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3
5754
- # server side encryption. This value can only be set when KMSEncrypted
5977
+ # server-side encryption. This value can only be set when KMSEncrypted
5755
5978
  # is true. Optional.
5756
5979
  # @return [String]
5757
5980
  #
@@ -5824,6 +6047,11 @@ module Aws::StorageGateway
5824
6047
  # Authentication is set to `ActiveDirectory`.
5825
6048
  # @return [Array<String>]
5826
6049
  #
6050
+ # @!attribute [rw] audit_destination_arn
6051
+ # The Amazon Resource Name (ARN) of the storage used for the audit
6052
+ # logs.
6053
+ # @return [String]
6054
+ #
5827
6055
  # @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareInput AWS API Documentation
5828
6056
  #
5829
6057
  class UpdateSMBFileShareInput < Struct.new(
@@ -5838,7 +6066,8 @@ module Aws::StorageGateway
5838
6066
  :smbacl_enabled,
5839
6067
  :admin_user_list,
5840
6068
  :valid_user_list,
5841
- :invalid_user_list)
6069
+ :invalid_user_list,
6070
+ :audit_destination_arn)
5842
6071
  include Aws::Structure
5843
6072
  end
5844
6073
 
@@ -5980,7 +6209,8 @@ module Aws::StorageGateway
5980
6209
  include Aws::Structure
5981
6210
  end
5982
6211
 
5983
- # A JSON object containing the of the updated storage volume.
6212
+ # A JSON object containing the Amazon Resource Name (ARN) of the updated
6213
+ # storage volume.
5984
6214
  #
5985
6215
  # @!attribute [rw] volume_arn
5986
6216
  # The Amazon Resource Name (ARN) of the volume. Use the ListVolumes