aws-sdk-fsx 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a182623ba633aeae355ba1314f24860b3782c9ea4a5e6cc04caf28e985d2f52a
4
- data.tar.gz: 11f2b3938a177c53140d7ff6a7185d539f2ad785b00404343a3e9e433daa7dde
3
+ metadata.gz: 4b9a0f2af8443e7b8ba3d7eebab6717be3590ec9f998b591c6e3a9185e4b0654
4
+ data.tar.gz: e139ce23b8cfa4cfeb87feaa798b8895b475a5a512ca0052be853c1785b88656
5
5
  SHA512:
6
- metadata.gz: 0e5beb64005aeb50504b2aaa577fb0ba52bc537df5513573b102fdccb2146174bcf649f92adf5b3a4bd6e905aa02232772a044183c7ccfcd753459c06ca076c4
7
- data.tar.gz: 8f69a470c6e684f29d3fe3a88543a9776b4f0090976507c253d9df0ed68cf5b3a4f8fdca44d3fcaaa6cbccb34d63c3b674383819a45ad5f67bbd653c0fd20bec
6
+ metadata.gz: bd5355bdaf95cd1a7e01090ed19ecf3a21a2211e3b7d0f0d45a5887a0cecd5c3bca8eb37e22c86c7ab6f414cd3ddac86dbd116316c5ab10ef22e96dc786103e0
7
+ data.tar.gz: 8f8dca91eed233f732accf48eb35eeee61450c9a34cca294c7fd687da62315af8ad3dc19e5bf202f0f2c3306eeb2b356025f0b75f535d63ae47f290a1e33c252
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-fsx/customizations'
28
28
  # structure.
29
29
  #
30
30
  # f_sx = Aws::FSx::Client.new
31
- # resp = f_sx.cancel_data_repository_task(params)
31
+ # resp = f_sx.associate_file_system_aliases(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-fsx/customizations'
48
48
  # @!group service
49
49
  module Aws::FSx
50
50
 
51
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.32.0'
52
52
 
53
53
  end
@@ -337,6 +337,86 @@ module Aws::FSx
337
337
 
338
338
  # @!group API Operations
339
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&lt;Types::Alias&gt;
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
+
340
420
  # Cancels an existing Amazon FSx for Lustre data repository task if that
341
421
  # task is in either the `PENDING` or `EXECUTING` state. When you cancel
342
422
  # a task, Amazon FSx does the following.
@@ -508,7 +588,7 @@ module Aws::FSx
508
588
  # resp.backup.backup_id #=> String
509
589
  # resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
510
590
  # resp.backup.failure_details.message #=> String
511
- # resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED"
591
+ # resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
512
592
  # resp.backup.progress_percent #=> Integer
513
593
  # resp.backup.creation_time #=> Time
514
594
  # resp.backup.kms_key_id #=> String
@@ -553,6 +633,9 @@ module Aws::FSx
553
633
  # resp.backup.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
554
634
  # resp.backup.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
555
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"
556
639
  # resp.backup.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
557
640
  # resp.backup.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
558
641
  # resp.backup.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
@@ -568,7 +651,7 @@ module Aws::FSx
568
651
  # resp.backup.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
569
652
  # resp.backup.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
570
653
  # resp.backup.file_system.administrative_actions #=> Array
571
- # 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"
572
655
  # resp.backup.file_system.administrative_actions[0].progress_percent #=> Integer
573
656
  # resp.backup.file_system.administrative_actions[0].request_time #=> Time
574
657
  # resp.backup.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -837,16 +920,17 @@ module Aws::FSx
837
920
  #
838
921
  # @example Example: To create a new file system
839
922
  #
840
- # # This operation creates a new file system.
923
+ # # This operation creates a new Amazon FSx for Windows File Server file system.
841
924
  #
842
925
  # resp = client.create_file_system({
843
926
  # client_request_token: "a8ca07e4-61ec-4399-99f4-19853801bcd5",
844
927
  # file_system_type: "WINDOWS",
845
- # kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/0ff3ea8d-130e-4133-877f-93908b6fdbd6",
928
+ # kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/1111abcd-2222-3333-4444-55556666eeff",
846
929
  # security_group_ids: [
847
930
  # "sg-edcd9784",
848
931
  # ],
849
- # storage_capacity: 300,
932
+ # storage_capacity: 3200,
933
+ # storage_type: "HDD",
850
934
  # subnet_ids: [
851
935
  # "subnet-1234abcd",
852
936
  # ],
@@ -858,9 +942,12 @@ module Aws::FSx
858
942
  # ],
859
943
  # windows_configuration: {
860
944
  # active_directory_id: "d-1234abcd12",
945
+ # aliases: [
946
+ # "accounting.corp.example.com",
947
+ # ],
861
948
  # automatic_backup_retention_days: 30,
862
949
  # daily_automatic_backup_start_time: "05:00",
863
- # throughput_capacity: 8,
950
+ # throughput_capacity: 32,
864
951
  # weekly_maintenance_start_time: "1:05:00",
865
952
  # },
866
953
  # })
@@ -869,13 +956,14 @@ module Aws::FSx
869
956
  # {
870
957
  # file_system: {
871
958
  # creation_time: Time.parse("1481841524.0"),
