aws-sdk-fsx 1.33.0 → 1.38.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
 
@@ -33,6 +33,7 @@ module Aws::FSx
33
33
  AutoImportPolicyType = Shapes::StringShape.new(name: 'AutoImportPolicyType')
34
34
  AutomaticBackupRetentionDays = Shapes::IntegerShape.new(name: 'AutomaticBackupRetentionDays')
35
35
  Backup = Shapes::StructureShape.new(name: 'Backup')
36
+ BackupBeingCopied = Shapes::StructureShape.new(name: 'BackupBeingCopied')
36
37
  BackupFailureDetails = Shapes::StructureShape.new(name: 'BackupFailureDetails')
37
38
  BackupId = Shapes::StringShape.new(name: 'BackupId')
38
39
  BackupIds = Shapes::ListShape.new(name: 'BackupIds')
@@ -47,6 +48,8 @@ module Aws::FSx
47
48
  CancelDataRepositoryTaskResponse = Shapes::StructureShape.new(name: 'CancelDataRepositoryTaskResponse')
48
49
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
49
50
  CompletionReport = Shapes::StructureShape.new(name: 'CompletionReport')
51
+ CopyBackupRequest = Shapes::StructureShape.new(name: 'CopyBackupRequest')
52
+ CopyBackupResponse = Shapes::StructureShape.new(name: 'CopyBackupResponse')
50
53
  CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
51
54
  CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
52
55
  CreateDataRepositoryTaskRequest = Shapes::StructureShape.new(name: 'CreateDataRepositoryTaskRequest')
@@ -60,6 +63,7 @@ module Aws::FSx
60
63
  CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
61
64
  DNSName = Shapes::StringShape.new(name: 'DNSName')
62
65
  DailyTime = Shapes::StringShape.new(name: 'DailyTime')
66
+ DataCompressionType = Shapes::StringShape.new(name: 'DataCompressionType')
63
67
  DataRepositoryConfiguration = Shapes::StructureShape.new(name: 'DataRepositoryConfiguration')
64
68
  DataRepositoryFailureDetails = Shapes::StructureShape.new(name: 'DataRepositoryFailureDetails')
65
69
  DataRepositoryLifecycle = Shapes::StringShape.new(name: 'DataRepositoryLifecycle')
@@ -122,12 +126,17 @@ module Aws::FSx
122
126
  FilterValues = Shapes::ListShape.new(name: 'FilterValues')
123
127
  Filters = Shapes::ListShape.new(name: 'Filters')
124
128
  Flag = Shapes::BooleanShape.new(name: 'Flag')
129
+ GeneralARN = Shapes::StringShape.new(name: 'GeneralARN')
125
130
  IncompatibleParameterError = Shapes::StructureShape.new(name: 'IncompatibleParameterError')
131
+ IncompatibleRegionForMultiAZ = Shapes::StructureShape.new(name: 'IncompatibleRegionForMultiAZ')
126
132
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
133
+ InvalidDestinationKmsKey = Shapes::StructureShape.new(name: 'InvalidDestinationKmsKey')
127
134
  InvalidExportPath = Shapes::StructureShape.new(name: 'InvalidExportPath')
128
135
  InvalidImportPath = Shapes::StructureShape.new(name: 'InvalidImportPath')
129
136
  InvalidNetworkSettings = Shapes::StructureShape.new(name: 'InvalidNetworkSettings')
130
137
  InvalidPerUnitStorageThroughput = Shapes::StructureShape.new(name: 'InvalidPerUnitStorageThroughput')
138
+ InvalidRegion = Shapes::StructureShape.new(name: 'InvalidRegion')
139
+ InvalidSourceKmsKey = Shapes::StructureShape.new(name: 'InvalidSourceKmsKey')
131
140
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
132
141
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
133
142
  LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
@@ -148,6 +157,7 @@ module Aws::FSx
148
157
  Parameter = Shapes::StringShape.new(name: 'Parameter')
149
158
  PerUnitStorageThroughput = Shapes::IntegerShape.new(name: 'PerUnitStorageThroughput')
150
159
  ProgressPercent = Shapes::IntegerShape.new(name: 'ProgressPercent')
160
+ Region = Shapes::StringShape.new(name: 'Region')
151
161
  ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
152
162
  ReportScope = Shapes::StringShape.new(name: 'ReportScope')
153
163
  RequestTime = Shapes::TimestampShape.new(name: 'RequestTime')
@@ -161,6 +171,8 @@ module Aws::FSx
161
171
  SelfManagedActiveDirectoryConfigurationUpdates = Shapes::StructureShape.new(name: 'SelfManagedActiveDirectoryConfigurationUpdates')
162
172
  ServiceLimit = Shapes::StringShape.new(name: 'ServiceLimit')
163
173
  ServiceLimitExceeded = Shapes::StructureShape.new(name: 'ServiceLimitExceeded')
174
+ SourceBackupId = Shapes::StringShape.new(name: 'SourceBackupId')
175
+ SourceBackupUnavailable = Shapes::StructureShape.new(name: 'SourceBackupUnavailable')
164
176
  StartTime = Shapes::TimestampShape.new(name: 'StartTime')
165
177
  Status = Shapes::StringShape.new(name: 'Status')
166
178
  StorageCapacity = Shapes::IntegerShape.new(name: 'StorageCapacity')
@@ -187,11 +199,15 @@ module Aws::FSx
187
199
  UpdateFileSystemWindowsConfiguration = Shapes::StructureShape.new(name: 'UpdateFileSystemWindowsConfiguration')
188
200
  VpcId = Shapes::StringShape.new(name: 'VpcId')
189
201
  WeeklyTime = Shapes::StringShape.new(name: 'WeeklyTime')
202
+ WindowsAccessAuditLogLevel = Shapes::StringShape.new(name: 'WindowsAccessAuditLogLevel')
203
+ WindowsAuditLogConfiguration = Shapes::StructureShape.new(name: 'WindowsAuditLogConfiguration')
204
+ WindowsAuditLogCreateConfiguration = Shapes::StructureShape.new(name: 'WindowsAuditLogCreateConfiguration')
190
205
  WindowsDeploymentType = Shapes::StringShape.new(name: 'WindowsDeploymentType')
191
206
  WindowsFileSystemConfiguration = Shapes::StructureShape.new(name: 'WindowsFileSystemConfiguration')
192
207
 
193
208
  ActiveDirectoryBackupAttributes.add_member(:domain_name, Shapes::ShapeRef.new(shape: ActiveDirectoryFullyQualifiedName, location_name: "DomainName"))
194
209
  ActiveDirectoryBackupAttributes.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "ActiveDirectoryId"))
210
+ ActiveDirectoryBackupAttributes.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
195
211
  ActiveDirectoryBackupAttributes.struct_class = Types::ActiveDirectoryBackupAttributes
196
212
 
197
213
  ActiveDirectoryError.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ActiveDirectoryId"))
@@ -239,8 +255,15 @@ module Aws::FSx
239
255
  Backup.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
240
256
  Backup.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, required: true, location_name: "FileSystem"))
241
257
  Backup.add_member(:directory_information, Shapes::ShapeRef.new(shape: ActiveDirectoryBackupAttributes, location_name: "DirectoryInformation"))
