aws-sdk-fsx 1.32.0 → 1.37.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -33,6 +33,7 @@ module Aws::FSx
33
33
  AutoImportPolicyType = Shapes::StringShape.new(name: 'AutoImportPolicyType')
34
34
  AutomaticBackupRetentionDays = Shapes::IntegerShape.new(name: 'AutomaticBackupRetentionDays')
35
35
  Backup = Shapes::StructureShape.new(name: 'Backup')
36
+ BackupBeingCopied = Shapes::StructureShape.new(name: 'BackupBeingCopied')
36
37
  BackupFailureDetails = Shapes::StructureShape.new(name: 'BackupFailureDetails')
37
38
  BackupId = Shapes::StringShape.new(name: 'BackupId')
38
39
  BackupIds = Shapes::ListShape.new(name: 'BackupIds')
@@ -47,6 +48,8 @@ module Aws::FSx
47
48
  CancelDataRepositoryTaskResponse = Shapes::StructureShape.new(name: 'CancelDataRepositoryTaskResponse')
48
49
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
49
50
  CompletionReport = Shapes::StructureShape.new(name: 'CompletionReport')
51
+ CopyBackupRequest = Shapes::StructureShape.new(name: 'CopyBackupRequest')
52
+ CopyBackupResponse = Shapes::StructureShape.new(name: 'CopyBackupResponse')
50
53
  CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
51
54
  CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
52
55
  CreateDataRepositoryTaskRequest = Shapes::StructureShape.new(name: 'CreateDataRepositoryTaskRequest')
@@ -60,6 +63,7 @@ module Aws::FSx
60
63
  CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
61
64
  DNSName = Shapes::StringShape.new(name: 'DNSName')
62
65
  DailyTime = Shapes::StringShape.new(name: 'DailyTime')
66
+ DataCompressionType = Shapes::StringShape.new(name: 'DataCompressionType')
63
67
  DataRepositoryConfiguration = Shapes::StructureShape.new(name: 'DataRepositoryConfiguration')
64
68
  DataRepositoryFailureDetails = Shapes::StructureShape.new(name: 'DataRepositoryFailureDetails')
65
69
  DataRepositoryLifecycle = Shapes::StringShape.new(name: 'DataRepositoryLifecycle')
@@ -123,11 +127,15 @@ module Aws::FSx
123
127
  Filters = Shapes::ListShape.new(name: 'Filters')
124
128
  Flag = Shapes::BooleanShape.new(name: 'Flag')
125
129
  IncompatibleParameterError = Shapes::StructureShape.new(name: 'IncompatibleParameterError')
130
+ IncompatibleRegionForMultiAZ = Shapes::StructureShape.new(name: 'IncompatibleRegionForMultiAZ')
126
131
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
132
+ InvalidDestinationKmsKey = Shapes::StructureShape.new(name: 'InvalidDestinationKmsKey')
127
133
  InvalidExportPath = Shapes::StructureShape.new(name: 'InvalidExportPath')
128
134
  InvalidImportPath = Shapes::StructureShape.new(name: 'InvalidImportPath')
129
135
  InvalidNetworkSettings = Shapes::StructureShape.new(name: 'InvalidNetworkSettings')
130
136
  InvalidPerUnitStorageThroughput = Shapes::StructureShape.new(name: 'InvalidPerUnitStorageThroughput')
137
+ InvalidRegion = Shapes::StructureShape.new(name: 'InvalidRegion')
138
+ InvalidSourceKmsKey = Shapes::StructureShape.new(name: 'InvalidSourceKmsKey')
131
139
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
132
140
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
133
141
  LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
@@ -148,6 +156,7 @@ module Aws::FSx
148
156
  Parameter = Shapes::StringShape.new(name: 'Parameter')
149
157
  PerUnitStorageThroughput = Shapes::IntegerShape.new(name: 'PerUnitStorageThroughput')
150
158
  ProgressPercent = Shapes::IntegerShape.new(name: 'ProgressPercent')
159
+ Region = Shapes::StringShape.new(name: 'Region')
151
160
  ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
152
161
  ReportScope = Shapes::StringShape.new(name: 'ReportScope')
153
162
  RequestTime = Shapes::TimestampShape.new(name: 'RequestTime')
@@ -161,6 +170,8 @@ module Aws::FSx
161
170
  SelfManagedActiveDirectoryConfigurationUpdates = Shapes::StructureShape.new(name: 'SelfManagedActiveDirectoryConfigurationUpdates')
162
171
  ServiceLimit = Shapes::StringShape.new(name: 'ServiceLimit')
163
172
  ServiceLimitExceeded = Shapes::StructureShape.new(name: 'ServiceLimitExceeded')
173
+ SourceBackupId = Shapes::StringShape.new(name: 'SourceBackupId')
174
+ SourceBackupUnavailable = Shapes::StructureShape.new(name: 'SourceBackupUnavailable')
164
175
  StartTime = Shapes::TimestampShape.new(name: 'StartTime')
165
176
  Status = Shapes::StringShape.new(name: 'Status')
166
177
  StorageCapacity = Shapes::IntegerShape.new(name: 'StorageCapacity')
@@ -192,6 +203,7 @@ module Aws::FSx
192
203
 
193
204
  ActiveDirectoryBackupAttributes.add_member(:domain_name, Shapes::ShapeRef.new(shape: ActiveDirectoryFullyQualifiedName, location_name: "DomainName"))
194
205
  ActiveDirectoryBackupAttributes.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "ActiveDirectoryId"))
206
+ ActiveDirectoryBackupAttributes.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
195
207
  ActiveDirectoryBackupAttributes.struct_class = Types::ActiveDirectoryBackupAttributes
196
208
 
197
209
  ActiveDirectoryError.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ActiveDirectoryId"))
@@ -239,8 +251,15 @@ module Aws::FSx
239
251
  Backup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
240
252
  Backup.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, required: true, location_name: "FileSystem"))
241
253
  Backup.add_member(:directory_information, Shapes::ShapeRef.new(shape: ActiveDirectoryBackupAttributes, location_name: "DirectoryInformation"))