872
- # dns_name: "fs-0498eed5fe91001ec.fsx.com",
873
- # file_system_id: "fs-0498eed5fe91001ec",
874
- # kms_key_id: "arn:aws:kms:us-east-1:012345678912:key/0ff3ea8d-130e-4133-877f-93908b6fdbd6",
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",
875
962
  # lifecycle: "CREATING",
876
963
  # owner_id: "012345678912",
877
- # resource_arn: "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec",
878
- # storage_capacity: 300,
964
+ # resource_arn: "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0123456789abcdef0",
965
+ # storage_capacity: 3200,
966
+ # storage_type: "HDD",
879
967
  # subnet_ids: [
880
968
  # "subnet-1234abcd",
881
969
  # ],
@@ -888,9 +976,15 @@ module Aws::FSx
888
976
  # vpc_id: "vpc-ab1234cd",
889
977
  # windows_configuration: {
890
978
  # active_directory_id: "d-1234abcd12",
979
+ # aliases: [
980
+ # {
981
+ # lifecycle: "CREATING",
982
+ # name: "accounting.corp.example.com",
983
+ # },
984
+ # ],
891
985
  # automatic_backup_retention_days: 30,
892
986
  # daily_automatic_backup_start_time: "05:00",
893
- # throughput_capacity: 8,
987
+ # throughput_capacity: 32,
894
988
  # weekly_maintenance_start_time: "1:05:00",
895
989
  # },
896
990
  # },
@@ -929,6 +1023,7 @@ module Aws::FSx
929
1023
  # daily_automatic_backup_start_time: "DailyTime",
930
1024
  # automatic_backup_retention_days: 1,
931
1025
  # copy_tags_to_backups: false,
1026
+ # aliases: ["AlternateDNSName"],
932
1027
  # },
933
1028
  # lustre_configuration: {
934
1029
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -984,6 +1079,9 @@ module Aws::FSx
984
1079
  # resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
985
1080
  # resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
986
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"
987
1085
  # resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
988
1086
  # resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
989
1087
  # resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
@@ -999,7 +1097,7 @@ module Aws::FSx
999
1097
  # resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
1000
1098
  # resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
1001
1099
  # resp.file_system.administrative_actions #=> Array
1002
- # 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"
1003
1101
  # resp.file_system.administrative_actions[0].progress_percent #=> Integer
1004
1102
  # resp.file_system.administrative_actions[0].request_time #=> Time
1005
1103
  # resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -1205,6 +1303,7 @@ module Aws::FSx
1205
1303
  # daily_automatic_backup_start_time: "DailyTime",
1206
1304
  # automatic_backup_retention_days: 1,
1207
1305
  # copy_tags_to_backups: false,
1306
+ # aliases: ["AlternateDNSName"],
1208
1307
  # },
1209
1308
  # lustre_configuration: {
1210
1309
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -1261,6 +1360,9 @@ module Aws::FSx
1261
1360
  # resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
1262
1361
  # resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
1263
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"
1264
1366
  # resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
1265
1367
  # resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
1266
1368
  # resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
@@ -1276,7 +1378,7 @@ module Aws::FSx
1276
1378
  # resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
1277
1379
  # resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
1278
1380
  # resp.file_system.administrative_actions #=> Array
1279
- # 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"
1280
1382
  # resp.file_system.administrative_actions[0].progress_percent #=> Integer
1281
1383
  # resp.file_system.administrative_actions[0].request_time #=> Time
1282
1384
  # resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -1577,7 +1679,7 @@ module Aws::FSx
1577
1679
  # resp.backups[0].backup_id #=> String
1578
1680
  # resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED"
1579
1681
  # resp.backups[0].failure_details.message #=> String
1580
- # resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED"
1682
+ # resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
1581
1683
  # resp.backups[0].progress_percent #=> Integer
1582
1684
  # resp.backups[0].creation_time #=> Time
1583
1685
  # resp.backups[0].kms_key_id #=> String
@@ -1622,6 +1724,9 @@ module Aws::FSx
1622
1724
  # resp.backups[0].file_system.windows_configuration.daily_automatic_backup_start_time #=> String
1623
1725
  # resp.backups[0].file_system.windows_configuration.automatic_backup_retention_days #=> Integer
1624
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"
1625
1730
  # resp.backups[0].file_system.lustre_configuration.weekly_maintenance_start_time #=> String
1626
1731
  # resp.backups[0].file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
1627
1732
  # resp.backups[0].file_system.lustre_configuration.data_repository_configuration.import_path #=> String
@@ -1637,7 +1742,7 @@ module Aws::FSx
1637
1742
  # resp.backups[0].file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
1638
1743
  # resp.backups[0].file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
1639
1744
  # resp.backups[0].file_system.administrative_actions #=> Array
1640
- # 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"
1641
1746
  # resp.backups[0].file_system.administrative_actions[0].progress_percent #=> Integer
1642
1747
  # resp.backups[0].file_system.administrative_actions[0].request_time #=> Time
1643
1748
  # resp.backups[0].file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -1747,6 +1852,70 @@ module Aws::FSx
1747
1852
  req.send_request(options)
1748
1853
  end
1749
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&lt;Types::Alias&gt;
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
+
1750
1919
  # Returns the description of specific Amazon FSx file systems, if a
1751
1920
  # `FileSystemIds` value is provided for that file system. Otherwise, it
