aws-sdk-fsx 1.59.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,17 +50,23 @@ module Aws::FSx
50
50
  BatchImportMetaDataOnCreate = Shapes::BooleanShape.new(name: 'BatchImportMetaDataOnCreate')
51
51
  CancelDataRepositoryTaskRequest = Shapes::StructureShape.new(name: 'CancelDataRepositoryTaskRequest')
52
52
  CancelDataRepositoryTaskResponse = Shapes::StructureShape.new(name: 'CancelDataRepositoryTaskResponse')
53
+ CapacityToRelease = Shapes::IntegerShape.new(name: 'CapacityToRelease')
53
54
  ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken')
54
55
  CompletionReport = Shapes::StructureShape.new(name: 'CompletionReport')
55
56
  CoolingPeriod = Shapes::IntegerShape.new(name: 'CoolingPeriod')
56
57
  CopyBackupRequest = Shapes::StructureShape.new(name: 'CopyBackupRequest')
57
58
  CopyBackupResponse = Shapes::StructureShape.new(name: 'CopyBackupResponse')
59
+ CopyTagsToDataRepositoryAssociations = Shapes::BooleanShape.new(name: 'CopyTagsToDataRepositoryAssociations')
58
60
  CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
59
61
  CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
60
62
  CreateDataRepositoryAssociationRequest = Shapes::StructureShape.new(name: 'CreateDataRepositoryAssociationRequest')
61
63
  CreateDataRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'CreateDataRepositoryAssociationResponse')
62
64
  CreateDataRepositoryTaskRequest = Shapes::StructureShape.new(name: 'CreateDataRepositoryTaskRequest')
63
65
  CreateDataRepositoryTaskResponse = Shapes::StructureShape.new(name: 'CreateDataRepositoryTaskResponse')
66
+ CreateFileCacheDataRepositoryAssociations = Shapes::ListShape.new(name: 'CreateFileCacheDataRepositoryAssociations')
67
+ CreateFileCacheLustreConfiguration = Shapes::StructureShape.new(name: 'CreateFileCacheLustreConfiguration')
68
+ CreateFileCacheRequest = Shapes::StructureShape.new(name: 'CreateFileCacheRequest')
69
+ CreateFileCacheResponse = Shapes::StructureShape.new(name: 'CreateFileCacheResponse')
64
70
  CreateFileSystemFromBackupRequest = Shapes::StructureShape.new(name: 'CreateFileSystemFromBackupRequest')
65
71
  CreateFileSystemFromBackupResponse = Shapes::StructureShape.new(name: 'CreateFileSystemFromBackupResponse')
66
72
  CreateFileSystemLustreConfiguration = Shapes::StructureShape.new(name: 'CreateFileSystemLustreConfiguration')
@@ -114,6 +120,8 @@ module Aws::FSx
114
120
  DeleteDataInFileSystem = Shapes::BooleanShape.new(name: 'DeleteDataInFileSystem')
115
121
  DeleteDataRepositoryAssociationRequest = Shapes::StructureShape.new(name: 'DeleteDataRepositoryAssociationRequest')
116
122
  DeleteDataRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'DeleteDataRepositoryAssociationResponse')
123
+ DeleteFileCacheRequest = Shapes::StructureShape.new(name: 'DeleteFileCacheRequest')
124
+ DeleteFileCacheResponse = Shapes::StructureShape.new(name: 'DeleteFileCacheResponse')
117
125
  DeleteFileSystemLustreConfiguration = Shapes::StructureShape.new(name: 'DeleteFileSystemLustreConfiguration')
118
126
  DeleteFileSystemLustreResponse = Shapes::StructureShape.new(name: 'DeleteFileSystemLustreResponse')
119
127
  DeleteFileSystemOpenZFSConfiguration = Shapes::StructureShape.new(name: 'DeleteFileSystemOpenZFSConfiguration')
@@ -141,6 +149,8 @@ module Aws::FSx
141
149
  DescribeDataRepositoryAssociationsResponse = Shapes::StructureShape.new(name: 'DescribeDataRepositoryAssociationsResponse')
142
150
  DescribeDataRepositoryTasksRequest = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksRequest')
143
151
  DescribeDataRepositoryTasksResponse = Shapes::StructureShape.new(name: 'DescribeDataRepositoryTasksResponse')
152
+ DescribeFileCachesRequest = Shapes::StructureShape.new(name: 'DescribeFileCachesRequest')
153
+ DescribeFileCachesResponse = Shapes::StructureShape.new(name: 'DescribeFileCachesResponse')
144
154
  DescribeFileSystemAliasesRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesRequest')
145
155
  DescribeFileSystemAliasesResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemAliasesResponse')
146
156
  DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
@@ -165,6 +175,20 @@ module Aws::FSx
165
175
  EventType = Shapes::StringShape.new(name: 'EventType')
166
176
  EventTypes = Shapes::ListShape.new(name: 'EventTypes')
167
177
  FailedCount = Shapes::IntegerShape.new(name: 'FailedCount')