258
+ Backup.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
259
+ Backup.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "SourceBackupId"))
260
+ Backup.add_member(:source_backup_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceBackupRegion"))
242
261
  Backup.struct_class = Types::Backup
243
262
 
263
+ BackupBeingCopied.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
264
+ BackupBeingCopied.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
265
+ BackupBeingCopied.struct_class = Types::BackupBeingCopied
266
+
244
267
  BackupFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
245
268
  BackupFailureDetails.struct_class = Types::BackupFailureDetails
246
269
 
@@ -274,6 +297,17 @@ module Aws::FSx
274
297
  CompletionReport.add_member(:scope, Shapes::ShapeRef.new(shape: ReportScope, location_name: "Scope"))
275
298
  CompletionReport.struct_class = Types::CompletionReport
276
299
 
300
+ CopyBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
301
+ CopyBackupRequest.add_member(:source_backup_id, Shapes::ShapeRef.new(shape: SourceBackupId, required: true, location_name: "SourceBackupId"))
302
+ CopyBackupRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: Region, location_name: "SourceRegion"))
303
+ CopyBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
304
+ CopyBackupRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTags"))
305
+ CopyBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
306
+ CopyBackupRequest.struct_class = Types::CopyBackupRequest
307
+
308
+ CopyBackupResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
309
+ CopyBackupResponse.struct_class = Types::CopyBackupResponse
310
+
277
311
  CreateBackupRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
278
312
  CreateBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
279
313
  CreateBackupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -301,6 +335,7 @@ module Aws::FSx
301
335
  CreateFileSystemFromBackupRequest.add_member(:windows_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemWindowsConfiguration, location_name: "WindowsConfiguration"))
302
336
  CreateFileSystemFromBackupRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemLustreConfiguration, location_name: "LustreConfiguration"))
303
337
  CreateFileSystemFromBackupRequest.add_member(:storage_type, Shapes::ShapeRef.new(shape: StorageType, location_name: "StorageType"))
338
+ CreateFileSystemFromBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
304
339
  CreateFileSystemFromBackupRequest.struct_class = Types::CreateFileSystemFromBackupRequest
305
340
 
306
341
  CreateFileSystemFromBackupResponse.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, location_name: "FileSystem"))
@@ -317,6 +352,7 @@ module Aws::FSx
317
352
  CreateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
318
353
  CreateFileSystemLustreConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
319
354
  CreateFileSystemLustreConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
355
+ CreateFileSystemLustreConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
320
356
  CreateFileSystemLustreConfiguration.struct_class = Types::CreateFileSystemLustreConfiguration
321
357
 
322
358
  CreateFileSystemRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
@@ -344,6 +380,7 @@ module Aws::FSx
344
380
  CreateFileSystemWindowsConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
345
381
  CreateFileSystemWindowsConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
346
382
  CreateFileSystemWindowsConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: AlternateDNSNames, location_name: "Aliases"))
383
+ CreateFileSystemWindowsConfiguration.add_member(:audit_log_configuration, Shapes::ShapeRef.new(shape: WindowsAuditLogCreateConfiguration, location_name: "AuditLogConfiguration"))
347
384
  CreateFileSystemWindowsConfiguration.struct_class = Types::CreateFileSystemWindowsConfiguration
348
385
 
349
386
  DataRepositoryConfiguration.add_member(:lifecycle, Shapes::ShapeRef.new(shape: DataRepositoryLifecycle, location_name: "Lifecycle"))
@@ -531,9 +568,15 @@ module Aws::FSx
531
568
  IncompatibleParameterError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
532
569
  IncompatibleParameterError.struct_class = Types::IncompatibleParameterError
533
570
 
571
+ IncompatibleRegionForMultiAZ.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
572
+ IncompatibleRegionForMultiAZ.struct_class = Types::IncompatibleRegionForMultiAZ
573
+
534
574
  InternalServerError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
535
575
  InternalServerError.struct_class = Types::InternalServerError
536
576
 
577
+ InvalidDestinationKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
578
+ InvalidDestinationKmsKey.struct_class = Types::InvalidDestinationKmsKey
579
+
537
580
  InvalidExportPath.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
538
581
  InvalidExportPath.struct_class = Types::InvalidExportPath
539
582
 
@@ -548,6 +591,12 @@ module Aws::FSx
548
591
  InvalidPerUnitStorageThroughput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
549
592
  InvalidPerUnitStorageThroughput.struct_class = Types::InvalidPerUnitStorageThroughput
550
593
 
594
+ InvalidRegion.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
595
+ InvalidRegion.struct_class = Types::InvalidRegion
596
+
597
+ InvalidSourceKmsKey.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
598
+ InvalidSourceKmsKey.struct_class = Types::InvalidSourceKmsKey
599
+
551
600
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
552
601
  ListTagsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
553
602
  ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -566,6 +615,7 @@ module Aws::FSx
566
615
  LustreFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
567
616
  LustreFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
568
617
  LustreFileSystemConfiguration.add_member(:drive_cache_type, Shapes::ShapeRef.new(shape: DriveCacheType, location_name: "DriveCacheType"))
618
+ LustreFileSystemConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
569
619
  LustreFileSystemConfiguration.struct_class = Types::LustreFileSystemConfiguration
570
620
 
571
621
  MissingFileSystemConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -611,6 +661,10 @@ module Aws::FSx
611
661
  ServiceLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
612
662
  ServiceLimitExceeded.struct_class = Types::ServiceLimitExceeded
613
663
 
664
+ SourceBackupUnavailable.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
665
+ SourceBackupUnavailable.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
666
+ SourceBackupUnavailable.struct_class = Types::SourceBackupUnavailable
667
+
614
668
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
615
669
 
616
670
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -642,6 +696,7 @@ module Aws::FSx
642
696
  UpdateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
643
697
  UpdateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
644
698
  UpdateFileSystemLustreConfiguration.add_member(:auto_import_policy, Shapes::ShapeRef.new(shape: AutoImportPolicyType, location_name: "AutoImportPolicy"))
699
+ UpdateFileSystemLustreConfiguration.add_member(:data_compression_type, Shapes::ShapeRef.new(shape: DataCompressionType, location_name: "DataCompressionType"))
645
700
  UpdateFileSystemLustreConfiguration.struct_class = Types::UpdateFileSystemLustreConfiguration
646
701
 
647
702
  UpdateFileSystemRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
@@ -659,8 +714,19 @@ module Aws::FSx
659
714
  UpdateFileSystemWindowsConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
660
715
  UpdateFileSystemWindowsConfiguration.add_member(:throughput_capacity, Shapes::ShapeRef.new(shape: MegabytesPerSecond, location_name: "ThroughputCapacity"))
661
716
  UpdateFileSystemWindowsConfiguration.add_member(:self_managed_active_directory_configuration, Shapes::ShapeRef.new(shape: SelfManagedActiveDirectoryConfigurationUpdates, location_name: "SelfManagedActiveDirectoryConfiguration"))
717
+ UpdateFileSystemWindowsConfiguration.add_member(:audit_log_configuration, Shapes::ShapeRef.new(shape: WindowsAuditLogCreateConfiguration, location_name: "AuditLogConfiguration"))
662
718
  UpdateFileSystemWindowsConfiguration.struct_class = Types::UpdateFileSystemWindowsConfiguration