1752
1921
  # returns descriptions of all file systems owned by your AWS account in
@@ -1889,6 +2058,9 @@ module Aws::FSx
1889
2058
  # resp.file_systems[0].windows_configuration.daily_automatic_backup_start_time #=> String
1890
2059
  # resp.file_systems[0].windows_configuration.automatic_backup_retention_days #=> Integer
1891
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"
1892
2064
  # resp.file_systems[0].lustre_configuration.weekly_maintenance_start_time #=> String
1893
2065
  # resp.file_systems[0].lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
1894
2066
  # resp.file_systems[0].lustre_configuration.data_repository_configuration.import_path #=> String
@@ -1904,7 +2076,7 @@ module Aws::FSx
1904
2076
  # resp.file_systems[0].lustre_configuration.copy_tags_to_backups #=> Boolean
1905
2077
  # resp.file_systems[0].lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
1906
2078
  # resp.file_systems[0].administrative_actions #=> Array
1907
- # 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"
1908
2080
  # resp.file_systems[0].administrative_actions[0].progress_percent #=> Integer
1909
2081
  # resp.file_systems[0].administrative_actions[0].request_time #=> Time
1910
2082
  # resp.file_systems[0].administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -1921,6 +2093,64 @@ module Aws::FSx
1921
2093
  req.send_request(options)
1922
2094
  end
1923
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&lt;Types::Alias&gt;
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
+
1924
2154
  # Lists tags for an Amazon FSx file systems and backups in the case of
1925
2155
  # Amazon FSx for Windows File Server.
1926
2156
  #
@@ -2271,6 +2501,9 @@ module Aws::FSx
2271
2501
  # resp.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
2272
2502
  # resp.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
2273
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"
2274
2507
  # resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
2275
2508
  # resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
2276
2509
  # resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
@@ -2286,7 +2519,7 @@ module Aws::FSx
2286
2519
  # resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
2287
2520
  # resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
2288
2521
  # resp.file_system.administrative_actions #=> Array
2289
- # 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"
2290
2523
  # resp.file_system.administrative_actions[0].progress_percent #=> Integer
2291
2524
  # resp.file_system.administrative_actions[0].request_time #=> Time
2292
2525
  # resp.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
@@ -2315,7 +2548,7 @@ module Aws::FSx
2315
2548
  params: params,
2316
2549
  config: config)
2317
2550
  context[:gem_name] = 'aws-sdk-fsx'
2318
- context[:gem_version] = '1.31.0'
2551
+ context[:gem_version] = '1.32.0'
2319
2552
  Seahorse::Client::Request.new(handlers, context)
2320
2553
  end
2321
2554
 
@@ -22,7 +22,14 @@ module Aws::FSx
22
22
  AdministrativeActionFailureDetails = Shapes::StructureShape.new(name: 'AdministrativeActionFailureDetails')
23
23
  AdministrativeActionType = Shapes::StringShape.new(name: 'AdministrativeActionType')
24
24
  AdministrativeActions = Shapes::ListShape.new(name: 'AdministrativeActions')
25
+ Alias = Shapes::StructureShape.new(name: 'Alias')
26
+ AliasLifecycle = Shapes::StringShape.new(name: 'AliasLifecycle')
27
+ Aliases = Shapes::ListShape.new(name: 'Aliases')
28
+ AlternateDNSName = Shapes::StringShape.new(name: 'AlternateDNSName')
29
+ AlternateDNSNames = Shapes::ListShape.new(name: 'AlternateDNSNames')
25
30
  ArchivePath = Shapes::StringShape.new(name: 'ArchivePath')
31
+ AssociateFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'AssociateFileSystemAliasesRequest')
32
+ AssociateFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'AssociateFileSystemAliasesResponse')
26
33
  AutoImportPolicyType = Shapes::StringShape.new(name: 'AutoImportPolicyType')
27
34
  AutomaticBackupRetentionDays = Shapes::IntegerShape.new(name: 'AutomaticBackupRetentionDays')
28
35
  Backup = Shapes::StructureShape.new(name: 'Backup')
@@ -84,11 +91,15 @@ module Aws::FSx
84
91
  DescribeBackupsResponse = Shapes::StructureShape.new(name: 'DescribeBackupsResponse')
85
92
  DescribeDataRepositoryTasksRequest = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksRequest')
86
93
  DescribeDataRepositoryTasksResponse = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksResponse')
94
+ DescribeFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesRequest')
95
+ DescribeFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesResponse')
87
96
  DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
88
97
  DescribeFileSystemsResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemsResponse')
89
98
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
90
99
  DirectoryPassword = Shapes::StringShape.new(name: 'DirectoryPassword')
91
100
  DirectoryUserName = Shapes::StringShape.new(name: 'DirectoryUserName')
101
+ DisassociateFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'DisassociateFileSystemAliasesRequest')
102
+ DisassociateFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'DisassociateFileSystemAliasesResponse')
92
103
  DnsIps = Shapes::ListShape.new(name: 'DnsIps')
93
104
  DriveCacheType = Shapes::StringShape.new(name: 'DriveCacheType')
94
105
  EndTime = Shapes::TimestampShape.new(name: 'EndTime')
@@ -201,6 +212,22 @@ module Aws::FSx
201
212
 