178
+ FileCache = Shapes::StructureShape.new(name: 'FileCache')
179
+ FileCacheCreating = Shapes::StructureShape.new(name: 'FileCacheCreating')
180
+ FileCacheDataRepositoryAssociation = Shapes::StructureShape.new(name: 'FileCacheDataRepositoryAssociation')
181
+ FileCacheFailureDetails = Shapes::StructureShape.new(name: 'FileCacheFailureDetails')
182
+ FileCacheId = Shapes::StringShape.new(name: 'FileCacheId')
183
+ FileCacheIds = Shapes::ListShape.new(name: 'FileCacheIds')
184
+ FileCacheLifecycle = Shapes::StringShape.new(name: 'FileCacheLifecycle')
185
+ FileCacheLustreConfiguration = Shapes::StructureShape.new(name: 'FileCacheLustreConfiguration')
186
+ FileCacheLustreDeploymentType = Shapes::StringShape.new(name: 'FileCacheLustreDeploymentType')
187
+ FileCacheLustreMetadataConfiguration = Shapes::StructureShape.new(name: 'FileCacheLustreMetadataConfiguration')
188
+ FileCacheNFSConfiguration = Shapes::StructureShape.new(name: 'FileCacheNFSConfiguration')
189
+ FileCacheNotFound = Shapes::StructureShape.new(name: 'FileCacheNotFound')
190
+ FileCacheType = Shapes::StringShape.new(name: 'FileCacheType')
191
+ FileCaches = Shapes::ListShape.new(name: 'FileCaches')
168
192
  FileSystem = Shapes::StructureShape.new(name: 'FileSystem')
169
193
  FileSystemAdministratorsGroupName = Shapes::StringShape.new(name: 'FileSystemAdministratorsGroupName')
170
194
  FileSystemEndpoint = Shapes::StructureShape.new(name: 'FileSystemEndpoint')
@@ -224,13 +248,17 @@ module Aws::FSx
224
248
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
225
249
  Megabytes = Shapes::IntegerShape.new(name: 'Megabytes')
226
250
  MegabytesPerSecond = Shapes::IntegerShape.new(name: 'MegabytesPerSecond')
251
+ MetadataStorageCapacity = Shapes::IntegerShape.new(name: 'MetadataStorageCapacity')
252
+ MissingFileCacheConfiguration = Shapes::StructureShape.new(name: 'MissingFileCacheConfiguration')
227
253
  MissingFileSystemConfiguration = Shapes::StructureShape.new(name: 'MissingFileSystemConfiguration')
228
254
  MissingVolumeConfiguration = Shapes::StructureShape.new(name: 'MissingVolumeConfiguration')
255
+ NFSDataRepositoryConfiguration = Shapes::StructureShape.new(name: 'NFSDataRepositoryConfiguration')
229
256
  Namespace = Shapes::StringShape.new(name: 'Namespace')
230
257
  NetBiosAlias = Shapes::StringShape.new(name: 'NetBiosAlias')
231
258
  NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId')
232
259
  NetworkInterfaceIds = Shapes::ListShape.new(name: 'NetworkInterfaceIds')
233
260
  NextToken = Shapes::StringShape.new(name: 'NextToken')
261
+ NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
234
262
  NotServiceResourceError = Shapes::StructureShape.new(name: 'NotServiceResourceError')
235
263
  OntapDeploymentType = Shapes::StringShape.new(name: 'OntapDeploymentType')
236
264
  OntapEndpointIpAddresses = Shapes::ListShape.new(name: 'OntapEndpointIpAddresses')
@@ -262,8 +290,10 @@ module Aws::FSx
262
290
  Region = Shapes::StringShape.new(name: 'Region')
263
291
  ReleaseFileSystemNfsV3LocksRequest = Shapes::StructureShape.new(name: 'ReleaseFileSystemNfsV3LocksRequest')
264
292
  ReleaseFileSystemNfsV3LocksResponse = Shapes::StructureShape.new(name: 'ReleaseFileSystemNfsV3LocksResponse')
293
+ ReleasedCapacity = Shapes::IntegerShape.new(name: 'ReleasedCapacity')
265
294
  ReportFormat = Shapes::StringShape.new(name: 'ReportFormat')
266
295
  ReportScope = Shapes::StringShape.new(name: 'ReportScope')
296
+ RepositoryDnsIps = Shapes::ListShape.new(name: 'RepositoryDnsIps')
267
297
  RequestTime = Shapes::TimestampShape.new(name: 'RequestTime')
268
298
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
269
299
  ResourceDoesNotSupportTagging = Shapes::StructureShape.new(name: 'ResourceDoesNotSupportTagging')
@@ -316,6 +346,7 @@ module Aws::FSx
316
346
  StorageVirtualMachineRootVolumeSecurityStyle = Shapes::StringShape.new(name: 'StorageVirtualMachineRootVolumeSecurityStyle')
317
347
  StorageVirtualMachineSubtype = Shapes::StringShape.new(name: 'StorageVirtualMachineSubtype')
318
348
  StorageVirtualMachines = Shapes::ListShape.new(name: 'StorageVirtualMachines')
349
+ SubDirectoriesPaths = Shapes::ListShape.new(name: 'SubDirectoriesPaths')
319
350
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
320
351
  SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
321
352
  SucceededCount = Shapes::IntegerShape.new(name: 'SucceededCount')
