aws-sdk-fsx 1.30.0 → 1.35.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -55,34 +55,52 @@ module Aws::FSx
55
55
  include Aws::Structure
56
56
  end
57
57
 
58
- # Describes a specific Amazon FSx Administrative Action for the current
59
- # Windows file system.
58
+ # Describes a specific Amazon FSx administrative action for the current
59
+ # Windows or Lustre file system.
60
60
  #
61
61
  # @!attribute [rw] administrative_action_type
62
62
  # Describes the type of administrative action, as follows:
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,
70
- # a `STORAGE_OPTIMIZATION` task starts. Storage optimization is the
71
- # process of migrating the file system data to the new, larger
72
- # disks. You can track the storage migration progress using the
70
+ # a `STORAGE_OPTIMIZATION` task starts.
71
+ #
72
+ # * For Windows, storage optimization is the process of migrating
73
+ # the file system data to the new, larger disks.
74
+ #
75
+ # * For Lustre, storage optimization consists of rebalancing the
76
+ # data across the existing and newly added file servers.
77
+ #
78
+ # You can track the storage optimization progress using the
73
79
  # `ProgressPercent` property. When `STORAGE_OPTIMIZATION` completes
74
80
  # successfully, the parent `FILE_SYSTEM_UPDATE` action status
75
81
  # changes to `COMPLETED`. For more information, see [Managing
76
- # Storage Capacity][1].
82
+ # storage capacity][1] in the *Amazon FSx for Windows File Server
83
+ # User Guide* and [Managing storage and throughput capacity][2] in
84
+ # the *Amazon FSx for Lustre User Guide*.
85
+ #
86
+ # * `FILE_SYSTEM_ALIAS_ASSOCIATION` - A file system update to
87
+ # associate a new DNS alias with the file system. For more
88
+ # information, see .
89
+ #
90
+ # * `FILE_SYSTEM_ALIAS_DISASSOCIATION` - A file system update to
91
+ # disassociate a DNS alias from the file system. For more
92
+ # information, see .
77
93
  #
78
94
  #
79
95
  #
80
96
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
97
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
81
98
  # @return [String]
82
99
  #
83
100
  # @!attribute [rw] progress_percent
84
101
  # Provides the percent complete of a `STORAGE_OPTIMIZATION`
85
- # administrative action.
102
+ # administrative action. Does not apply to any other administrative
103
+ # action type.
86
104
  # @return [Integer]
87
105
  #
88
106
  # @!attribute [rw] request_time
@@ -107,16 +125,20 @@ module Aws::FSx
107
125
  # * `UPDATED_OPTIMIZING` - For a storage capacity increase update,
108
126
  # Amazon FSx has updated the file system with the new storage
109
127
  # capacity, and is now performing the storage optimization process.
110
- # For more information, see [Managing Storage Capacity][1].
128
+ # For more information, see [Managing storage capacity][1] in the
129
+ # *Amazon FSx for Windows File Server User Guide* and [Managing
130
+ # storage and throughput capacity][2] in the *Amazon FSx for Lustre
131
+ # User Guide*.
111
132
  #
112
133
  #
113
134
  #
114
135
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
136
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
115
137
  # @return [String]
116
138
  #
117
139
  # @!attribute [rw] target_file_system_values
118
- # Describes the target `StorageCapacity` or `ThroughputCapacity` value
119
- # provided in the `UpdateFileSystem` operation. Returned for
140
+ # Describes the target value for the administration action, provided
141
+ # in the `UpdateFileSystem` operation. Returned for
120
142
  # `FILE_SYSTEM_UPDATE` administrative actions.
121
143
  # @return [Types::FileSystem]
122
144
  #
@@ -140,7 +162,8 @@ module Aws::FSx
140
162
  # Provides information about a failed administrative action.
141
163
  #
142
164
  # @!attribute [rw] message
143
- # Error message providing details about the failure.
165
+ # Error message providing details about the failed administrative
166
+ # action.
144
167
  # @return [String]
145
168
  #
146
169
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AdministrativeActionFailureDetails AWS API Documentation
@@ -151,7 +174,150 @@ module Aws::FSx
151
174
  include Aws::Structure
152
175
  end
153
176
 
