aws-sdk-fsx 1.22.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-fsx.rb +1 -1
- data/lib/aws-sdk-fsx/client.rb +196 -88
- data/lib/aws-sdk-fsx/client_api.rb +38 -2
- data/lib/aws-sdk-fsx/types.rb +452 -80
- metadata +2 -2
@@ -23,6 +23,7 @@ module Aws::FSx
|
|
23
23
|
AdministrativeActionType = Shapes::StringShape.new(name: 'AdministrativeActionType')
|
24
24
|
AdministrativeActions = Shapes::ListShape.new(name: 'AdministrativeActions')
|
25
25
|
ArchivePath = Shapes::StringShape.new(name: 'ArchivePath')
|
26
|
+
AutoImportPolicyType = Shapes::StringShape.new(name: 'AutoImportPolicyType')
|
26
27
|
AutomaticBackupRetentionDays = Shapes::IntegerShape.new(name: 'AutomaticBackupRetentionDays')
|
27
28
|
Backup = Shapes::StructureShape.new(name: 'Backup')
|
28
29
|
BackupFailureDetails = Shapes::StructureShape.new(name: 'BackupFailureDetails')
|
@@ -53,6 +54,8 @@ module Aws::FSx
|
|
53
54
|
DNSName = Shapes::StringShape.new(name: 'DNSName')
|
54
55
|
DailyTime = Shapes::StringShape.new(name: 'DailyTime')
|
55
56
|
DataRepositoryConfiguration = Shapes::StructureShape.new(name: 'DataRepositoryConfiguration')
|
57
|
+
DataRepositoryFailureDetails = Shapes::StructureShape.new(name: 'DataRepositoryFailureDetails')
|
58
|
+
DataRepositoryLifecycle = Shapes::StringShape.new(name: 'DataRepositoryLifecycle')
|
56
59
|
DataRepositoryTask = Shapes::StructureShape.new(name: 'DataRepositoryTask')
|
57
60
|
DataRepositoryTaskEnded = Shapes::StructureShape.new(name: 'DataRepositoryTaskEnded')
|
58
61
|
DataRepositoryTaskExecuting = Shapes::StructureShape.new(name: 'DataRepositoryTaskExecuting')
|
@@ -71,6 +74,8 @@ module Aws::FSx
|
|
71
74
|
DataRepositoryTasks = Shapes::ListShape.new(name: 'DataRepositoryTasks')
|
72
75
|
DeleteBackupRequest = Shapes::StructureShape.new(name: 'DeleteBackupRequest')
|
73
76
|
DeleteBackupResponse = Shapes::StructureShape.new(name: 'DeleteBackupResponse')
|
77
|
+
DeleteFileSystemLustreConfiguration = Shapes::StructureShape.new(name: 'DeleteFileSystemLustreConfiguration')
|
78
|
+
DeleteFileSystemLustreResponse = Shapes::StructureShape.new(name: 'DeleteFileSystemLustreResponse')
|
74
79
|
DeleteFileSystemRequest = Shapes::StructureShape.new(name: 'DeleteFileSystemRequest')
|
75
80
|
DeleteFileSystemResponse = Shapes::StructureShape.new(name: 'DeleteFileSystemResponse')
|
76
81
|
DeleteFileSystemWindowsConfiguration = Shapes::StructureShape.new(name: 'DeleteFileSystemWindowsConfiguration')
|
@@ -85,6 +90,7 @@ module Aws::FSx
|
|
85
90
|
DirectoryPassword = Shapes::StringShape.new(name: 'DirectoryPassword')
|
86
91
|
DirectoryUserName = Shapes::StringShape.new(name: 'DirectoryUserName')
|
87
92
|
DnsIps = Shapes::ListShape.new(name: 'DnsIps')
|
93
|
+
DriveCacheType = Shapes::StringShape.new(name: 'DriveCacheType')
|
88
94
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
89
95
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
90
96
|
FailedCount = Shapes::IntegerShape.new(name: 'FailedCount')
|
@@ -266,6 +272,7 @@ module Aws::FSx
|
|
266
272
|
CreateFileSystemFromBackupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
|
267
273
|
CreateFileSystemFromBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
268
274
|
CreateFileSystemFromBackupRequest.add_member(:windows_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemWindowsConfiguration, location_name: "WindowsConfiguration"))
|
275
|
+
CreateFileSystemFromBackupRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemLustreConfiguration, location_name: "LustreConfiguration"))
|
269
276
|
CreateFileSystemFromBackupRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
|
270
277
|
CreateFileSystemFromBackupRequest.struct_class = Types::CreateFileSystemFromBackupRequest
|
271
278
|
|
@@ -277,7 +284,12 @@ module Aws::FSx
|
|
277
284
|
CreateFileSystemLustreConfiguration.add_member(:export_path, Shapes::ShapeRef.new(shape: ArchivePath, location_name: "ExportPath"))
|
278
285
|
CreateFileSystemLustreConfiguration.add_member(:imported_file_chunk_size, Shapes::ShapeRef.new(shape: Megabytes, location_name: "ImportedFileChunkSize"))
|
279
286
|
CreateFileSystemLustreConfiguration.add_member(:deployment_type, Shapes::ShapeRef.new(shape: LustreDeploymentType, location_name: "DeploymentType"))
|
287
|
+
CreateFileSystemLustreConfiguration.add_member(:auto_import_policy, Shapes::ShapeRef.new(shape: AutoImportPolicyType, location_name: "AutoImportPolicy"))
|
280
288
|
CreateFileSystemLustreConfiguration.add_member(:per_unit_storage_throughput, Shapes::ShapeRef.new(shape: PerUnitStorageThroughput, location_name: "PerUnitStorageThroughput"))
|
289
|
+
CreateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
|
290
|
+
CreateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
|
291
|
+
CreateFileSystemLustreConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
|
292
|
+
CreateFileSystemLustreConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
|
281
293
|
CreateFileSystemLustreConfiguration.struct_class = Types::CreateFileSystemLustreConfiguration
|
282
294
|
|
283
295
|
CreateFileSystemRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
@@ -306,11 +318,17 @@ module Aws::FSx
|
|
306
318
|
CreateFileSystemWindowsConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
|
307
319
|
CreateFileSystemWindowsConfiguration.struct_class = Types::CreateFileSystemWindowsConfiguration
|
308
320
|
|
321
|
+
DataRepositoryConfiguration.add_member(:lifecycle, Shapes::ShapeRef.new(shape: DataRepositoryLifecycle, location_name: "Lifecycle"))
|
309
322
|
DataRepositoryConfiguration.add_member(:import_path, Shapes::ShapeRef.new(shape: ArchivePath, location_name: "ImportPath"))
|
310
323
|
DataRepositoryConfiguration.add_member(:export_path, Shapes::ShapeRef.new(shape: ArchivePath, location_name: "ExportPath"))
|
311
324
|
DataRepositoryConfiguration.add_member(:imported_file_chunk_size, Shapes::ShapeRef.new(shape: Megabytes, location_name: "ImportedFileChunkSize"))
|
325
|
+
DataRepositoryConfiguration.add_member(:auto_import_policy, Shapes::ShapeRef.new(shape: AutoImportPolicyType, location_name: "AutoImportPolicy"))
|
326
|
+
DataRepositoryConfiguration.add_member(:failure_details, Shapes::ShapeRef.new(shape: DataRepositoryFailureDetails, location_name: "FailureDetails"))
|
312
327
|
DataRepositoryConfiguration.struct_class = Types::DataRepositoryConfiguration
|
313
328
|
|
329
|
+
DataRepositoryFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
330
|
+
DataRepositoryFailureDetails.struct_class = Types::DataRepositoryFailureDetails
|
331
|
+
|
314
332
|
DataRepositoryTask.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location_name: "TaskId"))
|
315
333
|
DataRepositoryTask.add_member(:lifecycle, Shapes::ShapeRef.new(shape: DataRepositoryTaskLifecycle, required: true, location_name: "Lifecycle"))
|
316
334
|
DataRepositoryTask.add_member(:type, Shapes::ShapeRef.new(shape: DataRepositoryTaskType, required: true, location_name: "Type"))
|
@@ -364,14 +382,24 @@ module Aws::FSx
|
|
364
382
|
DeleteBackupResponse.add_member(:lifecycle, Shapes::ShapeRef.new(shape: BackupLifecycle, location_name: "Lifecycle"))
|
365
383
|
DeleteBackupResponse.struct_class = Types::DeleteBackupResponse
|
366
384
|
|
385
|
+
DeleteFileSystemLustreConfiguration.add_member(:skip_final_backup, Shapes::ShapeRef.new(shape: Flag, location_name: "SkipFinalBackup"))
|
386
|
+
DeleteFileSystemLustreConfiguration.add_member(:final_backup_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "FinalBackupTags"))
|
387
|
+
DeleteFileSystemLustreConfiguration.struct_class = Types::DeleteFileSystemLustreConfiguration
|
388
|
+
|
389
|
+
DeleteFileSystemLustreResponse.add_member(:final_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "FinalBackupId"))
|
390
|
+
DeleteFileSystemLustreResponse.add_member(:final_backup_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "FinalBackupTags"))
|
391
|
+
DeleteFileSystemLustreResponse.struct_class = Types::DeleteFileSystemLustreResponse
|
392
|
+
|
367
393
|
DeleteFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
368
394
|
DeleteFileSystemRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
369
395
|
DeleteFileSystemRequest.add_member(:windows_configuration, Shapes::ShapeRef.new(shape: DeleteFileSystemWindowsConfiguration, location_name: "WindowsConfiguration"))
|
396
|
+
DeleteFileSystemRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: DeleteFileSystemLustreConfiguration, location_name: "LustreConfiguration"))
|
370
397
|
DeleteFileSystemRequest.struct_class = Types::DeleteFileSystemRequest
|
371
398
|
|
372
399
|
DeleteFileSystemResponse.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
|
373
400
|
DeleteFileSystemResponse.add_member(:lifecycle, Shapes::ShapeRef.new(shape: FileSystemLifecycle, location_name: "Lifecycle"))
|
374
401
|
DeleteFileSystemResponse.add_member(:windows_response, Shapes::ShapeRef.new(shape: DeleteFileSystemWindowsResponse, location_name: "WindowsResponse"))
|
402
|
+
DeleteFileSystemResponse.add_member(:lustre_response, Shapes::ShapeRef.new(shape: DeleteFileSystemLustreResponse, location_name: "LustreResponse"))
|
375
403
|
DeleteFileSystemResponse.struct_class = Types::DeleteFileSystemResponse
|
376
404
|
|
377
405
|
DeleteFileSystemWindowsConfiguration.add_member(:skip_final_backup, Shapes::ShapeRef.new(shape: Flag, location_name: "SkipFinalBackup"))
|
@@ -488,6 +516,10 @@ module Aws::FSx
|
|
488
516
|
LustreFileSystemConfiguration.add_member(:deployment_type, Shapes::ShapeRef.new(shape: LustreDeploymentType, location_name: "DeploymentType"))
|
489
517
|
LustreFileSystemConfiguration.add_member(:per_unit_storage_throughput, Shapes::ShapeRef.new(shape: PerUnitStorageThroughput, location_name: "PerUnitStorageThroughput"))
|
490
518
|
LustreFileSystemConfiguration.add_member(:mount_name, Shapes::ShapeRef.new(shape: LustreFileSystemMountName, location_name: "MountName"))
|
519
|
+
LustreFileSystemConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
|
520
|
+
LustreFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
|
521
|
+
LustreFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
|
522
|
+
LustreFileSystemConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
|
491
523
|
LustreFileSystemConfiguration.struct_class = Types::LustreFileSystemConfiguration
|
492
524
|
|
493
525
|
MissingFileSystemConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -535,8 +567,8 @@ module Aws::FSx
|
|
535
567
|
|
536
568
|
SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
|
537
569
|
|
538
|
-
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
539
|
-
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
570
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
571
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
540
572
|
Tag.struct_class = Types::Tag
|
541
573
|
|
542
574
|
TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -561,6 +593,9 @@ module Aws::FSx
|
|
561
593
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
562
594
|
|
563
595
|
UpdateFileSystemLustreConfiguration.add_member(:weekly_maintenance_start_time, Shapes::ShapeRef.new(shape: WeeklyTime, location_name: "WeeklyMaintenanceStartTime"))
|
596
|
+
UpdateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
|
597
|
+
UpdateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
|
598
|
+
UpdateFileSystemLustreConfiguration.add_member(:auto_import_policy, Shapes::ShapeRef.new(shape: AutoImportPolicyType, location_name: "AutoImportPolicy"))
|
564
599
|
UpdateFileSystemLustreConfiguration.struct_class = Types::UpdateFileSystemLustreConfiguration
|
565
600
|
|
566
601
|
UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
@@ -684,6 +719,7 @@ module Aws::FSx
|
|
684
719
|
o.errors << Shapes::ShapeRef.new(shape: ActiveDirectoryError)
|
685
720
|
o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
|
686
721
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNetworkSettings)
|
722
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPerUnitStorageThroughput)
|
687
723
|
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
|
688
724
|
o.errors << Shapes::ShapeRef.new(shape: BackupNotFound)
|
689
725
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
data/lib/aws-sdk-fsx/types.rb
CHANGED
@@ -151,8 +151,7 @@ module Aws::FSx
|
|
151
151
|
include Aws::Structure
|
152
152
|
end
|
153
153
|
|
154
|
-
# A backup of an Amazon FSx for
|
155
|
-
# create a new file system from a backup to protect against data loss.
|
154
|
+
# A backup of an Amazon FSx for file system.
|
156
155
|
#
|
157
156
|
# @!attribute [rw] backup_id
|
158
157
|
# The ID of the backup.
|
@@ -167,7 +166,7 @@ module Aws::FSx
|
|
167
166
|
# @return [Types::BackupFailureDetails]
|
168
167
|
#
|
169
168
|
# @!attribute [rw] type
|
170
|
-
# The type of the backup.
|
169
|
+
# The type of the file system backup.
|
171
170
|
# @return [String]
|
172
171
|
#
|
173
172
|
# @!attribute [rw] progress_percent
|
@@ -424,8 +423,8 @@ module Aws::FSx
|
|
424
423
|
# client_request_token: "ClientRequestToken",
|
425
424
|
# tags: [
|
426
425
|
# {
|
427
|
-
# key: "TagKey",
|
428
|
-
# value: "TagValue",
|
426
|
+
# key: "TagKey", # required
|
427
|
+
# value: "TagValue", # required
|
429
428
|
# },
|
430
429
|
# ],
|
431
430
|
# }
|
@@ -435,10 +434,10 @@ module Aws::FSx
|
|
435
434
|
# @return [String]
|
436
435
|
#
|
437
436
|
# @!attribute [rw] client_request_token
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
437
|
+
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
438
|
+
# idempotent creation. This string is automatically filled on your
|
439
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an
|
440
|
+
# AWS SDK.
|
442
441
|
#
|
443
442
|
# **A suitable default value is auto-generated.** You should normally
|
444
443
|
# not need to pass this option.
|
@@ -446,7 +445,10 @@ module Aws::FSx
|
|
446
445
|
#
|
447
446
|
# @!attribute [rw] tags
|
448
447
|
# The tags to apply to the backup at backup creation. The key value of
|
449
|
-
# the `Name` tag appears in the console as the backup name.
|
448
|
+
# the `Name` tag appears in the console as the backup name. If you
|
449
|
+
# have set `CopyTagsToBackups` to true, and you specify one or more
|
450
|
+
# tags using the `CreateBackup` action, no existing tags on the file
|
451
|
+
# system are copied from the file system to the backup.
|
450
452
|
# @return [Array<Types::Tag>]
|
451
453
|
#
|
452
454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackupRequest AWS API Documentation
|
@@ -489,8 +491,8 @@ module Aws::FSx
|
|
489
491
|
# client_request_token: "ClientRequestToken",
|
490
492
|
# tags: [
|
491
493
|
# {
|
492
|
-
# key: "TagKey",
|
493
|
-
# value: "TagValue",
|
494
|
+
# key: "TagKey", # required
|
495
|
+
# value: "TagValue", # required
|
494
496
|
# },
|
495
497
|
# ],
|
496
498
|
# }
|
@@ -576,8 +578,8 @@ module Aws::FSx
|
|
576
578
|
# security_group_ids: ["SecurityGroupId"],
|
577
579
|
# tags: [
|
578
580
|
# {
|
579
|
-
# key: "TagKey",
|
580
|
-
# value: "TagValue",
|
581
|
+
# key: "TagKey", # required
|
582
|
+
# value: "TagValue", # required
|
581
583
|
# },
|
582
584
|
# ],
|
583
585
|
# windows_configuration: {
|
@@ -598,6 +600,19 @@ module Aws::FSx
|
|
598
600
|
# automatic_backup_retention_days: 1,
|
599
601
|
# copy_tags_to_backups: false,
|
600
602
|
# },
|
603
|
+
# lustre_configuration: {
|
604
|
+
# weekly_maintenance_start_time: "WeeklyTime",
|
605
|
+
# import_path: "ArchivePath",
|
606
|
+
# export_path: "ArchivePath",
|
607
|
+
# imported_file_chunk_size: 1,
|
608
|
+
# deployment_type: "SCRATCH_1", # accepts SCRATCH_1, SCRATCH_2, PERSISTENT_1
|
609
|
+
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
610
|
+
# per_unit_storage_throughput: 1,
|
611
|
+
# daily_automatic_backup_start_time: "DailyTime",
|
612
|
+
# automatic_backup_retention_days: 1,
|
613
|
+
# copy_tags_to_backups: false,
|
614
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
615
|
+
# },
|
601
616
|
# storage_type: "SSD", # accepts SSD, HDD
|
602
617
|
# }
|
603
618
|
#
|
@@ -607,10 +622,10 @@ module Aws::FSx
|
|
607
622
|
# @return [String]
|
608
623
|
#
|
609
624
|
# @!attribute [rw] client_request_token
|
610
|
-
#
|
611
|
-
#
|
612
|
-
#
|
613
|
-
#
|
625
|
+
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
626
|
+
# idempotent creation. This string is automatically filled on your
|
627
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an
|
628
|
+
# AWS SDK.
|
614
629
|
#
|
615
630
|
# **A suitable default value is auto-generated.** You should normally
|
616
631
|
# not need to pass this option.
|
@@ -646,6 +661,10 @@ module Aws::FSx
|
|
646
661
|
# The configuration for this Microsoft Windows file system.
|
647
662
|
# @return [Types::CreateFileSystemWindowsConfiguration]
|
648
663
|
#
|
664
|
+
# @!attribute [rw] lustre_configuration
|
665
|
+
# The Lustre configuration for the file system being created.
|
666
|
+
# @return [Types::CreateFileSystemLustreConfiguration]
|
667
|
+
#
|
649
668
|
# @!attribute [rw] storage_type
|
650
669
|
# Sets the storage type for the Windows file system you're creating
|
651
670
|
# from a backup. Valid values are `SSD` and `HDD`.
|
@@ -678,6 +697,7 @@ module Aws::FSx
|
|
678
697
|
:security_group_ids,
|
679
698
|
:tags,
|
680
699
|
:windows_configuration,
|
700
|
+
:lustre_configuration,
|
681
701
|
:storage_type)
|
682
702
|
SENSITIVE = []
|
683
703
|
include Aws::Structure
|
@@ -708,7 +728,12 @@ module Aws::FSx
|
|
708
728
|
# export_path: "ArchivePath",
|
709
729
|
# imported_file_chunk_size: 1,
|
710
730
|
# deployment_type: "SCRATCH_1", # accepts SCRATCH_1, SCRATCH_2, PERSISTENT_1
|
731
|
+
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
711
732
|
# per_unit_storage_throughput: 1,
|
733
|
+
# daily_automatic_backup_start_time: "DailyTime",
|
734
|
+
# automatic_backup_retention_days: 1,
|
735
|
+
# copy_tags_to_backups: false,
|
736
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
712
737
|
# }
|
713
738
|
#
|
714
739
|
# @!attribute [rw] weekly_maintenance_start_time
|
@@ -762,8 +787,8 @@ module Aws::FSx
|
|
762
787
|
# @return [Integer]
|
763
788
|
#
|
764
789
|
# @!attribute [rw] deployment_type
|
765
|
-
#
|
766
|
-
#
|
790
|
+
# Choose `SCRATCH_1` and `SCRATCH_2` deployment types when you need
|
791
|
+
# temporary storage and shorter-term processing of data. The
|
767
792
|
# `SCRATCH_2` deployment type provides in-transit encryption of data
|
768
793
|
# and higher burst throughput capacity than `SCRATCH_1`.
|
769
794
|
#
|
@@ -787,6 +812,37 @@ module Aws::FSx
|
|
787
812
|
# [3]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/encryption-in-transit-fsxl.html
|
788
813
|
# @return [String]
|
789
814
|
#
|
815
|
+
# @!attribute [rw] auto_import_policy
|
816
|
+
# (Optional) Use this property to configure the AutoImport feature on
|
817
|
+
# the file system's linked Amazon S3 data repository. You use
|
818
|
+
# AutoImport to update the contents of your FSx for Lustre file system
|
819
|
+
# automatically with changes that occur in the linked S3 data
|
820
|
+
# repository. `AutoImportPolicy` can have the following values:
|
821
|
+
#
|
822
|
+
# * `NONE` - (Default) AutoImport is off. Changes in the linked data
|
823
|
+
# repository are not reflected on the FSx file system.
|
824
|
+
#
|
825
|
+
# * `NEW` - AutoImport is on. New files in the linked data repository
|
826
|
+
# that do not currently exist in the FSx file system are
|
827
|
+
# automatically imported. Updates to existing FSx files are not
|
828
|
+
# imported to the FSx file system. Files deleted from the linked
|
829
|
+
# data repository are not deleted from the FSx file system.
|
830
|
+
#
|
831
|
+
# * `NEW_CHANGED` - AutoImport is on. New files in the linked S3 data
|
832
|
+
# repository that do not currently exist in the FSx file system are
|
833
|
+
# automatically imported. Changes to existing FSx files in the
|
834
|
+
# linked repository are also automatically imported to the FSx file
|
835
|
+
# system. Files deleted from the linked data repository are not
|
836
|
+
# deleted from the FSx file system.
|
837
|
+
#
|
838
|
+
# For more information, see [Automatically import updates from your S3
|
839
|
+
# bucket][1].
|
840
|
+
#
|
841
|
+
#
|
842
|
+
#
|
843
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html
|
844
|
+
# @return [String]
|
845
|
+
#
|
790
846
|
# @!attribute [rw] per_unit_storage_throughput
|
791
847
|
# Required for the `PERSISTENT_1` deployment type, describes the
|
792
848
|
# amount of read and write throughput for each 1 tebibyte of storage,
|
@@ -797,9 +853,49 @@ module Aws::FSx
|
|
797
853
|
# of file system throughput. You pay for the amount of throughput that
|
798
854
|
# you provision.
|
799
855
|
#
|
800
|
-
# Valid values
|
856
|
+
# Valid values for SSD storage: 50, 100, 200. Valid values for HDD
|
857
|
+
# storage: 12, 40.
|
858
|
+
# @return [Integer]
|
859
|
+
#
|
860
|
+
# @!attribute [rw] daily_automatic_backup_start_time
|
861
|
+
# A recurring daily time, in the format `HH:MM`. `HH` is the
|
862
|
+
# zero-padded hour of the day (0-23), and `MM` is the zero-padded
|
863
|
+
# minute of the hour. For example, `05:00` specifies 5 AM daily.
|
864
|
+
# @return [String]
|
865
|
+
#
|
866
|
+
# @!attribute [rw] automatic_backup_retention_days
|
867
|
+
# The number of days to retain automatic backups. Setting this to 0
|
868
|
+
# disables automatic backups. You can retain automatic backups for a
|
869
|
+
# maximum of 90 days. The default is 0.
|
801
870
|
# @return [Integer]
|
802
871
|
#
|
872
|
+
# @!attribute [rw] copy_tags_to_backups
|
873
|
+
# A boolean flag indicating whether tags for the file system should be
|
874
|
+
# copied to backups. This value defaults to false. If it's set to
|
875
|
+
# true, all tags for the file system are copied to all automatic and
|
876
|
+
# user-initiated backups where the user doesn't specify tags. If this
|
877
|
+
# value is true, and you specify one or more tags, only the specified
|
878
|
+
# tags are copied to backups. If you specify one or more tags when
|
879
|
+
# creating a user-initiated backup, no tags are copied from the file
|
880
|
+
# system, regardless of this value.
|
881
|
+
#
|
882
|
+
# For more information, see [Working with backups][1].
|
883
|
+
#
|
884
|
+
#
|
885
|
+
#
|
886
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html
|
887
|
+
# @return [Boolean]
|
888
|
+
#
|
889
|
+
# @!attribute [rw] drive_cache_type
|
890
|
+
# The type of drive cache used by PERSISTENT\_1 file systems that are
|
891
|
+
# provisioned with HDD storage devices. This parameter is required
|
892
|
+
# when storage type is HDD. Set to `READ`, improve the performance for
|
893
|
+
# frequently accessed files and allows 20% of the total storage
|
894
|
+
# capacity of the file system to be cached.
|
895
|
+
#
|
896
|
+
# This parameter is required when `StorageType` is set to HDD.
|
897
|
+
# @return [String]
|
898
|
+
#
|
803
899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemLustreConfiguration AWS API Documentation
|
804
900
|
#
|
805
901
|
class CreateFileSystemLustreConfiguration < Struct.new(
|
@@ -808,7 +904,12 @@ module Aws::FSx
|
|
808
904
|
:export_path,
|
809
905
|
:imported_file_chunk_size,
|
810
906
|
:deployment_type,
|
811
|
-
:
|
907
|
+
:auto_import_policy,
|
908
|
+
:per_unit_storage_throughput,
|
909
|
+
:daily_automatic_backup_start_time,
|
910
|
+
:automatic_backup_retention_days,
|
911
|
+
:copy_tags_to_backups,
|
912
|
+
:drive_cache_type)
|
812
913
|
SENSITIVE = []
|
813
914
|
include Aws::Structure
|
814
915
|
end
|
@@ -827,8 +928,8 @@ module Aws::FSx
|
|
827
928
|
# security_group_ids: ["SecurityGroupId"],
|
828
929
|
# tags: [
|
829
930
|
# {
|
830
|
-
# key: "TagKey",
|
831
|
-
# value: "TagValue",
|
931
|
+
# key: "TagKey", # required
|
932
|
+
# value: "TagValue", # required
|
832
933
|
# },
|
833
934
|
# ],
|
834
935
|
# kms_key_id: "KmsKeyId",
|
@@ -856,15 +957,20 @@ module Aws::FSx
|
|
856
957
|
# export_path: "ArchivePath",
|
857
958
|
# imported_file_chunk_size: 1,
|
858
959
|
# deployment_type: "SCRATCH_1", # accepts SCRATCH_1, SCRATCH_2, PERSISTENT_1
|
960
|
+
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
859
961
|
# per_unit_storage_throughput: 1,
|
962
|
+
# daily_automatic_backup_start_time: "DailyTime",
|
963
|
+
# automatic_backup_retention_days: 1,
|
964
|
+
# copy_tags_to_backups: false,
|
965
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
860
966
|
# },
|
861
967
|
# }
|
862
968
|
#
|
863
969
|
# @!attribute [rw] client_request_token
|
864
|
-
#
|
865
|
-
#
|
866
|
-
#
|
867
|
-
#
|
970
|
+
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
971
|
+
# idempotent creation. This string is automatically filled on your
|
972
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an
|
973
|
+
# AWS SDK.
|
868
974
|
#
|
869
975
|
# **A suitable default value is auto-generated.** You should normally
|
870
976
|
# not need to pass this option.
|
@@ -1084,7 +1190,7 @@ module Aws::FSx
|
|
1084
1190
|
# The number of days to retain automatic backups. The default is to
|
1085
1191
|
# retain backups for 7 days. Setting this value to 0 disables the
|
1086
1192
|
# creation of automatic backups. The maximum retention period for
|
1087
|
-
# backups is
|
1193
|
+
# backups is 90 days.
|
1088
1194
|
# @return [Integer]
|
1089
1195
|
#
|
1090
1196
|
# @!attribute [rw] copy_tags_to_backups
|
@@ -1117,6 +1223,30 @@ module Aws::FSx
|
|
1117
1223
|
# The data repository configuration object for Lustre file systems
|
1118
1224
|
# returned in the response of the `CreateFileSystem` operation.
|
1119
1225
|
#
|
1226
|
+
# @!attribute [rw] lifecycle
|
1227
|
+
# Describes the state of the file system's S3 durable data
|
1228
|
+
# repository, if it is configured with an S3 repository. The lifecycle
|
1229
|
+
# can have the following values:
|
1230
|
+
#
|
1231
|
+
# * `CREATING` - The data repository configuration between the FSx
|
1232
|
+
# file system and the linked S3 data repository is being created.
|
1233
|
+
# The data repository is unavailable.
|
1234
|
+
#
|
1235
|
+
# * `AVAILABLE` - The data repository is available for use.
|
1236
|
+
#
|
1237
|
+
# * `MISCONFIGURED` - Amazon FSx cannot automatically import updates
|
1238
|
+
# from the S3 bucket until the data repository configuration is
|
1239
|
+
# corrected. For more information, see [Troubleshooting a
|
1240
|
+
# Misconfigured linked S3 bucket][1].
|
1241
|
+
#
|
1242
|
+
# * `UPDATING` - The data repository is undergoing a customer
|
1243
|
+
# initiated update and availability may be impacted.
|
1244
|
+
#
|
1245
|
+
#
|
1246
|
+
#
|
1247
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/troubleshooting.html#troubleshooting-misconfigured-data-repository
|
1248
|
+
# @return [String]
|
1249
|
+
#
|
1120
1250
|
# @!attribute [rw] import_path
|
1121
1251
|
# The import path to the Amazon S3 bucket (and optional prefix) that
|
1122
1252
|
# you're using as the data repository for your FSx for Lustre file
|
@@ -1142,12 +1272,66 @@ module Aws::FSx
|
|
1142
1272
|
# TB.
|
1143
1273
|
# @return [Integer]
|
1144
1274
|
#
|
1275
|
+
# @!attribute [rw] auto_import_policy
|
1276
|
+
# Describes the file system's linked S3 data repository's
|
1277
|
+
# `AutoImportPolicy`. The AutoImportPolicy configures how your FSx for
|
1278
|
+
# Lustre file system automatically updates its contents with changes
|
1279
|
+
# that occur in the linked S3 data repository. `AutoImportPolicy` can
|
1280
|
+
# have the following values:
|
1281
|
+
#
|
1282
|
+
# * `NONE` - (Default) AutoImport is off. Changes in the linked data
|
1283
|
+
# repository are not reflected on the FSx file system.
|
1284
|
+
#
|
1285
|
+
# * `NEW` - AutoImport is on. New files in the linked data repository
|
1286
|
+
# that do not currently exist in the FSx file system are
|
1287
|
+
# automatically imported. Updates to existing FSx files are not
|
1288
|
+
# imported to the FSx file system. Files deleted from the linked
|
1289
|
+
# data repository are not deleted from the FSx file system.
|
1290
|
+
#
|
1291
|
+
# * `NEW_CHANGED` - AutoImport is on. New files in the linked S3 data
|
1292
|
+
# repository that do not currently exist in the FSx file system are
|
1293
|
+
# automatically imported. Changes to existing FSx files in the
|
1294
|
+
# linked repository are also automatically imported to the FSx file
|
1295
|
+
# system. Files deleted from the linked data repository are not
|
1296
|
+
# deleted from the FSx file system.
|
1297
|
+
#
|
1298
|
+
# For more information, see [Automatically import updates from your S3
|
1299
|
+
# bucket][1].
|
1300
|
+
#
|
1301
|
+
#
|
1302
|
+
#
|
1303
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html
|
1304
|
+
# @return [String]
|
1305
|
+
#
|
1306
|
+
# @!attribute [rw] failure_details
|
1307
|
+
# Provides detailed information about the data respository if its
|
1308
|
+
# `Lifecycle` is set to `MISCONFIGURED`.
|
1309
|
+
# @return [Types::DataRepositoryFailureDetails]
|
1310
|
+
#
|
1145
1311
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DataRepositoryConfiguration AWS API Documentation
|
1146
1312
|
#
|
1147
1313
|
class DataRepositoryConfiguration < Struct.new(
|
1314
|
+
:lifecycle,
|
1148
1315
|
:import_path,
|
1149
1316
|
:export_path,
|
1150
|
-
:imported_file_chunk_size
|
1317
|
+
:imported_file_chunk_size,
|
1318
|
+
:auto_import_policy,
|
1319
|
+
:failure_details)
|
1320
|
+
SENSITIVE = []
|
1321
|
+
include Aws::Structure
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# Provides detailed information about the data respository if its
|
1325
|
+
# `Lifecycle` is set to `MISCONFIGURED`.
|
1326
|
+
#
|
1327
|
+
# @!attribute [rw] message
|
1328
|
+
# A detailed error message.
|
1329
|
+
# @return [String]
|
1330
|
+
#
|
1331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DataRepositoryFailureDetails AWS API Documentation
|
1332
|
+
#
|
1333
|
+
class DataRepositoryFailureDetails < Struct.new(
|
1334
|
+
:message)
|
1151
1335
|
SENSITIVE = []
|
1152
1336
|
include Aws::Structure
|
1153
1337
|
end
|
@@ -1429,9 +1613,9 @@ module Aws::FSx
|
|
1429
1613
|
# @return [String]
|
1430
1614
|
#
|
1431
1615
|
# @!attribute [rw] client_request_token
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
#
|
1616
|
+
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
1617
|
+
# idempotent deletion. This is automatically filled on your behalf
|
1618
|
+
# when using the AWS CLI or SDK.
|
1435
1619
|
#
|
1436
1620
|
# **A suitable default value is auto-generated.** You should normally
|
1437
1621
|
# not need to pass this option.
|
@@ -1465,6 +1649,66 @@ module Aws::FSx
|
|
1465
1649
|
include Aws::Structure
|
1466
1650
|
end
|
1467
1651
|
|
1652
|
+
# The configuration object for the Amazon FSx for Lustre file system
|
1653
|
+
# being deleted in the `DeleteFileSystem` operation.
|
1654
|
+
#
|
1655
|
+
# @note When making an API call, you may pass DeleteFileSystemLustreConfiguration
|
1656
|
+
# data as a hash:
|
1657
|
+
#
|
1658
|
+
# {
|
1659
|
+
# skip_final_backup: false,
|
1660
|
+
# final_backup_tags: [
|
1661
|
+
# {
|
1662
|
+
# key: "TagKey", # required
|
1663
|
+
# value: "TagValue", # required
|
1664
|
+
# },
|
1665
|
+
# ],
|
1666
|
+
# }
|
1667
|
+
#
|
1668
|
+
# @!attribute [rw] skip_final_backup
|
1669
|
+
# Set `SkipFinalBackup` to false if you want to take a final backup of
|
1670
|
+
# the file system you are deleting. By default, Amazon FSx will not
|
1671
|
+
# take a final backup on your behalf when the `DeleteFileSystem`
|
1672
|
+
# operation is invoked. (Default = true)
|
1673
|
+
# @return [Boolean]
|
1674
|
+
#
|
1675
|
+
# @!attribute [rw] final_backup_tags
|
1676
|
+
# Use if `SkipFinalBackup` is set to `false`, and you want to apply an
|
1677
|
+
# array of tags to the final backup. If you have set the file system
|
1678
|
+
# property `CopyTagsToBackups` to true, and you specify one or more
|
1679
|
+
# `FinalBackupTags` when deleting a file system, Amazon FSx will not
|
1680
|
+
# copy any existing file system tags to the backup.
|
1681
|
+
# @return [Array<Types::Tag>]
|
1682
|
+
#
|
1683
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystemLustreConfiguration AWS API Documentation
|
1684
|
+
#
|
1685
|
+
class DeleteFileSystemLustreConfiguration < Struct.new(
|
1686
|
+
:skip_final_backup,
|
1687
|
+
:final_backup_tags)
|
1688
|
+
SENSITIVE = []
|
1689
|
+
include Aws::Structure
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# The response object for the Amazon FSx for Lustre file system being
|
1693
|
+
# deleted in the `DeleteFileSystem` operation.
|
1694
|
+
#
|
1695
|
+
# @!attribute [rw] final_backup_id
|
1696
|
+
# The ID of the final backup for this file system.
|
1697
|
+
# @return [String]
|
1698
|
+
#
|
1699
|
+
# @!attribute [rw] final_backup_tags
|
1700
|
+
# The set of tags applied to the final backup.
|
1701
|
+
# @return [Array<Types::Tag>]
|
1702
|
+
#
|
1703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystemLustreResponse AWS API Documentation
|
1704
|
+
#
|
1705
|
+
class DeleteFileSystemLustreResponse < Struct.new(
|
1706
|
+
:final_backup_id,
|
1707
|
+
:final_backup_tags)
|
1708
|
+
SENSITIVE = []
|
1709
|
+
include Aws::Structure
|
1710
|
+
end
|
1711
|
+
|
1468
1712
|
# The request object for `DeleteFileSystem` operation.
|
1469
1713
|
#
|
1470
1714
|
# @note When making an API call, you may pass DeleteFileSystemRequest
|
@@ -1477,8 +1721,17 @@ module Aws::FSx
|
|
1477
1721
|
# skip_final_backup: false,
|
1478
1722
|
# final_backup_tags: [
|
1479
1723
|
# {
|
1480
|
-
# key: "TagKey",
|
1481
|
-
# value: "TagValue",
|
1724
|
+
# key: "TagKey", # required
|
1725
|
+
# value: "TagValue", # required
|
1726
|
+
# },
|
1727
|
+
# ],
|
1728
|
+
# },
|
1729
|
+
# lustre_configuration: {
|
1730
|
+
# skip_final_backup: false,
|
1731
|
+
# final_backup_tags: [
|
1732
|
+
# {
|
1733
|
+
# key: "TagKey", # required
|
1734
|
+
# value: "TagValue", # required
|
1482
1735
|
# },
|
1483
1736
|
# ],
|
1484
1737
|
# },
|
@@ -1489,9 +1742,9 @@ module Aws::FSx
|
|
1489
1742
|
# @return [String]
|
1490
1743
|
#
|
1491
1744
|
# @!attribute [rw] client_request_token
|
1492
|
-
#
|
1493
|
-
#
|
1494
|
-
#
|
1745
|
+
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
1746
|
+
# idempotent deletion. This is automatically filled on your behalf
|
1747
|
+
# when using the AWS CLI or SDK.
|
1495
1748
|
#
|
1496
1749
|
# **A suitable default value is auto-generated.** You should normally
|
1497
1750
|
# not need to pass this option.
|
@@ -1502,12 +1755,18 @@ module Aws::FSx
|
|
1502
1755
|
# in the `DeleteFileSystem` operation.
|
1503
1756
|
# @return [Types::DeleteFileSystemWindowsConfiguration]
|
1504
1757
|
#
|
1758
|
+
# @!attribute [rw] lustre_configuration
|
1759
|
+
# The configuration object for the Amazon FSx for Lustre file system
|
1760
|
+
# being deleted in the `DeleteFileSystem` operation.
|
1761
|
+
# @return [Types::DeleteFileSystemLustreConfiguration]
|
1762
|
+
#
|
1505
1763
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystemRequest AWS API Documentation
|
1506
1764
|
#
|
1507
1765
|
class DeleteFileSystemRequest < Struct.new(
|
1508
1766
|
:file_system_id,
|
1509
1767
|
:client_request_token,
|
1510
|
-
:windows_configuration
|
1768
|
+
:windows_configuration,
|
1769
|
+
:lustre_configuration)
|
1511
1770
|
SENSITIVE = []
|
1512
1771
|
include Aws::Structure
|
1513
1772
|
end
|
@@ -1528,12 +1787,18 @@ module Aws::FSx
|
|
1528
1787
|
# the `DeleteFileSystem` operation.
|
1529
1788
|
# @return [Types::DeleteFileSystemWindowsResponse]
|
1530
1789
|
#
|
1790
|
+
# @!attribute [rw] lustre_response
|
1791
|
+
# The response object for the Amazon FSx for Lustre file system being
|
1792
|
+
# deleted in the `DeleteFileSystem` operation.
|
1793
|
+
# @return [Types::DeleteFileSystemLustreResponse]
|
1794
|
+
#
|
1531
1795
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystemResponse AWS API Documentation
|
1532
1796
|
#
|
1533
1797
|
class DeleteFileSystemResponse < Struct.new(
|
1534
1798
|
:file_system_id,
|
1535
1799
|
:lifecycle,
|
1536
|
-
:windows_response
|
1800
|
+
:windows_response,
|
1801
|
+
:lustre_response)
|
1537
1802
|
SENSITIVE = []
|
1538
1803
|
include Aws::Structure
|
1539
1804
|
end
|
@@ -1548,8 +1813,8 @@ module Aws::FSx
|
|
1548
1813
|
# skip_final_backup: false,
|
1549
1814
|
# final_backup_tags: [
|
1550
1815
|
# {
|
1551
|
-
# key: "TagKey",
|
1552
|
-
# value: "TagValue",
|
1816
|
+
# key: "TagKey", # required
|
1817
|
+
# value: "TagValue", # required
|
1553
1818
|
# },
|
1554
1819
|
# ],
|
1555
1820
|
# }
|
@@ -1604,7 +1869,7 @@ module Aws::FSx
|
|
1604
1869
|
# backup_ids: ["BackupId"],
|
1605
1870
|
# filters: [
|
1606
1871
|
# {
|
1607
|
-
# name: "file-system-id", # accepts file-system-id, backup-type
|
1872
|
+
# name: "file-system-id", # accepts file-system-id, backup-type, file-system-type
|
1608
1873
|
# values: ["FilterValue"],
|
1609
1874
|
# },
|
1610
1875
|
# ],
|
@@ -1613,28 +1878,27 @@ module Aws::FSx
|
|
1613
1878
|
# }
|
1614
1879
|
#
|
1615
1880
|
# @!attribute [rw] backup_ids
|
1616
|
-
#
|
1617
|
-
#
|
1618
|
-
# be thrown.
|
1881
|
+
# IDs of the backups you want to retrieve (String). This overrides any
|
1882
|
+
# filters. If any IDs are not found, BackupNotFound will be thrown.
|
1619
1883
|
# @return [Array<String>]
|
1620
1884
|
#
|
1621
1885
|
# @!attribute [rw] filters
|
1622
|
-
#
|
1886
|
+
# Filters structure. Supported names are file-system-id and
|
1623
1887
|
# backup-type.
|
1624
1888
|
# @return [Array<Types::Filter>]
|
1625
1889
|
#
|
1626
1890
|
# @!attribute [rw] max_results
|
1627
|
-
#
|
1628
|
-
#
|
1629
|
-
#
|
1630
|
-
#
|
1631
|
-
#
|
1891
|
+
# Maximum number of backups to return in the response (integer). This
|
1892
|
+
# parameter value must be greater than 0. The number of items that
|
1893
|
+
# Amazon FSx returns is the minimum of the `MaxResults` parameter
|
1894
|
+
# specified in the request and the service's internal maximum number
|
1895
|
+
# of items per page.
|
1632
1896
|
# @return [Integer]
|
1633
1897
|
#
|
1634
1898
|
# @!attribute [rw] next_token
|
1635
|
-
#
|
1636
|
-
#
|
1637
|
-
#
|
1899
|
+
# Opaque pagination token returned from a previous `DescribeBackups`
|
1900
|
+
# operation (String). If a token present, the action continues the
|
1901
|
+
# list from where the returning call left off.
|
1638
1902
|
# @return [String]
|
1639
1903
|
#
|
1640
1904
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackupsRequest AWS API Documentation
|
@@ -1750,20 +2014,20 @@ module Aws::FSx
|
|
1750
2014
|
# }
|
1751
2015
|
#
|
1752
2016
|
# @!attribute [rw] file_system_ids
|
1753
|
-
#
|
1754
|
-
#
|
2017
|
+
# IDs of the file systems whose descriptions you want to retrieve
|
2018
|
+
# (String).
|
1755
2019
|
# @return [Array<String>]
|
1756
2020
|
#
|
1757
2021
|
# @!attribute [rw] max_results
|
1758
|
-
#
|
1759
|
-
#
|
1760
|
-
#
|
1761
|
-
#
|
1762
|
-
#
|
2022
|
+
# Maximum number of file systems to return in the response (integer).
|
2023
|
+
# This parameter value must be greater than 0. The number of items
|
2024
|
+
# that Amazon FSx returns is the minimum of the `MaxResults` parameter
|
2025
|
+
# specified in the request and the service's internal maximum number
|
2026
|
+
# of items per page.
|
1763
2027
|
# @return [Integer]
|
1764
2028
|
#
|
1765
2029
|
# @!attribute [rw] next_token
|
1766
|
-
#
|
2030
|
+
# Opaque pagination token returned from a previous
|
1767
2031
|
# `DescribeFileSystems` operation (String). If a token present, the
|
1768
2032
|
# action continues the list from where the returning call left off.
|
1769
2033
|
# @return [String]
|
@@ -2003,7 +2267,7 @@ module Aws::FSx
|
|
2003
2267
|
# data as a hash:
|
2004
2268
|
#
|
2005
2269
|
# {
|
2006
|
-
# name: "file-system-id", # accepts file-system-id, backup-type
|
2270
|
+
# name: "file-system-id", # accepts file-system-id, backup-type, file-system-type
|
2007
2271
|
# values: ["FilterValue"],
|
2008
2272
|
# }
|
2009
2273
|
#
|
@@ -2162,15 +2426,15 @@ module Aws::FSx
|
|
2162
2426
|
# @return [String]
|
2163
2427
|
#
|
2164
2428
|
# @!attribute [rw] max_results
|
2165
|
-
#
|
2166
|
-
#
|
2167
|
-
#
|
2168
|
-
#
|
2169
|
-
#
|
2429
|
+
# Maximum number of tags to return in the response (integer). This
|
2430
|
+
# parameter value must be greater than 0. The number of items that
|
2431
|
+
# Amazon FSx returns is the minimum of the `MaxResults` parameter
|
2432
|
+
# specified in the request and the service's internal maximum number
|
2433
|
+
# of items per page.
|
2170
2434
|
# @return [Integer]
|
2171
2435
|
#
|
2172
2436
|
# @!attribute [rw] next_token
|
2173
|
-
#
|
2437
|
+
# Opaque pagination token returned from a previous
|
2174
2438
|
# `ListTagsForResource` operation (String). If a token present, the
|
2175
2439
|
# action continues the list from where the returning call left off.
|
2176
2440
|
# @return [String]
|
@@ -2220,7 +2484,23 @@ module Aws::FSx
|
|
2220
2484
|
# @return [Types::DataRepositoryConfiguration]
|
2221
2485
|
#
|
2222
2486
|
# @!attribute [rw] deployment_type
|
2223
|
-
# The deployment type of the FSX for Lustre file system.
|
2487
|
+
# The deployment type of the FSX for Lustre file system. *Scratch
|
2488
|
+
# deployment type* is designed for temporary storage and shorter-term
|
2489
|
+
# processing of data.
|
2490
|
+
#
|
2491
|
+
# `SCRATCH_1` and `SCRATCH_2` deployment types are best suited for
|
2492
|
+
# when you need temporary storage and shorter-term processing of data.
|
2493
|
+
# The `SCRATCH_2` deployment type provides in-transit encryption of
|
2494
|
+
# data and higher burst throughput capacity than `SCRATCH_1`.
|
2495
|
+
#
|
2496
|
+
# The `PERSISTENT_1` deployment type is used for longer-term storage
|
2497
|
+
# and workloads and encryption of data in transit. To learn more about
|
2498
|
+
# deployment types, see [ FSx for Lustre Deployment Options][1].
|
2499
|
+
# (Default = `SCRATCH_1`)
|
2500
|
+
#
|
2501
|
+
#
|
2502
|
+
#
|
2503
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/lustre-deployment-types.html
|
2224
2504
|
# @return [String]
|
2225
2505
|
#
|
2226
2506
|
# @!attribute [rw] per_unit_storage_throughput
|
@@ -2228,7 +2508,10 @@ module Aws::FSx
|
|
2228
2508
|
# read or write throughput per 1 tebibyte of storage provisioned. File
|
2229
2509
|
# system throughput capacity is equal to Storage capacity (TiB) *
|
2230
2510
|
# PerUnitStorageThroughput (MB/s/TiB). This option is only valid for
|
2231
|
-
# `PERSISTENT_1` deployment types.
|
2511
|
+
# `PERSISTENT_1` deployment types.
|
2512
|
+
#
|
2513
|
+
# Valid values for SSD storage: 50, 100, 200. Valid values for HDD
|
2514
|
+
# storage: 12, 40.
|
2232
2515
|
# @return [Integer]
|
2233
2516
|
#
|
2234
2517
|
# @!attribute [rw] mount_name
|
@@ -2239,6 +2522,39 @@ module Aws::FSx
|
|
2239
2522
|
# string that is unique within an AWS Region.
|
2240
2523
|
# @return [String]
|
2241
2524
|
#
|
2525
|
+
# @!attribute [rw] daily_automatic_backup_start_time
|
2526
|
+
# A recurring daily time, in the format `HH:MM`. `HH` is the
|
2527
|
+
# zero-padded hour of the day (0-23), and `MM` is the zero-padded
|
2528
|
+
# minute of the hour. For example, `05:00` specifies 5 AM daily.
|
2529
|
+
# @return [String]
|
2530
|
+
#
|
2531
|
+
# @!attribute [rw] automatic_backup_retention_days
|
2532
|
+
# The number of days to retain automatic backups. Setting this to 0
|
2533
|
+
# disables automatic backups. You can retain automatic backups for a
|
2534
|
+
# maximum of 90 days. The default is 0.
|
2535
|
+
# @return [Integer]
|
2536
|
+
#
|
2537
|
+
# @!attribute [rw] copy_tags_to_backups
|
2538
|
+
# A boolean flag indicating whether tags on the file system should be
|
2539
|
+
# copied to backups. If it's set to true, all tags on the file system
|
2540
|
+
# are copied to all automatic backups and any user-initiated backups
|
2541
|
+
# where the user doesn't specify any tags. If this value is true, and
|
2542
|
+
# you specify one or more tags, only the specified tags are copied to
|
2543
|
+
# backups. If you specify one or more tags when creating a
|
2544
|
+
# user-initiated backup, no tags are copied from the file system,
|
2545
|
+
# regardless of this value. (Default = false)
|
2546
|
+
# @return [Boolean]
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] drive_cache_type
|
2549
|
+
# The type of drive cache used by PERSISTENT\_1 file systems that are
|
2550
|
+
# provisioned with HDD storage devices. This parameter is required
|
2551
|
+
# when storage type is HDD. Set to `READ`, improve the performance for
|
2552
|
+
# frequently accessed files and allows 20% of the total storage
|
2553
|
+
# capacity of the file system to be cached.
|
2554
|
+
#
|
2555
|
+
# This parameter is required when `StorageType` is set to HDD.
|
2556
|
+
# @return [String]
|
2557
|
+
#
|
2242
2558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/LustreFileSystemConfiguration AWS API Documentation
|
2243
2559
|
#
|
2244
2560
|
class LustreFileSystemConfiguration < Struct.new(
|
@@ -2246,7 +2562,11 @@ module Aws::FSx
|
|
2246
2562
|
:data_repository_configuration,
|
2247
2563
|
:deployment_type,
|
2248
2564
|
:per_unit_storage_throughput,
|
2249
|
-
:mount_name
|
2565
|
+
:mount_name,
|
2566
|
+
:daily_automatic_backup_start_time,
|
2567
|
+
:automatic_backup_retention_days,
|
2568
|
+
:copy_tags_to_backups,
|
2569
|
+
:drive_cache_type)
|
2250
2570
|
SENSITIVE = []
|
2251
2571
|
include Aws::Structure
|
2252
2572
|
end
|
@@ -2525,8 +2845,8 @@ module Aws::FSx
|
|
2525
2845
|
# data as a hash:
|
2526
2846
|
#
|
2527
2847
|
# {
|
2528
|
-
# key: "TagKey",
|
2529
|
-
# value: "TagValue",
|
2848
|
+
# key: "TagKey", # required
|
2849
|
+
# value: "TagValue", # required
|
2530
2850
|
# }
|
2531
2851
|
#
|
2532
2852
|
# @!attribute [rw] key
|
@@ -2559,8 +2879,8 @@ module Aws::FSx
|
|
2559
2879
|
# resource_arn: "ResourceARN", # required
|
2560
2880
|
# tags: [ # required
|
2561
2881
|
# {
|
2562
|
-
# key: "TagKey",
|
2563
|
-
# value: "TagValue",
|
2882
|
+
# key: "TagKey", # required
|
2883
|
+
# value: "TagValue", # required
|
2564
2884
|
# },
|
2565
2885
|
# ],
|
2566
2886
|
# }
|
@@ -2647,6 +2967,9 @@ module Aws::FSx
|
|
2647
2967
|
#
|
2648
2968
|
# {
|
2649
2969
|
# weekly_maintenance_start_time: "WeeklyTime",
|
2970
|
+
# daily_automatic_backup_start_time: "DailyTime",
|
2971
|
+
# automatic_backup_retention_days: 1,
|
2972
|
+
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
2650
2973
|
# }
|
2651
2974
|
#
|
2652
2975
|
# @!attribute [rw] weekly_maintenance_start_time
|
@@ -2655,10 +2978,56 @@ module Aws::FSx
|
|
2655
2978
|
# through 7, beginning with Monday and ending with Sunday.
|
2656
2979
|
# @return [String]
|
2657
2980
|
#
|
2981
|
+
# @!attribute [rw] daily_automatic_backup_start_time
|
2982
|
+
# A recurring daily time, in the format `HH:MM`. `HH` is the
|
2983
|
+
# zero-padded hour of the day (0-23), and `MM` is the zero-padded
|
2984
|
+
# minute of the hour. For example, `05:00` specifies 5 AM daily.
|
2985
|
+
# @return [String]
|
2986
|
+
#
|
2987
|
+
# @!attribute [rw] automatic_backup_retention_days
|
2988
|
+
# The number of days to retain automatic backups. Setting this to 0
|
2989
|
+
# disables automatic backups. You can retain automatic backups for a
|
2990
|
+
# maximum of 90 days. The default is 0.
|
2991
|
+
# @return [Integer]
|
2992
|
+
#
|
2993
|
+
# @!attribute [rw] auto_import_policy
|
2994
|
+
# (Optional) Use this property to configure the AutoImport feature on
|
2995
|
+
# the file system's linked Amazon S3 data repository. You use
|
2996
|
+
# AutoImport to update the contents of your FSx for Lustre file system
|
2997
|
+
# automatically with changes that occur in the linked S3 data
|
2998
|
+
# repository. `AutoImportPolicy` can have the following values:
|
2999
|
+
#
|
3000
|
+
# * `NONE` - (Default) AutoImport is off. Changes in the linked data
|
3001
|
+
# repository are not reflected on the FSx file system.
|
3002
|
+
#
|
3003
|
+
# * `NEW` - AutoImport is on. New files in the linked data repository
|
3004
|
+
# that do not currently exist in the FSx file system are
|
3005
|
+
# automatically imported. Updates to existing FSx files are not
|
3006
|
+
# imported to the FSx file system. Files deleted from the linked
|
3007
|
+
# data repository are not deleted from the FSx file system.
|
3008
|
+
#
|
3009
|
+
# * `NEW_CHANGED` - AutoImport is on. New files in the linked S3 data
|
3010
|
+
# repository that do not currently exist in the FSx file system are
|
3011
|
+
# automatically imported. Changes to existing FSx files in the
|
3012
|
+
# linked repository are also automatically imported to the FSx file
|
3013
|
+
# system. Files deleted from the linked data repository are not
|
3014
|
+
# deleted from the FSx file system.
|
3015
|
+
#
|
3016
|
+
# For more information, see [Automatically import updates from your S3
|
3017
|
+
# bucket][1].
|
3018
|
+
#
|
3019
|
+
#
|
3020
|
+
#
|
3021
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html
|
3022
|
+
# @return [String]
|
3023
|
+
#
|
2658
3024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystemLustreConfiguration AWS API Documentation
|
2659
3025
|
#
|
2660
3026
|
class UpdateFileSystemLustreConfiguration < Struct.new(
|
2661
|
-
:weekly_maintenance_start_time
|
3027
|
+
:weekly_maintenance_start_time,
|
3028
|
+
:daily_automatic_backup_start_time,
|
3029
|
+
:automatic_backup_retention_days,
|
3030
|
+
:auto_import_policy)
|
2662
3031
|
SENSITIVE = []
|
2663
3032
|
include Aws::Structure
|
2664
3033
|
end
|
@@ -2685,6 +3054,9 @@ module Aws::FSx
|
|
2685
3054
|
# },
|
2686
3055
|
# lustre_configuration: {
|
2687
3056
|
# weekly_maintenance_start_time: "WeeklyTime",
|
3057
|
+
# daily_automatic_backup_start_time: "DailyTime",
|
3058
|
+
# automatic_backup_retention_days: 1,
|
3059
|
+
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
2688
3060
|
# },
|
2689
3061
|
# }
|
2690
3062
|
#
|
@@ -2787,7 +3159,7 @@ module Aws::FSx
|
|
2787
3159
|
# @!attribute [rw] automatic_backup_retention_days
|
2788
3160
|
# The number of days to retain automatic daily backups. Setting this
|
2789
3161
|
# to zero (0) disables automatic daily backups. You can retain
|
2790
|
-
# automatic daily backups for a maximum of
|
3162
|
+
# automatic daily backups for a maximum of 90 days. For more
|
2791
3163
|
# information, see [Working with Automatic Daily Backups][1].
|
2792
3164
|
#
|
2793
3165
|
#
|
@@ -2932,7 +3304,7 @@ module Aws::FSx
|
|
2932
3304
|
# @!attribute [rw] automatic_backup_retention_days
|
2933
3305
|
# The number of days to retain automatic backups. Setting this to 0
|
2934
3306
|
# disables automatic backups. You can retain automatic backups for a
|
2935
|
-
# maximum of
|
3307
|
+
# maximum of 90 days.
|
2936
3308
|
# @return [Integer]
|
2937
3309
|
#
|
2938
3310
|
# @!attribute [rw] copy_tags_to_backups
|