663
719
 
720
+ WindowsAuditLogConfiguration.add_member(:file_access_audit_log_level, Shapes::ShapeRef.new(shape: WindowsAccessAuditLogLevel, required: true, location_name: "FileAccessAuditLogLevel"))
721
+ WindowsAuditLogConfiguration.add_member(:file_share_access_audit_log_level, Shapes::ShapeRef.new(shape: WindowsAccessAuditLogLevel, required: true, location_name: "FileShareAccessAuditLogLevel"))
722
+ WindowsAuditLogConfiguration.add_member(:audit_log_destination, Shapes::ShapeRef.new(shape: GeneralARN, location_name: "AuditLogDestination"))
723
+ WindowsAuditLogConfiguration.struct_class = Types::WindowsAuditLogConfiguration
724
+
725
+ WindowsAuditLogCreateConfiguration.add_member(:file_access_audit_log_level, Shapes::ShapeRef.new(shape: WindowsAccessAuditLogLevel, required: true, location_name: "FileAccessAuditLogLevel"))
726
+ WindowsAuditLogCreateConfiguration.add_member(:file_share_access_audit_log_level, Shapes::ShapeRef.new(shape: WindowsAccessAuditLogLevel, required: true, location_name: "FileShareAccessAuditLogLevel"))
727
+ WindowsAuditLogCreateConfiguration.add_member(:audit_log_destination, Shapes::ShapeRef.new(shape: GeneralARN, location_name: "AuditLogDestination"))
728
+ WindowsAuditLogCreateConfiguration.struct_class = Types::WindowsAuditLogCreateConfiguration
729
+
664
730
  WindowsFileSystemConfiguration.add_member(:active_directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "ActiveDirectoryId"))
665
731
  WindowsFileSystemConfiguration.add_member(:self_managed_active_directory_configuration, Shapes::ShapeRef.new(shape: SelfManagedActiveDirectoryAttributes, location_name: "SelfManagedActiveDirectoryConfiguration"))
666
732
  WindowsFileSystemConfiguration.add_member(:deployment_type, Shapes::ShapeRef.new(shape: WindowsDeploymentType, location_name: "DeploymentType"))
@@ -674,6 +740,7 @@ module Aws::FSx
674
740
  WindowsFileSystemConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
675
741
  WindowsFileSystemConfiguration.add_member(:copy_tags_to_backups, Shapes::ShapeRef.new(shape: Flag, location_name: "CopyTagsToBackups"))
676
742
  WindowsFileSystemConfiguration.add_member(:aliases, Shapes::ShapeRef.new(shape: Aliases, location_name: "Aliases"))
743
+ WindowsFileSystemConfiguration.add_member(:audit_log_configuration, Shapes::ShapeRef.new(shape: WindowsAuditLogConfiguration, location_name: "AuditLogConfiguration"))
677
744
  WindowsFileSystemConfiguration.struct_class = Types::WindowsFileSystemConfiguration
678
745
 
679
746
 
@@ -719,6 +786,25 @@ module Aws::FSx
719
786
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
720
787
  end)
721
788
 
789
+ api.add_operation(:copy_backup, Seahorse::Model::Operation.new.tap do |o|
790
+ o.name = "CopyBackup"
791
+ o.http_method = "POST"
792
+ o.http_request_uri = "/"
793
+ o.input = Shapes::ShapeRef.new(shape: CopyBackupRequest)
794
+ o.output = Shapes::ShapeRef.new(shape: CopyBackupResponse)
795
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
796
+ o.errors << Shapes::ShapeRef.new(shape: BackupNotFound)
797
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
798
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
799
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
800
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
801
+ o.errors << Shapes::ShapeRef.new(shape: InvalidSourceKmsKey)
802
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDestinationKmsKey)
803
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRegion)
804
+ o.errors << Shapes::ShapeRef.new(shape: SourceBackupUnavailable)
805
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleRegionForMultiAZ)
806
+ end)
807
+
722
808
  api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
723
809
  o.name = "CreateBackup"
724
810
  o.http_method = "POST"
@@ -796,6 +882,7 @@ module Aws::FSx
796
882
  o.errors << Shapes::ShapeRef.new(shape: BackupRestoring)
797
883
  o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
798
884
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
885
+ o.errors << Shapes::ShapeRef.new(shape: BackupBeingCopied)
799
886
  end)
800
887
 
801
888
  api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
@@ -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
@@ -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
 
@@ -22,11 +22,24 @@ module Aws::FSx
22
22
  # which the file system is joined.
23
23
  # @return [String]
24
24
  #
25
+ # @!attribute [rw] resource_arn
26
+ # The Amazon Resource Name (ARN) for a given resource. ARNs uniquely
27
+ # identify AWS resources. We require an ARN when you need to specify a
28
+ # resource unambiguously across all of AWS. For more information, see
29
+ # [Amazon Resource Names (ARNs) and AWS Service Namespaces][1] in the
30
+ # *AWS General Reference*.
31
+ #
32
+ #
33
+ #
34
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
35
+ # @return [String]
36
+ #
25
37
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ActiveDirectoryBackupAttributes AWS API Documentation
26
38
  #
27
39
  class ActiveDirectoryBackupAttributes < Struct.new(
28
40
  :domain_name,
29
- :active_directory_id)
41
+ :active_directory_id,
42
+ :resource_arn)
30
43
  SENSITIVE = []
31
44
  include Aws::Structure
32
45
  end
@@ -191,7 +204,8 @@ module Aws::FSx
191
204
  # * Formatted as a fully-qualified domain name (FQDN),
192
205
  # `hostname.domain`, for example, `accounting.example.com`.
193
206
  #
194
- # * Can contain alphanumeric characters and the hyphen (-).
207
+ # * Can contain alphanumeric characters, the underscore (\_), and the
208
+ # hyphen (-).
195
209
  #
196
210
  # * Cannot start or end with a hyphen.
197
211
  #
@@ -308,16 +322,7 @@ module Aws::FSx
308
322
  include Aws::Structure
309
323
  end
310
324
 
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
325
+ # A backup of an Amazon FSx file system.
321
326
  #
322
327
  # @!attribute [rw] backup_id
323
328
  # The ID of the backup.
@@ -336,6 +341,8 @@ module Aws::FSx
336
341
  # * `TRANSFERRING` - For user-initiated backups on Lustre file systems
337
342
  # only; Amazon FSx is transferring the backup to S3.
338
343
  #
344
+ # * `COPYING` - Amazon FSx is copying the backup.
345
+ #
339
346
  # * `DELETED` - Amazon FSx deleted the backup and it is no longer
340
347
  # available.
341
348
  #
@@ -381,6 +388,20 @@ module Aws::FSx
381
388
  # (AD) to which the Windows File Server instance is joined.
382
389
  # @return [Types::ActiveDirectoryBackupAttributes]
383
390
  #