154
- # A backup of an Amazon FSx for file system.
177
+ # A DNS alias that is associated with the file system. You can use a DNS
178
+ # alias to access a file system using user-defined DNS names, in
179
+ # addition to the default DNS name that Amazon FSx assigns to the file
180
+ # system. For more information, see [DNS aliases][1] in the *FSx for
181
+ # Windows File Server User Guide*.
182
+ #
183
+ #
184
+ #
185
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
186
+ #
187
+ # @!attribute [rw] name
188
+ # The name of the DNS alias. The alias name has to meet the following
189
+ # requirements:
190
+ #
191
+ # * Formatted as a fully-qualified domain name (FQDN),
192
+ # `hostname.domain`, for example, `accounting.example.com`.
193
+ #
194
+ # * Can contain alphanumeric characters and the hyphen (-).
195
+ #
196
+ # * Cannot start or end with a hyphen.
197
+ #
198
+ # * Can start with a numeric.
199
+ #
200
+ # For DNS names, Amazon FSx stores alphabetic characters as lowercase
201
+ # letters (a-z), regardless of how you specify them: as uppercase
202
+ # letters, lowercase letters, or the corresponding letters in escape
203
+ # codes.
204
+ # @return [String]
205
+ #
206
+ # @!attribute [rw] lifecycle
207
+ # Describes the state of the DNS alias.
208
+ #
209
+ # * AVAILABLE - The DNS alias is associated with an Amazon FSx file
210
+ # system.
211
+ #
212
+ # * CREATING - Amazon FSx is creating the DNS alias and associating it
213
+ # with the file system.
214
+ #
215
+ # * CREATE\_FAILED - Amazon FSx was unable to associate the DNS alias
216
+ # with the file system.
217
+ #
218
+ # * DELETING - Amazon FSx is disassociating the DNS alias from the
219
+ # file system and deleting it.
220
+ #
221
+ # * DELETE\_FAILED - Amazon FSx was unable to disassocate the DNS
222
+ # alias from the file system.
223
+ # @return [String]
224
+ #
225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/Alias AWS API Documentation
226
+ #
227
+ class Alias < Struct.new(
228
+ :name,
229
+ :lifecycle)
230
+ SENSITIVE = []
231
+ include Aws::Structure
232
+ end
233
+
234
+ # The request object specifying one or more DNS alias names to associate
235
+ # with an Amazon FSx for Windows File Server file system.
236
+ #
237
+ # @note When making an API call, you may pass AssociateFileSystemAliasesRequest
238
+ # data as a hash:
239
+ #
240
+ # {
241
+ # client_request_token: "ClientRequestToken",
242
+ # file_system_id: "FileSystemId", # required
243
+ # aliases: ["AlternateDNSName"], # required
244
+ # }
245
+ #
246
+ # @!attribute [rw] client_request_token
247
+ # (Optional) An idempotency token for resource creation, in a string
248
+ # of up to 64 ASCII characters. This token is automatically filled on
249
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
250
+ # an AWS SDK.
251
+ #
252
+ # **A suitable default value is auto-generated.** You should normally
253
+ # not need to pass this option.
254
+ # @return [String]
255
+ #
256
+ # @!attribute [rw] file_system_id
257
+ # Specifies the file system with which you want to associate one or
258
+ # more DNS aliases.
259
+ # @return [String]
260
+ #
261
+ # @!attribute [rw] aliases
262
+ # An array of one or more DNS alias names to associate with the file
263
+ # system. The alias name has to comply with the following formatting
264
+ # requirements:
265
+ #
266
+ # * Formatted as a fully-qualified domain name (FQDN), <i>
267
+ # <code>hostname.domain</code> </i>, for example,
268
+ # `accounting.corp.example.com`.
269
+ #
270
+ # * Can contain alphanumeric characters and the hyphen (-).
271
+ #
272
+ # * Cannot start or end with a hyphen.
273
+ #
274
+ # * Can start with a numeric.
275
+ #
276
+ # For DNS alias names, Amazon FSx stores alphabetic characters as
277
+ # lowercase letters (a-z), regardless of how you specify them: as
278
+ # uppercase letters, lowercase letters, or the corresponding letters
279
+ # in escape codes.
280
+ # @return [Array<String>]
281
+ #
282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliasesRequest AWS API Documentation
283
+ #
284
+ class AssociateFileSystemAliasesRequest < Struct.new(
285
+ :client_request_token,
286
+ :file_system_id,
287
+ :aliases)
288
+ SENSITIVE = []
289
+ include Aws::Structure
290
+ end
291
+
292
+ # The system generated response showing the DNS aliases that Amazon FSx
293
+ # is attempting to associate with the file system. Use the API operation
294
+ # to monitor the status of the aliases Amazon FSx is associating with
295
+ # the file system. It can take up to 2.5 minutes for the alias status to
296
+ # change from `CREATING` to `AVAILABLE`.
297
+ #
298
+ # @!attribute [rw] aliases
299
+ # An array of the DNS aliases that Amazon FSx is associating with the
300
+ # file system.
301
+ # @return [Array<Types::Alias>]
302
+ #
303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliasesResponse AWS API Documentation
304
+ #
305
+ class AssociateFileSystemAliasesResponse < Struct.new(
306
+ :aliases)
307
+ SENSITIVE = []
308
+ include Aws::Structure
309
+ end
310
+
311
+ # A backup of an Amazon FSx file system. For more information see:
312
+ #
313
+ # * [Working with backups for Windows file systems][1]
314
+ #
315
+ # * [Working with backups for Lustre file systems][2]
316
+ #
317
+ #
318
+ #
319
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html
320
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html
155
321
  #