202
213
  AdministrativeActions.member = Shapes::ShapeRef.new(shape: AdministrativeAction)
203
214
 
215
+ Alias.add_member(:name, Shapes::ShapeRef.new(shape: AlternateDNSName, location_name: "Name"))
216
+ Alias.add_member(:lifecycle, Shapes::ShapeRef.new(shape: AliasLifecycle, location_name: "Lifecycle"))
217
+ Alias.struct_class = Types::Alias
218
+
219
+ Aliases.member = Shapes::ShapeRef.new(shape: Alias)
220
+
221
+ AlternateDNSNames.member = Shapes::ShapeRef.new(shape: AlternateDNSName)
222
+
223
+ AssociateFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
224
+ AssociateFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
225
+ AssociateFileSystemAliasesRequest.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, required: true, location_name: "Aliases"))
226
+ AssociateFileSystemAliasesRequest.struct_class = Types::AssociateFileSystemAliasesRequest
227
+
228
+ AssociateFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
229
+ AssociateFileSystemAliasesResponse.struct_class = Types::AssociateFileSystemAliasesResponse
230
+
204
231
  Backup.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
205
232
  Backup.add_member(:lifecycle, Shapes::ShapeRef.new(shape: BackupLifecycle, required: true, location_name: "Lifecycle"))
206
233
  Backup.add_member(:failure_details, Shapes::ShapeRef.new(shape: BackupFailureDetails, location_name: "FailureDetails"))
@@ -316,6 +343,7 @@ module Aws::FSx
316
343
  CreateFileSystemWindowsConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
317
344
  CreateFileSystemWindowsConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
318
345
  CreateFileSystemWindowsConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
346
+ CreateFileSystemWindowsConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, location_name: "Aliases"))
319
347
  CreateFileSystemWindowsConfiguration.struct_class = Types::CreateFileSystemWindowsConfiguration
320
348
 
321
349
  DataRepositoryConfiguration.add_member(:lifecycle, Shapes::ShapeRef.new(shape: DataRepositoryLifecycle, location_name: "Lifecycle"))
@@ -430,6 +458,16 @@ module Aws::FSx
430
458
  DescribeDataRepositoryTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
431
459
  DescribeDataRepositoryTasksResponse.struct_class = Types::DescribeDataRepositoryTasksResponse
432
460
 
461
+ DescribeFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
462
+ DescribeFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
463
+ DescribeFileSystemAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
464
+ DescribeFileSystemAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
465
+ DescribeFileSystemAliasesRequest.struct_class = Types::DescribeFileSystemAliasesRequest
466
+
467
+ DescribeFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
468
+ DescribeFileSystemAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
469
+ DescribeFileSystemAliasesResponse.struct_class = Types::DescribeFileSystemAliasesResponse
470
+
433
471
  DescribeFileSystemsRequest.add_member(:file_system_ids, Shapes::ShapeRef.new(shape: FileSystemIds, location_name: "FileSystemIds"))
434
472
  DescribeFileSystemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
435
473
  DescribeFileSystemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -439,6 +477,14 @@ module Aws::FSx
439
477
  DescribeFileSystemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
440
478
  DescribeFileSystemsResponse.struct_class = Types::DescribeFileSystemsResponse
441
479
 
480
+ DisassociateFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
481
+ DisassociateFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
482
+ DisassociateFileSystemAliasesRequest.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, required: true, location_name: "Aliases"))
483
+ DisassociateFileSystemAliasesRequest.struct_class = Types::DisassociateFileSystemAliasesRequest
484
+
485
+ DisassociateFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
486
+ DisassociateFileSystemAliasesResponse.struct_class = Types::DisassociateFileSystemAliasesResponse
487
+
442
488
  DnsIps.member = Shapes::ShapeRef.new(shape: IpAddress)
443
489
 
444
490
  FileSystem.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
@@ -627,6 +673,7 @@ module Aws::FSx
627
673
  WindowsFileSystemConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
628
674
  WindowsFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
629
675
  WindowsFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
676
+ WindowsFileSystemConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
630
677
  WindowsFileSystemConfiguration.struct_class = Types::WindowsFileSystemConfiguration
631
678
 
632
679
 
@@ -648,6 +695,17 @@ module Aws::FSx
648
695
  "uid" => "fsx-2018-03-01",
649
696
  }
650
697
 
698
+ api.add_operation(:associate_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
699
+ o.name = "AssociateFileSystemAliases"
700
+ o.http_method = "POST"
701
+ o.http_request_uri = "/"
702
+ o.input = Shapes::ShapeRef.new(shape: AssociateFileSystemAliasesRequest)
703
+ o.output = Shapes::ShapeRef.new(shape: AssociateFileSystemAliasesResponse)
704
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
705
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
706
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
707
+ end)
708
+
651
709
  api.add_operation(:cancel_data_repository_task, Seahorse::Model::Operation.new.tap do |o|
652
710
  o.name = "CancelDataRepositoryTask"
653
711
  o.http_method = "POST"
@@ -789,6 +847,23 @@ module Aws::FSx
789
847
  )
790
848
  end)
791
849
 