254
+ Backup.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
255
+ Backup.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
256
+ Backup.add_member(:source_backup_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceBackupRegion"))
242
257
  Backup.struct_class = Types::Backup
243
258
 
259
+ BackupBeingCopied.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
260
+ BackupBeingCopied.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
261
+ BackupBeingCopied.struct_class = Types::BackupBeingCopied
262
+
244
263
  BackupFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
245
264
  BackupFailureDetails.struct_class = Types::BackupFailureDetails
246
265
 
@@ -274,6 +293,17 @@ module Aws::FSx
274
293
  CompletionReport.add_member(:scope, Shapes::ShapeRef.new(shape: ReportScope, location_name: "Scope"))
275
294
  CompletionReport.struct_class = Types::CompletionReport
276
295
 
296
+ CopyBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
297
+ CopyBackupRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: SourceBackupId, required: true, location_name: "SourceBackupId"))
298
+ CopyBackupRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceRegion"))
299
+ CopyBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
300
+ CopyBackupRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTags"))
301
+ CopyBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
302
+ CopyBackupRequest.struct_class = Types::CopyBackupRequest
303
+
304
+ CopyBackupResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
305
+ CopyBackupResponse.struct_class = Types::CopyBackupResponse
306
+
277
307
  CreateBackupRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
278
308
  CreateBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
279
309
  CreateBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -301,6 +331,7 @@ module Aws::FSx
301
331
  CreateFileSystemFromBackupRequest.add_member(:windows_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemWindowsConfiguration, location_name: "WindowsConfiguration"))
302
332
  CreateFileSystemFromBackupRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemLustreConfiguration, location_name: "LustreConfiguration"))
303
333
  CreateFileSystemFromBackupRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
334
+ CreateFileSystemFromBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
304
335
  CreateFileSystemFromBackupRequest.struct_class = Types::CreateFileSystemFromBackupRequest
305
336
 
306
337
  CreateFileSystemFromBackupResponse.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, location_name: "FileSystem"))
@@ -317,6 +348,7 @@ module Aws::FSx
317
348
  CreateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
318
349
  CreateFileSystemLustreConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
319
350
  CreateFileSystemLustreConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
351
+ CreateFileSystemLustreConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
320
352
  CreateFileSystemLustreConfiguration.struct_class = Types::CreateFileSystemLustreConfiguration
321
353
 
322
354
  CreateFileSystemRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -531,9 +563,15 @@ module Aws::FSx
531
563
  IncompatibleParameterError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
532
564
  IncompatibleParameterError.struct_class = Types::IncompatibleParameterError
533
565
 
566
+ IncompatibleRegionForMultiAZ.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
567
+ IncompatibleRegionForMultiAZ.struct_class = Types::IncompatibleRegionForMultiAZ
568
+
534
569
  InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
535
570
  InternalServerError.struct_class = Types::InternalServerError
536
571
 
572
+ InvalidDestinationKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
573
+ InvalidDestinationKmsKey.struct_class = Types::InvalidDestinationKmsKey
574
+
537
575
  InvalidExportPath.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
538
576
  InvalidExportPath.struct_class = Types::InvalidExportPath
539
577
 
@@ -548,6 +586,12 @@ module Aws::FSx
548
586
  InvalidPerUnitStorageThroughput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
549
587
  InvalidPerUnitStorageThroughput.struct_class = Types::InvalidPerUnitStorageThroughput
550
588
 
589
+ InvalidRegion.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
590
+ InvalidRegion.struct_class = Types::InvalidRegion
591
+
592
+ InvalidSourceKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
593
+ InvalidSourceKmsKey.struct_class = Types::InvalidSourceKmsKey
594
+
551
595
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
552
596
  ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
553
597
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -566,6 +610,7 @@ module Aws::FSx
566
610
  LustreFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
567
611
  LustreFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
568
612
  LustreFileSystemConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
613
+ LustreFileSystemConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
569
614
  LustreFileSystemConfiguration.struct_class = Types::LustreFileSystemConfiguration
570
615
 
571
616
  MissingFileSystemConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -611,6 +656,10 @@ module Aws::FSx
611
656
  ServiceLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
612
657
  ServiceLimitExceeded.struct_class = Types::ServiceLimitExceeded
613
658
 
659
+ SourceBackupUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
660
+ SourceBackupUnavailable.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
661
+ SourceBackupUnavailable.struct_class = Types::SourceBackupUnavailable
662
+
614
663
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
615
664
 
616
665
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -642,6 +691,7 @@ module Aws::FSx
642
691
  UpdateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
643
692
  UpdateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
644
693
  UpdateFileSystemLustreConfiguration.add_member(:auto_import_policy, Shapes::ShapeRef.new(shape: AutoImportPolicyType, location_name: "AutoImportPolicy"))
694
+ UpdateFileSystemLustreConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
645
695
  UpdateFileSystemLustreConfiguration.struct_class = Types::UpdateFileSystemLustreConfiguration
646
696
 
647
697
  UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -719,6 +769,25 @@ module Aws::FSx
719
769
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
720
770
  end)
721
771
 
772
+ api.add_operation(:copy_backup, Seahorse::Model::Operation.new.tap do |o|
773
+ o.name = "CopyBackup"
774
+ o.http_method = "POST"
775
+ o.http_request_uri = "/"
776
+ o.input = Shapes::ShapeRef.new(shape: CopyBackupRequest)
777
+ o.output = Shapes::ShapeRef.new(shape: CopyBackupResponse)
778
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
779
+ o.errors << Shapes::ShapeRef.new(shape: BackupNotFound)
780
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
781
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
782
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
783
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
784
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceKmsKey)
785
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDestinationKmsKey)
786
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRegion)
787
+ o.errors << Shapes::ShapeRef.new(shape: SourceBackupUnavailable)
788
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleRegionForMultiAZ)
789
+ end)
790
+
722
791
  api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
723
792
  o.name = "CreateBackup"
724
793
  o.http_method = "POST"
@@ -796,6 +865,7 @@ module Aws::FSx
796
865
  o.errors << Shapes::ShapeRef.new(shape: BackupRestoring)
797
866
  o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
798
867
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
868
+ o.errors << Shapes::ShapeRef.new(shape: BackupBeingCopied)
799
869
  end)
800
870
 
801
871
  api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -28,6 +28,7 @@ module Aws::FSx
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ActiveDirectoryError}
31
+ # * {BackupBeingCopied}
31
32
  # * {BackupInProgress}
32
33
  # * {BackupNotFound}
33
34
  # * {BackupRestoring}
@@ -37,16 +38,21 @@ module Aws::FSx
37
38
  # * {DataRepositoryTaskNotFound}