156
322
  # @!attribute [rw] backup_id
157
323
  # The ID of the backup.
@@ -162,12 +328,16 @@ module Aws::FSx
162
328
  #
163
329
  # * `AVAILABLE` - The backup is fully available.
164
330
  #
165
- # * `CREATING` - FSx is creating the backup.
331
+ # * `PENDING` - For user-initiated backups on Lustre file systems
332
+ # only; Amazon FSx has not started creating the backup.
333
+ #
334
+ # * `CREATING` - Amazon FSx is creating the backup.
166
335
  #
167
- # * `TRANSFERRING` - For Lustre file systems only; FSx is transferring
168
- # the backup to S3.
336
+ # * `TRANSFERRING` - For user-initiated backups on Lustre file systems
337
+ # only; Amazon FSx is transferring the backup to S3.
169
338
  #
170
- # * `DELETED` - The backup was deleted is no longer available.
339
+ # * `DELETED` - Amazon FSx deleted the backup and it is no longer
340
+ # available.
171
341
  #
172
342
  # * `FAILED` - Amazon FSx could not complete the backup.
173
343
  # @return [String]
@@ -609,6 +779,7 @@ module Aws::FSx
609
779
  # daily_automatic_backup_start_time: "DailyTime",
610
780
  # automatic_backup_retention_days: 1,
611
781
  # copy_tags_to_backups: false,
782
+ # aliases: ["AlternateDNSName"],
612
783
  # },
613
784
  # lustre_configuration: {
614
785
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -961,6 +1132,7 @@ module Aws::FSx
961
1132
  # daily_automatic_backup_start_time: "DailyTime",
962
1133
  # automatic_backup_retention_days: 1,
963
1134
  # copy_tags_to_backups: false,
1135
+ # aliases: ["AlternateDNSName"],
964
1136
  # },
965
1137
  # lustre_configuration: {
966
1138
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -1139,6 +1311,7 @@ module Aws::FSx
1139
1311
  # daily_automatic_backup_start_time: "DailyTime",
1140
1312
  # automatic_backup_retention_days: 1,
1141
1313
  # copy_tags_to_backups: false,
1314
+ # aliases: ["AlternateDNSName"],
1142
1315
  # }
1143
1316
  #
1144
1317
  # @!attribute [rw] active_directory_id
@@ -1221,6 +1394,44 @@ module Aws::FSx
1221
1394
  # system, regardless of this value.
1222
1395
  # @return [Boolean]
1223
1396
  #
