aws-sdk-fsx 1.31.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,10 +22,18 @@ 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')
36
+ BackupBeingCopied = Shapes::StructureShape.new(name: 'BackupBeingCopied')
29
37
  BackupFailureDetails = Shapes::StructureShape.new(name: 'BackupFailureDetails')
30
38
  BackupId = Shapes::StringShape.new(name: 'BackupId')
31
39
  BackupIds = Shapes::ListShape.new(name: 'BackupIds')
@@ -40,6 +48,8 @@ module Aws::FSx
40
48
  CancelDataRepositoryTaskResponse = Shapes::StructureShape.new(name: 'CancelDataRepositoryTaskResponse')
41
49
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
42
50
  CompletionReport = Shapes::StructureShape.new(name: 'CompletionReport')
51
+ CopyBackupRequest = Shapes::StructureShape.new(name: 'CopyBackupRequest')
52
+ CopyBackupResponse = Shapes::StructureShape.new(name: 'CopyBackupResponse')
43
53
  CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
44
54
  CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
45
55
  CreateDataRepositoryTaskRequest = Shapes::StructureShape.new(name: 'CreateDataRepositoryTaskRequest')
@@ -84,11 +94,15 @@ module Aws::FSx
84
94
  DescribeBackupsResponse = Shapes::StructureShape.new(name: 'DescribeBackupsResponse')
85
95
  DescribeDataRepositoryTasksRequest = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksRequest')
86
96
  DescribeDataRepositoryTasksResponse = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksResponse')
97
+ DescribeFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesRequest')
98
+ DescribeFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesResponse')
87
99
  DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
88
100
  DescribeFileSystemsResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemsResponse')
89
101
  DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
90
102
  DirectoryPassword = Shapes::StringShape.new(name: 'DirectoryPassword')
91
103
  DirectoryUserName = Shapes::StringShape.new(name: 'DirectoryUserName')
104
+ DisassociateFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'DisassociateFileSystemAliasesRequest')
105
+ DisassociateFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'DisassociateFileSystemAliasesResponse')
92
106
  DnsIps = Shapes::ListShape.new(name: 'DnsIps')
93
107
  DriveCacheType = Shapes::StringShape.new(name: 'DriveCacheType')
94
108
  EndTime = Shapes::TimestampShape.new(name: 'EndTime')
@@ -112,11 +126,15 @@ module Aws::FSx
112
126
  Filters = Shapes::ListShape.new(name: 'Filters')
113
127
  Flag = Shapes::BooleanShape.new(name: 'Flag')
114
128
  IncompatibleParameterError = Shapes::StructureShape.new(name: 'IncompatibleParameterError')
129
+ IncompatibleRegionForMultiAZ = Shapes::StructureShape.new(name: 'IncompatibleRegionForMultiAZ')
115
130
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
131
+ InvalidDestinationKmsKey = Shapes::StructureShape.new(name: 'InvalidDestinationKmsKey')
116
132
  InvalidExportPath = Shapes::StructureShape.new(name: 'InvalidExportPath')
117
133
  InvalidImportPath = Shapes::StructureShape.new(name: 'InvalidImportPath')
118
134
  InvalidNetworkSettings = Shapes::StructureShape.new(name: 'InvalidNetworkSettings')
119
135
  InvalidPerUnitStorageThroughput = Shapes::StructureShape.new(name: 'InvalidPerUnitStorageThroughput')
136
+ InvalidRegion = Shapes::StructureShape.new(name: 'InvalidRegion')
137
+ InvalidSourceKmsKey = Shapes::StructureShape.new(name: 'InvalidSourceKmsKey')
120
138
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
121
139
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
122
140
  LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
@@ -137,6 +155,7 @@ module Aws::FSx
137
155
  Parameter = Shapes::StringShape.new(name: 'Parameter')
138
156
  PerUnitStorageThroughput = Shapes::IntegerShape.new(name: 'PerUnitStorageThroughput')