850
+ api.add_operation(:describe_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
851
+ o.name = "DescribeFileSystemAliases"
852
+ o.http_method = "POST"
853
+ o.http_request_uri = "/"
854
+ o.input = Shapes::ShapeRef.new(shape: DescribeFileSystemAliasesRequest)
855
+ o.output = Shapes::ShapeRef.new(shape: DescribeFileSystemAliasesResponse)
856
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
857
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
858
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
859
+ o[:pager] = Aws::Pager.new(
860
+ limit_key: "max_results",
861
+ tokens: {
862
+ "next_token" => "next_token"
863
+ }
864
+ )
865
+ end)
866
+
792
867
  api.add_operation(:describe_file_systems, Seahorse::Model::Operation.new.tap do |o|
793
868
  o.name = "DescribeFileSystems"
794
869
  o.http_method = "POST"
@@ -806,6 +881,17 @@ module Aws::FSx
806
881
  )
807
882
  end)
808
883
 
884
+ api.add_operation(:disassociate_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
885
+ o.name = "DisassociateFileSystemAliases"
886
+ o.http_method = "POST"
887
+ o.http_request_uri = "/"
888
+ o.input = Shapes::ShapeRef.new(shape: DisassociateFileSystemAliasesRequest)
889
+ o.output = Shapes::ShapeRef.new(shape: DisassociateFileSystemAliasesResponse)
890
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
891
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
892
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
893
+ end)
894
+
809
895
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
810
896
  o.name = "ListTagsForResource"
811
897
  o.http_method = "POST"
@@ -63,7 +63,7 @@ module Aws::FSx
63
63
  #
64
64
  # * `FILE_SYSTEM_UPDATE` - A file system update administrative action
65
65
  # initiated by the user from the Amazon FSx console, API
66
- # (UpdateFileSystem), or CLI (update-file-system). A
66
+ # (UpdateFileSystem), or CLI (update-file-system).
67
67
  #
68
68
  # * `STORAGE_OPTIMIZATION` - Once the `FILE_SYSTEM_UPDATE` task to
69
69
  # increase a file system's storage capacity completes successfully,
@@ -75,6 +75,14 @@ module Aws::FSx
75
75
  # changes to `COMPLETED`. For more information, see [Managing
76
76
  # Storage Capacity][1].
77
77
  #
78
+ # * `FILE_SYSTEM_ALIAS_ASSOCIATION` - A file system update to
79
+ # associate a new DNS alias with the file system. For more
80
+ # information, see .
81
+ #
82
+ # * `FILE_SYSTEM_ALIAS_DISASSOCIATION` - A file system update to
83
+ # disassociate a DNS alias from the file system. For more
84
+ # information, see .
85
+ #
78
86
  #
79
87
  #
80
88
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
@@ -82,7 +90,8 @@ module Aws::FSx
82
90
  #
83
91
  # @!attribute [rw] progress_percent
84
92
  # Provides the percent complete of a `STORAGE_OPTIMIZATION`
85
- # administrative action.
93
+ # administrative action. Does not apply to any other administrative
94
+ # action type.
86
95
  # @return [Integer]
87
96
  #
88
97
  # @!attribute [rw] request_time
@@ -115,8 +124,8 @@ module Aws::FSx
115
124
  # @return [String]
116
125
  #
117
126
  # @!attribute [rw] target_file_system_values
118
- # Describes the target `StorageCapacity` or `ThroughputCapacity` value
119
- # provided in the `UpdateFileSystem` operation. Returned for
127
+ # Describes the target value for the administration action, provided
128
+ # in the `UpdateFileSystem` operation. Returned for
120
129
  # `FILE_SYSTEM_UPDATE` administrative actions.
121
130
  # @return [Types::FileSystem]
122
131
  #
@@ -140,7 +149,8 @@ module Aws::FSx
140
149
  # Provides information about a failed administrative action.
141
150
  #
142
151
  # @!attribute [rw] message
143
- # Error message providing details about the failure.
152
+ # Error message providing details about the failed administrative
153
+ # action.
144
154
  # @return [String]
145
155
  #
146
156
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AdministrativeActionFailureDetails AWS API Documentation
@@ -151,6 +161,140 @@ module Aws::FSx
151
161
  include Aws::Structure
152
162
  end
153
163
 