1397
+ # @!attribute [rw] aliases
1398
+ # An array of one or more DNS alias names that you want to associate
1399
+ # with the Amazon FSx file system. Aliases allow you to use existing
1400
+ # DNS names to access the data in your Amazon FSx file system. You can
1401
+ # associate up to 50 aliases with a file system at any time. You can
1402
+ # associate additional DNS aliases after you create the file system
1403
+ # using the AssociateFileSystemAliases operation. You can remove DNS
1404
+ # aliases from the file system after it is created using the
1405
+ # DisassociateFileSystemAliases operation. You only need to specify
1406
+ # the alias name in the request payload.
1407
+ #
1408
+ # For more information, see [Working with DNS Aliases][1] and
1409
+ # [Walkthrough 5: Using DNS aliases to access your file system][2],
1410
+ # including additional steps you must take to be able to access your
1411
+ # file system using a DNS alias.
1412
+ #
1413
+ # An alias name has to meet the following requirements:
1414
+ #
1415
+ # * Formatted as a fully-qualified domain name (FQDN),
1416
+ # `hostname.domain`, for example, `accounting.example.com`.
1417
+ #
1418
+ # * Can contain alphanumeric characters and the hyphen (-).
1419
+ #
1420
+ # * Cannot start or end with a hyphen.
1421
+ #
1422
+ # * Can start with a numeric.
1423
+ #
1424
+ # For DNS alias names, Amazon FSx stores alphabetic characters as
1425
+ # lowercase letters (a-z), regardless of how you specify them: as
1426
+ # uppercase letters, lowercase letters, or the corresponding letters
1427
+ # in escape codes.
1428
+ #
1429
+ #
1430
+ #
1431
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
1432
+ # [2]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html
1433
+ # @return [Array<String>]
1434
+ #
1224
1435
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemWindowsConfiguration AWS API Documentation
1225
1436
  #
1226
1437
  class CreateFileSystemWindowsConfiguration < Struct.new(
@@ -1232,7 +1443,8 @@ module Aws::FSx
1232
1443
  :weekly_maintenance_start_time,
1233
1444
  :daily_automatic_backup_start_time,
1234
1445
  :automatic_backup_retention_days,
1235
- :copy_tags_to_backups)
1446
+ :copy_tags_to_backups,
1447
+ :aliases)
1236
1448
  SENSITIVE = []
1237
1449
  include Aws::Structure
1238
1450
  end
@@ -2017,6 +2229,81 @@ module Aws::FSx
2017
2229
  include Aws::Structure
2018
2230
  end
2019
2231
 
2232
+ # The request object for `DescribeFileSystemAliases` operation.
2233
+ #
2234
+ # @note When making an API call, you may pass DescribeFileSystemAliasesRequest
2235
+ # data as a hash:
2236
+ #
2237
+ # {
2238
+ # client_request_token: "ClientRequestToken",
2239
+ # file_system_id: "FileSystemId", # required
2240
+ # max_results: 1,
2241
+ # next_token: "NextToken",
2242
+ # }
2243
+ #
2244
+ # @!attribute [rw] client_request_token
2245
+ # (Optional) An idempotency token for resource creation, in a string
2246
+ # of up to 64 ASCII characters. This token is automatically filled on
2247
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
2248
+ # an AWS SDK.
2249
+ #
2250
+ # **A suitable default value is auto-generated.** You should normally
2251
+ # not need to pass this option.
2252
+ # @return [String]
2253
+ #
2254
+ # @!attribute [rw] file_system_id
2255
+ # The ID of the file system to return the associated DNS aliases for
2256
+ # (String).
2257
+ # @return [String]
2258
+ #
2259
+ # @!attribute [rw] max_results
2260
+ # Maximum number of DNS aliases to return in the response (integer).
2261
+ # This parameter value must be greater than 0. The number of items
2262
+ # that Amazon FSx returns is the minimum of the `MaxResults` parameter
2263
+ # specified in the request and the service's internal maximum number
2264
+ # of items per page.
2265
+ # @return [Integer]
2266
+ #
2267
+ # @!attribute [rw] next_token
2268
+ # Opaque pagination token returned from a previous
2269
+ # `DescribeFileSystemAliases` operation (String). If a token is
2270
+ # included in the request, the action continues the list from where
2271
+ # the previous returning call left off.
2272
+ # @return [String]
2273
+ #
2274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliasesRequest AWS API Documentation
2275
+ #
2276
+ class DescribeFileSystemAliasesRequest < Struct.new(
2277
+ :client_request_token,
2278
+ :file_system_id,
2279
+ :max_results,
2280
+ :next_token)
2281
+ SENSITIVE = []
2282
+ include Aws::Structure
2283
+ end
2284
+
2285
+ # The response object for `DescribeFileSystemAliases` operation.
2286
+ #
2287
+ # @!attribute [rw] aliases
2288
+ # An array of one or more DNS aliases currently associated with the
2289
+ # specified file system.
2290
+ # @return [Array<Types::Alias>]
2291
+ #
2292
+ # @!attribute [rw] next_token
2293
+ # Present if there are more DNS aliases than returned in the response
2294
+ # (String). You can use the `NextToken` value in a later request to
2295
+ # fetch additional descriptions.
2296
+ # @return [String]
2297
+ #
2298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliasesResponse AWS API Documentation
2299
+ #
2300
+ class DescribeFileSystemAliasesResponse < Struct.new(
2301
+ :aliases,
2302
+ :next_token)
2303
+ SENSITIVE = []
2304
+ include Aws::Structure
2305
+ end
2306
+
2020
2307
  # The request object for `DescribeFileSystems` operation.
