aws-sdk-fsx 1.14.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-fsx.rb +7 -4
- data/lib/aws-sdk-fsx/client.rb +201 -47
- data/lib/aws-sdk-fsx/client_api.rb +18 -0
- data/lib/aws-sdk-fsx/errors.rb +57 -19
- data/lib/aws-sdk-fsx/resource.rb +1 -0
- data/lib/aws-sdk-fsx/types.rb +262 -58
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e9da1b78363fdd053e6a854ed5ff04a8e8a6fcb3e174e8a4af6ce7c38f82293a
|
4
|
+
data.tar.gz: 84c53106b25197063e000b997516041ed981b72d17114992c84151b201a6339b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1666e58c68689c495ebe8015f61120b995e86ea114f8018bdd174f145a1fa5b98b6f37e10b772b9ded6775c32be16dcd981857cfce0b513a208992ab104fe732
|
7
|
+
data.tar.gz: 62ef6139cd7025e0932acfe6796c73ce6978188dcce6541c09c0c0f6b1eaf209b20afd4b4f87e1fa56a90e7a570dfe57bfbc3678249dff62e476df3e82e410a3
|
data/lib/aws-sdk-fsx.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-fsx/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# f_sx = Aws::FSx::Client.new
|
28
|
+
# resp = f_sx.cancel_data_repository_task(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon FSx
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon FSx are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::FSx::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon FSx API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-fsx/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::FSx
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.19.0'
|
46
49
|
|
47
50
|
end
|
data/lib/aws-sdk-fsx/client.rb
CHANGED
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
|
30
30
|
Aws::Plugins::GlobalConfiguration.add_identifier(:fsx)
|
31
31
|
|
32
32
|
module Aws::FSx
|
33
|
+
# An API client for FSx. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
|
+
#
|
35
|
+
# client = Aws::FSx::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
|
+
#
|
41
|
+
# For details on configuring region and credentials see
|
42
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
43
|
+
#
|
44
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
45
|
class Client < Seahorse::Client::Base
|
34
46
|
|
35
47
|
include Aws::ClientStubs
|
@@ -93,7 +105,7 @@ module Aws::FSx
|
|
93
105
|
# @option options [required, String] :region
|
94
106
|
# The AWS region to connect to. The configured `:region` is
|
95
107
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
97
109
|
#
|
98
110
|
# * `Aws.config[:region]`
|
99
111
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +120,12 @@ module Aws::FSx
|
|
108
120
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
121
|
# the background every 60 secs (default). Defaults to `false`.
|
110
122
|
#
|
123
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
124
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
125
|
+
# until there is sufficent client side capacity to retry the request.
|
126
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
127
|
+
# not retry instead of sleeping.
|
128
|
+
#
|
111
129
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
130
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
131
|
# this client.
|
@@ -132,6 +150,10 @@ module Aws::FSx
|
|
132
150
|
# When `true`, an attempt is made to coerce request parameters into
|
133
151
|
# the required types.
|
134
152
|
#
|
153
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
154
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
155
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
156
|
+
#
|
135
157
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
158
|
# Set to true to disable SDK automatically adding host prefix
|
137
159
|
# to default service endpoint when available.
|
@@ -139,7 +161,7 @@ module Aws::FSx
|
|
139
161
|
# @option options [String] :endpoint
|
140
162
|
# The client endpoint is normally constructed from the `:region`
|
141
163
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
143
165
|
#
|
144
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +176,7 @@ module Aws::FSx
|
|
154
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
177
|
#
|
156
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
180
|
#
|
159
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
182
|
# The log formatter.
|
@@ -166,15 +188,29 @@ module Aws::FSx
|
|
166
188
|
# The Logger instance to send log messages to. If this option
|
167
189
|
# is not set, logging will be disabled.
|
168
190
|
#
|
191
|
+
# @option options [Integer] :max_attempts (3)
|
192
|
+
# An integer representing the maximum number attempts that will be made for
|
193
|
+
# a single request, including the initial attempt. For example,
|
194
|
+
# setting this value to 5 will result in a request being retried up to
|
195
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
196
|
+
#
|
169
197
|
# @option options [String] :profile ("default")
|
170
198
|
# Used when loading credentials from the shared credentials file
|
171
199
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
200
|
#
|
201
|
+
# @option options [Proc] :retry_backoff
|
202
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
203
|
+
# This option is only used in the `legacy` retry mode.
|
204
|
+
#
|
173
205
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
206
|
+
# The base delay in seconds used by the default backoff function. This option
|
207
|
+
# is only used in the `legacy` retry mode.
|
175
208
|
#
|
176
209
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
210
|
+
# A delay randomiser function used by the default backoff function.
|
211
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
212
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
213
|
+
# in the `legacy` retry mode.
|
178
214
|
#
|
179
215
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
216
|
#
|
@@ -182,11 +218,30 @@ module Aws::FSx
|
|
182
218
|
# The maximum number of times to retry failed requests. Only
|
183
219
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
220
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
221
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
222
|
+
# endpoint discovery, and errors from expired credentials.
|
223
|
+
# This option is only used in the `legacy` retry mode.
|
187
224
|
#
|
188
225
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
226
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
227
|
+
# used by the default backoff function. This option is only used in the
|
228
|
+
# `legacy` retry mode.
|
229
|
+
#
|
230
|
+
# @option options [String] :retry_mode ("legacy")
|
231
|
+
# Specifies which retry algorithm to use. Values are:
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
190
245
|
#
|
191
246
|
# @option options [String] :secret_access_key
|
192
247
|
#
|
@@ -219,16 +274,15 @@ module Aws::FSx
|
|
219
274
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
275
|
#
|
221
276
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
277
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
278
|
# `Timeout::Error`.
|
224
279
|
#
|
225
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
281
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
229
283
|
#
|
230
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
285
|
+
# seconds a connection is allowed to sit idle before it is
|
232
286
|
# considered stale. Stale connections are closed and removed
|
233
287
|
# from the pool before making a request.
|
234
288
|
#
|
@@ -237,7 +291,7 @@ module Aws::FSx
|
|
237
291
|
# request body. This option has no effect unless the request has
|
238
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
293
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
294
|
+
# request on the session.
|
241
295
|
#
|
242
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -434,6 +488,7 @@ module Aws::FSx
|
|
434
488
|
# resp.backup.file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
435
489
|
# resp.backup.file_system.failure_details.message #=> String
|
436
490
|
# resp.backup.file_system.storage_capacity #=> Integer
|
491
|
+
# resp.backup.file_system.storage_type #=> String, one of "SSD", "HDD"
|
437
492
|
# resp.backup.file_system.vpc_id #=> String
|
438
493
|
# resp.backup.file_system.subnet_ids #=> Array
|
439
494
|
# resp.backup.file_system.subnet_ids[0] #=> String
|
@@ -452,7 +507,7 @@ module Aws::FSx
|
|
452
507
|
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
453
508
|
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
454
509
|
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
455
|
-
# resp.backup.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
510
|
+
# resp.backup.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
456
511
|
# resp.backup.file_system.windows_configuration.remote_administration_endpoint #=> String
|
457
512
|
# resp.backup.file_system.windows_configuration.preferred_subnet_id #=> String
|
458
513
|
# resp.backup.file_system.windows_configuration.preferred_file_server_ip #=> String
|
@@ -467,6 +522,9 @@ module Aws::FSx
|
|
467
522
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
468
523
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
469
524
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
525
|
+
# resp.backup.file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
526
|
+
# resp.backup.file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
527
|
+
# resp.backup.file_system.lustre_configuration.mount_name #=> String
|
470
528
|
# resp.backup.directory_information.domain_name #=> String
|
471
529
|
# resp.backup.directory_information.active_directory_id #=> String
|
472
530
|
#
|
@@ -488,13 +546,13 @@ module Aws::FSx
|
|
488
546
|
# `CreateDataRepositoryTask` operation will fail if a data repository is
|
489
547
|
# not linked to the FSx file system. To learn more about data repository
|
490
548
|
# tasks, see [Using Data Repository Tasks][1]. To learn more about
|
491
|
-
# linking a data repository to your file system, see [
|
492
|
-
#
|
549
|
+
# linking a data repository to your file system, see [Setting the Export
|
550
|
+
# Prefix][2].
|
493
551
|
#
|
494
552
|
#
|
495
553
|
#
|
496
554
|
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-repository-tasks.html
|
497
|
-
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/
|
555
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/export-data-repository.html#export-prefix
|
498
556
|
#
|
499
557
|
# @option params [required, String] :type
|
500
558
|
# Specifies the type of data repository task to create.
|
@@ -502,7 +560,11 @@ module Aws::FSx
|
|
502
560
|
# @option params [Array<String>] :paths
|
503
561
|
# (Optional) The path or paths on the Amazon FSx file system to use when
|
504
562
|
# the data repository task is processed. The default path is the file
|
505
|
-
# system root directory.
|
563
|
+
# system root directory. The paths you provide need to be relative to
|
564
|
+
# the mount point of the file system. If the mount point is `/mnt/fsx`
|
565
|
+
# and `/mnt/fsx/path1` is a directory or file on the file system you
|
566
|
+
# want to export, then the path to provide is `path1`. If a path that
|
567
|
+
# you provide isn't valid, the task fails.
|
506
568
|
#
|
507
569
|
# @option params [required, String] :file_system_id
|
508
570
|
# The globally unique ID of the file system, assigned by Amazon FSx.
|
@@ -511,7 +573,12 @@ module Aws::FSx
|
|
511
573
|
# Defines whether or not Amazon FSx provides a CompletionReport once the
|
512
574
|
# task has completed. A CompletionReport provides a detailed report on
|
513
575
|
# the files that Amazon FSx processed that meet the criteria specified
|
514
|
-
# by the `Scope` parameter.
|
576
|
+
# by the `Scope` parameter. For more information, see [Working with Task
|
577
|
+
# Completion Reports][1].
|
578
|
+
#
|
579
|
+
#
|
580
|
+
#
|
581
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/task-completion-report.html
|
515
582
|
#
|
516
583
|
# @option params [String] :client_request_token
|
517
584
|
# (Optional) An idempotency token for resource creation, in a string of
|
@@ -628,27 +695,55 @@ module Aws::FSx
|
|
628
695
|
# not need to pass this option.**
|
629
696
|
#
|
630
697
|
# @option params [required, String] :file_system_type
|
631
|
-
# The type of Amazon FSx file system to create
|
698
|
+
# The type of Amazon FSx file system to create, either `WINDOWS` or
|
699
|
+
# `LUSTRE`.
|
632
700
|
#
|
633
701
|
# @option params [required, Integer] :storage_capacity
|
634
|
-
#
|
702
|
+
# Sets the storage capacity of the file system that you're creating.
|
703
|
+
#
|
704
|
+
# For Lustre file systems:
|
705
|
+
#
|
706
|
+
# * For `SCRATCH_2` and `PERSISTENT_1` deployment types, valid values
|
707
|
+
# are 1.2, 2.4, and increments of 2.4 TiB.
|
708
|
+
#
|
709
|
+
# * For `SCRATCH_1` deployment type, valid values are 1.2, 2.4, and
|
710
|
+
# increments of 3.6 TiB.
|
711
|
+
#
|
712
|
+
# For Windows file systems:
|
713
|
+
#
|
714
|
+
# * If `StorageType=SSD`, valid values are 32 GiB - 65,536 GiB (64 TiB).
|
715
|
+
#
|
716
|
+
# * If `StorageType=HDD`, valid values are 2000 GiB - 65,536 GiB (64
|
717
|
+
# TiB).
|
718
|
+
#
|
719
|
+
# @option params [String] :storage_type
|
720
|
+
# Sets the storage type for the Amazon FSx for Windows file system
|
721
|
+
# you're creating. Valid values are `SSD` and `HDD`.
|
635
722
|
#
|
636
|
-
#
|
723
|
+
# * Set to `SSD` to use solid state drive storage. SSD is supported on
|
724
|
+
# all Windows deployment types.
|
637
725
|
#
|
638
|
-
#
|
639
|
-
#
|
726
|
+
# * Set to `HDD` to use hard disk drive storage. HDD is supported on
|
727
|
+
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types.
|
728
|
+
#
|
729
|
+
# Default value is `SSD`. For more information, see [ Storage Type
|
730
|
+
# Options][1] in the *Amazon FSx for Windows User Guide*.
|
731
|
+
#
|
732
|
+
#
|
733
|
+
#
|
734
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-tco.html#saz-maz-storage-type
|
640
735
|
#
|
641
736
|
# @option params [required, Array<String>] :subnet_ids
|
642
737
|
# Specifies the IDs of the subnets that the file system will be
|
643
738
|
# accessible from. For Windows `MULTI_AZ_1` file system deployment
|
644
739
|
# types, provide exactly two subnet IDs, one for the preferred file
|
645
|
-
# server and one for the
|
740
|
+
# server and one for the standby file server. You specify one of these
|
646
741
|
# subnets as the preferred subnet using the `WindowsConfiguration >
|
647
742
|
# PreferredSubnetID` property.
|
648
743
|
#
|
649
|
-
# For Windows `SINGLE_AZ_1` file system deployment
|
650
|
-
# systems, provide exactly one subnet ID. The file
|
651
|
-
# that subnet's Availability Zone.
|
744
|
+
# For Windows `SINGLE_AZ_1` and `SINGLE_AZ_2` file system deployment
|
745
|
+
# types and Lustre file systems, provide exactly one subnet ID. The file
|
746
|
+
# server is launched in that subnet's Availability Zone.
|
652
747
|
#
|
653
748
|
# @option params [Array<String>] :security_group_ids
|
654
749
|
# A list of IDs specifying the security groups to apply to all network
|
@@ -661,10 +756,13 @@ module Aws::FSx
|
|
661
756
|
#
|
662
757
|
# @option params [String] :kms_key_id
|
663
758
|
# The ID of the AWS Key Management Service (AWS KMS) key used to encrypt
|
664
|
-
# the file system's data for
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
759
|
+
# the file system's data for Amazon FSx for Windows File Server file
|
760
|
+
# systems and Amazon FSx for Lustre `PERSISTENT_1` file systems at rest.
|
761
|
+
# In either case, if not specified, the Amazon FSx managed key is used.
|
762
|
+
# The Amazon FSx for Lustre `SCRATCH_1` and `SCRATCH_2` file systems are
|
763
|
+
# always encrypted at rest using Amazon FSx managed keys. For more
|
764
|
+
# information, see [Encrypt][1] in the *AWS Key Management Service API
|
765
|
+
# Reference*.
|
668
766
|
#
|
669
767
|
#
|
670
768
|
#
|
@@ -672,11 +770,9 @@ module Aws::FSx
|
|
672
770
|
#
|
673
771
|
# @option params [Types::CreateFileSystemWindowsConfiguration] :windows_configuration
|
674
772
|
# The Microsoft Windows configuration for the file system being created.
|
675
|
-
# This value is required if `FileSystemType` is set to `WINDOWS`.
|
676
773
|
#
|
677
774
|
# @option params [Types::CreateFileSystemLustreConfiguration] :lustre_configuration
|
678
|
-
# The Lustre configuration for the file system being created.
|
679
|
-
# is required if `FileSystemType` is set to `LUSTRE`.
|
775
|
+
# The Lustre configuration for the file system being created.
|
680
776
|
#
|
681
777
|
# @return [Types::CreateFileSystemResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
682
778
|
#
|
@@ -750,6 +846,7 @@ module Aws::FSx
|
|
750
846
|
# client_request_token: "ClientRequestToken",
|
751
847
|
# file_system_type: "WINDOWS", # required, accepts WINDOWS, LUSTRE
|
752
848
|
# storage_capacity: 1, # required
|
849
|
+
# storage_type: "SSD", # accepts SSD, HDD
|
753
850
|
# subnet_ids: ["SubnetId"], # required
|
754
851
|
# security_group_ids: ["SecurityGroupId"],
|
755
852
|
# tags: [
|
@@ -769,7 +866,7 @@ module Aws::FSx
|
|
769
866
|
# password: "DirectoryPassword", # required
|
770
867
|
# dns_ips: ["IpAddress"], # required
|
771
868
|
# },
|
772
|
-
# deployment_type: "MULTI_AZ_1", # accepts MULTI_AZ_1, SINGLE_AZ_1
|
869
|
+
# deployment_type: "MULTI_AZ_1", # accepts MULTI_AZ_1, SINGLE_AZ_1, SINGLE_AZ_2
|
773
870
|
# preferred_subnet_id: "SubnetId",
|
774
871
|
# throughput_capacity: 1, # required
|
775
872
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -782,6 +879,8 @@ module Aws::FSx
|
|
782
879
|
# import_path: "ArchivePath",
|
783
880
|
# export_path: "ArchivePath",
|
784
881
|
# imported_file_chunk_size: 1,
|
882
|
+
# deployment_type: "SCRATCH_1", # accepts SCRATCH_1, SCRATCH_2, PERSISTENT_1
|
883
|
+
# per_unit_storage_throughput: 1,
|
785
884
|
# },
|
786
885
|
# })
|
787
886
|
#
|
@@ -794,6 +893,7 @@ module Aws::FSx
|
|
794
893
|
# resp.file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
795
894
|
# resp.file_system.failure_details.message #=> String
|
796
895
|
# resp.file_system.storage_capacity #=> Integer
|
896
|
+
# resp.file_system.storage_type #=> String, one of "SSD", "HDD"
|
797
897
|
# resp.file_system.vpc_id #=> String
|
798
898
|
# resp.file_system.subnet_ids #=> Array
|
799
899
|
# resp.file_system.subnet_ids[0] #=> String
|
@@ -812,7 +912,7 @@ module Aws::FSx
|
|
812
912
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
813
913
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
814
914
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
815
|
-
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
915
|
+
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
816
916
|
# resp.file_system.windows_configuration.remote_administration_endpoint #=> String
|
817
917
|
# resp.file_system.windows_configuration.preferred_subnet_id #=> String
|
818
918
|
# resp.file_system.windows_configuration.preferred_file_server_ip #=> String
|
@@ -827,6 +927,9 @@ module Aws::FSx
|
|
827
927
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
828
928
|
# resp.file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
829
929
|
# resp.file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
930
|
+
# resp.file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
931
|
+
# resp.file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
932
|
+
# resp.file_system.lustre_configuration.mount_name #=> String
|
830
933
|
#
|
831
934
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystem AWS API Documentation
|
832
935
|
#
|
@@ -888,15 +991,22 @@ module Aws::FSx
|
|
888
991
|
# not need to pass this option.**
|
889
992
|
#
|
890
993
|
# @option params [required, Array<String>] :subnet_ids
|
891
|
-
#
|
892
|
-
# from.
|
893
|
-
#
|
994
|
+
# Specifies the IDs of the subnets that the file system will be
|
995
|
+
# accessible from. For Windows `MULTI_AZ_1` file system deployment
|
996
|
+
# types, provide exactly two subnet IDs, one for the preferred file
|
997
|
+
# server and one for the standby file server. You specify one of these
|
998
|
+
# subnets as the preferred subnet using the `WindowsConfiguration >
|
999
|
+
# PreferredSubnetID` property.
|
1000
|
+
#
|
1001
|
+
# For Windows `SINGLE_AZ_1` and `SINGLE_AZ_2` deployment types and
|
1002
|
+
# Lustre file systems, provide exactly one subnet ID. The file server is
|
1003
|
+
# launched in that subnet's Availability Zone.
|
894
1004
|
#
|
895
1005
|
# @option params [Array<String>] :security_group_ids
|
896
1006
|
# A list of IDs for the security groups that apply to the specified
|
897
1007
|
# network interfaces created for file system access. These security
|
898
1008
|
# groups apply to all network interfaces. This value isn't returned in
|
899
|
-
# later
|
1009
|
+
# later DescribeFileSystem requests.
|
900
1010
|
#
|
901
1011
|
# @option params [Array<Types::Tag>] :tags
|
902
1012
|
# The tags to be applied to the file system at file system creation. The
|
@@ -906,6 +1016,27 @@ module Aws::FSx
|
|
906
1016
|
# @option params [Types::CreateFileSystemWindowsConfiguration] :windows_configuration
|
907
1017
|
# The configuration for this Microsoft Windows file system.
|
908
1018
|
#
|
1019
|
+
# @option params [String] :storage_type
|
1020
|
+
# Sets the storage type for the Windows file system you're creating
|
1021
|
+
# from a backup. Valid values are `SSD` and `HDD`.
|
1022
|
+
#
|
1023
|
+
# * Set to `SSD` to use solid state drive storage. Supported on all
|
1024
|
+
# Windows deployment types.
|
1025
|
+
#
|
1026
|
+
# * Set to `HDD` to use hard disk drive storage. Supported on
|
1027
|
+
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types.
|
1028
|
+
#
|
1029
|
+
# Default value is `SSD`.
|
1030
|
+
#
|
1031
|
+
# <note markdown="1"> HDD and SSD storage types have different minimum storage capacity
|
1032
|
+
# requirements. A restored file system's storage capacity is tied to
|
1033
|
+
# the file system that was backed up. You can create a file system that
|
1034
|
+
# uses HDD storage from a backup of a file system that used SSD storage
|
1035
|
+
# only if the original SSD file system had a storage capacity of at
|
1036
|
+
# least 2000 GiB.
|
1037
|
+
#
|
1038
|
+
# </note>
|
1039
|
+
#
|
909
1040
|
# @return [Types::CreateFileSystemFromBackupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
910
1041
|
#
|
911
1042
|
# * {Types::CreateFileSystemFromBackupResponse#file_system #file_system} => Types::FileSystem
|
@@ -989,7 +1120,7 @@ module Aws::FSx
|
|
989
1120
|
# password: "DirectoryPassword", # required
|
990
1121
|
# dns_ips: ["IpAddress"], # required
|
991
1122
|
# },
|
992
|
-
# deployment_type: "MULTI_AZ_1", # accepts MULTI_AZ_1, SINGLE_AZ_1
|
1123
|
+
# deployment_type: "MULTI_AZ_1", # accepts MULTI_AZ_1, SINGLE_AZ_1, SINGLE_AZ_2
|
993
1124
|
# preferred_subnet_id: "SubnetId",
|
994
1125
|
# throughput_capacity: 1, # required
|
995
1126
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -997,6 +1128,7 @@ module Aws::FSx
|
|
997
1128
|
# automatic_backup_retention_days: 1,
|
998
1129
|
# copy_tags_to_backups: false,
|
999
1130
|
# },
|
1131
|
+
# storage_type: "SSD", # accepts SSD, HDD
|
1000
1132
|
# })
|
1001
1133
|
#
|
1002
1134
|
# @example Response structure
|
@@ -1008,6 +1140,7 @@ module Aws::FSx
|
|
1008
1140
|
# resp.file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
1009
1141
|
# resp.file_system.failure_details.message #=> String
|
1010
1142
|
# resp.file_system.storage_capacity #=> Integer
|
1143
|
+
# resp.file_system.storage_type #=> String, one of "SSD", "HDD"
|
1011
1144
|
# resp.file_system.vpc_id #=> String
|
1012
1145
|
# resp.file_system.subnet_ids #=> Array
|
1013
1146
|
# resp.file_system.subnet_ids[0] #=> String
|
@@ -1026,7 +1159,7 @@ module Aws::FSx
|
|
1026
1159
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
1027
1160
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
1028
1161
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
1029
|
-
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
1162
|
+
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
1030
1163
|
# resp.file_system.windows_configuration.remote_administration_endpoint #=> String
|
1031
1164
|
# resp.file_system.windows_configuration.preferred_subnet_id #=> String
|
1032
1165
|
# resp.file_system.windows_configuration.preferred_file_server_ip #=> String
|
@@ -1041,6 +1174,9 @@ module Aws::FSx
|
|
1041
1174
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
1042
1175
|
# resp.file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
1043
1176
|
# resp.file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
1177
|
+
# resp.file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
1178
|
+
# resp.file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
1179
|
+
# resp.file_system.lustre_configuration.mount_name #=> String
|
1044
1180
|
#
|
1045
1181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup AWS API Documentation
|
1046
1182
|
#
|
@@ -1261,6 +1397,8 @@ module Aws::FSx
|
|
1261
1397
|
# * {Types::DescribeBackupsResponse#backups #backups} => Array<Types::Backup>
|
1262
1398
|
# * {Types::DescribeBackupsResponse#next_token #next_token} => String
|
1263
1399
|
#
|
1400
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1401
|
+
#
|
1264
1402
|
#
|
1265
1403
|
# @example Example: To describe Amazon FSx backups
|
1266
1404
|
#
|
@@ -1334,6 +1472,7 @@ module Aws::FSx
|
|
1334
1472
|
# resp.backups[0].file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
1335
1473
|
# resp.backups[0].file_system.failure_details.message #=> String
|
1336
1474
|
# resp.backups[0].file_system.storage_capacity #=> Integer
|
1475
|
+
# resp.backups[0].file_system.storage_type #=> String, one of "SSD", "HDD"
|
1337
1476
|
# resp.backups[0].file_system.vpc_id #=> String
|
1338
1477
|
# resp.backups[0].file_system.subnet_ids #=> Array
|
1339
1478
|
# resp.backups[0].file_system.subnet_ids[0] #=> String
|
@@ -1352,7 +1491,7 @@ module Aws::FSx
|
|
1352
1491
|
# resp.backups[0].file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
1353
1492
|
# resp.backups[0].file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
1354
1493
|
# resp.backups[0].file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
1355
|
-
# resp.backups[0].file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
1494
|
+
# resp.backups[0].file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
1356
1495
|
# resp.backups[0].file_system.windows_configuration.remote_administration_endpoint #=> String
|
1357
1496
|
# resp.backups[0].file_system.windows_configuration.preferred_subnet_id #=> String
|
1358
1497
|
# resp.backups[0].file_system.windows_configuration.preferred_file_server_ip #=> String
|
@@ -1367,6 +1506,9 @@ module Aws::FSx
|
|
1367
1506
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
1368
1507
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
1369
1508
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
1509
|
+
# resp.backups[0].file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
1510
|
+
# resp.backups[0].file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
1511
|
+
# resp.backups[0].file_system.lustre_configuration.mount_name #=> String
|
1370
1512
|
# resp.backups[0].directory_information.domain_name #=> String
|
1371
1513
|
# resp.backups[0].directory_information.active_directory_id #=> String
|
1372
1514
|
# resp.next_token #=> String
|
@@ -1419,6 +1561,8 @@ module Aws::FSx
|
|
1419
1561
|
# * {Types::DescribeDataRepositoryTasksResponse#data_repository_tasks #data_repository_tasks} => Array<Types::DataRepositoryTask>
|
1420
1562
|
# * {Types::DescribeDataRepositoryTasksResponse#next_token #next_token} => String
|
1421
1563
|
#
|
1564
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1565
|
+
#
|
1422
1566
|
# @example Request syntax with placeholder values
|
1423
1567
|
#
|
1424
1568
|
# resp = client.describe_data_repository_tasks({
|
@@ -1517,6 +1661,8 @@ module Aws::FSx
|
|
1517
1661
|
# * {Types::DescribeFileSystemsResponse#file_systems #file_systems} => Array<Types::FileSystem>
|
1518
1662
|
# * {Types::DescribeFileSystemsResponse#next_token #next_token} => String
|
1519
1663
|
#
|
1664
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1665
|
+
#
|
1520
1666
|
#
|
1521
1667
|
# @example Example: To describe an Amazon FSx file system
|
1522
1668
|
#
|
@@ -1579,6 +1725,7 @@ module Aws::FSx
|
|
1579
1725
|
# resp.file_systems[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
1580
1726
|
# resp.file_systems[0].failure_details.message #=> String
|
1581
1727
|
# resp.file_systems[0].storage_capacity #=> Integer
|
1728
|
+
# resp.file_systems[0].storage_type #=> String, one of "SSD", "HDD"
|
1582
1729
|
# resp.file_systems[0].vpc_id #=> String
|
1583
1730
|
# resp.file_systems[0].subnet_ids #=> Array
|
1584
1731
|
# resp.file_systems[0].subnet_ids[0] #=> String
|
@@ -1597,7 +1744,7 @@ module Aws::FSx
|
|
1597
1744
|
# resp.file_systems[0].windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
1598
1745
|
# resp.file_systems[0].windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
1599
1746
|
# resp.file_systems[0].windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
1600
|
-
# resp.file_systems[0].windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
1747
|
+
# resp.file_systems[0].windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
1601
1748
|
# resp.file_systems[0].windows_configuration.remote_administration_endpoint #=> String
|
1602
1749
|
# resp.file_systems[0].windows_configuration.preferred_subnet_id #=> String
|
1603
1750
|
# resp.file_systems[0].windows_configuration.preferred_file_server_ip #=> String
|
@@ -1612,6 +1759,9 @@ module Aws::FSx
|
|
1612
1759
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.import_path #=> String
|
1613
1760
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.export_path #=> String
|
1614
1761
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
1762
|
+
# resp.file_systems[0].lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
1763
|
+
# resp.file_systems[0].lustre_configuration.per_unit_storage_throughput #=> Integer
|
1764
|
+
# resp.file_systems[0].lustre_configuration.mount_name #=> String
|
1615
1765
|
# resp.next_token #=> String
|
1616
1766
|
#
|
1617
1767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystems AWS API Documentation
|
@@ -1897,6 +2047,7 @@ module Aws::FSx
|
|
1897
2047
|
# resp.file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
1898
2048
|
# resp.file_system.failure_details.message #=> String
|
1899
2049
|
# resp.file_system.storage_capacity #=> Integer
|
2050
|
+
# resp.file_system.storage_type #=> String, one of "SSD", "HDD"
|
1900
2051
|
# resp.file_system.vpc_id #=> String
|
1901
2052
|
# resp.file_system.subnet_ids #=> Array
|
1902
2053
|
# resp.file_system.subnet_ids[0] #=> String
|
@@ -1915,7 +2066,7 @@ module Aws::FSx
|
|
1915
2066
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
1916
2067
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
1917
2068
|
# resp.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
1918
|
-
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1"
|
2069
|
+
# resp.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
1919
2070
|
# resp.file_system.windows_configuration.remote_administration_endpoint #=> String
|
1920
2071
|
# resp.file_system.windows_configuration.preferred_subnet_id #=> String
|
1921
2072
|
# resp.file_system.windows_configuration.preferred_file_server_ip #=> String
|
@@ -1930,6 +2081,9 @@ module Aws::FSx
|
|
1930
2081
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
1931
2082
|
# resp.file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
1932
2083
|
# resp.file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
2084
|
+
# resp.file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
2085
|
+
# resp.file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
2086
|
+
# resp.file_system.lustre_configuration.mount_name #=> String
|
1933
2087
|
#
|
1934
2088
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystem AWS API Documentation
|
1935
2089
|
#
|
@@ -1953,7 +2107,7 @@ module Aws::FSx
|
|
1953
2107
|
params: params,
|
1954
2108
|
config: config)
|
1955
2109
|
context[:gem_name] = 'aws-sdk-fsx'
|
1956
|
-
context[:gem_version] = '1.
|
2110
|
+
context[:gem_version] = '1.19.0'
|
1957
2111
|
Seahorse::Client::Request.new(handlers, context)
|
1958
2112
|
end
|
1959
2113
|
|