164
+ # A DNS alias that is associated with the file system. You can use a DNS
165
+ # alias to access a file system using user-defined DNS names, in
166
+ # addition to the default DNS name that Amazon FSx assigns to the file
167
+ # system. For more information, see [DNS aliases][1] in the *FSx for
168
+ # Windows File Server User Guide*.
169
+ #
170
+ #
171
+ #
172
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
173
+ #
174
+ # @!attribute [rw] name
175
+ # The name of the DNS alias. The alias name has to meet the following
176
+ # requirements:
177
+ #
178
+ # * Formatted as a fully-qualified domain name (FQDN),
179
+ # `hostname.domain`, for example, `accounting.example.com`.
180
+ #
181
+ # * Can contain alphanumeric characters and the hyphen (-).
182
+ #
183
+ # * Cannot start or end with a hyphen.
184
+ #
185
+ # * Can start with a numeric.
186
+ #
187
+ # For DNS names, Amazon FSx stores alphabetic characters as lowercase
188
+ # letters (a-z), regardless of how you specify them: as uppercase
189
+ # letters, lowercase letters, or the corresponding letters in escape
190
+ # codes.
191
+ # @return [String]
192
+ #
193
+ # @!attribute [rw] lifecycle
194
+ # Describes the state of the DNS alias.
195
+ #
196
+ # * AVAILABLE - The DNS alias is associated with an Amazon FSx file
197
+ # system.
198
+ #
199
+ # * CREATING - Amazon FSx is creating the DNS alias and associating it
200
+ # with the file system.
201
+ #
202
+ # * CREATE\_FAILED - Amazon FSx was unable to associate the DNS alias
203
+ # with the file system.
204
+ #
205
+ # * DELETING - Amazon FSx is disassociating the DNS alias from the
206
+ # file system and deleting it.
207
+ #
208
+ # * DELETE\_FAILED - Amazon FSx was unable to disassocate the DNS
209
+ # alias from the file system.
210
+ # @return [String]
211
+ #
212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/Alias AWS API Documentation
213
+ #
214
+ class Alias < Struct.new(
215
+ :name,
216
+ :lifecycle)
217
+ SENSITIVE = []
218
+ include Aws::Structure
219
+ end
220
+
221
+ # The request object specifying one or more DNS alias names to associate
222
+ # with an Amazon FSx for Windows File Server file system.
223
+ #
224
+ # @note When making an API call, you may pass AssociateFileSystemAliasesRequest
225
+ # data as a hash:
226
+ #
227
+ # {
228
+ # client_request_token: "ClientRequestToken",
229
+ # file_system_id: "FileSystemId", # required
230
+ # aliases: ["AlternateDNSName"], # required
231
+ # }
232
+ #
233
+ # @!attribute [rw] client_request_token
234
+ # (Optional) An idempotency token for resource creation, in a string
235
+ # of up to 64 ASCII characters. This token is automatically filled on
236
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
237
+ # an AWS SDK.
238
+ #
239
+ # **A suitable default value is auto-generated.** You should normally
240
+ # not need to pass this option.
241
+ # @return [String]
242
+ #
243
+ # @!attribute [rw] file_system_id
244
+ # Specifies the file system with which you want to associate one or
245
+ # more DNS aliases.
246
+ # @return [String]
247
+ #
248
+ # @!attribute [rw] aliases
249
+ # An array of one or more DNS alias names to associate with the file
250
+ # system. The alias name has to comply with the following formatting
251
+ # requirements:
252
+ #
253
+ # * Formatted as a fully-qualified domain name (FQDN), <i>
254
+ # <code>hostname.domain</code> </i>, for example,
255
+ # `accounting.corp.example.com`.
256
+ #
257
+ # * Can contain alphanumeric characters and the hyphen (-).
258
+ #
259
+ # * Cannot start or end with a hyphen.
260
+ #
261
+ # * Can start with a numeric.
262
+ #
263
+ # For DNS alias names, Amazon FSx stores alphabetic characters as
264
+ # lowercase letters (a-z), regardless of how you specify them: as
265
+ # uppercase letters, lowercase letters, or the corresponding letters
266
+ # in escape codes.
267
+ # @return [Array<String>]
268
+ #
269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliasesRequest AWS API Documentation
270
+ #
271
+ class AssociateFileSystemAliasesRequest < Struct.new(
272
+ :client_request_token,
273
+ :file_system_id,
274
+ :aliases)
275
+ SENSITIVE = []
276
+ include Aws::Structure
277
+ end
278
+
279
+ # The system generated response showing the DNS aliases that Amazon FSx
280
+ # is attempting to associate with the file system. Use the API operation
281
+ # to monitor the status of the aliases Amazon FSx is associating with
282
+ # the file system. It can take up to 2.5 minutes for the alias status to
283
+ # change from `CREATING` to `AVAILABLE`.
284
+ #
285
+ # @!attribute [rw] aliases
286
+ # An array of the DNS aliases that Amazon FSx is associating with the
287
+ # file system.
288
+ # @return [Array<Types::Alias>]
289
+ #
290
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliasesResponse AWS API Documentation
291
+ #
292
+ class AssociateFileSystemAliasesResponse < Struct.new(
293
+ :aliases)
294
+ SENSITIVE = []
295
+ include Aws::Structure
296
+ end
297
+
154
298
  # A backup of an Amazon FSx for file system.
155
299
  #
156
300
  # @!attribute [rw] backup_id
@@ -609,6 +753,7 @@ module Aws::FSx
609
753
  # daily_automatic_backup_start_time: "DailyTime",
610
754
  # automatic_backup_retention_days: 1,
611
755
  # copy_tags_to_backups: false,
756
+ # aliases: ["AlternateDNSName"],
612
757
  # },
613
758
  # lustre_configuration: {
614
759
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -961,6 +1106,7 @@ module Aws::FSx
961
1106
  # daily_automatic_backup_start_time: "DailyTime",
962
1107
  # automatic_backup_retention_days: 1,
963
1108
  # copy_tags_to_backups: false,
1109
+ # aliases: ["AlternateDNSName"],
964
1110
  # },
965
1111
  # lustre_configuration: {
966
1112
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -1139,6 +1285,7 @@ module Aws::FSx
1139
1285
  # daily_automatic_backup_start_time: "DailyTime",
1140
1286
  # automatic_backup_retention_days: 1,
1141
1287
  # copy_tags_to_backups: false,