38
39
  # * {FileSystemNotFound}
39
40
  # * {IncompatibleParameterError}
41
+ # * {IncompatibleRegionForMultiAZ}
40
42
  # * {InternalServerError}
43
+ # * {InvalidDestinationKmsKey}
41
44
  # * {InvalidExportPath}
42
45
  # * {InvalidImportPath}
43
46
  # * {InvalidNetworkSettings}
44
47
  # * {InvalidPerUnitStorageThroughput}
48
+ # * {InvalidRegion}
49
+ # * {InvalidSourceKmsKey}
45
50
  # * {MissingFileSystemConfiguration}
46
51
  # * {NotServiceResourceError}
47
52
  # * {ResourceDoesNotSupportTagging}
48
53
  # * {ResourceNotFound}
49
54
  # * {ServiceLimitExceeded}
55
+ # * {SourceBackupUnavailable}
50
56
  # * {UnsupportedOperation}
51
57
  #
52
58
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -80,6 +86,26 @@ module Aws::FSx
80
86
  end
81
87
  end
82
88
 
89
+ class BackupBeingCopied < ServiceError
90
+
91
+ # @param [Seahorse::Client::RequestContext] context
92
+ # @param [String] message
93
+ # @param [Aws::FSx::Types::BackupBeingCopied] data
94
+ def initialize(context, message, data = Aws::EmptyStructure.new)
95
+ super(context, message, data)
96
+ end
97
+
98
+ # @return [String]
99
+ def message
100
+ @message || @data[:message]
101
+ end
102
+
103
+ # @return [String]
104
+ def backup_id
105
+ @data[:backup_id]
106
+ end
107
+ end
108
+
83
109
  class BackupInProgress < ServiceError
84
110
 
85
111
  # @param [Seahorse::Client::RequestContext] context
@@ -225,6 +251,21 @@ module Aws::FSx
225
251
  end
226
252
  end
227
253
 
254
+ class IncompatibleRegionForMultiAZ < ServiceError
255
+
256
+ # @param [Seahorse::Client::RequestContext] context
257
+ # @param [String] message
258
+ # @param [Aws::FSx::Types::IncompatibleRegionForMultiAZ] data
259
+ def initialize(context, message, data = Aws::EmptyStructure.new)
260
+ super(context, message, data)
261
+ end
262
+
263
+ # @return [String]
264
+ def message
265
+ @message || @data[:message]
266
+ end
267
+ end
268
+
228
269
  class InternalServerError < ServiceError
229
270
 
230
271
  # @param [Seahorse::Client::RequestContext] context
@@ -240,6 +281,21 @@ module Aws::FSx
240
281
  end
241
282
  end
242
283
 
284
+ class InvalidDestinationKmsKey < ServiceError
285
+
286
+ # @param [Seahorse::Client::RequestContext] context
287
+ # @param [String] message
288
+ # @param [Aws::FSx::Types::InvalidDestinationKmsKey] data
289
+ def initialize(context, message, data = Aws::EmptyStructure.new)
290
+ super(context, message, data)
291
+ end
292
+
293
+ # @return [String]
294
+ def message
295
+ @message || @data[:message]
296
+ end
297
+ end
298
+
243
299
  class InvalidExportPath < ServiceError
244
300
 
245
301
  # @param [Seahorse::Client::RequestContext] context
@@ -310,6 +366,36 @@ module Aws::FSx
310
366
  end
311
367
  end
312
368
 
369
+ class InvalidRegion < ServiceError
370
+
371
+ # @param [Seahorse::Client::RequestContext] context
372
+ # @param [String] message
373
+ # @param [Aws::FSx::Types::InvalidRegion] data
374
+ def initialize(context, message, data = Aws::EmptyStructure.new)
375
+ super(context, message, data)
376
+ end
377
+
378
+ # @return [String]
379
+ def message
380
+ @message || @data[:message]
381
+ end
382
+ end
383
+
384
+ class InvalidSourceKmsKey < ServiceError
385
+
386
+ # @param [Seahorse::Client::RequestContext] context
387
+ # @param [String] message
388
+ # @param [Aws::FSx::Types::InvalidSourceKmsKey] data
389
+ def initialize(context, message, data = Aws::EmptyStructure.new)
390
+ super(context, message, data)
391
+ end
392
+
393
+ # @return [String]
394
+ def message
395
+ @message || @data[:message]
396
+ end
397
+ end
398
+
313
399
  class MissingFileSystemConfiguration < ServiceError
314
400
 
315
401
  # @param [Seahorse::Client::RequestContext] context
@@ -405,6 +491,26 @@ module Aws::FSx
405
491
  end
406
492
  end
407
493
 
494
+ class SourceBackupUnavailable < ServiceError
495
+
496
+ # @param [Seahorse::Client::RequestContext] context
497
+ # @param [String] message
498
+ # @param [Aws::FSx::Types::SourceBackupUnavailable] data
499
+ def initialize(context, message, data = Aws::EmptyStructure.new)
500
+ super(context, message, data)
501
+ end
502
+
503
+ # @return [String]
504
+ def message
505
+ @message || @data[:message]
506
+ end
507
+
508
+ # @return [String]
509
+ def backup_id
510
+ @data[:backup_id]
511
+ end
512
+ end
513
+
408
514
  class UnsupportedOperation < ServiceError
409
515
 
410
516
  # @param [Seahorse::Client::RequestContext] context
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -22,11 +22,24 @@ module Aws::FSx
22
22
  # which the file system is joined.
23
23
  # @return [String]
24
24
  #
25
+ # @!attribute [rw] resource_arn
26
+ # The Amazon Resource Name (ARN) for a given resource. ARNs uniquely
27
+ # identify AWS resources. We require an ARN when you need to specify a
28
+ # resource unambiguously across all of AWS. For more information, see
29
+ # [Amazon Resource Names (ARNs) and AWS Service Namespaces][1] in the
30
+ # *AWS General Reference*.
31
+ #
32
+ #
33
+ #
34
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
35
+ # @return [String]
36
+ #
25
37
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ActiveDirectoryBackupAttributes AWS API Documentation
26
38
  #
27
39
  class ActiveDirectoryBackupAttributes < Struct.new(
28
40
  :domain_name,
29
- :active_directory_id)
41
+ :active_directory_id,
42
+ :resource_arn)
30
43
  SENSITIVE = []