@@ -340,6 +371,9 @@ module Aws::FSx
340
371
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
341
372
  UpdateDataRepositoryAssociationRequest = Shapes::StructureShape.new(name: 'UpdateDataRepositoryAssociationRequest')
342
373
  UpdateDataRepositoryAssociationResponse = Shapes::StructureShape.new(name: 'UpdateDataRepositoryAssociationResponse')
374
+ UpdateFileCacheLustreConfiguration = Shapes::StructureShape.new(name: 'UpdateFileCacheLustreConfiguration')
375
+ UpdateFileCacheRequest = Shapes::StructureShape.new(name: 'UpdateFileCacheRequest')
376
+ UpdateFileCacheResponse = Shapes::StructureShape.new(name: 'UpdateFileCacheResponse')
343
377
  UpdateFileSystemLustreConfiguration = Shapes::StructureShape.new(name: 'UpdateFileSystemLustreConfiguration')
344
378
  UpdateFileSystemOntapConfiguration = Shapes::StructureShape.new(name: 'UpdateFileSystemOntapConfiguration')
345
379
  UpdateFileSystemOpenZFSConfiguration = Shapes::StructureShape.new(name: 'UpdateFileSystemOpenZFSConfiguration')
@@ -501,7 +535,7 @@ module Aws::FSx
501
535
  CreateBackupResponse.struct_class = Types::CreateBackupResponse
502
536
 
503
537
  CreateDataRepositoryAssociationRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
504
- CreateDataRepositoryAssociationRequest.add_member(:file_system_path, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "FileSystemPath"))
538
+ CreateDataRepositoryAssociationRequest.add_member(:file_system_path, Shapes::ShapeRef.new(shape: Namespace, location_name: "FileSystemPath"))
505
539
  CreateDataRepositoryAssociationRequest.add_member(:data_repository_path, Shapes::ShapeRef.new(shape: ArchivePath, required: true, location_name: "DataRepositoryPath"))
506
540
  CreateDataRepositoryAssociationRequest.add_member(:batch_import_meta_data_on_create, Shapes::ShapeRef.new(shape: BatchImportMetaDataOnCreate, location_name: "BatchImportMetaDataOnCreate"))
507
541
  CreateDataRepositoryAssociationRequest.add_member(:imported_file_chunk_size, Shapes::ShapeRef.new(shape: Megabytes, location_name: "ImportedFileChunkSize"))
@@ -519,11 +553,36 @@ module Aws::FSx
519
553
  CreateDataRepositoryTaskRequest.add_member(:report, Shapes::ShapeRef.new(shape: CompletionReport, required: true, location_name: "Report"))
520
554
  CreateDataRepositoryTaskRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
521
555
  CreateDataRepositoryTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
556
+ CreateDataRepositoryTaskRequest.add_member(:capacity_to_release, Shapes::ShapeRef.new(shape: CapacityToRelease, location_name: "CapacityToRelease"))
522
557
  CreateDataRepositoryTaskRequest.struct_class = Types::CreateDataRepositoryTaskRequest
523
558
 
524
559
  CreateDataRepositoryTaskResponse.add_member(:data_repository_task, Shapes::ShapeRef.new(shape: DataRepositoryTask, location_name: "DataRepositoryTask"))
525
560
  CreateDataRepositoryTaskResponse.struct_class = Types::CreateDataRepositoryTaskResponse
526
561
 
562
+ CreateFileCacheDataRepositoryAssociations.member = Shapes::ShapeRef.new(shape: FileCacheDataRepositoryAssociation)
563
+
564
+ CreateFileCacheLustreConfiguration.add_member(:per_unit_storage_throughput, Shapes::ShapeRef.new(shape: PerUnitStorageThroughput, required: true, location_name: "PerUnitStorageThroughput"))
565
+ CreateFileCacheLustreConfiguration.add_member(:deployment_type, Shapes::ShapeRef.new(shape: FileCacheLustreDeploymentType, required: true, location_name: "DeploymentType"))
566
+ CreateFileCacheLustreConfiguration.add_member(:weekly_maintenance_start_time, Shapes::ShapeRef.new(shape: WeeklyTime, location_name: "WeeklyMaintenanceStartTime"))
567
+ CreateFileCacheLustreConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: FileCacheLustreMetadataConfiguration, required: true, location_name: "MetadataConfiguration"))
568
+ CreateFileCacheLustreConfiguration.struct_class = Types::CreateFileCacheLustreConfiguration
569
+
570
+ CreateFileCacheRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
571
+ CreateFileCacheRequest.add_member(:file_cache_type, Shapes::ShapeRef.new(shape: FileCacheType, required: true, location_name: "FileCacheType"))
572
+ CreateFileCacheRequest.add_member(:file_cache_type_version, Shapes::ShapeRef.new(shape: FileSystemTypeVersion, required: true, location_name: "FileCacheTypeVersion"))
573
+ CreateFileCacheRequest.add_member(:storage_capacity, Shapes::ShapeRef.new(shape: StorageCapacity, required: true, location_name: "StorageCapacity"))
574
+ CreateFileCacheRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
575
+ CreateFileCacheRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
576
+ CreateFileCacheRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
577
+ CreateFileCacheRequest.add_member(:copy_tags_to_data_repository_associations, Shapes::ShapeRef.new(shape: CopyTagsToDataRepositoryAssociations, location_name: "CopyTagsToDataRepositoryAssociations"))
578
+ CreateFileCacheRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
579
+ CreateFileCacheRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: CreateFileCacheLustreConfiguration, location_name: "LustreConfiguration"))
580
+ CreateFileCacheRequest.add_member(:data_repository_associations, Shapes::ShapeRef.new(shape: CreateFileCacheDataRepositoryAssociations, location_name: "DataRepositoryAssociations"))
581
+ CreateFileCacheRequest.struct_class = Types::CreateFileCacheRequest
582
+
583
+ CreateFileCacheResponse.add_member(:file_cache, Shapes::ShapeRef.new(shape: FileCacheCreating, location_name: "FileCache"))
584
+ CreateFileCacheResponse.struct_class = Types::CreateFileCacheResponse
585
+
527
586
  CreateFileSystemFromBackupRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
