aws-sdk-fsx 1.26.0 → 1.32.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 +4 -3
- data/lib/aws-sdk-fsx/client.rb +299 -36
- data/lib/aws-sdk-fsx/client_api.rb +89 -0
- data/lib/aws-sdk-fsx/types.rb +411 -27
- 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: 4b9a0f2af8443e7b8ba3d7eebab6717be3590ec9f998b591c6e3a9185e4b0654
|
4
|
+
data.tar.gz: e139ce23b8cfa4cfeb87feaa798b8895b475a5a512ca0052be853c1785b88656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd5355bdaf95cd1a7e01090ed19ecf3a21a2211e3b7d0f0d45a5887a0cecd5c3bca8eb37e22c86c7ab6f414cd3ddac86dbd116316c5ab10ef22e96dc786103e0
|
7
|
+
data.tar.gz: 8f8dca91eed233f732accf48eb35eeee61450c9a34cca294c7fd687da62315af8ad3dc19e5bf202f0f2c3306eeb2b356025f0b75f535d63ae47f290a1e33c252
|
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
|
|
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-fsx/customizations'
|
|
27
28
|
# structure.
|
28
29
|
#
|
29
30
|
# f_sx = Aws::FSx::Client.new
|
30
|
-
# resp = f_sx.
|
31
|
+
# resp = f_sx.associate_file_system_aliases(params)
|
31
32
|
#
|
32
33
|
# See {Client} for more information.
|
33
34
|
#
|
@@ -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.32.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
|
@@ -322,6 +337,86 @@ module Aws::FSx
|
|
322
337
|
|
323
338
|
# @!group API Operations
|
324
339
|
|
340
|
+
# Use this action to associate one or more Domain Name Server (DNS)
|
341
|
+
# aliases with an existing Amazon FSx for Windows File Server file
|
342
|
+
# system. A file systen can have a maximum of 50 DNS aliases associated
|
343
|
+
# with it at any one time. If you try to associate a DNS alias that is
|
344
|
+
# already associated with the file system, FSx takes no action on that
|
345
|
+
# alias in the request. For more information, see [Working with DNS
|
346
|
+
# Aliases][1] and [Walkthrough 5: Using DNS aliases to access your file
|
347
|
+
# system][2], including additional steps you must take to be able to
|
348
|
+
# access your file system using a DNS alias.
|
349
|
+
#
|
350
|
+
# The system response shows the DNS aliases that Amazon FSx is
|
351
|
+
# attempting to associate with the file system. Use the API operation to
|
352
|
+
# monitor the status of the aliases Amazon FSx is associating with the
|
353
|
+
# file system.
|
354
|
+
#
|
355
|
+
#
|
356
|
+
#
|
357
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
|
358
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html
|
359
|
+
#
|
360
|
+
# @option params [String] :client_request_token
|
361
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
362
|
+
# up to 64 ASCII characters. This token is automatically filled on your
|
363
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS
|
364
|
+
# SDK.
|
365
|
+
#
|
366
|
+
# **A suitable default value is auto-generated.** You should normally
|
367
|
+
# not need to pass this option.**
|
368
|
+
#
|
369
|
+
# @option params [required, String] :file_system_id
|
370
|
+
# Specifies the file system with which you want to associate one or more
|
371
|
+
# DNS aliases.
|
372
|
+
#
|
373
|
+
# @option params [required, Array<String>] :aliases
|
374
|
+
# An array of one or more DNS alias names to associate with the file
|
375
|
+
# system. The alias name has to comply with the following formatting
|
376
|
+
# requirements:
|
377
|
+
#
|
378
|
+
# * Formatted as a fully-qualified domain name (FQDN), <i>
|
379
|
+
# <code>hostname.domain</code> </i>, for example,
|
380
|
+
# `accounting.corp.example.com`.
|
381
|
+
#
|
382
|
+
# * Can contain alphanumeric characters and the hyphen (-).
|
383
|
+
#
|
384
|
+
# * Cannot start or end with a hyphen.
|
385
|
+
#
|
386
|
+
# * Can start with a numeric.
|
387
|
+
#
|
388
|
+
# For DNS alias names, Amazon FSx stores alphabetic characters as
|
389
|
+
# lowercase letters (a-z), regardless of how you specify them: as
|
390
|
+
# uppercase letters, lowercase letters, or the corresponding letters in
|
391
|
+
# escape codes.
|
392
|
+
#
|
393
|
+
# @return [Types::AssociateFileSystemAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
394
|
+
#
|
395
|
+
# * {Types::AssociateFileSystemAliasesResponse#aliases #aliases} => Array<Types::Alias>
|
396
|
+
#
|
397
|
+
# @example Request syntax with placeholder values
|
398
|
+
#
|
399
|
+
# resp = client.associate_file_system_aliases({
|
400
|
+
# client_request_token: "ClientRequestToken",
|
401
|
+
# file_system_id: "FileSystemId", # required
|
402
|
+
# aliases: ["AlternateDNSName"], # required
|
403
|
+
# })
|
404
|
+
#
|
405
|
+
# @example Response structure
|
406
|
+
#
|
407
|
+
# resp.aliases #=> Array
|
408
|
+
# resp.aliases[0].name #=> String
|
409
|
+
# resp.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
410
|
+
#
|
411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliases AWS API Documentation
|
412
|
+
#
|
413
|
+
# @overload associate_file_system_aliases(params = {})
|
414
|
+
# @param [Hash] params ({})
|
415
|
+
def associate_file_system_aliases(params = {}, options = {})
|
416
|
+
req = build_request(:associate_file_system_aliases, params)
|
417
|
+
req.send_request(options)
|
418
|
+
end
|
419
|
+
|
325
420
|
# Cancels an existing Amazon FSx for Lustre data repository task if that
|
326
421
|
# task is in either the `PENDING` or `EXECUTING` state. When you cancel
|
327
422
|
# a task, Amazon FSx does the following.
|
@@ -491,9 +586,9 @@ module Aws::FSx
|
|
491
586
|
# @example Response structure
|
492
587
|
#
|
493
588
|
# resp.backup.backup_id #=> String
|
494
|
-
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
589
|
+
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
495
590
|
# resp.backup.failure_details.message #=> String
|
496
|
-
# resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED"
|
591
|
+
# resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
|
497
592
|
# resp.backup.progress_percent #=> Integer
|
498
593
|
# resp.backup.creation_time #=> Time
|
499
594
|
# resp.backup.kms_key_id #=> String
|
@@ -538,6 +633,9 @@ module Aws::FSx
|
|
538
633
|
# resp.backup.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
539
634
|
# resp.backup.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
540
635
|
# resp.backup.file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
636
|
+
# resp.backup.file_system.windows_configuration.aliases #=> Array
|
637
|
+
# resp.backup.file_system.windows_configuration.aliases[0].name #=> String
|
638
|
+
# resp.backup.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
541
639
|
# resp.backup.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
542
640
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
543
641
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -551,8 +649,9 @@ module Aws::FSx
|
|
551
649
|
# resp.backup.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
552
650
|
# resp.backup.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
553
651
|
# resp.backup.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
652
|
+
# resp.backup.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
554
653
|
# resp.backup.file_system.administrative_actions #=> Array
|
555
|
-
# resp.backup.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
654
|
+
# resp.backup.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
556
655
|
# resp.backup.file_system.administrative_actions[0].progress_percent #=> Integer
|
557
656
|
# resp.backup.file_system.administrative_actions[0].request_time #=> Time
|
558
657
|
# resp.backup.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -736,8 +835,12 @@ module Aws::FSx
|
|
736
835
|
#
|
737
836
|
# For Lustre file systems:
|
738
837
|
#
|
739
|
-
# * For `SCRATCH_2` and `PERSISTENT_1` deployment types, valid
|
740
|
-
# are 1200 GiB, 2400 GiB, and increments of 2400 GiB.
|
838
|
+
# * For `SCRATCH_2` and `PERSISTENT_1 SSD` deployment types, valid
|
839
|
+
# values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.
|
840
|
+
#
|
841
|
+
# * For `PERSISTENT HDD` file systems, valid values are increments of
|
842
|
+
# 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for
|
843
|
+
# 40 MB/s/TiB file systems.
|
741
844
|
#
|
742
845
|
# * For `SCRATCH_1` deployment type, valid values are 1200 GiB, 2400
|
743
846
|
# GiB, and increments of 3600 GiB.
|
@@ -750,21 +853,24 @@ module Aws::FSx
|
|
750
853
|
# TiB).
|
751
854
|
#
|
752
855
|
# @option params [String] :storage_type
|
753
|
-
# Sets the storage type for the
|
754
|
-
#
|
856
|
+
# Sets the storage type for the file system you're creating. Valid
|
857
|
+
# values are `SSD` and `HDD`.
|
755
858
|
#
|
756
859
|
# * Set to `SSD` to use solid state drive storage. SSD is supported on
|
757
|
-
# all Windows deployment types.
|
860
|
+
# all Windows and Lustre deployment types.
|
758
861
|
#
|
759
862
|
# * 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
|
863
|
+
# `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types,
|
864
|
+
# and on `PERSISTENT` Lustre file system deployment types.
|
761
865
|
#
|
762
866
|
# Default value is `SSD`. For more information, see [ Storage Type
|
763
|
-
# Options][1] in the *Amazon FSx for Windows User Guide
|
867
|
+
# Options][1] in the *Amazon FSx for Windows User Guide* and [Multiple
|
868
|
+
# Storage Options][2] in the *Amazon FSx for Lustre User Guide*.
|
764
869
|
#
|
765
870
|
#
|
766
871
|
#
|
767
872
|
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/optimize-fsx-costs.html#storage-type-options
|
873
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html#storage-options
|
768
874
|
#
|
769
875
|
# @option params [required, Array<String>] :subnet_ids
|
770
876
|
# Specifies the IDs of the subnets that the file system will be
|
@@ -814,16 +920,17 @@ module Aws::FSx
|
|
814
920
|
#
|
815
921
|
# @example Example: To create a new file system
|
816
922
|
#
|
817
|
-
# # This operation creates a new file system.
|
923
|
+
# # This operation creates a new Amazon FSx for Windows File Server file system.
|
818
924
|
#
|
819
925
|
# resp = client.create_file_system({
|
820
926
|
# client_request_token: "a8ca07e4-61ec-4399-99f4-19853801bcd5",
|
821
927
|
# file_system_type: "WINDOWS",
|
822
|
-
# kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/
|
928
|
+
# kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/1111abcd-2222-3333-4444-55556666eeff",
|
823
929
|
# security_group_ids: [
|
824
930
|
# "sg-edcd9784",
|
825
931
|
# ],
|
826
|
-
# storage_capacity:
|
932
|
+
# storage_capacity: 3200,
|
933
|
+
# storage_type: "HDD",
|
827
934
|
# subnet_ids: [
|
828
935
|
# "subnet-1234abcd",
|
829
936
|
# ],
|
@@ -835,9 +942,12 @@ module Aws::FSx
|
|
835
942
|
# ],
|
836
943
|
# windows_configuration: {
|
837
944
|
# active_directory_id: "d-1234abcd12",
|
945
|
+
# aliases: [
|
946
|
+
# "accounting.corp.example.com",
|
947
|
+
# ],
|
838
948
|
# automatic_backup_retention_days: 30,
|
839
949
|
# daily_automatic_backup_start_time: "05:00",
|
840
|
-
# throughput_capacity:
|
950
|
+
# throughput_capacity: 32,
|
841
951
|
# weekly_maintenance_start_time: "1:05:00",
|
842
952
|
# },
|
843
953
|
# })
|
@@ -846,13 +956,14 @@ module Aws::FSx
|
|
846
956
|
# {
|
847
957
|
# file_system: {
|
848
958
|
# creation_time: Time.parse("1481841524.0"),
|
849
|
-
# dns_name: "fs-
|
850
|
-
# file_system_id: "fs-
|
851
|
-
# kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/
|
959
|
+
# dns_name: "fs-0123456789abcdef0.fsx.com",
|
960
|
+
# file_system_id: "fs-0123456789abcdef0",
|
961
|
+
# kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/1111abcd-2222-3333-4444-55556666eeff",
|
852
962
|
# lifecycle: "CREATING",
|
853
963
|
# owner_id: "012345678912",
|
854
|
-
# resource_arn: "arn:aws:fsx:us-east-1:012345678912:file-system/fs-
|
855
|
-
# storage_capacity:
|
964
|
+
# resource_arn: "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0123456789abcdef0",
|
965
|
+
# storage_capacity: 3200,
|
966
|
+
# storage_type: "HDD",
|
856
967
|
# subnet_ids: [
|
857
968
|
# "subnet-1234abcd",
|
858
969
|
# ],
|
@@ -865,9 +976,15 @@ module Aws::FSx
|
|
865
976
|
# vpc_id: "vpc-ab1234cd",
|
866
977
|
# windows_configuration: {
|
867
978
|
# active_directory_id: "d-1234abcd12",
|
979
|
+
# aliases: [
|
980
|
+
# {
|
981
|
+
# lifecycle: "CREATING",
|
982
|
+
# name: "accounting.corp.example.com",
|
983
|
+
# },
|
984
|
+
# ],
|
868
985
|
# automatic_backup_retention_days: 30,
|
869
986
|
# daily_automatic_backup_start_time: "05:00",
|
870
|
-
# throughput_capacity:
|
987
|
+
# throughput_capacity: 32,
|
871
988
|
# weekly_maintenance_start_time: "1:05:00",
|
872
989
|
# },
|
873
990
|
# },
|
@@ -906,6 +1023,7 @@ module Aws::FSx
|
|
906
1023
|
# daily_automatic_backup_start_time: "DailyTime",
|
907
1024
|
# automatic_backup_retention_days: 1,
|
908
1025
|
# copy_tags_to_backups: false,
|
1026
|
+
# aliases: ["AlternateDNSName"],
|
909
1027
|
# },
|
910
1028
|
# lustre_configuration: {
|
911
1029
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -918,6 +1036,7 @@ module Aws::FSx
|
|
918
1036
|
# daily_automatic_backup_start_time: "DailyTime",
|
919
1037
|
# automatic_backup_retention_days: 1,
|
920
1038
|
# copy_tags_to_backups: false,
|
1039
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
921
1040
|
# },
|
922
1041
|
# })
|
923
1042
|
#
|
@@ -960,6 +1079,9 @@ module Aws::FSx
|
|
960
1079
|
# resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
961
1080
|
# resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
962
1081
|
# resp.file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
1082
|
+
# resp.file_system.windows_configuration.aliases #=> Array
|
1083
|
+
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
1084
|
+
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
963
1085
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
964
1086
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
965
1087
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -973,8 +1095,9 @@ module Aws::FSx
|
|
973
1095
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
974
1096
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
975
1097
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1098
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
976
1099
|
# resp.file_system.administrative_actions #=> Array
|
977
|
-
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1100
|
+
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
978
1101
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
979
1102
|
# resp.file_system.administrative_actions[0].request_time #=> Time
|
980
1103
|
# resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -1180,6 +1303,7 @@ module Aws::FSx
|
|
1180
1303
|
# daily_automatic_backup_start_time: "DailyTime",
|
1181
1304
|
# automatic_backup_retention_days: 1,
|
1182
1305
|
# copy_tags_to_backups: false,
|
1306
|
+
# aliases: ["AlternateDNSName"],
|
1183
1307
|
# },
|
1184
1308
|
# lustre_configuration: {
|
1185
1309
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -1192,6 +1316,7 @@ module Aws::FSx
|
|
1192
1316
|
# daily_automatic_backup_start_time: "DailyTime",
|
1193
1317
|
# automatic_backup_retention_days: 1,
|
1194
1318
|
# copy_tags_to_backups: false,
|
1319
|
+
# drive_cache_type: "NONE", # accepts NONE, READ
|
1195
1320
|
# },
|
1196
1321
|
# storage_type: "SSD", # accepts SSD, HDD
|
1197
1322
|
# })
|
@@ -1235,6 +1360,9 @@ module Aws::FSx
|
|
1235
1360
|
# resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
1236
1361
|
# resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
1237
1362
|
# resp.file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
1363
|
+
# resp.file_system.windows_configuration.aliases #=> Array
|
1364
|
+
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
1365
|
+
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1238
1366
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
1239
1367
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1240
1368
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1248,8 +1376,9 @@ module Aws::FSx
|
|
1248
1376
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
1249
1377
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1250
1378
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1379
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1251
1380
|
# resp.file_system.administrative_actions #=> Array
|
1252
|
-
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1381
|
+
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1253
1382
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
1254
1383
|
# resp.file_system.administrative_actions[0].request_time #=> Time
|
1255
1384
|
# resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -1315,7 +1444,7 @@ module Aws::FSx
|
|
1315
1444
|
# @example Response structure
|
1316
1445
|
#
|
1317
1446
|
# resp.backup_id #=> String
|
1318
|
-
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
1447
|
+
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
1319
1448
|
#
|
1320
1449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup AWS API Documentation
|
1321
1450
|
#
|
@@ -1548,9 +1677,9 @@ module Aws::FSx
|
|
1548
1677
|
#
|
1549
1678
|
# resp.backups #=> Array
|
1550
1679
|
# resp.backups[0].backup_id #=> String
|
1551
|
-
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETED", "FAILED"
|
1680
|
+
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
|
1552
1681
|
# resp.backups[0].failure_details.message #=> String
|
1553
|
-
# resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED"
|
1682
|
+
# resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
|
1554
1683
|
# resp.backups[0].progress_percent #=> Integer
|
1555
1684
|
# resp.backups[0].creation_time #=> Time
|
1556
1685
|
# resp.backups[0].kms_key_id #=> String
|
@@ -1595,6 +1724,9 @@ module Aws::FSx
|
|
1595
1724
|
# resp.backups[0].file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
1596
1725
|
# resp.backups[0].file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
1597
1726
|
# resp.backups[0].file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
1727
|
+
# resp.backups[0].file_system.windows_configuration.aliases #=> Array
|
1728
|
+
# resp.backups[0].file_system.windows_configuration.aliases[0].name #=> String
|
1729
|
+
# resp.backups[0].file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1598
1730
|
# resp.backups[0].file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
1599
1731
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1600
1732
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1608,8 +1740,9 @@ module Aws::FSx
|
|
1608
1740
|
# resp.backups[0].file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
1609
1741
|
# resp.backups[0].file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1610
1742
|
# resp.backups[0].file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1743
|
+
# resp.backups[0].file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1611
1744
|
# resp.backups[0].file_system.administrative_actions #=> Array
|
1612
|
-
# resp.backups[0].file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
1745
|
+
# resp.backups[0].file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1613
1746
|
# resp.backups[0].file_system.administrative_actions[0].progress_percent #=> Integer
|
1614
1747
|
# resp.backups[0].file_system.administrative_actions[0].request_time #=> Time
|
1615
1748
|
# resp.backups[0].file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -1719,6 +1852,70 @@ module Aws::FSx
|
|
1719
1852
|
req.send_request(options)
|
1720
1853
|
end
|
1721
1854
|
|
1855
|
+
# Returns the DNS aliases that are associated with the specified Amazon
|
1856
|
+
# FSx for Windows File Server file system. A history of all DNS aliases
|
1857
|
+
# that have been associated with and disassociated from the file system
|
1858
|
+
# is available in the list of AdministrativeAction provided in the
|
1859
|
+
# DescribeFileSystems operation response.
|
1860
|
+
#
|
1861
|
+
# @option params [String] :client_request_token
|
1862
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
1863
|
+
# up to 64 ASCII characters. This token is automatically filled on your
|
1864
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS
|
1865
|
+
# SDK.
|
1866
|
+
#
|
1867
|
+
# **A suitable default value is auto-generated.** You should normally
|
1868
|
+
# not need to pass this option.**
|
1869
|
+
#
|
1870
|
+
# @option params [required, String] :file_system_id
|
1871
|
+
# The ID of the file system to return the associated DNS aliases for
|
1872
|
+
# (String).
|
1873
|
+
#
|
1874
|
+
# @option params [Integer] :max_results
|
1875
|
+
# Maximum number of DNS aliases to return in the response (integer).
|
1876
|
+
# This parameter value must be greater than 0. The number of items that
|
1877
|
+
# Amazon FSx returns is the minimum of the `MaxResults` parameter
|
1878
|
+
# specified in the request and the service's internal maximum number of
|
1879
|
+
# items per page.
|
1880
|
+
#
|
1881
|
+
# @option params [String] :next_token
|
1882
|
+
# Opaque pagination token returned from a previous
|
1883
|
+
# `DescribeFileSystemAliases` operation (String). If a token is included
|
1884
|
+
# in the request, the action continues the list from where the previous
|
1885
|
+
# returning call left off.
|
1886
|
+
#
|
1887
|
+
# @return [Types::DescribeFileSystemAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1888
|
+
#
|
1889
|
+
# * {Types::DescribeFileSystemAliasesResponse#aliases #aliases} => Array<Types::Alias>
|
1890
|
+
# * {Types::DescribeFileSystemAliasesResponse#next_token #next_token} => String
|
1891
|
+
#
|
1892
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1893
|
+
#
|
1894
|
+
# @example Request syntax with placeholder values
|
1895
|
+
#
|
1896
|
+
# resp = client.describe_file_system_aliases({
|
1897
|
+
# client_request_token: "ClientRequestToken",
|
1898
|
+
# file_system_id: "FileSystemId", # required
|
1899
|
+
# max_results: 1,
|
1900
|
+
# next_token: "NextToken",
|
1901
|
+
# })
|
1902
|
+
#
|
1903
|
+
# @example Response structure
|
1904
|
+
#
|
1905
|
+
# resp.aliases #=> Array
|
1906
|
+
# resp.aliases[0].name #=> String
|
1907
|
+
# resp.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1908
|
+
# resp.next_token #=> String
|
1909
|
+
#
|
1910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliases AWS API Documentation
|
1911
|
+
#
|
1912
|
+
# @overload describe_file_system_aliases(params = {})
|
1913
|
+
# @param [Hash] params ({})
|
1914
|
+
def describe_file_system_aliases(params = {}, options = {})
|
1915
|
+
req = build_request(:describe_file_system_aliases, params)
|
1916
|
+
req.send_request(options)
|
1917
|
+
end
|
1918
|
+
|
1722
1919
|
# Returns the description of specific Amazon FSx file systems, if a
|
1723
1920
|
# `FileSystemIds` value is provided for that file system. Otherwise, it
|
1724
1921
|
# returns descriptions of all file systems owned by your AWS account in
|
@@ -1861,6 +2058,9 @@ module Aws::FSx
|
|
1861
2058
|
# resp.file_systems[0].windows_configuration.daily_automatic_backup_start_time #=> String
|
1862
2059
|
# resp.file_systems[0].windows_configuration.automatic_backup_retention_days #=> Integer
|
1863
2060
|
# resp.file_systems[0].windows_configuration.copy_tags_to_backups #=> Boolean
|
2061
|
+
# resp.file_systems[0].windows_configuration.aliases #=> Array
|
2062
|
+
# resp.file_systems[0].windows_configuration.aliases[0].name #=> String
|
2063
|
+
# resp.file_systems[0].windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1864
2064
|
# resp.file_systems[0].lustre_configuration.weekly_maintenance_start_time #=> String
|
1865
2065
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1866
2066
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1874,8 +2074,9 @@ module Aws::FSx
|
|
1874
2074
|
# resp.file_systems[0].lustre_configuration.daily_automatic_backup_start_time #=> String
|
1875
2075
|
# resp.file_systems[0].lustre_configuration.automatic_backup_retention_days #=> Integer
|
1876
2076
|
# resp.file_systems[0].lustre_configuration.copy_tags_to_backups #=> Boolean
|
2077
|
+
# resp.file_systems[0].lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1877
2078
|
# resp.file_systems[0].administrative_actions #=> Array
|
1878
|
-
# resp.file_systems[0].administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
2079
|
+
# resp.file_systems[0].administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1879
2080
|
# resp.file_systems[0].administrative_actions[0].progress_percent #=> Integer
|
1880
2081
|
# resp.file_systems[0].administrative_actions[0].request_time #=> Time
|
1881
2082
|
# resp.file_systems[0].administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -1892,6 +2093,64 @@ module Aws::FSx
|
|
1892
2093
|
req.send_request(options)
|
1893
2094
|
end
|
1894
2095
|
|
2096
|
+
# Use this action to disassociate, or remove, one or more Domain Name
|
2097
|
+
# Service (DNS) aliases from an Amazon FSx for Windows File Server file
|
2098
|
+
# system. If you attempt to disassociate a DNS alias that is not
|
2099
|
+
# associated with the file system, Amazon FSx responds with a 400 Bad
|
2100
|
+
# Request. For more information, see [Working with DNS Aliases][1].
|
2101
|
+
#
|
2102
|
+
# The system generated response showing the DNS aliases that Amazon FSx
|
2103
|
+
# is attempting to disassociate from the file system. Use the API
|
2104
|
+
# operation to monitor the status of the aliases Amazon FSx is
|
2105
|
+
# disassociating with the file system.
|
2106
|
+
#
|
2107
|
+
#
|
2108
|
+
#
|
2109
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
|
2110
|
+
#
|
2111
|
+
# @option params [String] :client_request_token
|
2112
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
2113
|
+
# up to 64 ASCII characters. This token is automatically filled on your
|
2114
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS
|
2115
|
+
# SDK.
|
2116
|
+
#
|
2117
|
+
# **A suitable default value is auto-generated.** You should normally
|
2118
|
+
# not need to pass this option.**
|
2119
|
+
#
|
2120
|
+
# @option params [required, String] :file_system_id
|
2121
|
+
# Specifies the file system from which to disassociate the DNS aliases.
|
2122
|
+
#
|
2123
|
+
# @option params [required, Array<String>] :aliases
|
2124
|
+
# An array of one or more DNS alias names to disassociate, or remove,
|
2125
|
+
# from the file system.
|
2126
|
+
#
|
2127
|
+
# @return [Types::DisassociateFileSystemAliasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2128
|
+
#
|
2129
|
+
# * {Types::DisassociateFileSystemAliasesResponse#aliases #aliases} => Array<Types::Alias>
|
2130
|
+
#
|
2131
|
+
# @example Request syntax with placeholder values
|
2132
|
+
#
|
2133
|
+
# resp = client.disassociate_file_system_aliases({
|
2134
|
+
# client_request_token: "ClientRequestToken",
|
2135
|
+
# file_system_id: "FileSystemId", # required
|
2136
|
+
# aliases: ["AlternateDNSName"], # required
|
2137
|
+
# })
|
2138
|
+
#
|
2139
|
+
# @example Response structure
|
2140
|
+
#
|
2141
|
+
# resp.aliases #=> Array
|
2142
|
+
# resp.aliases[0].name #=> String
|
2143
|
+
# resp.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
2144
|
+
#
|
2145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliases AWS API Documentation
|
2146
|
+
#
|
2147
|
+
# @overload disassociate_file_system_aliases(params = {})
|
2148
|
+
# @param [Hash] params ({})
|
2149
|
+
def disassociate_file_system_aliases(params = {}, options = {})
|
2150
|
+
req = build_request(:disassociate_file_system_aliases, params)
|
2151
|
+
req.send_request(options)
|
2152
|
+
end
|
2153
|
+
|
1895
2154
|
# Lists tags for an Amazon FSx file systems and backups in the case of
|
1896
2155
|
# Amazon FSx for Windows File Server.
|
1897
2156
|
#
|
@@ -2242,6 +2501,9 @@ module Aws::FSx
|
|
2242
2501
|
# resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
2243
2502
|
# resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
2244
2503
|
# resp.file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
2504
|
+
# resp.file_system.windows_configuration.aliases #=> Array
|
2505
|
+
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
2506
|
+
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
2245
2507
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
2246
2508
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
2247
2509
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -2255,8 +2517,9 @@ module Aws::FSx
|
|
2255
2517
|
# resp.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
2256
2518
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
2257
2519
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
2520
|
+
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
2258
2521
|
# resp.file_system.administrative_actions #=> Array
|
2259
|
-
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION"
|
2522
|
+
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
2260
2523
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
2261
2524
|
# resp.file_system.administrative_actions[0].request_time #=> Time
|
2262
2525
|
# resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
@@ -2285,7 +2548,7 @@ module Aws::FSx
|
|
2285
2548
|
params: params,
|
2286
2549
|
config: config)
|
2287
2550
|
context[:gem_name] = 'aws-sdk-fsx'
|
2288
|
-
context[:gem_version] = '1.
|
2551
|
+
context[:gem_version] = '1.32.0'
|
2289
2552
|
Seahorse::Client::Request.new(handlers, context)
|
2290
2553
|
end
|
2291
2554
|
|