31
44
  include Aws::Structure
32
45
  end
@@ -55,8 +68,8 @@ module Aws::FSx
55
68
  include Aws::Structure
56
69
  end
57
70
 
58
- # Describes a specific Amazon FSx Administrative Action for the current
59
- # Windows file system.
71
+ # Describes a specific Amazon FSx administrative action for the current
72
+ # Windows or Lustre file system.
60
73
  #
61
74
  # @!attribute [rw] administrative_action_type
62
75
  # Describes the type of administrative action, as follows:
@@ -67,13 +80,21 @@ module Aws::FSx
67
80
  #
68
81
  # * `STORAGE_OPTIMIZATION` - Once the `FILE_SYSTEM_UPDATE` task to
69
82
  # increase a file system's storage capacity completes successfully,
70
- # a `STORAGE_OPTIMIZATION` task starts. Storage optimization is the
71
- # process of migrating the file system data to the new, larger
72
- # disks. You can track the storage migration progress using the
83
+ # a `STORAGE_OPTIMIZATION` task starts.
84
+ #
85
+ # * For Windows, storage optimization is the process of migrating
86
+ # the file system data to the new, larger disks.
87
+ #
88
+ # * For Lustre, storage optimization consists of rebalancing the
89
+ # data across the existing and newly added file servers.
90
+ #
91
+ # You can track the storage optimization progress using the
73
92
  # `ProgressPercent` property. When `STORAGE_OPTIMIZATION` completes
74
93
  # successfully, the parent `FILE_SYSTEM_UPDATE` action status
75
94
  # changes to `COMPLETED`. For more information, see [Managing
76
- # Storage Capacity][1].
95
+ # storage capacity][1] in the *Amazon FSx for Windows File Server
96
+ # User Guide* and [Managing storage and throughput capacity][2] in
97
+ # the *Amazon FSx for Lustre User Guide*.
77
98
  #
78
99
  # * `FILE_SYSTEM_ALIAS_ASSOCIATION` - A file system update to
79
100
  # associate a new DNS alias with the file system. For more
@@ -86,6 +107,7 @@ module Aws::FSx
86
107
  #
87
108
  #
88
109
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
110
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
89
111
  # @return [String]
90
112
  #
91
113
  # @!attribute [rw] progress_percent
@@ -116,11 +138,15 @@ module Aws::FSx
116
138
  # * `UPDATED_OPTIMIZING` - For a storage capacity increase update,
117
139
  # Amazon FSx has updated the file system with the new storage
118
140
  # capacity, and is now performing the storage optimization process.
119
- # For more information, see [Managing Storage Capacity][1].
141
+ # For more information, see [Managing storage capacity][1] in the
142
+ # *Amazon FSx for Windows File Server User Guide* and [Managing
143
+ # storage and throughput capacity][2] in the *Amazon FSx for Lustre
144
+ # User Guide*.
120
145
  #
121
146
  #
122
147
  #
123
148
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
149
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
124
150
  # @return [String]
125
151
  #
126
152
  # @!attribute [rw] target_file_system_values
@@ -178,7 +204,8 @@ module Aws::FSx
178
204
  # * Formatted as a fully-qualified domain name (FQDN),
179
205
  # `hostname.domain`, for example, `accounting.example.com`.
180
206
  #
181
- # * Can contain alphanumeric characters and the hyphen (-).
207
+ # * Can contain alphanumeric characters, the underscore (\_), and the
208
+ # hyphen (-).
182
209
  #
183
210
  # * Cannot start or end with a hyphen.
184
211
  #
@@ -295,7 +322,7 @@ module Aws::FSx
295
322
  include Aws::Structure
296
323
  end
297
324
 
298
- # A backup of an Amazon FSx for file system.
325
+ # A backup of an Amazon FSx file system.
299
326
  #
300
327
  # @!attribute [rw] backup_id
301
328
  # The ID of the backup.
@@ -306,12 +333,18 @@ module Aws::FSx
306
333
  #
307
334
  # * `AVAILABLE` - The backup is fully available.
308
335
  #
309
- # * `CREATING` - FSx is creating the backup.
336
+ # * `PENDING` - For user-initiated backups on Lustre file systems
337
+ # only; Amazon FSx has not started creating the backup.
338
+ #
339
+ # * `CREATING` - Amazon FSx is creating the backup.
340
+ #
341
+ # * `TRANSFERRING` - For user-initiated backups on Lustre file systems
342
+ # only; Amazon FSx is transferring the backup to S3.
310
343
  #
311
- # * `TRANSFERRING` - For Lustre file systems only; FSx is transferring
312
- # the backup to S3.
344
+ # * `COPYING` - Amazon FSx is copying the backup.
313
345
  #
314
- # * `DELETED` - The backup was deleted is no longer available.
346
+ # * `DELETED` - Amazon FSx deleted the backup and it is no longer
347
+ # available.
315
348
  #
316
349
  # * `FAILED` - Amazon FSx could not complete the backup.
317
350
  # @return [String]
@@ -355,6 +388,20 @@ module Aws::FSx
355
388
  # (AD) to which the Windows File Server instance is joined.
356
389
  # @return [Types::ActiveDirectoryBackupAttributes]
357
390
  #
391
+ # @!attribute [rw] owner_id
392
+ # An AWS account ID. This ID is a 12-digit number that you use to
393
+ # construct Amazon Resource Names (ARNs) for resources.
394
+ # @return [String]
395
+ #
396
+ # @!attribute [rw] source_backup_id
397
+ # The ID of the source backup. Specifies the backup you are copying.
398
+ # @return [String]
399
+ #
400
+ # @!attribute [rw] source_backup_region
401
+ # The source Region of the backup. Specifies the Region from where
402
+ # this backup is copied.
403
+ # @return [String]
404
+ #
358
405
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/Backup AWS API Documentation
359
406
  #
360
407
  class Backup < Struct.new(
@@ -368,7 +415,29 @@ module Aws::FSx
368
415
  :resource_arn,
369
416
  :tags,
370
417
  :file_system,
371
- :directory_information)
418
+ :directory_information,
419
+ :owner_id,
420
+ :source_backup_id,
421
+ :source_backup_region)
422
+ SENSITIVE = []
423
+ include Aws::Structure
424
+ end
425
+
426
+ # You can't delete a backup while it's being copied.
427
+ #
428
+ # @!attribute [rw] message
429
+ # A detailed error message.
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] backup_id
433
+ # The ID of the source backup. Specifies the backup you are copying.
434
+ # @return [String]
435
+ #
436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/BackupBeingCopied AWS API Documentation
437
+ #
438
+ class BackupBeingCopied < Struct.new(
439
+ :message,
440
+ :backup_id)
372
441
  SENSITIVE = []