139
157
  ProgressPercent = Shapes::IntegerShape.new(name: 'ProgressPercent')
158
+ Region = Shapes::StringShape.new(name: 'Region')
140
159
  ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
141
160
  ReportScope = Shapes::StringShape.new(name: 'ReportScope')
142
161
  RequestTime = Shapes::TimestampShape.new(name: 'RequestTime')
@@ -150,6 +169,8 @@ module Aws::FSx
150
169
  SelfManagedActiveDirectoryConfigurationUpdates = Shapes::StructureShape.new(name: 'SelfManagedActiveDirectoryConfigurationUpdates')
151
170
  ServiceLimit = Shapes::StringShape.new(name: 'ServiceLimit')
152
171
  ServiceLimitExceeded = Shapes::StructureShape.new(name: 'ServiceLimitExceeded')
172
+ SourceBackupId = Shapes::StringShape.new(name: 'SourceBackupId')
173
+ SourceBackupUnavailable = Shapes::StructureShape.new(name: 'SourceBackupUnavailable')
153
174
  StartTime = Shapes::TimestampShape.new(name: 'StartTime')
154
175
  Status = Shapes::StringShape.new(name: 'Status')
155
176
  StorageCapacity = Shapes::IntegerShape.new(name: 'StorageCapacity')
@@ -181,6 +202,7 @@ module Aws::FSx
181
202
 
182
203
  ActiveDirectoryBackupAttributes.add_member(:domain_name, Shapes::ShapeRef.new(shape: ActiveDirectoryFullyQualifiedName, location_name: "DomainName"))
183
204
  ActiveDirectoryBackupAttributes.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "ActiveDirectoryId"))
205
+ ActiveDirectoryBackupAttributes.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
184
206
  ActiveDirectoryBackupAttributes.struct_class = Types::ActiveDirectoryBackupAttributes
185
207
 
186
208
  ActiveDirectoryError.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ActiveDirectoryId"))
@@ -201,6 +223,22 @@ module Aws::FSx
201
223
 
202
224
  AdministrativeActions.member = Shapes::ShapeRef.new(shape: AdministrativeAction)
203
225
 
226
+ Alias.add_member(:name, Shapes::ShapeRef.new(shape: AlternateDNSName, location_name: "Name"))
227
+ Alias.add_member(:lifecycle, Shapes::ShapeRef.new(shape: AliasLifecycle, location_name: "Lifecycle"))
228
+ Alias.struct_class = Types::Alias
229
+
230
+ Aliases.member = Shapes::ShapeRef.new(shape: Alias)
231
+
232
+ AlternateDNSNames.member = Shapes::ShapeRef.new(shape: AlternateDNSName)
233
+
234
+ AssociateFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
235
+ AssociateFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
236
+ AssociateFileSystemAliasesRequest.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, required: true, location_name: "Aliases"))
237
+ AssociateFileSystemAliasesRequest.struct_class = Types::AssociateFileSystemAliasesRequest
238
+
239
+ AssociateFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
240
+ AssociateFileSystemAliasesResponse.struct_class = Types::AssociateFileSystemAliasesResponse
241
+
204
242
  Backup.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
205
243
  Backup.add_member(:lifecycle, Shapes::ShapeRef.new(shape: BackupLifecycle, required: true, location_name: "Lifecycle"))
206
244
  Backup.add_member(:failure_details, Shapes::ShapeRef.new(shape: BackupFailureDetails, location_name: "FailureDetails"))
@@ -212,8 +250,15 @@ module Aws::FSx
212
250
  Backup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
213
251
  Backup.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, required: true, location_name: "FileSystem"))
214
252
  Backup.add_member(:directory_information, Shapes::ShapeRef.new(shape: ActiveDirectoryBackupAttributes, location_name: "DirectoryInformation"))