528
587
  CreateFileSystemFromBackupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
529
588
  CreateFileSystemFromBackupRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
@@ -535,6 +594,7 @@ module Aws::FSx
535
594
  CreateFileSystemFromBackupRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
536
595
  CreateFileSystemFromBackupRequest.add_member(:file_system_type_version, Shapes::ShapeRef.new(shape: FileSystemTypeVersion, location_name: "FileSystemTypeVersion"))
537
596
  CreateFileSystemFromBackupRequest.add_member(:open_zfs_configuration, Shapes::ShapeRef.new(shape: CreateFileSystemOpenZFSConfiguration, location_name: "OpenZFSConfiguration"))
597
+ CreateFileSystemFromBackupRequest.add_member(:storage_capacity, Shapes::ShapeRef.new(shape: StorageCapacity, location_name: "StorageCapacity"))
538
598
  CreateFileSystemFromBackupRequest.struct_class = Types::CreateFileSystemFromBackupRequest
539
599
 
540
600
  CreateFileSystemFromBackupResponse.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, location_name: "FileSystem"))
@@ -692,6 +752,10 @@ module Aws::FSx
692
752
  DataRepositoryAssociation.add_member(:s3, Shapes::ShapeRef.new(shape: S3DataRepositoryConfiguration, location_name: "S3"))
693
753
  DataRepositoryAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
694
754
  DataRepositoryAssociation.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
755
+ DataRepositoryAssociation.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, location_name: "FileCacheId"))
756
+ DataRepositoryAssociation.add_member(:file_cache_path, Shapes::ShapeRef.new(shape: Namespace, location_name: "FileCachePath"))
757
+ DataRepositoryAssociation.add_member(:data_repository_subdirectories, Shapes::ShapeRef.new(shape: SubDirectoriesPaths, location_name: "DataRepositorySubdirectories"))
758
+ DataRepositoryAssociation.add_member(:nfs, Shapes::ShapeRef.new(shape: NFSDataRepositoryConfiguration, location_name: "NFS"))
695
759
  DataRepositoryAssociation.struct_class = Types::DataRepositoryAssociation
696
760
 
697
761
  DataRepositoryAssociationIds.member = Shapes::ShapeRef.new(shape: DataRepositoryAssociationId)
@@ -720,11 +784,13 @@ module Aws::FSx
720
784
  DataRepositoryTask.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "EndTime"))
721
785
  DataRepositoryTask.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
722
786
  DataRepositoryTask.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
723
- DataRepositoryTask.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
787
+ DataRepositoryTask.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
724
788
  DataRepositoryTask.add_member(:paths, Shapes::ShapeRef.new(shape: DataRepositoryTaskPaths, location_name: "Paths"))
725
789
  DataRepositoryTask.add_member(:failure_details, Shapes::ShapeRef.new(shape: DataRepositoryTaskFailureDetails, location_name: "FailureDetails"))
726
790
  DataRepositoryTask.add_member(:status, Shapes::ShapeRef.new(shape: DataRepositoryTaskStatus, location_name: "Status"))
727
791
  DataRepositoryTask.add_member(:report, Shapes::ShapeRef.new(shape: CompletionReport, location_name: "Report"))
792
+ DataRepositoryTask.add_member(:capacity_to_release, Shapes::ShapeRef.new(shape: CapacityToRelease, location_name: "CapacityToRelease"))
793
+ DataRepositoryTask.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, location_name: "FileCacheId"))
728
794
  DataRepositoryTask.struct_class = Types::DataRepositoryTask
729
795
 
730
796
  DataRepositoryTaskEnded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -753,6 +819,7 @@ module Aws::FSx
753
819
  DataRepositoryTaskStatus.add_member(:succeeded_count, Shapes::ShapeRef.new(shape: SucceededCount, location_name: "SucceededCount"))
754
820
  DataRepositoryTaskStatus.add_member(:failed_count, Shapes::ShapeRef.new(shape: FailedCount, location_name: "FailedCount"))
755
821
  DataRepositoryTaskStatus.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime"))
822
+ DataRepositoryTaskStatus.add_member(:released_capacity, Shapes::ShapeRef.new(shape: ReleasedCapacity, location_name: "ReleasedCapacity"))
756
823
  DataRepositoryTaskStatus.struct_class = Types::DataRepositoryTaskStatus