373
442
  include Aws::Structure
374
443
  end
@@ -567,6 +636,102 @@ module Aws::FSx
567
636
  include Aws::Structure
568
637
  end
569
638
 
639
+ # @note When making an API call, you may pass CopyBackupRequest
640
+ # data as a hash:
641
+ #
642
+ # {
643
+ # client_request_token: "ClientRequestToken",
644
+ # source_backup_id: "SourceBackupId", # required
645
+ # source_region: "Region",
646
+ # kms_key_id: "KmsKeyId",
647
+ # copy_tags: false,
648
+ # tags: [
649
+ # {
650
+ # key: "TagKey", # required
651
+ # value: "TagValue", # required
652
+ # },
653
+ # ],
654
+ # }
655
+ #
656
+ # @!attribute [rw] client_request_token
657
+ # (Optional) An idempotency token for resource creation, in a string
658
+ # of up to 64 ASCII characters. This token is automatically filled on
659
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
660
+ # an AWS SDK.
661
+ #
662
+ # **A suitable default value is auto-generated.** You should normally
663
+ # not need to pass this option.
664
+ # @return [String]
665
+ #
666
+ # @!attribute [rw] source_backup_id
667
+ # The ID of the source backup. Specifies the ID of the backup that is
668
+ # being copied.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] source_region
672
+ # The source AWS Region of the backup. Specifies the AWS Region from
673
+ # which the backup is being copied. The source and destination Regions
674
+ # must be in the same AWS partition. If you don't specify a Region,
675
+ # it defaults to the Region where the request is sent from (in-Region
676
+ # copy).
677
+ # @return [String]
678
+ #
679
+ # @!attribute [rw] kms_key_id
680
+ # The ID of the AWS Key Management Service (AWS KMS) key used to
681
+ # encrypt the file system's data for Amazon FSx for Windows File
682
+ # Server file systems and Amazon FSx for Lustre `PERSISTENT_1` file
683
+ # systems at rest. In either case, if not specified, the Amazon FSx
684
+ # managed key is used. The Amazon FSx for Lustre `SCRATCH_1` and
685
+ # `SCRATCH_2` file systems are always encrypted at rest using Amazon
686
+ # FSx managed keys. For more information, see [Encrypt][1] in the *AWS
687
+ # Key Management Service API Reference*.
688
+ #
689
+ #
690
+ #
691
+ # [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
692
+ # @return [String]
693
+ #
694
+ # @!attribute [rw] copy_tags
695
+ # A boolean flag indicating whether tags from the source backup should
696
+ # be copied to the backup copy. This value defaults to false.
697
+ #
698
+ # If you set `CopyTags` to true and the source backup has existing
699
+ # tags, you can use the `Tags` parameter to create new tags, provided
700
+ # that the sum of the source backup tags and the new tags doesn't
701
+ # exceed 50. Both sets of tags are merged. If there are tag conflicts
702
+ # (for example, two tags with the same key but different values), the
703
+ # tags created with the `Tags` parameter take precedence.
704
+ # @return [Boolean]
705
+ #
706
+ # @!attribute [rw] tags
707
+ # A list of `Tag` values, with a maximum of 50 elements.
708
+ # @return [Array<Types::Tag>]
709
+ #
710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackupRequest AWS API Documentation
711
+ #
712
+ class CopyBackupRequest < Struct.new(
713
+ :client_request_token,
714
+ :source_backup_id,
715
+ :source_region,
716
+ :kms_key_id,
717
+ :copy_tags,
718
+ :tags)
719
+ SENSITIVE = []
720
+ include Aws::Structure
721
+ end
722
+
723
+ # @!attribute [rw] backup
724
+ # A backup of an Amazon FSx file system.
725
+ # @return [Types::Backup]
726
+ #
727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackupResponse AWS API Documentation
728
+ #
729
+ class CopyBackupResponse < Struct.new(
730
+ :backup)
731
+ SENSITIVE = []
732
+ include Aws::Structure
733
+ end
734
+
570
735
  # The request object for the `CreateBackup` operation.
571
736
  #
572
737
  # @note When making an API call, you may pass CreateBackupRequest
@@ -767,13 +932,14 @@ module Aws::FSx
767
932
  # automatic_backup_retention_days: 1,
768
933
  # copy_tags_to_backups: false,
769
934
  # drive_cache_type: "NONE", # accepts NONE, READ
935
+ # data_compression_type: "NONE", # accepts NONE, LZ4
770
936
  # },
771
937
  # storage_type: "SSD", # accepts SSD, HDD
938
+ # kms_key_id: "KmsKeyId",
772
939
  # }
773
940
  #
774
941
  # @!attribute [rw] backup_id
775
- # The ID of the backup. Specifies the backup to use if you're
776
- # creating a file system from an existing backup.
942
+ # The ID of the source backup. Specifies the backup you are copying.
777
943
  # @return [String]
778
944
  #
779
945
  # @!attribute [rw] client_request_token
@@ -843,6 +1009,21 @@ module Aws::FSx
843
1009
  # </note>
844
1010
  # @return [String]
845
1011
  #
1012
+ # @!attribute [rw] kms_key_id
1013
+ # The ID of the AWS Key Management Service (AWS KMS) key used to
1014
+ # encrypt the file system's data for Amazon FSx for Windows File
1015
+ # Server file systems and Amazon FSx for Lustre `PERSISTENT_1` file
1016
+ # systems at rest. In either case, if not specified, the Amazon FSx
1017
+ # managed key is used. The Amazon FSx for Lustre `SCRATCH_1` and
1018
+ # `SCRATCH_2` file systems are always encrypted at rest using Amazon
1019
+ # FSx managed keys. For more information, see [Encrypt][1] in the *AWS
1020
+ # Key Management Service API Reference*.
1021
+ #
1022
+ #
1023
+ #
1024
+ # [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
1025
+ # @return [String]
1026
+ #
846
1027
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackupRequest AWS API Documentation
847
1028
  #