2021
2308
  #
2022
2309
  # @note When making an API call, you may pass DescribeFileSystemsRequest
@@ -2078,6 +2365,66 @@ module Aws::FSx
2078
2365
  include Aws::Structure
2079
2366
  end
2080
2367
 
2368
+ # The request object of DNS aliases to disassociate from an Amazon FSx
2369
+ # for Windows File Server file system.
2370
+ #
2371
+ # @note When making an API call, you may pass DisassociateFileSystemAliasesRequest
2372
+ # data as a hash:
2373
+ #
2374
+ # {
2375
+ # client_request_token: "ClientRequestToken",
2376
+ # file_system_id: "FileSystemId", # required
2377
+ # aliases: ["AlternateDNSName"], # required
2378
+ # }
2379
+ #
2380
+ # @!attribute [rw] client_request_token
2381
+ # (Optional) An idempotency token for resource creation, in a string
2382
+ # of up to 64 ASCII characters. This token is automatically filled on
2383
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
2384
+ # an AWS SDK.
2385
+ #
2386
+ # **A suitable default value is auto-generated.** You should normally
2387
+ # not need to pass this option.
2388
+ # @return [String]
2389
+ #
2390
+ # @!attribute [rw] file_system_id
2391
+ # Specifies the file system from which to disassociate the DNS
2392
+ # aliases.
2393
+ # @return [String]
2394
+ #
2395
+ # @!attribute [rw] aliases
2396
+ # An array of one or more DNS alias names to disassociate, or remove,
2397
+ # from the file system.
2398
+ # @return [Array<String>]
2399
+ #
2400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliasesRequest AWS API Documentation
2401
+ #
2402
+ class DisassociateFileSystemAliasesRequest < Struct.new(
2403
+ :client_request_token,
2404
+ :file_system_id,
2405
+ :aliases)
2406
+ SENSITIVE = []
2407
+ include Aws::Structure
2408
+ end
2409
+
2410
+ # The system generated response showing the DNS aliases that Amazon FSx
2411
+ # is attempting to disassociate from the file system. Use the API
2412
+ # operation to monitor the status of the aliases Amazon FSx is removing
2413
+ # from the file system.
2414
+ #
2415
+ # @!attribute [rw] aliases
2416
+ # An array of one or more DNS aliases that Amazon FSx is attempting to
2417
+ # disassociate from the file system.
2418
+ # @return [Array<Types::Alias>]
2419
+ #
2420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliasesResponse AWS API Documentation
2421
+ #
2422
+ class DisassociateFileSystemAliasesResponse < Struct.new(
2423
+ :aliases)
2424
+ SENSITIVE = []
2425
+ include Aws::Structure
2426
+ end
2427
+
2081
2428
  # A description of a specific Amazon FSx file system.
2082
2429
  #
2083
2430
  # @!attribute [rw] owner_id
@@ -2127,7 +2474,7 @@ module Aws::FSx
2127
2474
  # @return [Types::FileSystemFailureDetails]
2128
2475
  #
2129
2476
  # @!attribute [rw] storage_capacity
2130
- # The storage capacity of the file system in gigabytes (GB).
2477
+ # The storage capacity of the file system in gibibytes (GiB).
2131
2478
  # @return [Integer]
2132
2479
  #