391
+ # @!attribute [rw] owner_id
392
+ # An AWS account ID. This ID is a 12-digit number that you use to
393
+ # construct Amazon Resource Names (ARNs) for resources.
394
+ # @return [String]
395
+ #
396
+ # @!attribute [rw] source_backup_id
397
+ # The ID of the source backup. Specifies the backup you are copying.
398
+ # @return [String]
399
+ #
400
+ # @!attribute [rw] source_backup_region
401
+ # The source Region of the backup. Specifies the Region from where
402
+ # this backup is copied.
403
+ # @return [String]
404
+ #
384
405
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/Backup AWS API Documentation
385
406
  #
386
407
  class Backup < Struct.new(
@@ -394,7 +415,29 @@ module Aws::FSx
394
415
  :resource_arn,
395
416
  :tags,
396
417
  :file_system,
397
- :directory_information)
418
+ :directory_information,
419
+ :owner_id,
420
+ :source_backup_id,
421
+ :source_backup_region)
422
+ SENSITIVE = []
423
+ include Aws::Structure
424
+ end
425
+
426
+ # You can't delete a backup while it's being copied.
427
+ #
428
+ # @!attribute [rw] message
429
+ # A detailed error message.
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] backup_id
433
+ # The ID of the source backup. Specifies the backup you are copying.
434
+ # @return [String]
435
+ #
436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/BackupBeingCopied AWS API Documentation
437
+ #
438
+ class BackupBeingCopied < Struct.new(
439
+ :message,
440
+ :backup_id)
398
441
  SENSITIVE = []
399
442
  include Aws::Structure
400
443
  end
@@ -593,6 +636,102 @@ module Aws::FSx
593
636
  include Aws::Structure
594
637
  end
595
638
 
639
+ # @note When making an API call, you may pass CopyBackupRequest
640
+ # data as a hash:
641
+ #
642
+ # {
643
+ # client_request_token: "ClientRequestToken",
644
+ # source_backup_id: "SourceBackupId", # required
645
+ # source_region: "Region",
646
+ # kms_key_id: "KmsKeyId",
647
+ # copy_tags: false,
648
+ # tags: [
649
+ # {
650
+ # key: "TagKey", # required
651
+ # value: "TagValue", # required
652
+ # },
653
+ # ],
654
+ # }
655
+ #
656
+ # @!attribute [rw] client_request_token
657
+ # (Optional) An idempotency token for resource creation, in a string
658
+ # of up to 64 ASCII characters. This token is automatically filled on
659
+ # your behalf when you use the AWS Command Line Interface (AWS CLI) or
660
+ # an AWS SDK.
661
+ #
662
+ # **A suitable default value is auto-generated.** You should normally
663
+ # not need to pass this option.
664
+ # @return [String]
665
+ #
666
+ # @!attribute [rw] source_backup_id
667
+ # The ID of the source backup. Specifies the ID of the backup that is
668
+ # being copied.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] source_region
672
+ # The source AWS Region of the backup. Specifies the AWS Region from
673
+ # which the backup is being copied. The source and destination Regions
674
+ # must be in the same AWS partition. If you don't specify a Region,
675
+ # it defaults to the Region where the request is sent from (in-Region
676
+ # copy).
677
+ # @return [String]
678
+ #
679
+ # @!attribute [rw] kms_key_id
680
+ # The ID of the AWS Key Management Service (AWS KMS) key used to
681
+ # encrypt the file system's data for Amazon FSx for Windows File
682
+ # Server file systems and Amazon FSx for Lustre `PERSISTENT_1` file
683
+ # systems at rest. In either case, if not specified, the Amazon FSx
684
+ # managed key is used. The Amazon FSx for Lustre `SCRATCH_1` and
685
+ # `SCRATCH_2` file systems are always encrypted at rest using Amazon
686
+ # FSx managed keys. For more information, see [Encrypt][1] in the *AWS
687
+ # Key Management Service API Reference*.
688
+ #
689
+ #
690
+ #
691
+ # [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
692
+ # @return [String]
693
+ #
694
+ # @!attribute [rw] copy_tags
695
+ # A boolean flag indicating whether tags from the source backup should
696
+ # be copied to the backup copy. This value defaults to false.
697
+ #
698
+ # If you set `CopyTags` to true and the source backup has existing
699
+ # tags, you can use the `Tags` parameter to create new tags, provided
700
+ # that the sum of the source backup tags and the new tags doesn't
701
+ # exceed 50. Both sets of tags are merged. If there are tag conflicts
702
+ # (for example, two tags with the same key but different values), the
703
+ # tags created with the `Tags` parameter take precedence.
704
+ # @return [Boolean]
705
+ #
706
+ # @!attribute [rw] tags
707
+ # A list of `Tag` values, with a maximum of 50 elements.
708
+ # @return [Array<Types::Tag>]
709
+ #
710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackupRequest AWS API Documentation
711
+ #
712
+ class CopyBackupRequest < Struct.new(
713
+ :client_request_token,
714
+ :source_backup_id,
715
+ :source_region,
716
+ :kms_key_id,
717
+ :copy_tags,
718
+ :tags)
719
+ SENSITIVE = []
720
+ include Aws::Structure
721
+ end
722
+
723
+ # @!attribute [rw] backup
724
+ # A backup of an Amazon FSx file system.
725
+ # @return [Types::Backup]
726
+ #
727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackupResponse AWS API Documentation
728
+ #
729
+ class CopyBackupResponse < Struct.new(
730
+ :backup)
731
+ SENSITIVE = []
732
+ include Aws::Structure
733
+ end
734
+
596
735
  # The request object for the `CreateBackup` operation.
597
736
  #
598
737
  # @note When making an API call, you may pass CreateBackupRequest
@@ -780,6 +919,11 @@ module Aws::FSx
780
919
  # automatic_backup_retention_days: 1,
781
920
  # copy_tags_to_backups: false,
782
921
  # aliases: ["AlternateDNSName"],
922
+ # audit_log_configuration: {
923
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
924
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
925
+ # audit_log_destination: "GeneralARN",
926
+ # },
783
927
  # },
784
928
  # lustre_configuration: {
785
929
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -793,13 +937,14 @@ module Aws::FSx
793
937
  # automatic_backup_retention_days: 1,
794
938
  # copy_tags_to_backups: false,
795
939
  # drive_cache_type: "NONE", # accepts NONE, READ
940
+ # data_compression_type: "NONE", # accepts NONE, LZ4
796
941
  # },
797
942
  # storage_type: "SSD", # accepts SSD, HDD
943
+ # kms_key_id: "KmsKeyId",
798
944
  # }
799
945
  #
800
946
  # @!attribute [rw] backup_id
801
- # The ID of the backup. Specifies the backup to use if you're
802
- # creating a file system from an existing backup.
947
+ # The ID of the source backup. Specifies the backup you are copying.
803
948
  # @return [String]
804
949
  #
805
950
  # @!attribute [rw] client_request_token
@@ -869,6 +1014,21 @@ module Aws::FSx
869
1014
  # </note>
870
1015
  # @return [String]
871
1016
  #
1017
+ # @!attribute [rw] kms_key_id
1018
+ # The ID of the AWS Key Management Service (AWS KMS) key used to
1019
+ # encrypt the file system's data for Amazon FSx for Windows File
1020
+ # Server file systems and Amazon FSx for Lustre `PERSISTENT_1` file
1021
+ # systems at rest. In either case, if not specified, the Amazon FSx
1022
+ # managed key is used. The Amazon FSx for Lustre `SCRATCH_1` and
1023
+ # `SCRATCH_2` file systems are always encrypted at rest using Amazon
1024
+ # FSx managed keys. For more information, see [Encrypt][1] in the *AWS
1025
+ # Key Management Service API Reference*.
1026
+ #
1027
+ #
1028
+ #
1029
+ # [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
1030
+ # @return [String]
1031
+ #
872
1032
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackupRequest AWS API Documentation
873
1033
  #