253
+ Backup.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
254
+ Backup.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
255
+ Backup.add_member(:source_backup_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceBackupRegion"))
215
256
  Backup.struct_class = Types::Backup
216
257
 
258
+ BackupBeingCopied.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
259
+ BackupBeingCopied.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
260
+ BackupBeingCopied.struct_class = Types::BackupBeingCopied
261
+
217
262
  BackupFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
218
263
  BackupFailureDetails.struct_class = Types::BackupFailureDetails
219
264
 
@@ -247,6 +292,17 @@ module Aws::FSx
247
292
  CompletionReport.add_member(:scope, Shapes::ShapeRef.new(shape: ReportScope, location_name: "Scope"))
248
293
  CompletionReport.struct_class = Types::CompletionReport
249
294
 
295
+ CopyBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
296
+ CopyBackupRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: SourceBackupId, required: true, location_name: "SourceBackupId"))
297
+ CopyBackupRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceRegion"))
298
+ CopyBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
299
+ CopyBackupRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTags"))
300
+ CopyBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
301
+ CopyBackupRequest.struct_class = Types::CopyBackupRequest
302
+
303
+ CopyBackupResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
304
+ CopyBackupResponse.struct_class = Types::CopyBackupResponse
305
+
250
306
  CreateBackupRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
251
307
  CreateBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
252
308
  CreateBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -274,6 +330,7 @@ module Aws::FSx
274
330
  CreateFileSystemFromBackupRequest.add_member(:windows_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemWindowsConfiguration, location_name: "WindowsConfiguration"))
275
331
  CreateFileSystemFromBackupRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemLustreConfiguration, location_name: "LustreConfiguration"))
276
332
  CreateFileSystemFromBackupRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
333
+ CreateFileSystemFromBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
277
334
  CreateFileSystemFromBackupRequest.struct_class = Types::CreateFileSystemFromBackupRequest
278
335
 
279
336
  CreateFileSystemFromBackupResponse.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, location_name: "FileSystem"))
@@ -316,6 +373,7 @@ module Aws::FSx
316
373
  CreateFileSystemWindowsConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
317
374
  CreateFileSystemWindowsConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
318
375
  CreateFileSystemWindowsConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
376
+ CreateFileSystemWindowsConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, location_name: "Aliases"))
319
377
  CreateFileSystemWindowsConfiguration.struct_class = Types::CreateFileSystemWindowsConfiguration
320
378
 
321
379
  DataRepositoryConfiguration.add_member(:lifecycle, Shapes::ShapeRef.new(shape: DataRepositoryLifecycle, location_name: "Lifecycle"))
@@ -430,6 +488,16 @@ module Aws::FSx
430
488
  DescribeDataRepositoryTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
431
489
  DescribeDataRepositoryTasksResponse.struct_class = Types::DescribeDataRepositoryTasksResponse
432
490
 
491
+ DescribeFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
492
+ DescribeFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
493
+ DescribeFileSystemAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
494
+ DescribeFileSystemAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
495
+ DescribeFileSystemAliasesRequest.struct_class = Types::DescribeFileSystemAliasesRequest
496
+
497
+ DescribeFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
498
+ DescribeFileSystemAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
499
+ DescribeFileSystemAliasesResponse.struct_class = Types::DescribeFileSystemAliasesResponse
500
+
433
501
  DescribeFileSystemsRequest.add_member(:file_system_ids, Shapes::ShapeRef.new(shape: FileSystemIds, location_name: "FileSystemIds"))
434
502
  DescribeFileSystemsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
435
503
  DescribeFileSystemsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -439,6 +507,14 @@ module Aws::FSx
439
507
  DescribeFileSystemsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
440
508
  DescribeFileSystemsResponse.struct_class = Types::DescribeFileSystemsResponse
441
509
 
510
+ DisassociateFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
511
+ DisassociateFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
512
+ DisassociateFileSystemAliasesRequest.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, required: true, location_name: "Aliases"))
513
+ DisassociateFileSystemAliasesRequest.struct_class = Types::DisassociateFileSystemAliasesRequest
514
+
515
+ DisassociateFileSystemAliasesResponse.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
516
+ DisassociateFileSystemAliasesResponse.struct_class = Types::DisassociateFileSystemAliasesResponse
517
+
442
518
  DnsIps.member = Shapes::ShapeRef.new(shape: IpAddress)