2133
2480
  # @!attribute [rw] storage_type
@@ -3089,18 +3436,40 @@ module Aws::FSx
3089
3436
  #
3090
3437
  # @!attribute [rw] storage_capacity
3091
3438
  # Use this parameter to increase the storage capacity of an Amazon FSx
3092
- # for Windows File Server file system. Specifies the storage capacity
3093
- # target value, GiB, for the file system you're updating. The storage
3094
- # capacity target value must be at least 10 percent (%) greater than
3095
- # the current storage capacity value. In order to increase storage
3096
- # capacity, the file system needs to have at least 16 MB/s of
3097
- # throughput capacity. You cannot make a storage capacity increase
3098
- # request if there is an existing storage capacity increase request in
3099
- # progress. For more information, see [Managing Storage Capacity][1].
3439
+ # file system. Specifies the storage capacity target value, GiB, to
3440
+ # increase the storage capacity for the file system that you're
3441
+ # updating. You cannot make a storage capacity increase request if
3442
+ # there is an existing storage capacity increase request in progress.
3443
+ #
3444
+ # For Windows file systems, the storage capacity target value must be
3445
+ # at least 10 percent (%) greater than the current storage capacity
3446
+ # value. In order to increase storage capacity, the file system must
3447
+ # have at least 16 MB/s of throughput capacity.
3448
+ #
3449
+ # For Lustre file systems, the storage capacity target value can be
3450
+ # the following:
3451
+ #
3452
+ # * For `SCRATCH_2` and `PERSISTENT_1 SSD` deployment types, valid
3453
+ # values are in multiples of 2400 GiB. The value must be greater
3454
+ # than the current storage capacity.
3455
+ #
3456
+ # * For `PERSISTENT HDD` file systems, valid values are multiples of
3457
+ # 6000 GiB for 12 MB/s/TiB file systems and multiples of 1800 GiB
3458
+ # for 40 MB/s/TiB file systems. The values must be greater than the
3459
+ # current storage capacity.
3460
+ #
3461
+ # * For `SCRATCH_1` file systems, you cannot increase the storage
3462
+ # capacity.
3463
+ #
3464
+ # For more information, see [Managing storage capacity][1] in the
3465
+ # *Amazon FSx for Windows File Server User Guide* and [Managing
3466
+ # storage and throughput capacity][2] in the *Amazon FSx for Lustre
3467
+ # User Guide*.
3100
3468
  #
3101
3469
  #
3102
3470
  #
3103
3471
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html
3472
+ # [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html
3104
3473
  # @return [Integer]
3105
3474
  #
3106
3475
  # @!attribute [rw] windows_configuration
@@ -3331,6 +3700,23 @@ module Aws::FSx
3331
3700
  # copied from the file system, regardless of this value.
3332
3701
  # @return [Boolean]
3333
3702
  #
3703
+ # @!attribute [rw] aliases
3704
+ # An array of one or more DNS aliases that are currently associated
3705
+ # with the Amazon FSx file system. Aliases allow you to use existing
3706
+ # DNS names to access the data in your Amazon FSx file system. You can
3707
+ # associate up to 50 aliases with a file system at any time. You can
3708
+ # associate additional DNS aliases after you create the file system
3709
+ # using the AssociateFileSystemAliases operation. You can remove DNS
3710
+ # aliases from the file system after it is created using the
3711
+ # DisassociateFileSystemAliases operation. You only need to specify
3712
+ # the alias name in the request payload. For more information, see
3713
+ # [DNS aliases][1].
3714
+ #
3715
+ #
3716
+ #
3717
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
3718
+ # @return [Array<Types::Alias>]
3719
+ #
3334
3720
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/WindowsFileSystemConfiguration AWS API Documentation
3335
3721
  #
3336
3722
  class WindowsFileSystemConfiguration < Struct.new(
@@ -3345,7 +3731,8 @@ module Aws::FSx
3345
3731
  :weekly_maintenance_start_time,
3346
3732
  :daily_automatic_backup_start_time,
3347
3733
  :automatic_backup_retention_days,
3348
- :copy_tags_to_backups)
3734
+ :copy_tags_to_backups,
3735
+ :aliases)
3349
3736
  SENSITIVE = []
3350
3737
  include Aws::Structure
3351
3738
  end