874
1034
  class CreateFileSystemFromBackupRequest < Struct.new(
@@ -879,7 +1039,8 @@ module Aws::FSx
879
1039
  :tags,
880
1040
  :windows_configuration,
881
1041
  :lustre_configuration,
882
- :storage_type)
1042
+ :storage_type,
1043
+ :kms_key_id)
883
1044
  SENSITIVE = []
884
1045
  include Aws::Structure
885
1046
  end
@@ -915,6 +1076,7 @@ module Aws::FSx
915
1076
  # automatic_backup_retention_days: 1,
916
1077
  # copy_tags_to_backups: false,
917
1078
  # drive_cache_type: "NONE", # accepts NONE, READ
1079
+ # data_compression_type: "NONE", # accepts NONE, LZ4
918
1080
  # }
919
1081
  #
920
1082
  # @!attribute [rw] weekly_maintenance_start_time
@@ -1078,6 +1240,22 @@ module Aws::FSx
1078
1240
  # This parameter is required when `StorageType` is set to HDD.
1079
1241
  # @return [String]
1080
1242
  #
1243
+ # @!attribute [rw] data_compression_type
1244
+ # Sets the data compression configuration for the file system.
1245
+ # `DataCompressionType` can have the following values:
1246
+ #
1247
+ # * `NONE` - (Default) Data compression is turned off when the file
1248
+ # system is created.
1249
+ #
1250
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
1251
+ #
1252
+ # For more information, see [Lustre data compression][1].
1253
+ #
1254
+ #
1255
+ #
1256
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
1257
+ # @return [String]
1258
+ #
1081
1259
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemLustreConfiguration AWS API Documentation
1082
1260
  #
1083
1261
  class CreateFileSystemLustreConfiguration < Struct.new(
@@ -1091,7 +1269,8 @@ module Aws::FSx
1091
1269
  :daily_automatic_backup_start_time,
1092
1270
  :automatic_backup_retention_days,
1093
1271
  :copy_tags_to_backups,
1094
- :drive_cache_type)
1272
+ :drive_cache_type,
1273
+ :data_compression_type)
1095
1274
  SENSITIVE = []
1096
1275
  include Aws::Structure
1097
1276
  end
@@ -1133,6 +1312,11 @@ module Aws::FSx
1133
1312
  # automatic_backup_retention_days: 1,
1134
1313
  # copy_tags_to_backups: false,
1135
1314
  # aliases: ["AlternateDNSName"],
1315
+ # audit_log_configuration: {
1316
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
1317
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
1318
+ # audit_log_destination: "GeneralARN",
1319
+ # },
1136
1320
  # },
1137
1321
  # lustre_configuration: {
1138
1322
  # weekly_maintenance_start_time: "WeeklyTime",
@@ -1146,6 +1330,7 @@ module Aws::FSx
1146
1330
  # automatic_backup_retention_days: 1,
1147
1331
  # copy_tags_to_backups: false,
1148
1332
  # drive_cache_type: "NONE", # accepts NONE, READ
1333
+ # data_compression_type: "NONE", # accepts NONE, LZ4
1149
1334
  # },
1150
1335
  # }
1151
1336
  #
@@ -1215,11 +1400,17 @@ module Aws::FSx
1215
1400
  # types, provide exactly two subnet IDs, one for the preferred file
1216
1401
  # server and one for the standby file server. You specify one of these
1217
1402
  # subnets as the preferred subnet using the `WindowsConfiguration >
1218
- # PreferredSubnetID` property.
1403
+ # PreferredSubnetID` property. For more information, see [
1404
+ # Availability and durability: Single-AZ and Multi-AZ file
1405
+ # systems][1].
1219
1406
  #
1220
1407
  # For Windows `SINGLE_AZ_1` and `SINGLE_AZ_2` file system deployment
1221
1408
  # types and Lustre file systems, provide exactly one subnet ID. The
1222
1409
  # file server is launched in that subnet's Availability Zone.
1410
+ #
1411
+ #
1412
+ #
1413
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html
1223
1414
  # @return [Array<String>]
1224
1415
  #
1225
1416
  # @!attribute [rw] security_group_ids
@@ -1312,6 +1503,11 @@ module Aws::FSx
1312
1503
  # automatic_backup_retention_days: 1,
1313
1504
  # copy_tags_to_backups: false,
1314
1505
  # aliases: ["AlternateDNSName"],
1506
+ # audit_log_configuration: {
1507
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
1508
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
1509
+ # audit_log_destination: "GeneralARN",
1510
+ # },
1315
1511
  # }
1316
1512
  #
1317
1513
  # @!attribute [rw] active_directory_id
@@ -1322,7 +1518,13 @@ module Aws::FSx
1322
1518
  # @!attribute [rw] self_managed_active_directory_configuration
1323
1519
  # The configuration that Amazon FSx uses to join the Windows File
1324
1520
  # Server instance to your self-managed (including on-premises)
1325
- # Microsoft Active Directory (AD) directory.
1521
+ # Microsoft Active Directory (AD) directory. For more information, see
1522
+ # [ Using Amazon FSx with your self-managed Microsoft Active
1523
+ # Directory][1].
1524
+ #
1525
+ #
1526
+ #
1527
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html
1326
1528
  # @return [Types::SelfManagedActiveDirectoryConfiguration]
1327
1529
  #
1328
1530
  # @!attribute [rw] deployment_type
@@ -1415,7 +1617,8 @@ module Aws::FSx
1415
1617
  # * Formatted as a fully-qualified domain name (FQDN),
1416
1618
  # `hostname.domain`, for example, `accounting.example.com`.
1417
1619
  #
1418
- # * Can contain alphanumeric characters and the hyphen (-).
1620
+ # * Can contain alphanumeric characters, the underscore (\_), and the
1621
+ # hyphen (-).
1419
1622
  #
1420
1623
  # * Cannot start or end with a hyphen.
1421
1624
  #
@@ -1432,6 +1635,12 @@ module Aws::FSx
1432
1635
  # [2]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/walkthrough05-file-system-custom-CNAME.html
1433
1636
  # @return [Array<String>]
1434
1637
  #
1638
+ # @!attribute [rw] audit_log_configuration
1639
+ # The configuration that Amazon FSx for Windows File Server uses to
1640
+ # audit and log user accesses of files, folders, and file shares on
1641
+ # the Amazon FSx for Windows File Server file system.
1642
+ # @return [Types::WindowsAuditLogCreateConfiguration]
1643
+ #
1435
1644
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemWindowsConfiguration AWS API Documentation
1436
1645
  #
1437
1646
  class CreateFileSystemWindowsConfiguration < Struct.new(
@@ -1444,7 +1653,8 @@ module Aws::FSx
1444
1653
  :daily_automatic_backup_start_time,
1445
1654
  :automatic_backup_retention_days,
1446
1655
  :copy_tags_to_backups,
1447
- :aliases)
1656
+ :aliases,
1657
+ :audit_log_configuration)
1448
1658
  SENSITIVE = []