443
519
 
444
520
  FileSystem.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
@@ -485,9 +561,15 @@ module Aws::FSx
485
561
  IncompatibleParameterError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
486
562
  IncompatibleParameterError.struct_class = Types::IncompatibleParameterError
487
563
 
564
+ IncompatibleRegionForMultiAZ.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
565
+ IncompatibleRegionForMultiAZ.struct_class = Types::IncompatibleRegionForMultiAZ
566
+
488
567
  InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
489
568
  InternalServerError.struct_class = Types::InternalServerError
490
569
 
570
+ InvalidDestinationKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
571
+ InvalidDestinationKmsKey.struct_class = Types::InvalidDestinationKmsKey
572
+
491
573
  InvalidExportPath.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
492
574
  InvalidExportPath.struct_class = Types::InvalidExportPath
493
575
 
@@ -502,6 +584,12 @@ module Aws::FSx
502
584
  InvalidPerUnitStorageThroughput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
503
585
  InvalidPerUnitStorageThroughput.struct_class = Types::InvalidPerUnitStorageThroughput
504
586
 
587
+ InvalidRegion.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
588
+ InvalidRegion.struct_class = Types::InvalidRegion
589
+
590
+ InvalidSourceKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
591
+ InvalidSourceKmsKey.struct_class = Types::InvalidSourceKmsKey
592
+
505
593
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
506
594
  ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
507
595
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -565,6 +653,10 @@ module Aws::FSx
565
653
  ServiceLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
566
654
  ServiceLimitExceeded.struct_class = Types::ServiceLimitExceeded
567
655
 
656
+ SourceBackupUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
657
+ SourceBackupUnavailable.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
658
+ SourceBackupUnavailable.struct_class = Types::SourceBackupUnavailable
659
+
568
660
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
569
661
 
570
662
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -627,6 +719,7 @@ module Aws::FSx
627
719
  WindowsFileSystemConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
628
720
  WindowsFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
629
721
  WindowsFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
722
+ WindowsFileSystemConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
630
723
  WindowsFileSystemConfiguration.struct_class = Types::WindowsFileSystemConfiguration
631
724
 
632
725
 
@@ -648,6 +741,17 @@ module Aws::FSx
648
741
  "uid" => "fsx-2018-03-01",
649
742
  }
650
743
 
744
+ api.add_operation(:associate_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
745
+ o.name = "AssociateFileSystemAliases"
746
+ o.http_method = "POST"
747
+ o.http_request_uri = "/"
748
+ o.input = Shapes::ShapeRef.new(shape: AssociateFileSystemAliasesRequest)
749
+ o.output = Shapes::ShapeRef.new(shape: AssociateFileSystemAliasesResponse)
750
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
751
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
752
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
753
+ end)
754
+
651
755
  api.add_operation(:cancel_data_repository_task, Seahorse::Model::Operation.new.tap do |o|
652
756
  o.name = "CancelDataRepositoryTask"
653
757
  o.http_method = "POST"
@@ -661,6 +765,25 @@ module Aws::FSx
661
765
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
662
766
  end)
663
767
 
768
+ api.add_operation(:copy_backup, Seahorse::Model::Operation.new.tap do |o|
769
+ o.name = "CopyBackup"
770
+ o.http_method = "POST"
771
+ o.http_request_uri = "/"
772
+ o.input = Shapes::ShapeRef.new(shape: CopyBackupRequest)
773
+ o.output = Shapes::ShapeRef.new(shape: CopyBackupResponse)
774
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
775
+ o.errors << Shapes::ShapeRef.new(shape: BackupNotFound)
776
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
777
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
778
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
779
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
780
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceKmsKey)
781
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDestinationKmsKey)
782
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRegion)
783
+ o.errors << Shapes::ShapeRef.new(shape: SourceBackupUnavailable)
784
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleRegionForMultiAZ)
785
+ end)
786
+
664
787
  api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