757
824
 
758
825
  DataRepositoryTasks.member = Shapes::ShapeRef.new(shape: DataRepositoryTask)
@@ -767,7 +834,7 @@ module Aws::FSx
767
834
 
768
835
  DeleteDataRepositoryAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: DataRepositoryAssociationId, required: true, location_name: "AssociationId"))
769
836
  DeleteDataRepositoryAssociationRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
770
- DeleteDataRepositoryAssociationRequest.add_member(:delete_data_in_file_system, Shapes::ShapeRef.new(shape: DeleteDataInFileSystem, required: true, location_name: "DeleteDataInFileSystem"))
837
+ DeleteDataRepositoryAssociationRequest.add_member(:delete_data_in_file_system, Shapes::ShapeRef.new(shape: DeleteDataInFileSystem, location_name: "DeleteDataInFileSystem"))
771
838
  DeleteDataRepositoryAssociationRequest.struct_class = Types::DeleteDataRepositoryAssociationRequest
772
839
 
773
840
  DeleteDataRepositoryAssociationResponse.add_member(:association_id, Shapes::ShapeRef.new(shape: DataRepositoryAssociationId, location_name: "AssociationId"))
@@ -775,6 +842,14 @@ module Aws::FSx
775
842
  DeleteDataRepositoryAssociationResponse.add_member(:delete_data_in_file_system, Shapes::ShapeRef.new(shape: DeleteDataInFileSystem, location_name: "DeleteDataInFileSystem"))
776
843
  DeleteDataRepositoryAssociationResponse.struct_class = Types::DeleteDataRepositoryAssociationResponse
777
844
 
845
+ DeleteFileCacheRequest.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, required: true, location_name: "FileCacheId"))
846
+ DeleteFileCacheRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
847
+ DeleteFileCacheRequest.struct_class = Types::DeleteFileCacheRequest
848
+
849
+ DeleteFileCacheResponse.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, location_name: "FileCacheId"))
850
+ DeleteFileCacheResponse.add_member(:lifecycle, Shapes::ShapeRef.new(shape: FileCacheLifecycle, location_name: "Lifecycle"))
851
+ DeleteFileCacheResponse.struct_class = Types::DeleteFileCacheResponse
852
+
778
853
  DeleteFileSystemLustreConfiguration.add_member(:skip_final_backup, Shapes::ShapeRef.new(shape: Flag, location_name: "SkipFinalBackup"))
779
854
  DeleteFileSystemLustreConfiguration.add_member(:final_backup_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "FinalBackupTags"))
780
855
  DeleteFileSystemLustreConfiguration.struct_class = Types::DeleteFileSystemLustreConfiguration
@@ -886,6 +961,15 @@ module Aws::FSx
886
961
  DescribeDataRepositoryTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
887
962
  DescribeDataRepositoryTasksResponse.struct_class = Types::DescribeDataRepositoryTasksResponse
888
963
 
964
+ DescribeFileCachesRequest.add_member(:file_cache_ids, Shapes::ShapeRef.new(shape: FileCacheIds, location_name: "FileCacheIds"))
965
+ DescribeFileCachesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
966
+ DescribeFileCachesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
967
+ DescribeFileCachesRequest.struct_class = Types::DescribeFileCachesRequest
968
+
969
+ DescribeFileCachesResponse.add_member(:file_caches, Shapes::ShapeRef.new(shape: FileCaches, location_name: "FileCaches"))
970
+ DescribeFileCachesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
971
+ DescribeFileCachesResponse.struct_class = Types::DescribeFileCachesResponse
972
+
889
973
  DescribeFileSystemAliasesRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
890
974
  DescribeFileSystemAliasesRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
891
975
  DescribeFileSystemAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
@@ -951,6 +1035,75 @@ module Aws::FSx
951
1035
 
952
1036
  EventTypes.member = Shapes::ShapeRef.new(shape: EventType)
953
1037
 