1288
+ # aliases: ["AlternateDNSName"],
1142
1289
  # }
1143
1290
  #
1144
1291
  # @!attribute [rw] active_directory_id
@@ -1221,6 +1368,44 @@ module Aws::FSx
1221
1368
  # system, regardless of this value.
1222
1369
  # @return [Boolean]
1223
1370
  #
1371
+ # @!attribute [rw] aliases
1372
+ # An array of one or more DNS alias names that you want to associate
1373
+ # with the Amazon FSx file system. Aliases allow you to use existing
1374
+ # DNS names to access the data in your Amazon FSx file system. You can
1375
+ # associate up to 50 aliases with a file system at any time. You can
1376
+ # associate additional DNS aliases after you create the file system
1377
+ # using the AssociateFileSystemAliases operation. You can remove DNS
1378
+ # aliases from the file system after it is created using the
1379
+ # DisassociateFileSystemAliases operation. You only need to specify
1380
+ # the alias name in the request payload.
1381
+ #
1382
+ # For more information, see [Working with DNS Aliases][1] and
1383
+ # [Walkthrough 5: Using DNS aliases to access your file system][2],
1384
+ # including additional steps you must take to be able to access your
1385
+ # file system using a DNS alias.
1386
+ #
1387
+ # An alias name has to meet the following requirements:
1388
+ #
1389
+ # * Formatted as a fully-qualified domain name (FQDN),
1390
+ # `hostname.domain`, for example, `accounting.example.com`.
1391
+ #
1392
+ # * Can contain alphanumeric characters and the hyphen (-).
1393
+ #
1394
+ # * Cannot start or end with a hyphen.
1395
+ #
1396
+ # * Can start with a numeric.
1397
+ #
1398
+ # For DNS alias names, Amazon FSx stores alphabetic characters as
1399
+ # lowercase letters (a-z), regardless of how you specify them: as
1400
+ # uppercase letters, lowercase letters, or the corresponding letters
1401
+ # in escape codes.
1402
+ #
1403
+ #
1404
+ #
1405
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
1406
+ # [2]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html
1407
+ # @return [Array<String>]
1408
+ #
1224
1409
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemWindowsConfiguration AWS API Documentation
1225
1410
  #
1226
1411
  class CreateFileSystemWindowsConfiguration < Struct.new(
@@ -1232,7 +1417,8 @@ module Aws::FSx
1232
1417
  :weekly_maintenance_start_time,
1233
1418
  :daily_automatic_backup_start_time,
1234
1419
  :automatic_backup_retention_days,
1235
- :copy_tags_to_backups)
1420
+ :copy_tags_to_backups,
1421
+ :aliases)
1236
1422
  SENSITIVE = []
1237
1423
  include Aws::Structure
1238
1424
  end
@@ -2017,6 +2203,81 @@ module Aws::FSx
2017
2203
  include Aws::Structure
2018
2204
  end
2019
2205
 
2206
+ # The request object for `DescribeFileSystemAliases` operation.
2207
+ #
2208
+ # @note When making an API call, you may pass DescribeFileSystemAliasesRequest
2209
+ # data as a hash:
2210
+ #
2211
+ # {
2212
+ # client_request_token: "ClientRequestToken",
2213
+ # file_system_id: "FileSystemId", # required
2214
+ # max_results: 1,
2215
+ # next_token: "NextToken",
2216
+ # }
2217
+ #
2218
+ # @!attribute [rw] client_request_token
2219
+ # (Optional) An idempotency token for resource creation, in a string
2220
+ # of up to 64 ASCII characters. This token is automatically filled on
2221
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
2222
+ # an AWS SDK.
2223
+ #
2224
+ # **A suitable default value is auto-generated.** You should normally
2225
+ # not need to pass this option.
2226
+ # @return [String]
2227
+ #
2228
+ # @!attribute [rw] file_system_id
2229
+ # The ID of the file system to return the associated DNS aliases for
2230
+ # (String).
2231
+ # @return [String]
2232
+ #
2233
+ # @!attribute [rw] max_results
2234
+ # Maximum number of DNS aliases to return in the response (integer).
2235
+ # This parameter value must be greater than 0. The number of items
2236
+ # that Amazon FSx returns is the minimum of the `MaxResults` parameter
2237
+ # specified in the request and the service's internal maximum number
2238
+ # of items per page.
2239
+ # @return [Integer]
2240
+ #
2241
+ # @!attribute [rw] next_token
2242
+ # Opaque pagination token returned from a previous
2243
+ # `DescribeFileSystemAliases` operation (String). If a token is
2244
+ # included in the request, the action continues the list from where
2245
+ # the previous returning call left off.
2246
+ # @return [String]
2247
+ #
2248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliasesRequest AWS API Documentation
2249
+ #
2250
+ class DescribeFileSystemAliasesRequest < Struct.new(
2251
+ :client_request_token,
2252
+ :file_system_id,
2253
+ :max_results,
2254
+ :next_token)
2255
+ SENSITIVE = []
2256
+ include Aws::Structure
2257
+ end
2258
+
2259
+ # The response object for `DescribeFileSystemAliases` operation.
2260
+ #
2261
+ # @!attribute [rw] aliases
2262
+ # An array of one or more DNS aliases currently associated with the
2263
+ # specified file system.
2264
+ # @return [Array<Types::Alias>]
2265
+ #
2266
+ # @!attribute [rw] next_token
2267
+ # Present if there are more DNS aliases than returned in the response
2268
+ # (String). You can use the `NextToken` value in a later request to
2269
+ # fetch additional descriptions.
2270
+ # @return [String]
2271
+ #
2272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliasesResponse AWS API Documentation
2273
+ #
2274
+ class DescribeFileSystemAliasesResponse < Struct.new(
2275
+ :aliases,
2276
+ :next_token)
2277
+ SENSITIVE = []
2278
+ include Aws::Structure
2279
+ end
2280
+
2020
2281
  # The request object for `DescribeFileSystems` operation.