665
788
  o.name = "CreateBackup"
666
789
  o.http_method = "POST"
@@ -738,6 +861,7 @@ module Aws::FSx
738
861
  o.errors << Shapes::ShapeRef.new(shape: BackupRestoring)
739
862
  o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
740
863
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
864
+ o.errors << Shapes::ShapeRef.new(shape: BackupBeingCopied)
741
865
  end)
742
866
 
743
867
  api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
@@ -789,6 +913,23 @@ module Aws::FSx
789
913
  )
790
914
  end)
791
915
 
916
+ api.add_operation(:describe_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
917
+ o.name = "DescribeFileSystemAliases"
918
+ o.http_method = "POST"
919
+ o.http_request_uri = "/"
920
+ o.input = Shapes::ShapeRef.new(shape: DescribeFileSystemAliasesRequest)
921
+ o.output = Shapes::ShapeRef.new(shape: DescribeFileSystemAliasesResponse)
922
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
923
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
925
+ o[:pager] = Aws::Pager.new(
926
+ limit_key: "max_results",
927
+ tokens: {
928
+ "next_token" => "next_token"
929
+ }
930
+ )
931
+ end)
932
+
792
933
  api.add_operation(:describe_file_systems, Seahorse::Model::Operation.new.tap do |o|
793
934
  o.name = "DescribeFileSystems"
794
935
  o.http_method = "POST"
@@ -806,6 +947,17 @@ module Aws::FSx
806
947
  )
807
948
  end)
808
949
 
950
+ api.add_operation(:disassociate_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
951
+ o.name = "DisassociateFileSystemAliases"
952
+ o.http_method = "POST"
953
+ o.http_request_uri = "/"
954
+ o.input = Shapes::ShapeRef.new(shape: DisassociateFileSystemAliasesRequest)
955
+ o.output = Shapes::ShapeRef.new(shape: DisassociateFileSystemAliasesResponse)
956
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
957
+ o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
958
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
959
+ end)
960
+
809
961
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
810
962
  o.name = "ListTagsForResource"
811
963
  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
 
@@ -28,6 +28,7 @@ module Aws::FSx
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {ActiveDirectoryError}
31
+ # * {BackupBeingCopied}
31
32
  # * {BackupInProgress}
32
33
  # * {BackupNotFound}
33
34
  # * {BackupRestoring}
@@ -37,16 +38,21 @@ module Aws::FSx
37
38
  # * {DataRepositoryTaskNotFound}
38
39
  # * {FileSystemNotFound}
39
40
  # * {IncompatibleParameterError}
41
+ # * {IncompatibleRegionForMultiAZ}
40
42
  # * {InternalServerError}
43
+ # * {InvalidDestinationKmsKey}
41
44
  # * {InvalidExportPath}
42
45
  # * {InvalidImportPath}
43
46
  # * {InvalidNetworkSettings}
44
47
  # * {InvalidPerUnitStorageThroughput}
48
+ # * {InvalidRegion}
49
+ # * {InvalidSourceKmsKey}
45
50
  # * {MissingFileSystemConfiguration}
46
51
  # * {NotServiceResourceError}
47
52
  # * {ResourceDoesNotSupportTagging}
48
53
  # * {ResourceNotFound}
49
54
  # * {ServiceLimitExceeded}
55
+ # * {SourceBackupUnavailable}
50
56
  # * {UnsupportedOperation}
51
57
  #
52
58
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -80,6 +86,26 @@ module Aws::FSx
80
86
  end
81
87
  end
82
88
 
89
+ class BackupBeingCopied < ServiceError
90
+
91
+ # @param [Seahorse::Client::RequestContext] context
92
+ # @param [String] message
93
+ # @param [Aws::FSx::Types::BackupBeingCopied] data
94
+ def initialize(context, message, data = Aws::EmptyStructure.new)
95
+ super(context, message, data)
96
+ end
97
+
98
+ # @return [String]
99
+ def message
100
+ @message || @data[:message]
101
+ end
102
+
103
+ # @return [String]
104
+ def backup_id
105
+ @data[:backup_id]
106
+ end
107
+ end
108
+
83
109
  class BackupInProgress < ServiceError