1038
+ FileCache.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
1039
+ FileCache.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
1040
+ FileCache.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, location_name: "FileCacheId"))
1041
+ FileCache.add_member(:file_cache_type, Shapes::ShapeRef.new(shape: FileCacheType, location_name: "FileCacheType"))
1042
+ FileCache.add_member(:file_cache_type_version, Shapes::ShapeRef.new(shape: FileSystemTypeVersion, location_name: "FileCacheTypeVersion"))
1043
+ FileCache.add_member(:lifecycle, Shapes::ShapeRef.new(shape: FileCacheLifecycle, location_name: "Lifecycle"))
1044
+ FileCache.add_member(:failure_details, Shapes::ShapeRef.new(shape: FileCacheFailureDetails, location_name: "FailureDetails"))
1045
+ FileCache.add_member(:storage_capacity, Shapes::ShapeRef.new(shape: StorageCapacity, location_name: "StorageCapacity"))
1046
+ FileCache.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
1047
+ FileCache.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
1048
+ FileCache.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: NetworkInterfaceIds, location_name: "NetworkInterfaceIds"))
1049
+ FileCache.add_member(:dns_name, Shapes::ShapeRef.new(shape: DNSName, location_name: "DNSName"))
1050
+ FileCache.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1051
+ FileCache.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
1052
+ FileCache.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: FileCacheLustreConfiguration, location_name: "LustreConfiguration"))
1053
+ FileCache.add_member(:data_repository_association_ids, Shapes::ShapeRef.new(shape: DataRepositoryAssociationIds, location_name: "DataRepositoryAssociationIds"))
1054
+ FileCache.struct_class = Types::FileCache
1055
+
1056
+ FileCacheCreating.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
1057
+ FileCacheCreating.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
1058
+ FileCacheCreating.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, location_name: "FileCacheId"))
1059
+ FileCacheCreating.add_member(:file_cache_type, Shapes::ShapeRef.new(shape: FileCacheType, location_name: "FileCacheType"))
1060
+ FileCacheCreating.add_member(:file_cache_type_version, Shapes::ShapeRef.new(shape: FileSystemTypeVersion, location_name: "FileCacheTypeVersion"))
1061
+ FileCacheCreating.add_member(:lifecycle, Shapes::ShapeRef.new(shape: FileCacheLifecycle, location_name: "Lifecycle"))
1062
+ FileCacheCreating.add_member(:failure_details, Shapes::ShapeRef.new(shape: FileCacheFailureDetails, location_name: "FailureDetails"))
1063
+ FileCacheCreating.add_member(:storage_capacity, Shapes::ShapeRef.new(shape: StorageCapacity, location_name: "StorageCapacity"))
1064
+ FileCacheCreating.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
1065
+ FileCacheCreating.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
1066
+ FileCacheCreating.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: NetworkInterfaceIds, location_name: "NetworkInterfaceIds"))
1067
+ FileCacheCreating.add_member(:dns_name, Shapes::ShapeRef.new(shape: DNSName, location_name: "DNSName"))
1068
+ FileCacheCreating.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
1069
+ FileCacheCreating.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, location_name: "ResourceARN"))
1070
+ FileCacheCreating.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1071
+ FileCacheCreating.add_member(:copy_tags_to_data_repository_associations, Shapes::ShapeRef.new(shape: CopyTagsToDataRepositoryAssociations, location_name: "CopyTagsToDataRepositoryAssociations"))
1072
+ FileCacheCreating.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: FileCacheLustreConfiguration, location_name: "LustreConfiguration"))
1073
+ FileCacheCreating.add_member(:data_repository_association_ids, Shapes::ShapeRef.new(shape: DataRepositoryAssociationIds, location_name: "DataRepositoryAssociationIds"))
1074
+ FileCacheCreating.struct_class = Types::FileCacheCreating
1075
+
1076
+ FileCacheDataRepositoryAssociation.add_member(:file_cache_path, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "FileCachePath"))
1077
+ FileCacheDataRepositoryAssociation.add_member(:data_repository_path, Shapes::ShapeRef.new(shape: ArchivePath, required: true, location_name: "DataRepositoryPath"))
1078
+ FileCacheDataRepositoryAssociation.add_member(:data_repository_subdirectories, Shapes::ShapeRef.new(shape: SubDirectoriesPaths, location_name: "DataRepositorySubdirectories"))
1079
+ FileCacheDataRepositoryAssociation.add_member(:nfs, Shapes::ShapeRef.new(shape: FileCacheNFSConfiguration, location_name: "NFS"))
1080
+ FileCacheDataRepositoryAssociation.struct_class = Types::FileCacheDataRepositoryAssociation
1081
+
1082
+ FileCacheFailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1083
+ FileCacheFailureDetails.struct_class = Types::FileCacheFailureDetails
1084
+
1085
+ FileCacheIds.member = Shapes::ShapeRef.new(shape: FileCacheId)
1086
+
1087
+ FileCacheLustreConfiguration.add_member(:per_unit_storage_throughput, Shapes::ShapeRef.new(shape: PerUnitStorageThroughput, location_name: "PerUnitStorageThroughput"))
1088
+ FileCacheLustreConfiguration.add_member(:deployment_type, Shapes::ShapeRef.new(shape: FileCacheLustreDeploymentType, location_name: "DeploymentType"))
1089
+ FileCacheLustreConfiguration.add_member(:mount_name, Shapes::ShapeRef.new(shape: LustreFileSystemMountName, location_name: "MountName"))
1090
+ FileCacheLustreConfiguration.add_member(:weekly_maintenance_start_time, Shapes::ShapeRef.new(shape: WeeklyTime, location_name: "WeeklyMaintenanceStartTime"))
1091
+ FileCacheLustreConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: FileCacheLustreMetadataConfiguration, location_name: "MetadataConfiguration"))
1092
+ FileCacheLustreConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LustreLogConfiguration, location_name: "LogConfiguration"))
1093
+ FileCacheLustreConfiguration.struct_class = Types::FileCacheLustreConfiguration
1094
+
1095
+ FileCacheLustreMetadataConfiguration.add_member(:storage_capacity, Shapes::ShapeRef.new(shape: MetadataStorageCapacity, required: true, location_name: "StorageCapacity"))
1096
+ FileCacheLustreMetadataConfiguration.struct_class = Types::FileCacheLustreMetadataConfiguration
1097
+
1098
+ FileCacheNFSConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: NfsVersion, required: true, location_name: "Version"))
1099
+ FileCacheNFSConfiguration.add_member(:dns_ips, Shapes::ShapeRef.new(shape: RepositoryDnsIps, location_name: "DnsIps"))
1100
+ FileCacheNFSConfiguration.struct_class = Types::FileCacheNFSConfiguration
1101
+
1102
+ FileCacheNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1103
+ FileCacheNotFound.struct_class = Types::FileCacheNotFound
1104
+
1105
+ FileCaches.member = Shapes::ShapeRef.new(shape: FileCache)
1106
+
954
1107
  FileSystem.add_member(:owner_id, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "OwnerId"))