848
1029
  class CreateFileSystemFromBackupRequest < Struct.new(
@@ -853,7 +1034,8 @@ module Aws::FSx
853
1034
  :tags,
854
1035
  :windows_configuration,
855
1036
  :lustre_configuration,
856
- :storage_type)
1037
+ :storage_type,
1038
+ :kms_key_id)
857
1039
  SENSITIVE = []
858
1040
  include Aws::Structure
859
1041
  end
@@ -889,6 +1071,7 @@ module Aws::FSx
889
1071
  # automatic_backup_retention_days: 1,
890
1072
  # copy_tags_to_backups: false,
891
1073
  # drive_cache_type: "NONE", # accepts NONE, READ
1074
+ # data_compression_type: "NONE", # accepts NONE, LZ4
892
1075
  # }
893
1076
  #
894
1077
  # @!attribute [rw] weekly_maintenance_start_time
@@ -1052,6 +1235,22 @@ module Aws::FSx
1052
1235
  # This parameter is required when `StorageType` is set to HDD.
1053
1236
  # @return [String]
1054
1237
  #
1238
+ # @!attribute [rw] data_compression_type
1239
+ # Sets the data compression configuration for the file system.
1240
+ # `DataCompressionType` can have the following values:
1241
+ #
1242
+ # * `NONE` - (Default) Data compression is turned off when the file
1243
+ # system is created.
1244
+ #
1245
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
1246
+ #
1247
+ # For more information, see [Lustre data compression][1].
1248
+ #
1249
+ #
1250
+ #
1251
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
1252
+ # @return [String]
1253
+ #
1055
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemLustreConfiguration AWS API Documentation
1056
1255
  #
1057
1256
  class CreateFileSystemLustreConfiguration < Struct.new(
@@ -1065,7 +1264,8 @@ module Aws::FSx
1065
1264
  :daily_automatic_backup_start_time,
1066
1265
  :automatic_backup_retention_days,
1067
1266
  :copy_tags_to_backups,
1068
- :drive_cache_type)
1267
+ :drive_cache_type,
1268
+ :data_compression_type)
1069
1269
  SENSITIVE = []
1070
1270
  include Aws::Structure
1071
1271
  end
@@ -1120,6 +1320,7 @@ module Aws::FSx
1120
1320
  # automatic_backup_retention_days: 1,
1121
1321
  # copy_tags_to_backups: false,
1122
1322
  # drive_cache_type: "NONE", # accepts NONE, READ
1323
+ # data_compression_type: "NONE", # accepts NONE, LZ4
1123
1324
  # },
1124
1325
  # }
1125
1326
  #
@@ -1189,11 +1390,17 @@ module Aws::FSx
1189
1390
  # types, provide exactly two subnet IDs, one for the preferred file
1190
1391
  # server and one for the standby file server. You specify one of these
1191
1392
  # subnets as the preferred subnet using the `WindowsConfiguration >
1192
- # PreferredSubnetID` property.
1393
+ # PreferredSubnetID` property. For more information, see [
1394
+ # Availability and durability: Single-AZ and Multi-AZ file
1395
+ # systems][1].
1193
1396
  #
1194
1397
  # For Windows `SINGLE_AZ_1` and `SINGLE_AZ_2` file system deployment
1195
1398
  # types and Lustre file systems, provide exactly one subnet ID. The
1196
1399
  # file server is launched in that subnet's Availability Zone.
1400
+ #
1401
+ #
1402
+ #
1403
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html
1197
1404
  # @return [Array<String>]
1198
1405
  #
1199
1406
  # @!attribute [rw] security_group_ids
@@ -1296,7 +1503,13 @@ module Aws::FSx
1296
1503
  # @!attribute [rw] self_managed_active_directory_configuration
1297
1504
  # The configuration that Amazon FSx uses to join the Windows File
1298
1505
  # Server instance to your self-managed (including on-premises)
1299
- # Microsoft Active Directory (AD) directory.
1506
+ # Microsoft Active Directory (AD) directory. For more information, see
1507
+ # [ Using Amazon FSx with your self-managed Microsoft Active
1508
+ # Directory][1].
1509
+ #
1510
+ #
1511
+ #
1512
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html
1300
1513
  # @return [Types::SelfManagedActiveDirectoryConfiguration]
1301
1514
  #
1302
1515
  # @!attribute [rw] deployment_type
@@ -1389,7 +1602,8 @@ module Aws::FSx
1389
1602
  # * Formatted as a fully-qualified domain name (FQDN),
1390
1603
  # `hostname.domain`, for example, `accounting.example.com`.
1391
1604
  #
1392
- # * Can contain alphanumeric characters and the hyphen (-).
1605
+ # * Can contain alphanumeric characters, the underscore (\_), and the
1606
+ # hyphen (-).
1393
1607
  #
1394
1608
  # * Cannot start or end with a hyphen.
1395
1609
  #
@@ -2116,7 +2330,7 @@ module Aws::FSx
2116
2330
  # Response object for `DescribeBackups` operation.
2117
2331
  #
2118
2332
  # @!attribute [rw] backups
2119
- # Any array of backups.
2333
+ # An array of backups.
2120
2334
  # @return [Array<Types::Backup>]
2121
2335
  #
2122
2336
  # @!attribute [rw] next_token
@@ -2448,7 +2662,7 @@ module Aws::FSx
2448
2662
  # @return [Types::FileSystemFailureDetails]
2449
2663
  #
2450
2664
  # @!attribute [rw] storage_capacity
2451
- # The storage capacity of the file system in gigabytes (GB).
2665
+ # The storage capacity of the file system in gibibytes (GiB).
2452
2666
  # @return [Integer]
2453
2667
  #
2454
2668
  # @!attribute [rw] storage_type
@@ -2646,6 +2860,21 @@ module Aws::FSx
2646
2860
  include Aws::Structure
2647
2861
  end
2648
2862
 
2863
+ # Amazon FSx doesn't support Multi-AZ Windows File Server copy backup
2864
+ # in the destination Region, so the copied backup can't be restored.
2865
+ #
2866
+ # @!attribute [rw] message
2867
+ # A detailed error message.
2868
+ # @return [String]
2869
+ #
2870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/IncompatibleRegionForMultiAZ AWS API Documentation
2871
+ #
2872
+ class IncompatibleRegionForMultiAZ < Struct.new(
2873
+ :message)
2874
+ SENSITIVE = []
2875
+ include Aws::Structure
2876
+ end
2877
+
2649
2878
  # A generic error indicating a server-side failure.