84
110
 
85
111
  # @param [Seahorse::Client::RequestContext] context
@@ -225,6 +251,21 @@ module Aws::FSx
225
251
  end
226
252
  end
227
253
 
254
+ class IncompatibleRegionForMultiAZ < ServiceError
255
+
256
+ # @param [Seahorse::Client::RequestContext] context
257
+ # @param [String] message
258
+ # @param [Aws::FSx::Types::IncompatibleRegionForMultiAZ] data
259
+ def initialize(context, message, data = Aws::EmptyStructure.new)
260
+ super(context, message, data)
261
+ end
262
+
263
+ # @return [String]
264
+ def message
265
+ @message || @data[:message]
266
+ end
267
+ end
268
+
228
269
  class InternalServerError < ServiceError
229
270
 
230
271
  # @param [Seahorse::Client::RequestContext] context
@@ -240,6 +281,21 @@ module Aws::FSx
240
281
  end
241
282
  end
242
283
 
284
+ class InvalidDestinationKmsKey < ServiceError
285
+
286
+ # @param [Seahorse::Client::RequestContext] context
287
+ # @param [String] message
288
+ # @param [Aws::FSx::Types::InvalidDestinationKmsKey] data
289
+ def initialize(context, message, data = Aws::EmptyStructure.new)
290
+ super(context, message, data)
291
+ end
292
+
293
+ # @return [String]
294
+ def message
295
+ @message || @data[:message]
296
+ end
297
+ end
298
+
243
299
  class InvalidExportPath < ServiceError
244
300
 
245
301
  # @param [Seahorse::Client::RequestContext] context
@@ -310,6 +366,36 @@ module Aws::FSx
310
366
  end
311
367
  end
312
368
 
369
+ class InvalidRegion < ServiceError
370
+
371
+ # @param [Seahorse::Client::RequestContext] context
372
+ # @param [String] message
373
+ # @param [Aws::FSx::Types::InvalidRegion] data
374
+ def initialize(context, message, data = Aws::EmptyStructure.new)
375
+ super(context, message, data)
376
+ end
377
+
378
+ # @return [String]
379
+ def message
380
+ @message || @data[:message]
381
+ end
382
+ end
383
+
384
+ class InvalidSourceKmsKey < ServiceError
385
+
386
+ # @param [Seahorse::Client::RequestContext] context
387
+ # @param [String] message
388
+ # @param [Aws::FSx::Types::InvalidSourceKmsKey] data
389
+ def initialize(context, message, data = Aws::EmptyStructure.new)
390
+ super(context, message, data)
391
+ end
392
+
393
+ # @return [String]
394
+ def message
395
+ @message || @data[:message]
396
+ end
397
+ end
398
+
313
399
  class MissingFileSystemConfiguration < ServiceError
314
400
 
315
401
  # @param [Seahorse::Client::RequestContext] context
@@ -405,6 +491,26 @@ module Aws::FSx
405
491
  end
406
492
  end
407
493
 
494
+ class SourceBackupUnavailable < ServiceError
495
+
496
+ # @param [Seahorse::Client::RequestContext] context
497
+ # @param [String] message
498
+ # @param [Aws::FSx::Types::SourceBackupUnavailable] data
499
+ def initialize(context, message, data = Aws::EmptyStructure.new)
500
+ super(context, message, data)
501
+ end
502
+
503
+ # @return [String]
504
+ def message
505
+ @message || @data[:message]
506
+ end
507
+
508
+ # @return [String]
509
+ def backup_id
510
+ @data[:backup_id]
511
+ end
512
+ end
513
+
408
514
  class UnsupportedOperation < ServiceError
409
515
 
410
516
  # @param [Seahorse::Client::RequestContext] context