955
1108
  FileSystem.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime"))
956
1109
  FileSystem.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
@@ -1079,12 +1232,20 @@ module Aws::FSx
1079
1232
  LustreRootSquashConfiguration.add_member(:no_squash_nids, Shapes::ShapeRef.new(shape: LustreNoSquashNids, location_name: "NoSquashNids"))
1080
1233
  LustreRootSquashConfiguration.struct_class = Types::LustreRootSquashConfiguration
1081
1234
 
1235
+ MissingFileCacheConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1236
+ MissingFileCacheConfiguration.struct_class = Types::MissingFileCacheConfiguration
1237
+
1082
1238
  MissingFileSystemConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1083
1239
  MissingFileSystemConfiguration.struct_class = Types::MissingFileSystemConfiguration
1084
1240
 
1085
1241
  MissingVolumeConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1086
1242
  MissingVolumeConfiguration.struct_class = Types::MissingVolumeConfiguration
1087
1243
 
1244
+ NFSDataRepositoryConfiguration.add_member(:version, Shapes::ShapeRef.new(shape: NfsVersion, required: true, location_name: "Version"))
1245
+ NFSDataRepositoryConfiguration.add_member(:dns_ips, Shapes::ShapeRef.new(shape: RepositoryDnsIps, location_name: "DnsIps"))
1246
+ NFSDataRepositoryConfiguration.add_member(:auto_export_policy, Shapes::ShapeRef.new(shape: AutoExportPolicy, location_name: "AutoExportPolicy"))
1247
+ NFSDataRepositoryConfiguration.struct_class = Types::NFSDataRepositoryConfiguration
1248
+
1088
1249
  NetworkInterfaceIds.member = Shapes::ShapeRef.new(shape: NetworkInterfaceId)
1089
1250
 
1090
1251
  NotServiceResourceError.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
@@ -1180,6 +1341,8 @@ module Aws::FSx
1180
1341
  ReleaseFileSystemNfsV3LocksResponse.add_member(:file_system, Shapes::ShapeRef.new(shape: FileSystem, location_name: "FileSystem"))
1181
1342
  ReleaseFileSystemNfsV3LocksResponse.struct_class = Types::ReleaseFileSystemNfsV3LocksResponse
1182
1343
 
1344
+ RepositoryDnsIps.member = Shapes::ShapeRef.new(shape: IpAddress)
1345
+
1183
1346
  ResourceDoesNotSupportTagging.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceARN, required: true, location_name: "ResourceARN"))
1184
1347
  ResourceDoesNotSupportTagging.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1185
1348
  ResourceDoesNotSupportTagging.struct_class = Types::ResourceDoesNotSupportTagging
@@ -1292,6 +1455,8 @@ module Aws::FSx
1292
1455
 
1293
1456
  StorageVirtualMachines.member = Shapes::ShapeRef.new(shape: StorageVirtualMachine)
1294
1457
 
1458
+ SubDirectoriesPaths.member = Shapes::ShapeRef.new(shape: Namespace)
1459
+
1295
1460
  SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
1296
1461
 
1297
1462
  SvmActiveDirectoryConfiguration.add_member(:net_bios_name, Shapes::ShapeRef.new(shape: NetBiosAlias, location_name: "NetBiosName"))
@@ -1346,6 +1511,17 @@ module Aws::FSx
1346
1511
  UpdateDataRepositoryAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: DataRepositoryAssociation, location_name: "Association"))
1347
1512
  UpdateDataRepositoryAssociationResponse.struct_class = Types::UpdateDataRepositoryAssociationResponse
1348
1513
 
1514
+ UpdateFileCacheLustreConfiguration.add_member(:weekly_maintenance_start_time, Shapes::ShapeRef.new(shape: WeeklyTime, location_name: "WeeklyMaintenanceStartTime"))
1515
+ UpdateFileCacheLustreConfiguration.struct_class = Types::UpdateFileCacheLustreConfiguration
1516
+
1517
+ UpdateFileCacheRequest.add_member(:file_cache_id, Shapes::ShapeRef.new(shape: FileCacheId, required: true, location_name: "FileCacheId"))
1518
+ UpdateFileCacheRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
1519
+ UpdateFileCacheRequest.add_member(:lustre_configuration, Shapes::ShapeRef.new(shape: UpdateFileCacheLustreConfiguration, location_name: "LustreConfiguration"))
1520
+ UpdateFileCacheRequest.struct_class = Types::UpdateFileCacheRequest
1521
+
1522
+ UpdateFileCacheResponse.add_member(:file_cache, Shapes::ShapeRef.new(shape: FileCache, location_name: "FileCache"))
1523
+ UpdateFileCacheResponse.struct_class = Types::UpdateFileCacheResponse
1524
+
1349
1525
  UpdateFileSystemLustreConfiguration.add_member(:weekly_maintenance_start_time, Shapes::ShapeRef.new(shape: WeeklyTime, location_name: "WeeklyMaintenanceStartTime"))
