aws-sdk-fsx 1.25.0 → 1.31.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 +3 -2
- data/lib/aws-sdk-fsx/client.rb +60 -30
- data/lib/aws-sdk-fsx/client_api.rb +3 -0
- data/lib/aws-sdk-fsx/types.rb +149 -107
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a182623ba633aeae355ba1314f24860b3782c9ea4a5e6cc04caf28e985d2f52a
|
4
|
+
data.tar.gz: 11f2b3938a177c53140d7ff6a7185d539f2ad785b00404343a3e9e433daa7dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e5beb64005aeb50504b2aaa577fb0ba52bc537df5513573b102fdccb2146174bcf649f92adf5b3a4bd6e905aa02232772a044183c7ccfcd753459c06ca076c4
|
7
|
+
data.tar.gz: 8f69a470c6e684f29d3fe3a88543a9776b4f0090976507c253d9df0ed68cf5b3a4f8fdca44d3fcaaa6cbccb34d63c3b674383819a45ad5f67bbd653c0fd20bec
|
data/lib/aws-sdk-fsx.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-fsx/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::FSx
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.31.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-fsx/client.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::FSx
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::FSx
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -371,7 +386,7 @@ module Aws::FSx
|
|
371
386
|
#
|
372
387
|
# * a Persistent deployment type
|
373
388
|
#
|
374
|
-
# * is *not* linked to
|
389
|
+
# * is *not* linked to a data respository.
|
375
390
|
#
|
376
391
|
# For more information about backing up Amazon FSx for Lustre file
|
377
392
|
# systems, see [Working with FSx for Lustre backups][1].
|
@@ -412,20 +427,20 @@ module Aws::FSx
|
|
412
427
|
# The ID of the file system to back up.
|
413
428
|
#
|
414
429
|
# @option params [String] :client_request_token
|
415
|
-
# A string of up to 64 ASCII characters that Amazon FSx uses
|
416
|
-
# idempotent creation. This string is automatically filled on
|
417
|
-
# behalf when you use the AWS Command Line Interface (AWS CLI) or
|
418
|
-
# SDK.
|
430
|
+
# (Optional) A string of up to 64 ASCII characters that Amazon FSx uses
|
431
|
+
# to ensure idempotent creation. This string is automatically filled on
|
432
|
+
# your behalf when you use the AWS Command Line Interface (AWS CLI) or
|
433
|
+
# an AWS SDK.
|
419
434
|
#
|
420
435
|
# **A suitable default value is auto-generated.** You should normally
|
421
436
|
# not need to pass this option.**
|
422
437
|
#
|
423
438
|
# @option params [Array<Types::Tag>] :tags
|
424
|
-
# The tags to apply to the backup at backup creation. The key
|
425
|
-
# the `Name` tag appears in the console as the backup name. If
|
426
|
-
# set `CopyTagsToBackups` to true, and you specify one or more
|
427
|
-
# using the `CreateBackup` action, no existing
|
428
|
-
#
|
439
|
+
# (Optional) The tags to apply to the backup at backup creation. The key
|
440
|
+
# value of the `Name` tag appears in the console as the backup name. If
|
441
|
+
# you have set `CopyTagsToBackups` to true, and you specify one or more
|
442
|
+
# tags using the `CreateBackup` action, no existing file system tags are
|
443
|
+
# copied from the file system to the backup.
|
429
444
|
#
|
430
445
|
# @return [Types::CreateBackupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
431
446
|
#
|
@@ -491,7 +506,7 @@ module Aws::FSx
|
|
491
506
|
# @example Response structure
|
492
507
|
#
|
493
508
|
# resp.backup.backup_id #=> String
|
494
|
-
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
509
|
+
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
495
510
|
# resp.backup.failure_details.message #=> String
|
496
511
|
# resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED"
|
497
512
|
# resp.backup.progress_percent #=> Integer
|
@@ -551,6 +566,7 @@ module Aws::FSx
|
|
551
566
|
# resp.backup.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
552
567
|
# resp.backup.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
553
568
|
# resp.backup.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
569
|
+
# resp.backup.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
554
570
|
# resp.backup.file_system.administrative_actions #=> Array
|
555
571
|
# resp.backup.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
556
572
|
# resp.backup.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -736,11 +752,15 @@ module Aws::FSx
|
|
736
752
|
#
|
737
753
|
# For Lustre file systems:
|
738
754
|
#
|
739
|
-
# * For `SCRATCH_2` and `PERSISTENT_1` deployment types, valid
|
740
|
-
# are
|
755
|
+
# * For `SCRATCH_2` and `PERSISTENT_1 SSD` deployment types, valid
|
756
|
+
# values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.
|
757
|
+
#
|
758
|
+
# * For `PERSISTENT HDD` file systems, valid values are increments of
|
759
|
+
# 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for
|
760
|
+
# 40 MB/s/TiB file systems.
|
741
761
|
#
|
742
|
-
# * For `SCRATCH_1` deployment type, valid values are
|
743
|
-
# increments of
|
762
|
+
# * For `SCRATCH_1` deployment type, valid values are 1200 GiB, 2400
|
763
|
+
# GiB, and increments of 3600 GiB.
|
744
764
|
#
|
745
765
|
# For Windows file systems:
|
746
766
|
#
|
@@ -750,21 +770,24 @@ module Aws::FSx
|
|
750
770
|
# TiB).
|
751
771
|
#
|
752
772
|
# @option params [String] :storage_type
|
753
|
-
# Sets the storage type for the
|
754
|
-
#
|
773
|
+
# Sets the storage type for the file system you're creating. Valid
|
774
|
+
# values are `SSD` and `HDD`.
|
755
775
|
#
|
756
776
|
# * Set to `SSD` to use solid state drive storage. SSD is supported on
|
757
|
-
# all Windows deployment types.
|
777
|
+
# all Windows and Lustre deployment types.
|
758
778
|
#
|
759
779
|
# * Set to `HDD` to use hard disk drive storage. HDD is supported on
|
760
|
-
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types
|
780
|
+
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types,
|
781
|
+
# and on `PERSISTENT` Lustre file system deployment types.
|
761
782
|
#
|
762
783
|
# Default value is `SSD`. For more information, see [ Storage Type
|
763
|
-
# Options][1] in the *Amazon FSx for Windows User Guide
|
784
|
+
# Options][1] in the *Amazon FSx for Windows User Guide* and [Multiple
|
785
|
+
# Storage Options][2] in the *Amazon FSx for Lustre User Guide*.
|
764
786
|
#
|
765
787
|
#
|
766
788
|
#
|
767
789
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options
|
790
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options
|
768
791
|
#
|
769
792
|
# @option params [required, Array<String>] :subnet_ids
|
770
793
|
# Specifies the IDs of the subnets that the file system will be
|
@@ -918,6 +941,7 @@ module Aws::FSx
|
|
918
941
|
# daily_automatic_backup_start_time: "DailyTime",
|
919
942
|
# automatic_backup_retention_days: 1,
|
920
943
|
# copy_tags_to_backups: false,
|
944
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
921
945
|
# },
|
922
946
|
# })
|
923
947
|
#
|
@@ -973,6 +997,7 @@ module Aws::FSx
|
|
973
997
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
974
998
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
975
999
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1000
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
976
1001
|
# resp.file_system.administrative_actions #=> Array
|
977
1002
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
978
1003
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1192,6 +1217,7 @@ module Aws::FSx
|
|
1192
1217
|
# daily_automatic_backup_start_time: "DailyTime",
|
1193
1218
|
# automatic_backup_retention_days: 1,
|
1194
1219
|
# copy_tags_to_backups: false,
|
1220
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
1195
1221
|
# },
|
1196
1222
|
# storage_type: "SSD", # accepts SSD, HDD
|
1197
1223
|
# })
|
@@ -1248,6 +1274,7 @@ module Aws::FSx
|
|
1248
1274
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
1249
1275
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1250
1276
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1277
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1251
1278
|
# resp.file_system.administrative_actions #=> Array
|
1252
1279
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1253
1280
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1315,7 +1342,7 @@ module Aws::FSx
|
|
1315
1342
|
# @example Response structure
|
1316
1343
|
#
|
1317
1344
|
# resp.backup_id #=> String
|
1318
|
-
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
1345
|
+
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
1319
1346
|
#
|
1320
1347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup AWS API Documentation
|
1321
1348
|
#
|
@@ -1548,7 +1575,7 @@ module Aws::FSx
|
|
1548
1575
|
#
|
1549
1576
|
# resp.backups #=> Array
|
1550
1577
|
# resp.backups[0].backup_id #=> String
|
1551
|
-
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
1578
|
+
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
1552
1579
|
# resp.backups[0].failure_details.message #=> String
|
1553
1580
|
# resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED"
|
1554
1581
|
# resp.backups[0].progress_percent #=> Integer
|
@@ -1608,6 +1635,7 @@ module Aws::FSx
|
|
1608
1635
|
# resp.backups[0].file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
1609
1636
|
# resp.backups[0].file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1610
1637
|
# resp.backups[0].file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1638
|
+
# resp.backups[0].file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1611
1639
|
# resp.backups[0].file_system.administrative_actions #=> Array
|
1612
1640
|
# resp.backups[0].file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1613
1641
|
# resp.backups[0].file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1874,6 +1902,7 @@ module Aws::FSx
|
|
1874
1902
|
# resp.file_systems[0].lustre_configuration.daily_automatic_backup_start_time #=> String
|
1875
1903
|
# resp.file_systems[0].lustre_configuration.automatic_backup_retention_days #=> Integer
|
1876
1904
|
# resp.file_systems[0].lustre_configuration.copy_tags_to_backups #=> Boolean
|
1905
|
+
# resp.file_systems[0].lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1877
1906
|
# resp.file_systems[0].administrative_actions #=> Array
|
1878
1907
|
# resp.file_systems[0].administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1879
1908
|
# resp.file_systems[0].administrative_actions[0].progress_percent #=> Integer
|
@@ -2255,6 +2284,7 @@ module Aws::FSx
|
|
2255
2284
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
2256
2285
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
2257
2286
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
2287
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
2258
2288
|
# resp.file_system.administrative_actions #=> Array
|
2259
2289
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
2260
2290
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -2285,7 +2315,7 @@ module Aws::FSx
|
|
2285
2315
|
params: params,
|
2286
2316
|
config: config)
|
2287
2317
|
context[:gem_name] = 'aws-sdk-fsx'
|
2288
|
-
context[:gem_version] = '1.
|
2318
|
+
context[:gem_version] = '1.31.0'
|
2289
2319
|
Seahorse::Client::Request.new(handlers, context)
|
2290
2320
|
end
|
2291
2321
|
|
@@ -90,6 +90,7 @@ module Aws::FSx
|
|
90
90
|
DirectoryPassword = Shapes::StringShape.new(name: 'DirectoryPassword')
|
91
91
|
DirectoryUserName = Shapes::StringShape.new(name: 'DirectoryUserName')
|
92
92
|
DnsIps = Shapes::ListShape.new(name: 'DnsIps')
|
93
|
+
DriveCacheType = Shapes::StringShape.new(name: 'DriveCacheType')
|
93
94
|
EndTime = Shapes::TimestampShape.new(name: 'EndTime')
|
94
95
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
95
96
|
FailedCount = Shapes::IntegerShape.new(name: 'FailedCount')
|
@@ -288,6 +289,7 @@ module Aws::FSx
|
|
288
289
|
CreateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
|
289
290
|
CreateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
|
290
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"))
|
291
293
|
CreateFileSystemLustreConfiguration.struct_class = Types::CreateFileSystemLustreConfiguration
|
292
294
|
|
293
295
|
CreateFileSystemRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
@@ -517,6 +519,7 @@ module Aws::FSx
|
|
517
519
|
LustreFileSystemConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
|
518
520
|
LustreFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
|
519
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"))
|
520
523
|
LustreFileSystemConfiguration.struct_class = Types::LustreFileSystemConfiguration
|
521
524
|
|
522
525
|
MissingFileSystemConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
data/lib/aws-sdk-fsx/types.rb
CHANGED
@@ -159,6 +159,17 @@ module Aws::FSx
|
|
159
159
|
#
|
160
160
|
# @!attribute [rw] lifecycle
|
161
161
|
# The lifecycle status of the backup.
|
162
|
+
#
|
163
|
+
# * `AVAILABLE` - The backup is fully available.
|
164
|
+
#
|
165
|
+
# * `CREATING` - FSx is creating the backup.
|
166
|
+
#
|
167
|
+
# * `TRANSFERRING` - For Lustre file systems only; FSx is transferring
|
168
|
+
# the backup to S3.
|
169
|
+
#
|
170
|
+
# * `DELETED` - The backup was deleted is no longer available.
|
171
|
+
#
|
172
|
+
# * `FAILED` - Amazon FSx could not complete the backup.
|
162
173
|
# @return [String]
|
163
174
|
#
|
164
175
|
# @!attribute [rw] failure_details
|
@@ -179,8 +190,7 @@ module Aws::FSx
|
|
179
190
|
#
|
180
191
|
# @!attribute [rw] kms_key_id
|
181
192
|
# The ID of the AWS Key Management Service (AWS KMS) key used to
|
182
|
-
# encrypt
|
183
|
-
# data at rest. Amazon FSx for Lustre does not support KMS encryption.
|
193
|
+
# encrypt the backup of the Amazon FSx file system's data at rest.
|
184
194
|
# @return [String]
|
185
195
|
#
|
186
196
|
# @!attribute [rw] resource_arn
|
@@ -434,21 +444,21 @@ module Aws::FSx
|
|
434
444
|
# @return [String]
|
435
445
|
#
|
436
446
|
# @!attribute [rw] client_request_token
|
437
|
-
# A string of up to 64 ASCII characters that Amazon FSx
|
438
|
-
# idempotent creation. This string is automatically
|
439
|
-
# behalf when you use the AWS Command Line Interface
|
440
|
-
# AWS SDK.
|
447
|
+
# (Optional) A string of up to 64 ASCII characters that Amazon FSx
|
448
|
+
# uses to ensure idempotent creation. This string is automatically
|
449
|
+
# filled on your behalf when you use the AWS Command Line Interface
|
450
|
+
# (AWS CLI) or an AWS SDK.
|
441
451
|
#
|
442
452
|
# **A suitable default value is auto-generated.** You should normally
|
443
453
|
# not need to pass this option.
|
444
454
|
# @return [String]
|
445
455
|
#
|
446
456
|
# @!attribute [rw] tags
|
447
|
-
# The tags to apply to the backup at backup creation. The
|
448
|
-
# the `Name` tag appears in the console as the backup
|
449
|
-
# have set `CopyTagsToBackups` to true, and you specify
|
450
|
-
# tags using the `CreateBackup` action, no existing
|
451
|
-
# system are copied from the file system to the backup.
|
457
|
+
# (Optional) The tags to apply to the backup at backup creation. The
|
458
|
+
# key value of the `Name` tag appears in the console as the backup
|
459
|
+
# name. If you have set `CopyTagsToBackups` to true, and you specify
|
460
|
+
# one or more tags using the `CreateBackup` action, no existing file
|
461
|
+
# system tags are copied from the file system to the backup.
|
452
462
|
# @return [Array<Types::Tag>]
|
453
463
|
#
|
454
464
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackupRequest AWS API Documentation
|
@@ -611,6 +621,7 @@ module Aws::FSx
|
|
611
621
|
# daily_automatic_backup_start_time: "DailyTime",
|
612
622
|
# automatic_backup_retention_days: 1,
|
613
623
|
# copy_tags_to_backups: false,
|
624
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
614
625
|
# },
|
615
626
|
# storage_type: "SSD", # accepts SSD, HDD
|
616
627
|
# }
|
@@ -732,12 +743,14 @@ module Aws::FSx
|
|
732
743
|
# daily_automatic_backup_start_time: "DailyTime",
|
733
744
|
# automatic_backup_retention_days: 1,
|
734
745
|
# copy_tags_to_backups: false,
|
746
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
735
747
|
# }
|
736
748
|
#
|
737
749
|
# @!attribute [rw] weekly_maintenance_start_time
|
738
|
-
# The preferred start time to perform weekly maintenance,
|
739
|
-
# d:HH:MM in the UTC time zone, where d is the weekday
|
740
|
-
# through 7, beginning with Monday and ending with
|
750
|
+
# (Optional) The preferred start time to perform weekly maintenance,
|
751
|
+
# formatted d:HH:MM in the UTC time zone, where d is the weekday
|
752
|
+
# number, from 1 through 7, beginning with Monday and ending with
|
753
|
+
# Sunday.
|
741
754
|
# @return [String]
|
742
755
|
#
|
743
756
|
# @!attribute [rw] import_path
|
@@ -811,27 +824,25 @@ module Aws::FSx
|
|
811
824
|
# @return [String]
|
812
825
|
#
|
813
826
|
# @!attribute [rw] auto_import_policy
|
814
|
-
# (Optional)
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
# * `NONE` - (Default) AutoImport is off.
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
829
|
-
# * `NEW_CHANGED` - AutoImport is on.
|
830
|
-
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
# system. Files deleted from the linked data repository are not
|
834
|
-
# deleted from the FSx file system.
|
827
|
+
# (Optional) When you create your file system, your existing S3
|
828
|
+
# objects appear as file and directory listings. Use this property to
|
829
|
+
# choose how Amazon FSx keeps your file and directory listings up to
|
830
|
+
# date as you add or modify objects in your linked S3 bucket.
|
831
|
+
# `AutoImportPolicy` can have the following values:
|
832
|
+
#
|
833
|
+
# * `NONE` - (Default) AutoImport is off. Amazon FSx only updates file
|
834
|
+
# and directory listings from the linked S3 bucket when the file
|
835
|
+
# system is created. FSx does not update file and directory listings
|
836
|
+
# for any new or changed objects after choosing this option.
|
837
|
+
#
|
838
|
+
# * `NEW` - AutoImport is on. Amazon FSx automatically imports
|
839
|
+
# directory listings of any new objects added to the linked S3
|
840
|
+
# bucket that do not currently exist in the FSx file system.
|
841
|
+
#
|
842
|
+
# * `NEW_CHANGED` - AutoImport is on. Amazon FSx automatically imports
|
843
|
+
# file and directory listings of any new objects added to the S3
|
844
|
+
# bucket and any existing objects that are changed in the S3 bucket
|
845
|
+
# after you choose this option.
|
835
846
|
#
|
836
847
|
# For more information, see [Automatically import updates from your S3
|
837
848
|
# bucket][1].
|
@@ -847,11 +858,12 @@ module Aws::FSx
|
|
847
858
|
# in MB/s/TiB. File system throughput capacity is calculated by
|
848
859
|
# multiplying file system storage capacity (TiB) by the
|
849
860
|
# PerUnitStorageThroughput (MB/s/TiB). For a 2.4 TiB file system,
|
850
|
-
# provisioning 50 MB/s/TiB of PerUnitStorageThroughput yields
|
861
|
+
# provisioning 50 MB/s/TiB of PerUnitStorageThroughput yields 120 MB/s
|
851
862
|
# of file system throughput. You pay for the amount of throughput that
|
852
863
|
# you provision.
|
853
864
|
#
|
854
|
-
# Valid values
|
865
|
+
# Valid values for SSD storage: 50, 100, 200. Valid values for HDD
|
866
|
+
# storage: 12, 40.
|
855
867
|
# @return [Integer]
|
856
868
|
#
|
857
869
|
# @!attribute [rw] daily_automatic_backup_start_time
|
@@ -863,18 +875,20 @@ module Aws::FSx
|
|
863
875
|
# @!attribute [rw] automatic_backup_retention_days
|
864
876
|
# The number of days to retain automatic backups. Setting this to 0
|
865
877
|
# disables automatic backups. You can retain automatic backups for a
|
866
|
-
# maximum of
|
878
|
+
# maximum of 90 days. The default is 0.
|
867
879
|
# @return [Integer]
|
868
880
|
#
|
869
881
|
# @!attribute [rw] copy_tags_to_backups
|
870
|
-
#
|
871
|
-
#
|
872
|
-
#
|
873
|
-
#
|
874
|
-
#
|
875
|
-
# tags
|
876
|
-
#
|
877
|
-
#
|
882
|
+
# (Optional) Not available to use with file systems that are linked to
|
883
|
+
# a data repository. A boolean flag indicating whether tags for the
|
884
|
+
# file system should be copied to backups. The default value is false.
|
885
|
+
# If it's set to true, all file system tags are copied to all
|
886
|
+
# automatic and user-initiated backups when the user doesn't specify
|
887
|
+
# any backup-specific tags. If this value is true, and you specify one
|
888
|
+
# or more backup tags, only the specified tags are copied to backups.
|
889
|
+
# If you specify one or more tags when creating a user-initiated
|
890
|
+
# backup, no tags are copied from the file system, regardless of this
|
891
|
+
# value.
|
878
892
|
#
|
879
893
|
# For more information, see [Working with backups][1].
|
880
894
|
#
|
@@ -883,6 +897,16 @@ module Aws::FSx
|
|
883
897
|
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html
|
884
898
|
# @return [Boolean]
|
885
899
|
#
|
900
|
+
# @!attribute [rw] drive_cache_type
|
901
|
+
# The type of drive cache used by PERSISTENT\_1 file systems that are
|
902
|
+
# provisioned with HDD storage devices. This parameter is required
|
903
|
+
# when storage type is HDD. Set to `READ`, improve the performance for
|
904
|
+
# frequently accessed files and allows 20% of the total storage
|
905
|
+
# capacity of the file system to be cached.
|
906
|
+
#
|
907
|
+
# This parameter is required when `StorageType` is set to HDD.
|
908
|
+
# @return [String]
|
909
|
+
#
|
886
910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemLustreConfiguration AWS API Documentation
|
887
911
|
#
|
888
912
|
class CreateFileSystemLustreConfiguration < Struct.new(
|
@@ -895,7 +919,8 @@ module Aws::FSx
|
|
895
919
|
:per_unit_storage_throughput,
|
896
920
|
:daily_automatic_backup_start_time,
|
897
921
|
:automatic_backup_retention_days,
|
898
|
-
:copy_tags_to_backups
|
922
|
+
:copy_tags_to_backups,
|
923
|
+
:drive_cache_type)
|
899
924
|
SENSITIVE = []
|
900
925
|
include Aws::Structure
|
901
926
|
end
|
@@ -948,6 +973,7 @@ module Aws::FSx
|
|
948
973
|
# daily_automatic_backup_start_time: "DailyTime",
|
949
974
|
# automatic_backup_retention_days: 1,
|
950
975
|
# copy_tags_to_backups: false,
|
976
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
951
977
|
# },
|
952
978
|
# }
|
953
979
|
#
|
@@ -971,11 +997,15 @@ module Aws::FSx
|
|
971
997
|
#
|
972
998
|
# For Lustre file systems:
|
973
999
|
#
|
974
|
-
# * For `SCRATCH_2` and `PERSISTENT_1` deployment types, valid
|
975
|
-
# are
|
1000
|
+
# * For `SCRATCH_2` and `PERSISTENT_1 SSD` deployment types, valid
|
1001
|
+
# values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.
|
976
1002
|
#
|
977
|
-
# * For `
|
978
|
-
# increments of
|
1003
|
+
# * For `PERSISTENT HDD` file systems, valid values are increments of
|
1004
|
+
# 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB
|
1005
|
+
# for 40 MB/s/TiB file systems.
|
1006
|
+
#
|
1007
|
+
# * For `SCRATCH_1` deployment type, valid values are 1200 GiB, 2400
|
1008
|
+
# GiB, and increments of 3600 GiB.
|
979
1009
|
#
|
980
1010
|
# For Windows file systems:
|
981
1011
|
#
|
@@ -987,22 +1017,24 @@ module Aws::FSx
|
|
987
1017
|
# @return [Integer]
|
988
1018
|
#
|
989
1019
|
# @!attribute [rw] storage_type
|
990
|
-
# Sets the storage type for the
|
991
|
-
#
|
1020
|
+
# Sets the storage type for the file system you're creating. Valid
|
1021
|
+
# values are `SSD` and `HDD`.
|
992
1022
|
#
|
993
1023
|
# * Set to `SSD` to use solid state drive storage. SSD is supported on
|
994
|
-
# all Windows deployment types.
|
1024
|
+
# all Windows and Lustre deployment types.
|
995
1025
|
#
|
996
1026
|
# * Set to `HDD` to use hard disk drive storage. HDD is supported on
|
997
1027
|
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment
|
998
|
-
# types.
|
1028
|
+
# types, and on `PERSISTENT` Lustre file system deployment types.
|
999
1029
|
#
|
1000
1030
|
# Default value is `SSD`. For more information, see [ Storage Type
|
1001
|
-
# Options][1] in the *Amazon FSx for Windows User Guide
|
1031
|
+
# Options][1] in the *Amazon FSx for Windows User Guide* and [Multiple
|
1032
|
+
# Storage Options][2] in the *Amazon FSx for Lustre User Guide*.
|
1002
1033
|
#
|
1003
1034
|
#
|
1004
1035
|
#
|
1005
1036
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options
|
1037
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options
|
1006
1038
|
# @return [String]
|
1007
1039
|
#
|
1008
1040
|
# @!attribute [rw] subnet_ids
|
@@ -1175,7 +1207,7 @@ module Aws::FSx
|
|
1175
1207
|
# The number of days to retain automatic backups. The default is to
|
1176
1208
|
# retain backups for 7 days. Setting this value to 0 disables the
|
1177
1209
|
# creation of automatic backups. The maximum retention period for
|
1178
|
-
# backups is
|
1210
|
+
# backups is 90 days.
|
1179
1211
|
# @return [Integer]
|
1180
1212
|
#
|
1181
1213
|
# @!attribute [rw] copy_tags_to_backups
|
@@ -1259,26 +1291,24 @@ module Aws::FSx
|
|
1259
1291
|
#
|
1260
1292
|
# @!attribute [rw] auto_import_policy
|
1261
1293
|
# Describes the file system's linked S3 data repository's
|
1262
|
-
# `AutoImportPolicy`. The AutoImportPolicy configures how
|
1263
|
-
#
|
1264
|
-
#
|
1265
|
-
#
|
1266
|
-
#
|
1267
|
-
# * `NONE` - (Default) AutoImport is off.
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
# * `NEW_CHANGED` - AutoImport is on.
|
1277
|
-
#
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
# system. Files deleted from the linked data repository are not
|
1281
|
-
# deleted from the FSx file system.
|
1294
|
+
# `AutoImportPolicy`. The AutoImportPolicy configures how Amazon FSx
|
1295
|
+
# keeps your file and directory listings up to date as you add or
|
1296
|
+
# modify objects in your linked S3 bucket. `AutoImportPolicy` can have
|
1297
|
+
# the following values:
|
1298
|
+
#
|
1299
|
+
# * `NONE` - (Default) AutoImport is off. Amazon FSx only updates file
|
1300
|
+
# and directory listings from the linked S3 bucket when the file
|
1301
|
+
# system is created. FSx does not update file and directory listings
|
1302
|
+
# for any new or changed objects after choosing this option.
|
1303
|
+
#
|
1304
|
+
# * `NEW` - AutoImport is on. Amazon FSx automatically imports
|
1305
|
+
# directory listings of any new objects added to the linked S3
|
1306
|
+
# bucket that do not currently exist in the FSx file system.
|
1307
|
+
#
|
1308
|
+
# * `NEW_CHANGED` - AutoImport is on. Amazon FSx automatically imports
|
1309
|
+
# file and directory listings of any new objects added to the S3
|
1310
|
+
# bucket and any existing objects that are changed in the S3 bucket
|
1311
|
+
# after you choose this option.
|
1282
1312
|
#
|
1283
1313
|
# For more information, see [Automatically import updates from your S3
|
1284
1314
|
# bucket][1].
|
@@ -2493,7 +2523,10 @@ module Aws::FSx
|
|
2493
2523
|
# read or write throughput per 1 tebibyte of storage provisioned. File
|
2494
2524
|
# system throughput capacity is equal to Storage capacity (TiB) *
|
2495
2525
|
# PerUnitStorageThroughput (MB/s/TiB). This option is only valid for
|
2496
|
-
# `PERSISTENT_1` deployment types.
|
2526
|
+
# `PERSISTENT_1` deployment types.
|
2527
|
+
#
|
2528
|
+
# Valid values for SSD storage: 50, 100, 200. Valid values for HDD
|
2529
|
+
# storage: 12, 40.
|
2497
2530
|
# @return [Integer]
|
2498
2531
|
#
|
2499
2532
|
# @!attribute [rw] mount_name
|
@@ -2513,7 +2546,7 @@ module Aws::FSx
|
|
2513
2546
|
# @!attribute [rw] automatic_backup_retention_days
|
2514
2547
|
# The number of days to retain automatic backups. Setting this to 0
|
2515
2548
|
# disables automatic backups. You can retain automatic backups for a
|
2516
|
-
# maximum of
|
2549
|
+
# maximum of 90 days. The default is 0.
|
2517
2550
|
# @return [Integer]
|
2518
2551
|
#
|
2519
2552
|
# @!attribute [rw] copy_tags_to_backups
|
@@ -2527,6 +2560,16 @@ module Aws::FSx
|
|
2527
2560
|
# regardless of this value. (Default = false)
|
2528
2561
|
# @return [Boolean]
|
2529
2562
|
#
|
2563
|
+
# @!attribute [rw] drive_cache_type
|
2564
|
+
# The type of drive cache used by PERSISTENT\_1 file systems that are
|
2565
|
+
# provisioned with HDD storage devices. This parameter is required
|
2566
|
+
# when storage type is HDD. Set to `READ`, improve the performance for
|
2567
|
+
# frequently accessed files and allows 20% of the total storage
|
2568
|
+
# capacity of the file system to be cached.
|
2569
|
+
#
|
2570
|
+
# This parameter is required when `StorageType` is set to HDD.
|
2571
|
+
# @return [String]
|
2572
|
+
#
|
2530
2573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/LustreFileSystemConfiguration AWS API Documentation
|
2531
2574
|
#
|
2532
2575
|
class LustreFileSystemConfiguration < Struct.new(
|
@@ -2537,7 +2580,8 @@ module Aws::FSx
|
|
2537
2580
|
:mount_name,
|
2538
2581
|
:daily_automatic_backup_start_time,
|
2539
2582
|
:automatic_backup_retention_days,
|
2540
|
-
:copy_tags_to_backups
|
2583
|
+
:copy_tags_to_backups,
|
2584
|
+
:drive_cache_type)
|
2541
2585
|
SENSITIVE = []
|
2542
2586
|
include Aws::Structure
|
2543
2587
|
end
|
@@ -2944,9 +2988,9 @@ module Aws::FSx
|
|
2944
2988
|
# }
|
2945
2989
|
#
|
2946
2990
|
# @!attribute [rw] weekly_maintenance_start_time
|
2947
|
-
# The preferred start time to perform weekly maintenance,
|
2948
|
-
# d:HH:MM in the UTC time zone. d is the weekday number,
|
2949
|
-
# through 7, beginning with Monday and ending with Sunday.
|
2991
|
+
# (Optional) The preferred start time to perform weekly maintenance,
|
2992
|
+
# formatted d:HH:MM in the UTC time zone. d is the weekday number,
|
2993
|
+
# from 1 through 7, beginning with Monday and ending with Sunday.
|
2950
2994
|
# @return [String]
|
2951
2995
|
#
|
2952
2996
|
# @!attribute [rw] daily_automatic_backup_start_time
|
@@ -2958,31 +3002,29 @@ module Aws::FSx
|
|
2958
3002
|
# @!attribute [rw] automatic_backup_retention_days
|
2959
3003
|
# The number of days to retain automatic backups. Setting this to 0
|
2960
3004
|
# disables automatic backups. You can retain automatic backups for a
|
2961
|
-
# maximum of
|
3005
|
+
# maximum of 90 days. The default is 0.
|
2962
3006
|
# @return [Integer]
|
2963
3007
|
#
|
2964
3008
|
# @!attribute [rw] auto_import_policy
|
2965
|
-
# (Optional)
|
2966
|
-
#
|
2967
|
-
#
|
2968
|
-
#
|
2969
|
-
#
|
2970
|
-
#
|
2971
|
-
# * `NONE` - (Default) AutoImport is off.
|
2972
|
-
#
|
2973
|
-
#
|
2974
|
-
#
|
2975
|
-
#
|
2976
|
-
#
|
2977
|
-
#
|
2978
|
-
#
|
2979
|
-
#
|
2980
|
-
# * `NEW_CHANGED` - AutoImport is on.
|
2981
|
-
#
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
# system. Files deleted from the linked data repository are not
|
2985
|
-
# deleted from the FSx file system.
|
3009
|
+
# (Optional) When you create your file system, your existing S3
|
3010
|
+
# objects appear as file and directory listings. Use this property to
|
3011
|
+
# choose how Amazon FSx keeps your file and directory listing up to
|
3012
|
+
# date as you add or modify objects in your linked S3 bucket.
|
3013
|
+
# `AutoImportPolicy` can have the following values:
|
3014
|
+
#
|
3015
|
+
# * `NONE` - (Default) AutoImport is off. Amazon FSx only updates file
|
3016
|
+
# and directory listings from the linked S3 bucket when the file
|
3017
|
+
# system is created. FSx does not update the file and directory
|
3018
|
+
# listing for any new or changed objects after choosing this option.
|
3019
|
+
#
|
3020
|
+
# * `NEW` - AutoImport is on. Amazon FSx automatically imports
|
3021
|
+
# directory listings of any new objects added to the linked S3
|
3022
|
+
# bucket that do not currently exist in the FSx file system.
|
3023
|
+
#
|
3024
|
+
# * `NEW_CHANGED` - AutoImport is on. Amazon FSx automatically imports
|
3025
|
+
# file and directory listings of any new objects added to the S3
|
3026
|
+
# bucket and any existing objects that are changed in the S3 bucket
|
3027
|
+
# after you choose this option.
|
2986
3028
|
#
|
2987
3029
|
# For more information, see [Automatically import updates from your S3
|
2988
3030
|
# bucket][1].
|
@@ -3130,7 +3172,7 @@ module Aws::FSx
|
|
3130
3172
|
# @!attribute [rw] automatic_backup_retention_days
|
3131
3173
|
# The number of days to retain automatic daily backups. Setting this
|
3132
3174
|
# to zero (0) disables automatic daily backups. You can retain
|
3133
|
-
# automatic daily backups for a maximum of
|
3175
|
+
# automatic daily backups for a maximum of 90 days. For more
|
3134
3176
|
# information, see [Working with Automatic Daily Backups][1].
|
3135
3177
|
#
|
3136
3178
|
#
|
@@ -3275,7 +3317,7 @@ module Aws::FSx
|
|
3275
3317
|
# @!attribute [rw] automatic_backup_retention_days
|
3276
3318
|
# The number of days to retain automatic backups. Setting this to 0
|
3277
3319
|
# disables automatic backups. You can retain automatic backups for a
|
3278
|
-
# maximum of
|
3320
|
+
# maximum of 90 days.
|
3279
3321
|
# @return [Integer]
|
3280
3322
|
#
|
3281
3323
|
# @!attribute [rw] copy_tags_to_backups
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-fsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|