2650
2879
  #
2651
2880
  # @!attribute [rw] message
@@ -2660,6 +2889,21 @@ module Aws::FSx
2660
2889
  include Aws::Structure
2661
2890
  end
2662
2891
 
2892
+ # The AWS Key Management Service (AWS KMS) key of the destination backup
2893
+ # is invalid.
2894
+ #
2895
+ # @!attribute [rw] message
2896
+ # A detailed error message.
2897
+ # @return [String]
2898
+ #
2899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidDestinationKmsKey AWS API Documentation
2900
+ #
2901
+ class InvalidDestinationKmsKey < Struct.new(
2902
+ :message)
2903
+ SENSITIVE = []
2904
+ include Aws::Structure
2905
+ end
2906
+
2663
2907
  # The path provided for data repository export isn't valid.
2664
2908
  #
2665
2909
  # @!attribute [rw] message
@@ -2746,6 +2990,36 @@ module Aws::FSx
2746
2990
  include Aws::Structure
2747
2991
  end
2748
2992
 
2993
+ # The Region provided for `Source Region` is invalid or is in a
2994
+ # different AWS partition.
2995
+ #
2996
+ # @!attribute [rw] message
2997
+ # A detailed error message.
2998
+ # @return [String]
2999
+ #
3000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidRegion AWS API Documentation
3001
+ #
3002
+ class InvalidRegion < Struct.new(
3003
+ :message)
3004
+ SENSITIVE = []
3005
+ include Aws::Structure
3006
+ end
3007
+
3008
+ # The AWS Key Management Service (AWS KMS) key of the source backup is
3009
+ # invalid.
3010
+ #
3011
+ # @!attribute [rw] message
3012
+ # A detailed error message.
3013
+ # @return [String]
3014
+ #
3015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidSourceKmsKey AWS API Documentation
3016
+ #
3017
+ class InvalidSourceKmsKey < Struct.new(
3018
+ :message)
3019
+ SENSITIVE = []
3020
+ include Aws::Structure
3021
+ end
3022
+
2749
3023
  # The request object for `ListTagsForResource` operation.
2750
3024
  #
2751
3025
  # @note When making an API call, you may pass ListTagsForResourceRequest
@@ -2891,6 +3165,21 @@ module Aws::FSx
2891
3165
  # This parameter is required when `StorageType` is set to HDD.
2892
3166
  # @return [String]
2893
3167
  #
3168
+ # @!attribute [rw] data_compression_type
3169
+ # The data compression configuration for the file system.
3170
+ # `DataCompressionType` can have the following values:
3171
+ #
3172
+ # * `NONE` - Data compression is turned off for the file system.
3173
+ #
3174
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
3175
+ #
3176
+ # For more information, see [Lustre data compression][1].
3177
+ #
3178
+ #
3179
+ #
3180
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
3181
+ # @return [String]
3182
+ #
2894
3183
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/LustreFileSystemConfiguration AWS API Documentation
2895
3184
  #
2896
3185
  class LustreFileSystemConfiguration < Struct.new(
@@ -2902,7 +3191,8 @@ module Aws::FSx
2902
3191
  :daily_automatic_backup_start_time,
2903
3192
  :automatic_backup_retention_days,
2904
3193
  :copy_tags_to_backups,
2905
- :drive_cache_type)
3194
+ :drive_cache_type,
3195
+ :data_compression_type)
2906
3196
  SENSITIVE = []
2907
3197
  include Aws::Structure
2908
3198
  end
@@ -3024,7 +3314,12 @@ module Aws::FSx
3024
3314
 
3025
3315
  # The configuration that Amazon FSx uses to join the Windows File Server
3026
3316
  # instance to your self-managed (including on-premises) Microsoft Active
3027
- # Directory (AD) directory.
3317
+ # Directory (AD) directory. For more information, see [ Using Amazon FSx
3318
+ # with your self-managed Microsoft Active Directory][1].
3319
+ #
3320
+ #
3321
+ #
3322
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html
3028
3323
  #
3029
3324
  # @note When making an API call, you may pass SelfManagedActiveDirectoryConfiguration
3030
3325
  # data as a hash:
@@ -3086,20 +3381,7 @@ module Aws::FSx
3086
3381
  #
3087
3382
  # @!attribute [rw] dns_ips
3088
3383
  # A list of up to two IP addresses of DNS servers or domain
3089
- # controllers in the self-managed AD directory. The IP addresses need
3090
- # to be either in the same VPC CIDR range as the one in which your
3091
- # Amazon FSx file system is being created, or in the private IP
3092
- # version 4 (IPv4) address ranges, as specified in [RFC 1918][1]\:
3093
- #
3094
- # * 10\.0.0.0 - 10.255.255.255 (10/8 prefix)
3095
- #
3096
- # * 172\.16.0.0 - 172.31.255.255 (172.16/12 prefix)
3097
- #
3098
- # * 192\.168.0.0 - 192.168.255.255 (192.168/16 prefix)
3099
- #
3100
- #
3101
- #
3102
- # [1]: http://www.faqs.org/rfcs/rfc1918.html
3384
+ # controllers in the self-managed AD directory.
3103
3385
  # @return [Array<String>]
3104
3386
  #
3105
3387
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/SelfManagedActiveDirectoryConfiguration AWS API Documentation
@@ -3175,6 +3457,26 @@ module Aws::FSx
3175
3457
  include Aws::Structure
3176
3458
  end
3177
3459
 
3460
+ # The request was rejected because the lifecycle status of the source
3461
+ # backup is not `AVAILABLE`.
3462
+ #
3463
+ # @!attribute [rw] message
3464
+ # A detailed error message.
3465
+ # @return [String]
3466
+ #
3467
+ # @!attribute [rw] backup_id
3468
+ # The ID of the source backup. Specifies the backup you are copying.
3469
+ # @return [String]
3470
+ #
3471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/SourceBackupUnavailable AWS API Documentation
3472
+ #
3473
+ class SourceBackupUnavailable < Struct.new(
3474
+ :message,
3475
+ :backup_id)
3476
+ SENSITIVE = []
3477
+ include Aws::Structure
3478
+ end
3479
+
3178
3480
  # Specifies a key-value pair for a resource tag.