1350
1526
  UpdateFileSystemLustreConfiguration.add_member(:daily_automatic_backup_start_time, Shapes::ShapeRef.new(shape: DailyTime, location_name: "DailyAutomaticBackupStartTime"))
1351
1527
  UpdateFileSystemLustreConfiguration.add_member(:automatic_backup_retention_days, Shapes::ShapeRef.new(shape: AutomaticBackupRetentionDays, location_name: "AutomaticBackupRetentionDays"))
@@ -1600,6 +1776,21 @@ module Aws::FSx
1600
1776
  o.errors << Shapes::ShapeRef.new(shape: DataRepositoryTaskExecuting)
1601
1777
  end)
1602
1778
 
1779
+ api.add_operation(:create_file_cache, Seahorse::Model::Operation.new.tap do |o|
1780
+ o.name = "CreateFileCache"
1781
+ o.http_method = "POST"
1782
+ o.http_request_uri = "/"
1783
+ o.input = Shapes::ShapeRef.new(shape: CreateFileCacheRequest)
1784
+ o.output = Shapes::ShapeRef.new(shape: CreateFileCacheResponse)
1785
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
1786
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
1787
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNetworkSettings)
1788
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPerUnitStorageThroughput)
1789
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
1790
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1791
+ o.errors << Shapes::ShapeRef.new(shape: MissingFileCacheConfiguration)
1792
+ end)
1793
+
1603
1794
  api.add_operation(:create_file_system, Seahorse::Model::Operation.new.tap do |o|
1604
1795
  o.name = "CreateFileSystem"
1605
1796
  o.http_method = "POST"
@@ -1722,6 +1913,19 @@ module Aws::FSx
1722
1913
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1723
1914
  end)
1724
1915
 
1916
+ api.add_operation(:delete_file_cache, Seahorse::Model::Operation.new.tap do |o|
1917
+ o.name = "DeleteFileCache"
1918
+ o.http_method = "POST"
1919
+ o.http_request_uri = "/"
1920
+ o.input = Shapes::ShapeRef.new(shape: DeleteFileCacheRequest)
1921
+ o.output = Shapes::ShapeRef.new(shape: DeleteFileCacheResponse)
1922
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
1923
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
1924
+ o.errors << Shapes::ShapeRef.new(shape: FileCacheNotFound)
1925
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
1926
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1927
+ end)
1928
+
1725
1929
  api.add_operation(:delete_file_system, Seahorse::Model::Operation.new.tap do |o|
1726
1930
  o.name = "DeleteFileSystem"
1727
1931
  o.http_method = "POST"
@@ -1826,6 +2030,23 @@ module Aws::FSx
1826
2030
  )
1827
2031
  end)
1828
2032
 
2033
+ api.add_operation(:describe_file_caches, Seahorse::Model::Operation.new.tap do |o|
2034
+ o.name = "DescribeFileCaches"
2035
+ o.http_method = "POST"
2036
+ o.http_request_uri = "/"
2037
+ o.input = Shapes::ShapeRef.new(shape: DescribeFileCachesRequest)
2038
+ o.output = Shapes::ShapeRef.new(shape: DescribeFileCachesResponse)
2039
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
2040
+ o.errors << Shapes::ShapeRef.new(shape: FileCacheNotFound)
2041
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2042
+ o[:pager] = Aws::Pager.new(
2043
+ limit_key: "max_results",
2044
+ tokens: {
2045
+ "next_token" => "next_token"
2046
+ }
2047
+ )
2048
+ end)
2049
+
1829
2050
  api.add_operation(:describe_file_system_aliases, Seahorse::Model::Operation.new.tap do |o|
1830
2051
  o.name = "DescribeFileSystemAliases"
1831
2052
  o.http_method = "POST"
@@ -2004,6 +2225,21 @@ module Aws::FSx
2004
2225
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2005
2226
  end)
2006
2227
 
2228
+ api.add_operation(:update_file_cache, Seahorse::Model::Operation.new.tap do |o|
2229
+ o.name = "UpdateFileCache"
2230
+ o.http_method = "POST"
2231
+ o.http_request_uri = "/"
2232
+ o.input = Shapes::ShapeRef.new(shape: UpdateFileCacheRequest)
2233
+ o.output = Shapes::ShapeRef.new(shape: UpdateFileCacheResponse)
2234
+ o.errors << Shapes::ShapeRef.new(shape: BadRequest)
2235
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
2236
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleParameterError)
2237
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2238
+ o.errors << Shapes::ShapeRef.new(shape: FileCacheNotFound)
2239
+ o.errors << Shapes::ShapeRef.new(shape: MissingFileCacheConfiguration)
2240
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceeded)
2241
+ end)
2242
+
2007
2243
  api.add_operation(:update_file_system, Seahorse::Model::Operation.new.tap do |o|
2008
2244
  o.name = "UpdateFileSystem"
2009
2245
  o.http_method = "POST"
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::FSx
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end