1449
1659
  include Aws::Structure
1450
1660
  end
@@ -2142,7 +2352,7 @@ module Aws::FSx
2142
2352
  # Response object for `DescribeBackups` operation.
2143
2353
  #
2144
2354
  # @!attribute [rw] backups
2145
- # Any array of backups.
2355
+ # An array of backups.
2146
2356
  # @return [Array<Types::Backup>]
2147
2357
  #
2148
2358
  # @!attribute [rw] next_token
@@ -2672,6 +2882,21 @@ module Aws::FSx
2672
2882
  include Aws::Structure
2673
2883
  end
2674
2884
 
2885
+ # Amazon FSx doesn't support Multi-AZ Windows File Server copy backup
2886
+ # in the destination Region, so the copied backup can't be restored.
2887
+ #
2888
+ # @!attribute [rw] message
2889
+ # A detailed error message.
2890
+ # @return [String]
2891
+ #
2892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/IncompatibleRegionForMultiAZ AWS API Documentation
2893
+ #
2894
+ class IncompatibleRegionForMultiAZ < Struct.new(
2895
+ :message)
2896
+ SENSITIVE = []
2897
+ include Aws::Structure
2898
+ end
2899
+
2675
2900
  # A generic error indicating a server-side failure.
2676
2901
  #
2677
2902
  # @!attribute [rw] message
@@ -2686,6 +2911,21 @@ module Aws::FSx
2686
2911
  include Aws::Structure
2687
2912
  end
2688
2913
 
2914
+ # The AWS Key Management Service (AWS KMS) key of the destination backup
2915
+ # is invalid.
2916
+ #
2917
+ # @!attribute [rw] message
2918
+ # A detailed error message.
2919
+ # @return [String]
2920
+ #
2921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidDestinationKmsKey AWS API Documentation
2922
+ #
2923
+ class InvalidDestinationKmsKey < Struct.new(
2924
+ :message)
2925
+ SENSITIVE = []
2926
+ include Aws::Structure
2927
+ end
2928
+
2689
2929
  # The path provided for data repository export isn't valid.
2690
2930
  #
2691
2931
  # @!attribute [rw] message
@@ -2772,6 +3012,36 @@ module Aws::FSx
2772
3012
  include Aws::Structure
2773
3013
  end
2774
3014
 
3015
+ # The Region provided for `Source Region` is invalid or is in a
3016
+ # different AWS partition.
3017
+ #
3018
+ # @!attribute [rw] message
3019
+ # A detailed error message.
3020
+ # @return [String]
3021
+ #
3022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidRegion AWS API Documentation
3023
+ #
3024
+ class InvalidRegion < Struct.new(
3025
+ :message)
3026
+ SENSITIVE = []
3027
+ include Aws::Structure
3028
+ end
3029
+
3030
+ # The AWS Key Management Service (AWS KMS) key of the source backup is
3031
+ # invalid.
3032
+ #
3033
+ # @!attribute [rw] message
3034
+ # A detailed error message.
3035
+ # @return [String]
3036
+ #
3037
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/InvalidSourceKmsKey AWS API Documentation
3038
+ #
3039
+ class InvalidSourceKmsKey < Struct.new(
3040
+ :message)
3041
+ SENSITIVE = []
3042
+ include Aws::Structure
3043
+ end
3044
+
2775
3045
  # The request object for `ListTagsForResource` operation.
2776
3046
  #
2777
3047
  # @note When making an API call, you may pass ListTagsForResourceRequest
@@ -2917,6 +3187,21 @@ module Aws::FSx
2917
3187
  # This parameter is required when `StorageType` is set to HDD.
2918
3188
  # @return [String]
2919
3189
  #
3190
+ # @!attribute [rw] data_compression_type
3191
+ # The data compression configuration for the file system.
3192
+ # `DataCompressionType` can have the following values:
3193
+ #
3194
+ # * `NONE` - Data compression is turned off for the file system.
3195
+ #
3196
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
3197
+ #
3198
+ # For more information, see [Lustre data compression][1].
3199
+ #
3200
+ #
3201
+ #
3202
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
3203
+ # @return [String]
3204
+ #
2920
3205
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/LustreFileSystemConfiguration AWS API Documentation
2921
3206
  #
2922
3207
  class LustreFileSystemConfiguration < Struct.new(
@@ -2928,7 +3213,8 @@ module Aws::FSx
2928
3213
  :daily_automatic_backup_start_time,
2929
3214
  :automatic_backup_retention_days,
2930
3215
  :copy_tags_to_backups,
2931
- :drive_cache_type)
3216
+ :drive_cache_type,
3217
+ :data_compression_type)
2932
3218
  SENSITIVE = []
2933
3219
  include Aws::Structure
2934
3220
  end
@@ -3050,7 +3336,12 @@ module Aws::FSx
3050
3336
 
3051
3337
  # The configuration that Amazon FSx uses to join the Windows File Server
3052
3338
  # instance to your self-managed (including on-premises) Microsoft Active
3053
- # Directory (AD) directory.
3339
+ # Directory (AD) directory. For more information, see [ Using Amazon FSx
3340
+ # with your self-managed Microsoft Active Directory][1].
3341
+ #
3342
+ #
3343
+ #
3344
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/self-managed-AD.html
3054
3345
  #
3055
3346
  # @note When making an API call, you may pass SelfManagedActiveDirectoryConfiguration
3056
3347
  # data as a hash:
@@ -3112,20 +3403,7 @@ module Aws::FSx
3112
3403
  #
3113
3404
  # @!attribute [rw] dns_ips
3114
3405
  # A list of up to two IP addresses of DNS servers or domain
3115
- # controllers in the self-managed AD directory. The IP addresses need
3116
- # to be either in the same VPC CIDR range as the one in which your
3117
- # Amazon FSx file system is being created, or in the private IP
3118
- # version 4 (IPv4) address ranges, as specified in [RFC 1918][1]\:
3119
- #
3120
- # * 10\.0.0.0 - 10.255.255.255 (10/8 prefix)
3121
- #
3122
- # * 172\.16.0.0 - 172.31.255.255 (172.16/12 prefix)
3123
- #
3124
- # * 192\.168.0.0 - 192.168.255.255 (192.168/16 prefix)
3125
- #
3126
- #
3127
- #
3128
- # [1]: http://www.faqs.org/rfcs/rfc1918.html
3406
+ # controllers in the self-managed AD directory.
3129
3407
  # @return [Array<String>]
3130
3408
  #
3131
3409
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/SelfManagedActiveDirectoryConfiguration AWS API Documentation
@@ -3201,6 +3479,26 @@ module Aws::FSx
3201
3479
  include Aws::Structure
3202
3480
  end
3203
3481
 