3179
3481
  #
3180
3482
  # @note When making an API call, you may pass Tag
@@ -3306,6 +3608,7 @@ module Aws::FSx
3306
3608
  # daily_automatic_backup_start_time: "DailyTime",
3307
3609
  # automatic_backup_retention_days: 1,
3308
3610
  # auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
3611
+ # data_compression_type: "NONE", # accepts NONE, LZ4
3309
3612
  # }
3310
3613
  #
3311
3614
  # @!attribute [rw] weekly_maintenance_start_time
@@ -3355,13 +3658,32 @@ module Aws::FSx
3355
3658
  # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html
3356
3659
  # @return [String]
3357
3660
  #
3661
+ # @!attribute [rw] data_compression_type
3662
+ # Sets the data compression configuration for the file system.
3663
+ # `DataCompressionType` can have the following values:
3664
+ #
3665
+ # * `NONE` - Data compression is turned off for the file system.
3666
+ #
3667
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
3668
+ #
3669
+ # If you don't use `DataCompressionType`, the file system retains its
3670
+ # current data compression configuration.
3671
+ #
3672
+ # For more information, see [Lustre data compression][1].
3673
+ #
3674
+ #
3675
+ #
3676
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
3677
+ # @return [String]
3678
+ #
3358
3679
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystemLustreConfiguration AWS API Documentation
3359
3680
  #
3360
3681
  class UpdateFileSystemLustreConfiguration < Struct.new(
3361
3682
  :weekly_maintenance_start_time,
3362
3683
  :daily_automatic_backup_start_time,
3363
3684
  :automatic_backup_retention_days,
3364
- :auto_import_policy)
3685
+ :auto_import_policy,
3686
+ :data_compression_type)
3365
3687
  SENSITIVE = []
3366
3688
  include Aws::Structure
3367
3689
  end
@@ -3391,6 +3713,7 @@ module Aws::FSx
3391
3713
  # daily_automatic_backup_start_time: "DailyTime",
3392
3714
  # automatic_backup_retention_days: 1,
3393
3715
  # auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
3716
+ # data_compression_type: "NONE", # accepts NONE, LZ4
3394
3717
  # },
3395
3718
  # }
3396
3719
  #
@@ -3410,18 +3733,40 @@ module Aws::FSx
3410
3733
  #
3411
3734
  # @!attribute [rw] storage_capacity
3412
3735
  # Use this parameter to increase the storage capacity of an Amazon FSx
3413
- # for Windows File Server file system. Specifies the storage capacity
3414
- # target value, GiB, for the file system you're updating. The storage
3415
- # capacity target value must be at least 10 percent (%) greater than
3416
- # the current storage capacity value. In order to increase storage
3417
- # capacity, the file system needs to have at least 16 MB/s of
3418
- # throughput capacity. You cannot make a storage capacity increase
3419
- # request if there is an existing storage capacity increase request in
3420
- # progress. For more information, see [Managing Storage Capacity][1].
3736
+ # file system. Specifies the storage capacity target value, GiB, to
3737
+ # increase the storage capacity for the file system that you're
3738
+ # updating. You cannot make a storage capacity increase request if
3739
+ # there is an existing storage capacity increase request in progress.
3740
+ #
3741
+ # For Windows file systems, the storage capacity target value must be
3742
+ # at least 10 percent (%) greater than the current storage capacity
3743
+ # value. In order to increase storage capacity, the file system must
3744
+ # have at least 16 MB/s of throughput capacity.
3745
+ #
3746
+ # For Lustre file systems, the storage capacity target value can be
3747
+ # the following:
3748
+ #
3749
+ # * For `SCRATCH_2` and `PERSISTENT_1 SSD` deployment types, valid
3750
+ # values are in multiples of 2400 GiB. The value must be greater
3751
+ # than the current storage capacity.
3752
+ #
3753
+ # * For `PERSISTENT HDD` file systems, valid values are multiples of
3754
+ # 6000 GiB for 12 MB/s/TiB file systems and multiples of 1800 GiB
3755
+ # for 40 MB/s/TiB file systems. The values must be greater than the
3756
+ # current storage capacity.
3757
+ #
3758
+ # * For `SCRATCH_1` file systems, you cannot increase the storage
3759
+ # capacity.
3760
+ #
3761
+ # For more information, see [Managing storage capacity][1] in the
3762
+ # *Amazon FSx for Windows File Server User Guide* and [Managing
3763
+ # storage and throughput capacity][2] in the *Amazon FSx for Lustre
3764
+ # User Guide*.
3421
3765
  #
3422
3766
  #
3423
3767
  #
3424
3768
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
3769
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
3425
3770
  # @return [Integer]
3426
3771
  #
3427
3772
  # @!attribute [rw] windows_configuration
@@ -3536,8 +3881,8 @@ module Aws::FSx
3536
3881
  # The configuration for this Microsoft Windows file system.
3537
3882
  #
3538
3883
  # @!attribute [rw] active_directory_id
3539
- # The ID for an existing Microsoft Active Directory instance that the
3540
- # file system should join when it's created.
3884
+ # The ID for an existing AWS Managed Microsoft Active Directory
3885
+ # instance that the file system is joined to.
3541
3886
  # @return [String]
3542
3887
  #
3543
3888
  # @!attribute [rw] self_managed_active_directory_configuration
@@ -3589,8 +3934,8 @@ module Aws::FSx
3589
3934
  #
3590
3935
  # For `SINGLE_AZ_1` and `SINGLE_AZ_2` deployment types, this value is
3591
3936
  # the same as that for `SubnetIDs`. For more information, see
3592
- # [Availability and Durability: Single-AZ and Multi-AZ File
3593
- # Systems][1]
3937
+ # [Availability and durability: Single-AZ and Multi-AZ file
3938
+ # systems][1].
3594
3939
  #
3595
3940
  #
3596
3941
  #
@@ -3616,7 +3961,7 @@ module Aws::FSx
3616
3961
  # @return [String]
3617
3962
  #
3618
3963
  # @!attribute [rw] throughput_capacity
3619
- # The throughput of an Amazon FSx file system, measured in megabytes
3964
+ # The throughput of the Amazon FSx file system, measured in megabytes
3620
3965
  # per second.
3621
3966
  # @return [Integer]
3622
3967
  #