2021
2282
  #
2022
2283
  # @note When making an API call, you may pass DescribeFileSystemsRequest
@@ -2078,6 +2339,66 @@ module Aws::FSx
2078
2339
  include Aws::Structure
2079
2340
  end
2080
2341
 
2342
+ # The request object of DNS aliases to disassociate from an Amazon FSx
2343
+ # for Windows File Server file system.
2344
+ #
2345
+ # @note When making an API call, you may pass DisassociateFileSystemAliasesRequest
2346
+ # data as a hash:
2347
+ #
2348
+ # {
2349
+ # client_request_token: "ClientRequestToken",
2350
+ # file_system_id: "FileSystemId", # required
2351
+ # aliases: ["AlternateDNSName"], # required
2352
+ # }
2353
+ #
2354
+ # @!attribute [rw] client_request_token
2355
+ # (Optional) An idempotency token for resource creation, in a string
2356
+ # of up to 64 ASCII characters. This token is automatically filled on
2357
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
2358
+ # an AWS SDK.
2359
+ #
2360
+ # **A suitable default value is auto-generated.** You should normally
2361
+ # not need to pass this option.
2362
+ # @return [String]
2363
+ #
2364
+ # @!attribute [rw] file_system_id
2365
+ # Specifies the file system from which to disassociate the DNS
2366
+ # aliases.
2367
+ # @return [String]
2368
+ #
2369
+ # @!attribute [rw] aliases
2370
+ # An array of one or more DNS alias names to disassociate, or remove,
2371
+ # from the file system.
2372
+ # @return [Array<String>]
2373
+ #
2374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliasesRequest AWS API Documentation
2375
+ #
2376
+ class DisassociateFileSystemAliasesRequest < Struct.new(
2377
+ :client_request_token,
2378
+ :file_system_id,
2379
+ :aliases)
2380
+ SENSITIVE = []
2381
+ include Aws::Structure
2382
+ end
2383
+
2384
+ # The system generated response showing the DNS aliases that Amazon FSx
2385
+ # is attempting to disassociate from the file system. Use the API
2386
+ # operation to monitor the status of the aliases Amazon FSx is removing
2387
+ # from the file system.
2388
+ #
2389
+ # @!attribute [rw] aliases
2390
+ # An array of one or more DNS aliases that Amazon FSx is attempting to
2391
+ # disassociate from the file system.
2392
+ # @return [Array<Types::Alias>]
2393
+ #
2394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliasesResponse AWS API Documentation
2395
+ #
2396
+ class DisassociateFileSystemAliasesResponse < Struct.new(
2397
+ :aliases)
2398
+ SENSITIVE = []
2399
+ include Aws::Structure
2400
+ end
2401
+
2081
2402
  # A description of a specific Amazon FSx file system.
2082
2403
  #
2083
2404
  # @!attribute [rw] owner_id
@@ -3331,6 +3652,23 @@ module Aws::FSx
3331
3652
  # copied from the file system, regardless of this value.
3332
3653
  # @return [Boolean]
3333
3654
  #
3655
+ # @!attribute [rw] aliases
3656
+ # An array of one or more DNS aliases that are currently associated
3657
+ # with the Amazon FSx file system. Aliases allow you to use existing
3658
+ # DNS names to access the data in your Amazon FSx file system. You can
3659
+ # associate up to 50 aliases with a file system at any time. You can
3660
+ # associate additional DNS aliases after you create the file system
3661
+ # using the AssociateFileSystemAliases operation. You can remove DNS
3662
+ # aliases from the file system after it is created using the
3663
+ # DisassociateFileSystemAliases operation. You only need to specify
3664
+ # the alias name in the request payload. For more information, see
3665
+ # [DNS aliases][1].
3666
+ #
3667
+ #
3668
+ #
3669
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
3670
+ # @return [Array<Types::Alias>]
3671
+ #
3334
3672
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/WindowsFileSystemConfiguration AWS API Documentation
3335
3673
  #
3336
3674
  class WindowsFileSystemConfiguration < Struct.new(
@@ -3345,7 +3683,8 @@ module Aws::FSx
3345
3683
  :weekly_maintenance_start_time,
3346
3684
  :daily_automatic_backup_start_time,
3347
3685
  :automatic_backup_retention_days,
3348
- :copy_tags_to_backups)
3686
+ :copy_tags_to_backups,
3687
+ :aliases)
3349
3688
  SENSITIVE = []
3350
3689
  include Aws::Structure
3351
3690
  end
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.31.0
4
+ version: 1.32.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-09-30 00:00:00.000000000 Z
11
+ date: 2020-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core