3482
+ # The request was rejected because the lifecycle status of the source
3483
+ # backup is not `AVAILABLE`.
3484
+ #
3485
+ # @!attribute [rw] message
3486
+ # A detailed error message.
3487
+ # @return [String]
3488
+ #
3489
+ # @!attribute [rw] backup_id
3490
+ # The ID of the source backup. Specifies the backup you are copying.
3491
+ # @return [String]
3492
+ #
3493
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/SourceBackupUnavailable AWS API Documentation
3494
+ #
3495
+ class SourceBackupUnavailable < Struct.new(
3496
+ :message,
3497
+ :backup_id)
3498
+ SENSITIVE = []
3499
+ include Aws::Structure
3500
+ end
3501
+
3204
3502
  # Specifies a key-value pair for a resource tag.
3205
3503
  #
3206
3504
  # @note When making an API call, you may pass Tag
@@ -3332,6 +3630,7 @@ module Aws::FSx
3332
3630
  # daily_automatic_backup_start_time: "DailyTime",
3333
3631
  # automatic_backup_retention_days: 1,
3334
3632
  # auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
3633
+ # data_compression_type: "NONE", # accepts NONE, LZ4
3335
3634
  # }
3336
3635
  #
3337
3636
  # @!attribute [rw] weekly_maintenance_start_time
@@ -3381,13 +3680,32 @@ module Aws::FSx
3381
3680
  # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html
3382
3681
  # @return [String]
3383
3682
  #
3683
+ # @!attribute [rw] data_compression_type
3684
+ # Sets the data compression configuration for the file system.
3685
+ # `DataCompressionType` can have the following values:
3686
+ #
3687
+ # * `NONE` - Data compression is turned off for the file system.
3688
+ #
3689
+ # * `LZ4` - Data compression is turned on with the LZ4 algorithm.
3690
+ #
3691
+ # If you don't use `DataCompressionType`, the file system retains its
3692
+ # current data compression configuration.
3693
+ #
3694
+ # For more information, see [Lustre data compression][1].
3695
+ #
3696
+ #
3697
+ #
3698
+ # [1]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/data-compression.html
3699
+ # @return [String]
3700
+ #
3384
3701
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystemLustreConfiguration AWS API Documentation
3385
3702
  #
3386
3703
  class UpdateFileSystemLustreConfiguration < Struct.new(
3387
3704
  :weekly_maintenance_start_time,
3388
3705
  :daily_automatic_backup_start_time,
3389
3706
  :automatic_backup_retention_days,
3390
- :auto_import_policy)
3707
+ :auto_import_policy,
3708
+ :data_compression_type)
3391
3709
  SENSITIVE = []
3392
3710
  include Aws::Structure
3393
3711
  end
@@ -3411,12 +3729,18 @@ module Aws::FSx
3411
3729
  # password: "DirectoryPassword",
3412
3730
  # dns_ips: ["IpAddress"],
3413
3731
  # },
3732
+ # audit_log_configuration: {
3733
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3734
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3735
+ # audit_log_destination: "GeneralARN",
3736
+ # },
3414
3737
  # },
3415
3738
  # lustre_configuration: {
3416
3739
  # weekly_maintenance_start_time: "WeeklyTime",
3417
3740
  # daily_automatic_backup_start_time: "DailyTime",
3418
3741
  # automatic_backup_retention_days: 1,
3419
3742
  # auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
3743
+ # data_compression_type: "NONE", # accepts NONE, LZ4
3420
3744
  # },
3421
3745
  # }
3422
3746
  #
@@ -3525,6 +3849,11 @@ module Aws::FSx
3525
3849
  # password: "DirectoryPassword",
3526
3850
  # dns_ips: ["IpAddress"],
3527
3851
  # },
3852
+ # audit_log_configuration: {
3853
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3854
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3855
+ # audit_log_destination: "GeneralARN",
3856
+ # },
3528
3857
  # }
3529
3858
  #
3530
3859
  # @!attribute [rw] weekly_maintenance_start_time
@@ -3569,6 +3898,12 @@ module Aws::FSx
3569
3898
  # self-managed Microsoft AD update request in progress.
3570
3899
  # @return [Types::SelfManagedActiveDirectoryConfigurationUpdates]
3571
3900
  #
3901
+ # @!attribute [rw] audit_log_configuration
3902
+ # The configuration that Amazon FSx for Windows File Server uses to
3903
+ # audit and log user accesses of files, folders, and file shares on
3904
+ # the Amazon FSx for Windows File Server file system..
3905
+ # @return [Types::WindowsAuditLogCreateConfiguration]
3906
+ #
3572
3907
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystemWindowsConfiguration AWS API Documentation
3573
3908
  #
3574
3909
  class UpdateFileSystemWindowsConfiguration < Struct.new(
@@ -3576,7 +3911,156 @@ module Aws::FSx
3576
3911
  :daily_automatic_backup_start_time,
3577
3912
  :automatic_backup_retention_days,
3578
3913
  :throughput_capacity,
3579
- :self_managed_active_directory_configuration)
3914
+ :self_managed_active_directory_configuration,
3915
+ :audit_log_configuration)
3916
+ SENSITIVE = []
3917
+ include Aws::Structure
3918
+ end
3919
+
3920
+ # The configuration that Amazon FSx for Windows File Server uses to
3921
+ # audit and log user accesses of files, folders, and file shares on the
3922
+ # Amazon FSx for Windows File Server file system. For more information,
3923
+ # see [ File access auditing][1].
3924
+ #
3925
+ #
3926
+ #
3927
+ # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/file-access-auditing.html
3928
+ #
3929
+ # @!attribute [rw] file_access_audit_log_level
3930
+ # Sets which attempt type is logged by Amazon FSx for file and folder
3931
+ # accesses.
3932
+ #
3933
+ # * `SUCCESS_ONLY` - only successful attempts to access files or
3934
+ # folders are logged.
3935
+ #
3936
+ # * `FAILURE_ONLY` - only failed attempts to access files or folders
3937
+ # are logged.
3938
+ #
3939
+ # * `SUCCESS_AND_FAILURE` - both successful attempts and failed
3940
+ # attempts to access files or folders are logged.
3941
+ #
3942
+ # * `DISABLED` - access auditing of files and folders is turned off.
3943
+ # @return [String]
3944
+ #
3945
+ # @!attribute [rw] file_share_access_audit_log_level
3946
+ # Sets which attempt type is logged by Amazon FSx for file share
3947
+ # accesses.
3948
+ #
3949
+ # * `SUCCESS_ONLY` - only successful attempts to access file shares
3950
+ # are logged.
3951
+ #
3952
+ # * `FAILURE_ONLY` - only failed attempts to access file shares are
3953
+ # logged.
3954
+ #
3955
+ # * `SUCCESS_AND_FAILURE` - both successful attempts and failed
3956
+ # attempts to access file shares are logged.
3957
+ #
3958
+ # * `DISABLED` - access auditing of file shares is turned off.
3959
+ # @return [String]
3960
+ #
3961
+ # @!attribute [rw] audit_log_destination
3962
+ # The Amazon Resource Name (ARN) for the destination of the audit
3963
+ # logs. The destination can be any Amazon CloudWatch Logs log group
3964
+ # ARN or Amazon Kinesis Data Firehose delivery stream ARN.
3965
+ #
3966
+ # The name of the Amazon CloudWatch Logs log group must begin with the
3967
+ # `/aws/fsx` prefix. The name of the Amazon Kinesis Data Firehouse
3968
+ # delivery stream must begin with the `aws-fsx` prefix.
3969
+ #
3970
+ # The destination ARN (either CloudWatch Logs log group or Kinesis
3971
+ # Data Firehose delivery stream) must be in the same AWS partition,
3972
+ # AWS region, and AWS account as your Amazon FSx file system.
3973
+ # @return [String]
3974
+ #
3975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/WindowsAuditLogConfiguration AWS API Documentation
3976
+ #
3977
+ class WindowsAuditLogConfiguration < Struct.new(
3978
+ :file_access_audit_log_level,
3979
+ :file_share_access_audit_log_level,
3980
+ :audit_log_destination)
3981
+ SENSITIVE = []
3982
+ include Aws::Structure
3983
+ end
3984
+
3985
+ # The Windows file access auditing configuration used when creating or
3986
+ # updating an Amazon FSx for Windows File Server file system.
3987
+ #
3988
+ # @note When making an API call, you may pass WindowsAuditLogCreateConfiguration
3989
+ # data as a hash:
3990
+ #
3991
+ # {
3992
+ # file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3993
+ # file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
3994
+ # audit_log_destination: "GeneralARN",
3995
+ # }
3996
+ #
3997
+ # @!attribute [rw] file_access_audit_log_level
3998
+ # Sets which attempt type is logged by Amazon FSx for file and folder
3999
+ # accesses.
4000
+ #
4001
+ # * `SUCCESS_ONLY` - only successful attempts to access files or
4002
+ # folders are logged.
4003
+ #
4004
+ # * `FAILURE_ONLY` - only failed attempts to access files or folders
4005
+ # are logged.
4006
+ #
4007
+ # * `SUCCESS_AND_FAILURE` - both successful attempts and failed
4008
+ # attempts to access files or folders are logged.
4009
+ #
4010
+ # * `DISABLED` - access auditing of files and folders is turned off.
4011
+ # @return [String]
4012
+ #
4013
+ # @!attribute [rw] file_share_access_audit_log_level
4014
+ # Sets which attempt type is logged by Amazon FSx for file share
4015
+ # accesses.
4016
+ #
4017
+ # * `SUCCESS_ONLY` - only successful attempts to access file shares
4018
+ # are logged.
4019
+ #
4020
+ # * `FAILURE_ONLY` - only failed attempts to access file shares are
4021
+ # logged.
4022
+ #
4023
+ # * `SUCCESS_AND_FAILURE` - both successful attempts and failed
4024
+ # attempts to access file shares are logged.
4025
+ #
4026
+ # * `DISABLED` - access auditing of file shares is turned off.
4027
+ # @return [String]
4028
+ #
4029
+ # @!attribute [rw] audit_log_destination
4030
+ # The Amazon Resource Name (ARN) that specifies the destination of the
4031
+ # audit logs.
4032
+ #
4033
+ # The destination can be any Amazon CloudWatch Logs log group ARN or
4034
+ # Amazon Kinesis Data Firehose delivery stream ARN, with the following
4035
+ # requirements:
4036
+ #
4037
+ # * The destination ARN that you provide (either CloudWatch Logs log
4038
+ # group or Kinesis Data Firehose delivery stream) must be in the
4039
+ # same AWS partition, AWS region, and AWS account as your Amazon FSx
4040
+ # file system.
4041
+ #
4042
+ # * The name of the Amazon CloudWatch Logs log group must begin with
4043
+ # the `/aws/fsx` prefix. The name of the Amazon Kinesis Data
4044
+ # Firehouse delivery stream must begin with the `aws-fsx` prefix.
4045
+ #
4046
+ # * If you do not provide a destination in `AuditLogDestination`,
4047
+ # Amazon FSx will create and use a log stream in the CloudWatch Logs
4048
+ # `/aws/fsx/windows` log group.
4049
+ #
4050
+ # * If `AuditLogDestination` is provided and the resource does not
4051
+ # exist, the request will fail with a `BadRequest` error.
4052
+ #
4053
+ # * If `FileAccessAuditLogLevel` and `FileShareAccessAuditLogLevel`
4054
+ # are both set to `DISABLED`, you cannot specify a destination in
4055
+ # `AuditLogDestination`.
4056
+ # @return [String]
4057
+ #
4058
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/WindowsAuditLogCreateConfiguration AWS API Documentation
4059
+ #
4060
+ class WindowsAuditLogCreateConfiguration < Struct.new(
4061
+ :file_access_audit_log_level,
4062
+ :file_share_access_audit_log_level,
4063
+ :audit_log_destination)
3580
4064
  SENSITIVE = []
3581
4065
  include Aws::Structure
3582
4066
  end
@@ -3584,8 +4068,8 @@ module Aws::FSx
3584
4068
  # The configuration for this Microsoft Windows file system.
3585
4069
  #
3586
4070
  # @!attribute [rw] active_directory_id
3587
- # The ID for an existing Microsoft Active Directory instance that the
3588
- # file system should join when it's created.
4071
+ # The ID for an existing AWS Managed Microsoft Active Directory
4072
+ # instance that the file system is joined to.
3589
4073
  # @return [String]
3590
4074
  #
3591
4075
  # @!attribute [rw] self_managed_active_directory_configuration
@@ -3637,8 +4121,8 @@ module Aws::FSx
3637
4121
  #
3638
4122
  # For `SINGLE_AZ_1` and `SINGLE_AZ_2` deployment types, this value is
3639
4123
  # the same as that for `SubnetIDs`. For more information, see
3640
- # [Availability and Durability: Single-AZ and Multi-AZ File
3641
- # Systems][1]
4124
+ # [Availability and durability: Single-AZ and Multi-AZ file
4125
+ # systems][1].
3642
4126
  #
3643
4127
  #
3644
4128
  #
@@ -3664,7 +4148,7 @@ module Aws::FSx
3664
4148
  # @return [String]
3665
4149
  #
3666
4150
  # @!attribute [rw] throughput_capacity
3667
- # The throughput of an Amazon FSx file system, measured in megabytes
4151
+ # The throughput of the Amazon FSx file system, measured in megabytes
3668
4152
  # per second.
3669
4153
  # @return [Integer]
3670
4154
  #
@@ -3717,6 +4201,12 @@ module Aws::FSx
3717
4201
  # [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html
3718
4202
  # @return [Array<Types::Alias>]
3719
4203
  #
4204
+ # @!attribute [rw] audit_log_configuration
4205
+ # The configuration that Amazon FSx for Windows File Server uses to
4206
+ # audit and log user accesses of files, folders, and file shares on
4207
+ # the Amazon FSx for Windows File Server file system.
4208
+ # @return [Types::WindowsAuditLogConfiguration]
4209
+ #
3720
4210
  # @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/WindowsFileSystemConfiguration AWS API Documentation
3721
4211
  #
3722
4212
  class WindowsFileSystemConfiguration < Struct.new(
@@ -3732,7 +4222,8 @@ module Aws::FSx
3732
4222
  :daily_automatic_backup_start_time,
3733
4223
  :automatic_backup_retention_days,
3734
4224
  :copy_tags_to_backups,
3735
- :aliases)
4225
+ :aliases,
4226
+ :audit_log_configuration)
3736
4227
  SENSITIVE = []
3737
4228
  include Aws::Structure
3738
4229
  end