@aws-sdk/client-fsx 3.180.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist-cjs/FSx.js +60 -0
  3. package/dist-cjs/commands/CreateFileCacheCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteFileCacheCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeFileCachesCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateFileCacheCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +154 -27
  9. package/dist-cjs/pagination/DescribeFileCachesPaginator.js +36 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_json1_1.js +587 -39
  12. package/dist-es/FSx.js +209 -156
  13. package/dist-es/FSxClient.js +22 -28
  14. package/dist-es/commands/AssociateFileSystemAliasesCommand.js +21 -28
  15. package/dist-es/commands/CancelDataRepositoryTaskCommand.js +21 -28
  16. package/dist-es/commands/CopyBackupCommand.js +21 -28
  17. package/dist-es/commands/CreateBackupCommand.js +21 -28
  18. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +21 -28
  19. package/dist-es/commands/CreateDataRepositoryTaskCommand.js +21 -28
  20. package/dist-es/commands/CreateFileCacheCommand.js +32 -0
  21. package/dist-es/commands/CreateFileSystemCommand.js +21 -28
  22. package/dist-es/commands/CreateFileSystemFromBackupCommand.js +21 -28
  23. package/dist-es/commands/CreateSnapshotCommand.js +21 -28
  24. package/dist-es/commands/CreateStorageVirtualMachineCommand.js +21 -28
  25. package/dist-es/commands/CreateVolumeCommand.js +21 -28
  26. package/dist-es/commands/CreateVolumeFromBackupCommand.js +21 -28
  27. package/dist-es/commands/DeleteBackupCommand.js +21 -28
  28. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +21 -28
  29. package/dist-es/commands/DeleteFileCacheCommand.js +32 -0
  30. package/dist-es/commands/DeleteFileSystemCommand.js +21 -28
  31. package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
  32. package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +21 -28
  33. package/dist-es/commands/DeleteVolumeCommand.js +21 -28
  34. package/dist-es/commands/DescribeBackupsCommand.js +21 -28
  35. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +21 -28
  36. package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +21 -28
  37. package/dist-es/commands/DescribeFileCachesCommand.js +32 -0
  38. package/dist-es/commands/DescribeFileSystemAliasesCommand.js +21 -28
  39. package/dist-es/commands/DescribeFileSystemsCommand.js +21 -28
  40. package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
  41. package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +21 -28
  42. package/dist-es/commands/DescribeVolumesCommand.js +21 -28
  43. package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +21 -28
  44. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  45. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +21 -28
  46. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +21 -28
  47. package/dist-es/commands/TagResourceCommand.js +21 -28
  48. package/dist-es/commands/UntagResourceCommand.js +21 -28
  49. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +21 -28
  50. package/dist-es/commands/UpdateFileCacheCommand.js +32 -0
  51. package/dist-es/commands/UpdateFileSystemCommand.js +21 -28
  52. package/dist-es/commands/UpdateSnapshotCommand.js +21 -28
  53. package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +21 -28
  54. package/dist-es/commands/UpdateVolumeCommand.js +21 -28
  55. package/dist-es/commands/index.js +4 -0
  56. package/dist-es/endpoints.js +8 -8
  57. package/dist-es/models/FSxServiceException.js +5 -10
  58. package/dist-es/models/models_0.js +1043 -617
  59. package/dist-es/pagination/DescribeBackupsPaginator.js +25 -68
  60. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +25 -68
  61. package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +25 -68
  62. package/dist-es/pagination/DescribeFileCachesPaginator.js +32 -0
  63. package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +25 -68
  64. package/dist-es/pagination/DescribeFileSystemsPaginator.js +25 -68
  65. package/dist-es/pagination/DescribeSnapshotsPaginator.js +25 -68
  66. package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +25 -68
  67. package/dist-es/pagination/DescribeVolumesPaginator.js +25 -68
  68. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
  69. package/dist-es/pagination/index.js +1 -0
  70. package/dist-es/protocols/Aws_json1_1.js +3959 -3957
  71. package/dist-es/runtimeConfig.browser.js +26 -12
  72. package/dist-es/runtimeConfig.js +30 -12
  73. package/dist-es/runtimeConfig.native.js +8 -5
  74. package/dist-es/runtimeConfig.shared.js +8 -11
  75. package/dist-types/FSx.d.ts +118 -26
  76. package/dist-types/FSxClient.d.ts +6 -2
  77. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +6 -0
  78. package/dist-types/commands/CreateFileCacheCommand.d.ts +58 -0
  79. package/dist-types/commands/CreateFileSystemCommand.d.ts +0 -10
  80. package/dist-types/commands/DeleteFileCacheCommand.d.ts +48 -0
  81. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +13 -11
  82. package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +4 -4
  83. package/dist-types/commands/DescribeFileCachesCommand.d.ts +65 -0
  84. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +0 -1
  85. package/dist-types/commands/UpdateFileCacheCommand.d.ts +36 -0
  86. package/dist-types/commands/index.d.ts +4 -0
  87. package/dist-types/models/models_0.d.ts +964 -125
  88. package/dist-types/pagination/DescribeFileCachesPaginator.d.ts +4 -0
  89. package/dist-types/pagination/index.d.ts +1 -0
  90. package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
  91. package/dist-types/ts3.4/FSx.d.ts +68 -0
  92. package/dist-types/ts3.4/FSxClient.d.ts +24 -0
  93. package/dist-types/ts3.4/commands/CreateFileCacheCommand.d.ts +35 -0
  94. package/dist-types/ts3.4/commands/DeleteFileCacheCommand.d.ts +35 -0
  95. package/dist-types/ts3.4/commands/DescribeFileCachesCommand.d.ts +36 -0
  96. package/dist-types/ts3.4/commands/UpdateFileCacheCommand.d.ts +35 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +239 -25
  99. package/dist-types/ts3.4/pagination/DescribeFileCachesPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  101. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  102. package/package.json +33 -33
@@ -249,12 +249,8 @@ export declare enum LustreAccessAuditLogLevel {
249
249
  }
250
250
  /**
251
251
  * <p>The configuration for Lustre logging used to write the enabled
252
- * logging events for your file system to Amazon CloudWatch Logs.</p>
253
- * <p>When logging is enabled, Lustre logs error and warning events
254
- * from data repository operations such as automatic export and data repository tasks.
255
- * To learn more about Lustre logging, see
256
- * <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/cw-event-logging.html">Logging with Amazon CloudWatch Logs</a>.
257
- * </p>
252
+ * logging events for your Amazon FSx for Lustre file system or
253
+ * Amazon File Cache resource to Amazon CloudWatch Logs.</p>
258
254
  */
259
255
  export interface LustreLogConfiguration {
260
256
  /**
@@ -279,6 +275,8 @@ export interface LustreLogConfiguration {
279
275
  * is turned off.</p>
280
276
  * </li>
281
277
  * </ul>
278
+ * <p>Note that Amazon File Cache uses a default setting of <code>WARN_ERROR</code>,
279
+ * which can't be changed.</p>
282
280
  */
283
281
  Level: LustreAccessAuditLogLevel | string | undefined;
284
282
  /**
@@ -1488,13 +1486,13 @@ export declare enum EventType {
1488
1486
  }
1489
1487
  /**
1490
1488
  * <p>Describes a data repository association's automatic export policy. The
1491
- * <code>AutoExportPolicy</code> defines the types of updated objects on the
1489
+ * <code>AutoExportPolicy</code> defines the types of updated objects on the
1492
1490
  * file system that will be automatically exported to the data repository.
1493
- * As you create, modify, or delete files, Amazon FSx automatically
1494
- * exports the defined changes asynchronously once your application finishes
1491
+ * As you create, modify, or delete files, Amazon FSx for Lustre
1492
+ * automatically exports the defined changes asynchronously once your application finishes
1495
1493
  * modifying the file.</p>
1496
- * <p>This <code>AutoExportPolicy</code> is supported only for file systems with the
1497
- * <code>Persistent_2</code> deployment type.</p>
1494
+ * <p>This <code>AutoExportPolicy</code> is supported only for Amazon FSx for Lustre
1495
+ * file systems with the <code>Persistent_2</code> deployment type.</p>
1498
1496
  */
1499
1497
  export interface AutoExportPolicy {
1500
1498
  /**
@@ -1502,13 +1500,13 @@ export interface AutoExportPolicy {
1502
1500
  * <ul>
1503
1501
  * <li>
1504
1502
  * <p>
1505
- * <code>NEW</code> - Amazon FSx automatically exports new files and
1506
- * directories to the data repository as they are added to the file system.</p>
1503
+ * <code>NEW</code> - New files and directories are automatically exported
1504
+ * to the data repository as they are added to the file system.</p>
1507
1505
  * </li>
1508
1506
  * <li>
1509
1507
  * <p>
1510
- * <code>CHANGED</code> - Amazon FSx automatically exports changes to
1511
- * files and directories on the file system to the data repository.</p>
1508
+ * <code>CHANGED</code> - Changes to files and directories on the
1509
+ * file system are automatically exported to the data repository.</p>
1512
1510
  * </li>
1513
1511
  * <li>
1514
1512
  * <p>
@@ -1523,10 +1521,10 @@ export interface AutoExportPolicy {
1523
1521
  /**
1524
1522
  * <p>Describes the data repository association's automatic import policy.
1525
1523
  * The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory
1526
- * listings up to date by importing changes to your file system as you modify
1527
- * objects in a linked S3 bucket.</p>
1528
- * <p>This <code>AutoImportPolicy</code> is supported only for file systems
1529
- * with the <code>Persistent_2</code> deployment type.</p>
1524
+ * listings up to date by importing changes to your Amazon FSx for Lustre file system
1525
+ * as you modify objects in a linked S3 bucket.</p>
1526
+ * <p>The <code>AutoImportPolicy</code> is supported only for Amazon FSx for Lustre
1527
+ * file systems with the <code>Persistent_2</code> deployment type.</p>
1530
1528
  */
1531
1529
  export interface AutoImportPolicy {
1532
1530
  /**
@@ -1841,6 +1839,7 @@ export declare class InvalidSourceKmsKey extends __BaseException {
1841
1839
  constructor(opts: __ExceptionOptionType<InvalidSourceKmsKey, __BaseException>);
1842
1840
  }
1843
1841
  export declare enum ServiceLimit {
1842
+ FILE_CACHE_COUNT = "FILE_CACHE_COUNT",
1844
1843
  FILE_SYSTEM_COUNT = "FILE_SYSTEM_COUNT",
1845
1844
  STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM = "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM",
1846
1845
  TOTAL_IN_PROGRESS_COPY_BACKUPS = "TOTAL_IN_PROGRESS_COPY_BACKUPS",
@@ -1951,14 +1950,18 @@ export declare class VolumeNotFound extends __BaseException {
1951
1950
  }
1952
1951
  /**
1953
1952
  * <p>The configuration for an Amazon S3 data repository linked to an
1954
- * Amazon FSx Lustre file system with a data repository association.
1953
+ * Amazon FSx for Lustre file system with a data repository association.
1955
1954
  * The configuration consists of an <code>AutoImportPolicy</code> that
1956
- * defines file events on the data repository are automatically
1957
- * imported to the file system and an <code>AutoExportPolicy</code>
1958
- * that defines which file events on the file system are automatically
1959
- * exported to the data repository. File events are when files or
1960
- * directories are added, changed, or deleted on the file system or
1961
- * the data repository.</p>
1955
+ * defines which file events on the data repository are automatically
1956
+ * imported to the file system and an <code>AutoExportPolicy</code> that
1957
+ * defines which file events on the file system are automatically exported
1958
+ * to the data repository. File events are when files or directories are
1959
+ * added, changed, or deleted on the file system or the data repository.</p>
1960
+ * <note>
1961
+ * <p>Data repository associations on Amazon File Cache don't
1962
+ * use <code>S3DataRepositoryConfiguration</code> because they don't
1963
+ * support automatic import or automatic export.</p>
1964
+ * </note>
1962
1965
  */
1963
1966
  export interface S3DataRepositoryConfiguration {
1964
1967
  /**
@@ -1993,11 +1996,11 @@ export interface CreateDataRepositoryAssociationRequest {
1993
1996
  * Amazon S3 bucket, and no other S3 bucket can be linked to the directory.</p>
1994
1997
  * <note>
1995
1998
  * <p>If you specify only a forward slash (<code>/</code>) as the file system
1996
- * path, you can link only 1 data repository to the file system. You can only specify
1999
+ * path, you can link only one data repository to the file system. You can only specify
1997
2000
  * "/" as the file system path for the first data repository associated with a file system.</p>
1998
2001
  * </note>
1999
2002
  */
2000
- FileSystemPath: string | undefined;
2003
+ FileSystemPath?: string;
2001
2004
  /**
2002
2005
  * <p>The path to the Amazon S3 data repository that will be linked to the file
2003
2006
  * system. The path can be an S3 bucket or prefix in the format
@@ -2041,9 +2044,38 @@ export interface CreateDataRepositoryAssociationRequest {
2041
2044
  */
2042
2045
  Tags?: Tag[];
2043
2046
  }
2047
+ export declare enum NfsVersion {
2048
+ NFS3 = "NFS3"
2049
+ }
2050
+ /**
2051
+ * <p>The configuration for a data repository association that
2052
+ * links an Amazon File Cache resource to an NFS data repository.</p>
2053
+ */
2054
+ export interface NFSDataRepositoryConfiguration {
2055
+ /**
2056
+ * <p>The version of the NFS (Network File System) protocol of the
2057
+ * NFS data repository. Currently, the only supported value is
2058
+ * <code>NFS3</code>, which indicates that the data repository must
2059
+ * support the NFSv3 protocol.</p>
2060
+ */
2061
+ Version: NfsVersion | string | undefined;
2062
+ /**
2063
+ * <p>A list of up to 2 IP addresses of DNS servers used to resolve
2064
+ * the NFS file system domain name. The provided IP addresses can either
2065
+ * be the IP addresses of a DNS forwarder or resolver that the customer
2066
+ * manages and runs inside the customer VPC, or the IP addresses of the
2067
+ * on-premises DNS servers.</p>
2068
+ */
2069
+ DnsIps?: string[];
2070
+ /**
2071
+ * <p>This parameter is not supported for Amazon File Cache.</p>
2072
+ */
2073
+ AutoExportPolicy?: AutoExportPolicy;
2074
+ }
2044
2075
  /**
2045
2076
  * <p>The configuration of a data repository association that links
2046
- * an Amazon FSx for Lustre file system to an Amazon S3 bucket.
2077
+ * an Amazon FSx for Lustre file system to an Amazon S3 bucket
2078
+ * or an Amazon File Cache resource to an Amazon S3 bucket or an NFS file system.
2047
2079
  * The data repository association configuration object is returned
2048
2080
  * in the response of the following operations:</p>
2049
2081
  * <ul>
@@ -2063,8 +2095,9 @@ export interface CreateDataRepositoryAssociationRequest {
2063
2095
  * </p>
2064
2096
  * </li>
2065
2097
  * </ul>
2066
- * <p>Data repository associations are supported only for file systems
2067
- * with the <code>Persistent_2</code> deployment type.</p>
2098
+ * <p>Data repository associations are supported only for an Amazon FSx for Lustre
2099
+ * file system with the <code>Persistent_2</code> deployment type and for an
2100
+ * Amazon File Cache resource.</p>
2068
2101
  */
2069
2102
  export interface DataRepositoryAssociation {
2070
2103
  /**
@@ -2089,7 +2122,7 @@ export interface DataRepositoryAssociation {
2089
2122
  * <li>
2090
2123
  * <p>
2091
2124
  * <code>CREATING</code> - The data repository association between
2092
- * the FSx file system and the S3 data repository is being created.
2125
+ * the file system or cache and the data repository is being created.
2093
2126
  * The data repository is unavailable.</p>
2094
2127
  * </li>
2095
2128
  * <li>
@@ -2099,9 +2132,9 @@ export interface DataRepositoryAssociation {
2099
2132
  * </li>
2100
2133
  * <li>
2101
2134
  * <p>
2102
- * <code>MISCONFIGURED</code> - Amazon FSx cannot automatically import updates
2103
- * from the S3 bucket or automatically export updates to the S3 bucket until the data
2104
- * repository association configuration is corrected.</p>
2135
+ * <code>MISCONFIGURED</code> - The data repository association is
2136
+ * misconfigured. Until the configuration is corrected, automatic import and
2137
+ * automatic export will not work (only for Amazon FSx for Lustre).</p>
2105
2138
  * </li>
2106
2139
  * <li>
2107
2140
  * <p>
@@ -2127,7 +2160,7 @@ export interface DataRepositoryAssociation {
2127
2160
  */
2128
2161
  FailureDetails?: DataRepositoryFailureDetails;
2129
2162
  /**
2130
- * <p>A path on the file system that points to a high-level directory (such
2163
+ * <p>A path on the Amazon FSx for Lustre file system that points to a high-level directory (such
2131
2164
  * as <code>/ns1/</code>) or subdirectory (such as <code>/ns1/subdir/</code>)
2132
2165
  * that will be mapped 1-1 with <code>DataRepositoryPath</code>.
2133
2166
  * The leading forward slash in the name is required. Two data repository
@@ -2140,29 +2173,61 @@ export interface DataRepositoryAssociation {
2140
2173
  * Amazon S3 bucket, and no other S3 bucket can be linked to the directory.</p>
2141
2174
  * <note>
2142
2175
  * <p>If you specify only a forward slash (<code>/</code>) as the file system
2143
- * path, you can link only 1 data repository to the file system. You can only specify
2176
+ * path, you can link only one data repository to the file system. You can only specify
2144
2177
  * "/" as the file system path for the first data repository associated with a file system.</p>
2145
2178
  * </note>
2146
2179
  */
2147
2180
  FileSystemPath?: string;
2148
2181
  /**
2149
- * <p>The path to the Amazon S3 data repository that will be linked to the file
2150
- * system. The path can be an S3 bucket or prefix in the format
2151
- * <code>s3://myBucket/myPrefix/</code>. This path specifies where in the S3
2152
- * data repository files will be imported from or exported to.</p>
2182
+ * <p>The path to the data repository that will be linked to the cache
2183
+ * or file system.</p>
2184
+ * <ul>
2185
+ * <li>
2186
+ * <p>For Amazon File Cache, the path can be an NFS data repository
2187
+ * that will be linked to the cache. The path can be in one of two formats:</p>
2188
+ * <ul>
2189
+ * <li>
2190
+ * <p>If you are not using the <code>DataRepositorySubdirectories</code>
2191
+ * parameter, the path is to an NFS Export directory (or one of its subdirectories)
2192
+ * in the format <code>nsf://nfs-domain-name/exportpath</code>. You can therefore
2193
+ * link a single NFS Export to a single data repository association.</p>
2194
+ * </li>
2195
+ * <li>
2196
+ * <p>If you are using the <code>DataRepositorySubdirectories</code>
2197
+ * parameter, the path is the domain name of the NFS file system in the format
2198
+ * <code>nfs://filer-domain-name</code>, which indicates the root of the
2199
+ * subdirectories specified with the <code>DataRepositorySubdirectories</code>
2200
+ * parameter.</p>
2201
+ * </li>
2202
+ * </ul>
2203
+ * </li>
2204
+ * <li>
2205
+ * <p>For Amazon File Cache, the path can be an S3 bucket or prefix
2206
+ * in the format <code>s3://myBucket/myPrefix/</code>.</p>
2207
+ * </li>
2208
+ * <li>
2209
+ * <p>For Amazon FSx for Lustre, the path can be an S3 bucket or prefix
2210
+ * in the format <code>s3://myBucket/myPrefix/</code>.</p>
2211
+ * </li>
2212
+ * </ul>
2153
2213
  */
2154
2214
  DataRepositoryPath?: string;
2155
2215
  /**
2156
2216
  * <p>A boolean flag indicating whether an import data repository task to import
2157
2217
  * metadata should run after the data repository association is created. The
2158
2218
  * task runs if this flag is set to <code>true</code>.</p>
2219
+ * <note>
2220
+ * <p>
2221
+ * <code>BatchImportMetaDataOnCreate</code> is not supported for data repositories
2222
+ * linked to an Amazon File Cache resource.</p>
2223
+ * </note>
2159
2224
  */
2160
2225
  BatchImportMetaDataOnCreate?: boolean;
2161
2226
  /**
2162
2227
  * <p>For files imported from a data repository, this value determines the stripe count and
2163
2228
  * maximum amount of data per file (in MiB) stored on a single physical disk. The maximum
2164
2229
  * number of disks that a single file can be striped across is limited by the total number
2165
- * of disks that make up the file system.</p>
2230
+ * of disks that make up the file system or cache.</p>
2166
2231
  *
2167
2232
  * <p>The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500
2168
2233
  * GiB). Amazon S3 objects have a maximum size of 5 TB.</p>
@@ -2170,11 +2235,7 @@ export interface DataRepositoryAssociation {
2170
2235
  ImportedFileChunkSize?: number;
2171
2236
  /**
2172
2237
  * <p>The configuration for an Amazon S3 data repository linked to an
2173
- * Amazon FSx Lustre file system with a data repository association.
2174
- * The configuration defines which file events (new, changed, or
2175
- * deleted files or directories) are automatically imported from
2176
- * the linked data repository to the file system or automatically
2177
- * exported from the file system to the data repository.</p>
2238
+ * Amazon FSx for Lustre file system with a data repository association.</p>
2178
2239
  */
2179
2240
  S3?: S3DataRepositoryConfiguration;
2180
2241
  /**
@@ -2186,6 +2247,46 @@ export interface DataRepositoryAssociation {
2186
2247
  * also known as Unix time.</p>
2187
2248
  */
2188
2249
  CreationTime?: Date;
2250
+ /**
2251
+ * <p>The globally unique ID of the Amazon File Cache resource.</p>
2252
+ */
2253
+ FileCacheId?: string;
2254
+ /**
2255
+ * <p>A path on the Amazon File Cache that points to a high-level directory (such
2256
+ * as <code>/ns1/</code>) or subdirectory (such as <code>/ns1/subdir/</code>)
2257
+ * that will be mapped 1-1 with <code>DataRepositoryPath</code>.
2258
+ * The leading forward slash in the path is required. Two data repository
2259
+ * associations cannot have overlapping cache paths. For example, if
2260
+ * a data repository is associated with cache path <code>/ns1/</code>,
2261
+ * then you cannot link another data repository with cache
2262
+ * path <code>/ns1/ns2</code>.</p>
2263
+ * <p>This path specifies the directory in your cache where files will be exported
2264
+ * from. This cache directory can be linked to only one data repository
2265
+ * (S3 or NFS) and no other data repository can be linked to the directory.</p>
2266
+ * <note>
2267
+ * <p>The cache path can only be set to root (/) on an NFS DRA when
2268
+ * <code>DataRepositorySubdirectories</code> is specified. If you
2269
+ * specify root (/) as the cache path, you can create only one DRA
2270
+ * on the cache.</p>
2271
+ * <p>The cache path cannot be set to root (/) for an S3 DRA.</p>
2272
+ * </note>
2273
+ */
2274
+ FileCachePath?: string;
2275
+ /**
2276
+ * <p>For Amazon File Cache, a list of NFS Exports that will be linked with an
2277
+ * NFS data repository association. All the subdirectories must be on a single NFS file system.
2278
+ * The Export paths are in the format <code>/exportpath1</code>.
2279
+ * To use this parameter, you must configure <code>DataRepositoryPath</code>
2280
+ * as the domain name of the NFS file system. The NFS file system domain name in effect is the
2281
+ * root of the subdirectories. Note that <code>DataRepositorySubdirectories</code> is not
2282
+ * supported for S3 data repositories.</p>
2283
+ */
2284
+ DataRepositorySubdirectories?: string[];
2285
+ /**
2286
+ * <p>The configuration for an NFS data repository linked to an
2287
+ * Amazon File Cache resource with a data repository association.</p>
2288
+ */
2289
+ NFS?: NFSDataRepositoryConfiguration;
2189
2290
  }
2190
2291
  export interface CreateDataRepositoryAssociationResponse {
2191
2292
  /**
@@ -2234,6 +2335,8 @@ export interface CompletionReport {
2234
2335
  Scope?: ReportScope | string;
2235
2336
  }
2236
2337
  export declare enum DataRepositoryTaskType {
2338
+ AUTO_TRIGGERED_EVICTION = "AUTO_RELEASE_DATA",
2339
+ EVICTION = "RELEASE_DATA_FROM_FILESYSTEM",
2237
2340
  EXPORT = "EXPORT_TO_REPOSITORY",
2238
2341
  IMPORT = "IMPORT_METADATA_FROM_REPOSITORY"
2239
2342
  }
@@ -2284,6 +2387,11 @@ export interface CreateDataRepositoryTaskRequest {
2284
2387
  * <p>A list of <code>Tag</code> values, with a maximum of 50 elements.</p>
2285
2388
  */
2286
2389
  Tags?: Tag[];
2390
+ /**
2391
+ * <p>Specifies the amount of data to release, in GiB, by an Amazon File Cache
2392
+ * <code>AUTO_RELEASE_DATA</code> task that automatically releases files from the cache.</p>
2393
+ */
2394
+ CapacityToRelease?: number;
2287
2395
  }
2288
2396
  /**
2289
2397
  * <p>Provides information about why a data repository task failed. Only populated when the task <code>Lifecycle</code> is set to <code>FAILED</code>.</p>
@@ -2317,11 +2425,17 @@ export interface DataRepositoryTaskStatus {
2317
2425
  * <p>The time at which the task status was last updated.</p>
2318
2426
  */
2319
2427
  LastUpdatedTime?: Date;
2428
+ /**
2429
+ * <p>The total amount of data, in GiB, released by an Amazon File Cache
2430
+ * AUTO_RELEASE_DATA task that automatically releases files from the cache.</p>
2431
+ */
2432
+ ReleasedCapacity?: number;
2320
2433
  }
2321
2434
  /**
2322
2435
  * <p>A description of the data repository task. You use data repository tasks
2323
- * to perform bulk transfer operations between your Amazon FSx file system and a linked data
2324
- * repository.</p>
2436
+ * to perform bulk transfer operations between an Amazon FSx for Lustre file system
2437
+ * and a linked data repository. An Amazon File Cache resource uses a task to
2438
+ * automatically release files from the cache.</p>
2325
2439
  */
2326
2440
  export interface DataRepositoryTask {
2327
2441
  /**
@@ -2333,28 +2447,28 @@ export interface DataRepositoryTask {
2333
2447
  * <ul>
2334
2448
  * <li>
2335
2449
  * <p>
2336
- * <code>PENDING</code> - Amazon FSx has not started the task.</p>
2450
+ * <code>PENDING</code> - The task has not started.</p>
2337
2451
  * </li>
2338
2452
  * <li>
2339
2453
  * <p>
2340
- * <code>EXECUTING</code> - Amazon FSx is processing the task.</p>
2454
+ * <code>EXECUTING</code> - The task is in process.</p>
2341
2455
  * </li>
2342
2456
  * <li>
2343
2457
  * <p>
2344
- * <code>FAILED</code> - Amazon FSx was not able to complete the task. For example, there may be files the task failed to process.
2458
+ * <code>FAILED</code> - The task was not able to be completed. For example, there may be files the task failed to process.
2345
2459
  * The <a>DataRepositoryTaskFailureDetails</a> property provides more information about task failures.</p>
2346
2460
  * </li>
2347
2461
  * <li>
2348
2462
  * <p>
2349
- * <code>SUCCEEDED</code> - FSx completed the task successfully.</p>
2463
+ * <code>SUCCEEDED</code> - The task has completed successfully.</p>
2350
2464
  * </li>
2351
2465
  * <li>
2352
2466
  * <p>
2353
- * <code>CANCELED</code> - Amazon FSx canceled the task and it did not complete.</p>
2467
+ * <code>CANCELED</code> - The task was canceled and it did not complete.</p>
2354
2468
  * </li>
2355
2469
  * <li>
2356
2470
  * <p>
2357
- * <code>CANCELING</code> - FSx is in process of canceling the task.</p>
2471
+ * <code>CANCELING</code> - The task is in process of being canceled.</p>
2358
2472
  * </li>
2359
2473
  * </ul>
2360
2474
  * <note>
@@ -2369,12 +2483,19 @@ export interface DataRepositoryTask {
2369
2483
  * <p>The type of data repository task.</p>
2370
2484
  * <ul>
2371
2485
  * <li>
2372
- * <p>The <code>EXPORT_TO_REPOSITORY</code> data repository task exports
2373
- * from your Lustre file system from to a linked S3 bucket.</p>
2486
+ * <p>
2487
+ * <code>EXPORT_TO_REPOSITORY</code> tasks export from your
2488
+ * Amazon FSx for Lustre file system to a linked data repository.</p>
2374
2489
  * </li>
2375
2490
  * <li>
2376
- * <p>The <code>IMPORT_METADATA_FROM_REPOSITORY</code> data repository task
2377
- * imports metadata changes from a linked S3 bucket to your Lustre file system.</p>
2491
+ * <p>
2492
+ * <code>IMPORT_METADATA_FROM_REPOSITORY</code> tasks import metadata
2493
+ * changes from a linked S3 bucket to your Amazon FSx for Lustre file system.</p>
2494
+ * </li>
2495
+ * <li>
2496
+ * <p>
2497
+ * <code>AUTO_RELEASE_DATA</code> tasks automatically release files from
2498
+ * an Amazon File Cache resource.</p>
2378
2499
  * </li>
2379
2500
  * </ul>
2380
2501
  */
@@ -2385,11 +2506,11 @@ export interface DataRepositoryTask {
2385
2506
  */
2386
2507
  CreationTime: Date | undefined;
2387
2508
  /**
2388
- * <p>The time that Amazon FSx began processing the task.</p>
2509
+ * <p>The time the system began processing the task.</p>
2389
2510
  */
2390
2511
  StartTime?: Date;
2391
2512
  /**
2392
- * <p>The time that Amazon FSx completed processing the task, populated after the task is complete.</p>
2513
+ * <p>The time the system completed processing the task, populated after the task is complete.</p>
2393
2514
  */
2394
2515
  EndTime?: Date;
2395
2516
  /**
@@ -2404,12 +2525,13 @@ export interface DataRepositoryTask {
2404
2525
  */
2405
2526
  Tags?: Tag[];
2406
2527
  /**
2407
- * <p>The globally unique ID of the file system, assigned by Amazon FSx.</p>
2528
+ * <p>The globally unique ID of the file system.</p>
2408
2529
  */
2409
- FileSystemId: string | undefined;
2530
+ FileSystemId?: string;
2410
2531
  /**
2411
- * <p>An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to process.
2412
- * For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.</p>
2532
+ * <p>An array of paths that specify the data for the data repository task to process.
2533
+ * For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export
2534
+ * to the linked data repository.</p>
2413
2535
  * <p>(Default) If <code>Paths</code> is not specified, Amazon FSx uses the file system root directory.</p>
2414
2536
  */
2415
2537
  Paths?: string[];
@@ -2428,6 +2550,15 @@ export interface DataRepositoryTask {
2428
2550
  * You can specify whether or not a report gets generated for a task using the <code>Enabled</code> parameter.</p>
2429
2551
  */
2430
2552
  Report?: CompletionReport;
2553
+ /**
2554
+ * <p>Specifies the amount of data to release, in GiB, by an Amazon File Cache
2555
+ * AUTO_RELEASE_DATA task that automatically releases files from the cache.</p>
2556
+ */
2557
+ CapacityToRelease?: number;
2558
+ /**
2559
+ * <p>The system-generated, unique ID of the cache.</p>
2560
+ */
2561
+ FileCacheId?: string;
2431
2562
  }
2432
2563
  export interface CreateDataRepositoryTaskResponse {
2433
2564
  /**
@@ -2449,24 +2580,475 @@ export declare class DataRepositoryTaskExecuting extends __BaseException {
2449
2580
  /**
2450
2581
  * @internal
2451
2582
  */
2452
- constructor(opts: __ExceptionOptionType<DataRepositoryTaskExecuting, __BaseException>);
2583
+ constructor(opts: __ExceptionOptionType<DataRepositoryTaskExecuting, __BaseException>);
2584
+ }
2585
+ /**
2586
+ * <p>The configuration for an NFS data repository association (DRA)
2587
+ * created during the creation of the Amazon File Cache resource.</p>
2588
+ */
2589
+ export interface FileCacheNFSConfiguration {
2590
+ /**
2591
+ * <p>The version of the NFS (Network File System) protocol of the
2592
+ * NFS data repository. The only supported value is <code>NFS3</code>,
2593
+ * which indicates that the data repository must support the NFSv3 protocol.</p>
2594
+ */
2595
+ Version: NfsVersion | string | undefined;
2596
+ /**
2597
+ * <p>A list of up to 2 IP addresses of DNS servers used to resolve
2598
+ * the NFS file system domain name. The provided IP addresses can either
2599
+ * be the IP addresses of a DNS forwarder or resolver that the customer
2600
+ * manages and runs inside the customer VPC, or the IP addresses of the
2601
+ * on-premises DNS servers.</p>
2602
+ */
2603
+ DnsIps?: string[];
2604
+ }
2605
+ /**
2606
+ * <p>The configuration for a data repository association (DRA) to
2607
+ * be created during the Amazon File Cache resource creation. The DRA
2608
+ * links the cache to either an Amazon S3 bucket or prefix, or a Network File
2609
+ * System (NFS) data repository that supports the NFSv3 protocol.</p>
2610
+ * <p>The DRA does not support automatic import or automatic
2611
+ * export.</p>
2612
+ */
2613
+ export interface FileCacheDataRepositoryAssociation {
2614
+ /**
2615
+ * <p>A path on the cache that points to a high-level directory (such
2616
+ * as <code>/ns1/</code>) or subdirectory (such as <code>/ns1/subdir/</code>)
2617
+ * that will be mapped 1-1 with <code>DataRepositoryPath</code>.
2618
+ * The leading forward slash in the name is required. Two data repository
2619
+ * associations cannot have overlapping cache paths. For example, if
2620
+ * a data repository is associated with cache path <code>/ns1/</code>,
2621
+ * then you cannot link another data repository with cache
2622
+ * path <code>/ns1/ns2</code>.</p>
2623
+ * <p>This path specifies where in your cache files will be exported
2624
+ * from. This cache directory can be linked to only one data repository,
2625
+ * and no data repository other can be linked to the directory.</p>
2626
+ * <note>
2627
+ * <p>The cache path can only be set to root (/) on an NFS DRA when
2628
+ * <code>DataRepositorySubdirectories</code> is specified. If you
2629
+ * specify root (/) as the cache path, you can create only one DRA
2630
+ * on the cache.</p>
2631
+ * <p>The cache path cannot be set to root (/) for an S3 DRA.</p>
2632
+ * </note>
2633
+ */
2634
+ FileCachePath: string | undefined;
2635
+ /**
2636
+ * <p>The path to the S3 or NFS data repository that links to the
2637
+ * cache. You must provide one of the following paths:</p>
2638
+ * <ul>
2639
+ * <li>
2640
+ * <p>The path can be an NFS data repository that links to
2641
+ * the cache. The path can be in one of two formats:</p>
2642
+ * <ul>
2643
+ * <li>
2644
+ * <p>If you are not using the <code>DataRepositorySubdirectories</code>
2645
+ * parameter, the path is to an NFS Export directory (or one of its subdirectories)
2646
+ * in the format <code>nsf://nfs-domain-name/exportpath</code>. You can therefore
2647
+ * link a single NFS Export to a single data repository association.</p>
2648
+ * </li>
2649
+ * <li>
2650
+ * <p>If you are using the <code>DataRepositorySubdirectories</code>
2651
+ * parameter, the path is the domain name of the NFS file system in the format
2652
+ * <code>nfs://filer-domain-name</code>, which indicates the root of the
2653
+ * subdirectories specified with the <code>DataRepositorySubdirectories</code>
2654
+ * parameter.</p>
2655
+ * </li>
2656
+ * </ul>
2657
+ * </li>
2658
+ * <li>
2659
+ * <p>The path can be an S3 bucket or prefix
2660
+ * in the format <code>s3://myBucket/myPrefix/</code>.</p>
2661
+ * </li>
2662
+ * </ul>
2663
+ */
2664
+ DataRepositoryPath: string | undefined;
2665
+ /**
2666
+ * <p>A list of NFS Exports that will be linked with this data repository
2667
+ * association. The Export paths are in the format <code>/exportpath1</code>.
2668
+ * To use this parameter, you must configure <code>DataRepositoryPath</code>
2669
+ * as the domain name of the NFS file system. The NFS file system domain name in effect is the
2670
+ * root of the subdirectories. Note that <code>DataRepositorySubdirectories</code>
2671
+ * is not supported for S3 data repositories.</p>
2672
+ */
2673
+ DataRepositorySubdirectories?: string[];
2674
+ /**
2675
+ * <p>The configuration for a data repository association that
2676
+ * links an Amazon File Cache resource to an NFS data repository.</p>
2677
+ */
2678
+ NFS?: FileCacheNFSConfiguration;
2679
+ }
2680
+ export declare enum FileCacheType {
2681
+ LUSTRE = "LUSTRE"
2682
+ }
2683
+ export declare enum FileCacheLustreDeploymentType {
2684
+ CACHE_1 = "CACHE_1"
2685
+ }
2686
+ /**
2687
+ * <p>The configuration for a Lustre MDT (Metadata Target) storage volume.
2688
+ * The metadata on Amazon File Cache is managed by a Lustre Metadata Server
2689
+ * (MDS) while the actual metadata is persisted on an MDT.</p>
2690
+ */
2691
+ export interface FileCacheLustreMetadataConfiguration {
2692
+ /**
2693
+ * <p>The storage capacity of the Lustre MDT (Metadata Target) storage
2694
+ * volume in gibibytes (GiB). The only supported value is <code>2400</code> GiB.</p>
2695
+ */
2696
+ StorageCapacity: number | undefined;
2697
+ }
2698
+ /**
2699
+ * <p>The Amazon File Cache configuration for the cache that you are creating.</p>
2700
+ */
2701
+ export interface CreateFileCacheLustreConfiguration {
2702
+ /**
2703
+ * <p>Provisions the amount of read and write throughput for each 1 tebibyte (TiB)
2704
+ * of cache storage capacity, in MB/s/TiB. The only supported
2705
+ * value is <code>1000</code>.</p>
2706
+ */
2707
+ PerUnitStorageThroughput: number | undefined;
2708
+ /**
2709
+ * <p>Specifies the cache deployment type, which must be <code>CACHE_1</code>.</p>
2710
+ */
2711
+ DeploymentType: FileCacheLustreDeploymentType | string | undefined;
2712
+ /**
2713
+ * <p>A recurring weekly time, in the format <code>D:HH:MM</code>. </p>
2714
+ * <p>
2715
+ * <code>D</code> is the day of the week, for which 1 represents Monday and 7
2716
+ * represents Sunday. For further details, see <a href="https://en.wikipedia.org/wiki/ISO_week_date">the ISO-8601 spec as described on Wikipedia</a>.</p>
2717
+ * <p>
2718
+ * <code>HH</code> is the zero-padded hour of the day (0-23), and <code>MM</code> is
2719
+ * the zero-padded minute of the hour. </p>
2720
+ * <p>For example, <code>1:05:00</code> specifies maintenance at 5 AM Monday.</p>
2721
+ */
2722
+ WeeklyMaintenanceStartTime?: string;
2723
+ /**
2724
+ * <p>The configuration for a Lustre MDT (Metadata Target) storage volume.</p>
2725
+ */
2726
+ MetadataConfiguration: FileCacheLustreMetadataConfiguration | undefined;
2727
+ }
2728
+ export interface CreateFileCacheRequest {
2729
+ /**
2730
+ * <p>An idempotency token for resource creation, in a string of up to 64
2731
+ * ASCII characters. This token is automatically filled on your behalf when you use the
2732
+ * Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
2733
+ * <p>By using the idempotent operation, you can retry a <code>CreateFileCache</code>
2734
+ * operation without the risk of creating an extra cache. This approach can be useful
2735
+ * when an initial call fails in a way that makes it unclear whether a cache was created.
2736
+ * Examples are if a transport level timeout occurred, or your connection was reset.
2737
+ * If you use the same client request token and the initial call created a cache, the
2738
+ * client receives success as long as the parameters are the same.</p>
2739
+ */
2740
+ ClientRequestToken?: string;
2741
+ /**
2742
+ * <p>The type of cache that you're creating, which
2743
+ * must be <code>LUSTRE</code>.</p>
2744
+ */
2745
+ FileCacheType: FileCacheType | string | undefined;
2746
+ /**
2747
+ * <p>Sets the Lustre version for the cache that you're creating,
2748
+ * which must be <code>2.12</code>.</p>
2749
+ */
2750
+ FileCacheTypeVersion: string | undefined;
2751
+ /**
2752
+ * <p>The storage capacity of the cache in gibibytes (GiB). Valid values
2753
+ * are 1200 GiB, 2400 GiB, and increments of 2400 GiB.</p>
2754
+ */
2755
+ StorageCapacity: number | undefined;
2756
+ /**
2757
+ * <p>A list of subnet IDs that the cache will be accessible from. You can specify only
2758
+ * one subnet ID in a call to the <code>CreateFileCache</code> operation.</p>
2759
+ */
2760
+ SubnetIds: string[] | undefined;
2761
+ /**
2762
+ * <p>A list of IDs specifying the security groups to apply to all network interfaces
2763
+ * created for Amazon File Cache access. This list isn't returned in later requests to
2764
+ * describe the cache.</p>
2765
+ */
2766
+ SecurityGroupIds?: string[];
2767
+ /**
2768
+ * <p>A list of <code>Tag</code> values, with a maximum of 50 elements.</p>
2769
+ */
2770
+ Tags?: Tag[];
2771
+ /**
2772
+ * <p>A boolean flag indicating whether tags for the cache should be copied to
2773
+ * data repository associations. This value defaults to false.</p>
2774
+ */
2775
+ CopyTagsToDataRepositoryAssociations?: boolean;
2776
+ /**
2777
+ * <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
2778
+ * an Amazon File Cache. If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed
2779
+ * KMS key for your account is used. For more information,
2780
+ * see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
2781
+ * <i>Key Management Service API Reference</i>.</p>
2782
+ */
2783
+ KmsKeyId?: string;
2784
+ /**
2785
+ * <p>The configuration for the Amazon File Cache resource being created.</p>
2786
+ */
2787
+ LustreConfiguration?: CreateFileCacheLustreConfiguration;
2788
+ /**
2789
+ * <p>A list of up to 8 configurations for data repository associations (DRAs) to
2790
+ * be created during the cache creation. The DRAs link the cache to either an
2791
+ * Amazon S3 data repository or a Network File System (NFS) data repository that supports the NFSv3 protocol.</p>
2792
+ * <p>The DRA configurations must meet the following requirements:</p>
2793
+ * <ul>
2794
+ * <li>
2795
+ * <p>All configurations on the list must be of the
2796
+ * same data repository type, either all S3 or all NFS. A cache
2797
+ * can't link to different data repository types at the same time.</p>
2798
+ * </li>
2799
+ * <li>
2800
+ * <p>An NFS DRA must link to an NFS file system that
2801
+ * supports the NFSv3 protocol.</p>
2802
+ * </li>
2803
+ * </ul>
2804
+ *
2805
+ * <p>DRA automatic import and automatic export is not supported.</p>
2806
+ */
2807
+ DataRepositoryAssociations?: FileCacheDataRepositoryAssociation[];
2808
+ }
2809
+ /**
2810
+ * <p>A structure providing details of any failures that occurred.</p>
2811
+ */
2812
+ export interface FileCacheFailureDetails {
2813
+ /**
2814
+ * <p>A message describing any failures that occurred.</p>
2815
+ */
2816
+ Message?: string;
2817
+ }
2818
+ export declare enum FileCacheLifecycle {
2819
+ AVAILABLE = "AVAILABLE",
2820
+ CREATING = "CREATING",
2821
+ DELETING = "DELETING",
2822
+ FAILED = "FAILED",
2823
+ UPDATING = "UPDATING"
2824
+ }
2825
+ /**
2826
+ * <p>The configuration for the Amazon File Cache resource.</p>
2827
+ */
2828
+ export interface FileCacheLustreConfiguration {
2829
+ /**
2830
+ * <p>Per unit storage throughput represents the megabytes per second of read or write
2831
+ * throughput per 1 tebibyte of storage provisioned. Cache throughput capacity is
2832
+ * equal to Storage capacity (TiB) * PerUnitStorageThroughput (MB/s/TiB). The only
2833
+ * supported value is <code>1000</code>.</p>
2834
+ */
2835
+ PerUnitStorageThroughput?: number;
2836
+ /**
2837
+ * <p>The deployment type of the Amazon File Cache resource, which must
2838
+ * be <code>CACHE_1</code>.</p>
2839
+ */
2840
+ DeploymentType?: FileCacheLustreDeploymentType | string;
2841
+ /**
2842
+ * <p>You use the <code>MountName</code> value when mounting the cache. If you pass
2843
+ * a cache ID to the <code>DescribeFileCaches</code> operation, it returns the
2844
+ * the <code>MountName</code> value as part of the cache's description.</p>
2845
+ */
2846
+ MountName?: string;
2847
+ /**
2848
+ * <p>A recurring weekly time, in the format <code>D:HH:MM</code>. </p>
2849
+ * <p>
2850
+ * <code>D</code> is the day of the week, for which 1 represents Monday and 7
2851
+ * represents Sunday. For further details, see <a href="https://en.wikipedia.org/wiki/ISO_week_date">the ISO-8601 spec as described on Wikipedia</a>.</p>
2852
+ * <p>
2853
+ * <code>HH</code> is the zero-padded hour of the day (0-23), and <code>MM</code> is
2854
+ * the zero-padded minute of the hour. </p>
2855
+ * <p>For example, <code>1:05:00</code> specifies maintenance at 5 AM Monday.</p>
2856
+ */
2857
+ WeeklyMaintenanceStartTime?: string;
2858
+ /**
2859
+ * <p>The configuration for a Lustre MDT (Metadata Target) storage volume.</p>
2860
+ */
2861
+ MetadataConfiguration?: FileCacheLustreMetadataConfiguration;
2862
+ /**
2863
+ * <p>The configuration for Lustre logging used to write the enabled
2864
+ * logging events for your Amazon File Cache resource to Amazon CloudWatch Logs.</p>
2865
+ */
2866
+ LogConfiguration?: LustreLogConfiguration;
2867
+ }
2868
+ /**
2869
+ * <p>The response object for the Amazon File Cache resource being created in the
2870
+ * <code>CreateFileCache</code> operation.</p>
2871
+ */
2872
+ export interface FileCacheCreating {
2873
+ /**
2874
+ * <p>An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon
2875
+ * Resource Names (ARNs) for resources.</p>
2876
+ */
2877
+ OwnerId?: string;
2878
+ /**
2879
+ * <p>The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z),
2880
+ * also known as Unix time.</p>
2881
+ */
2882
+ CreationTime?: Date;
2883
+ /**
2884
+ * <p>The system-generated, unique ID of the cache.</p>
2885
+ */
2886
+ FileCacheId?: string;
2887
+ /**
2888
+ * <p>The type of cache, which must be <code>LUSTRE</code>.</p>
2889
+ */
2890
+ FileCacheType?: FileCacheType | string;
2891
+ /**
2892
+ * <p>The Lustre version of the cache, which must be <code>2.12</code>.</p>
2893
+ */
2894
+ FileCacheTypeVersion?: string;
2895
+ /**
2896
+ * <p>The lifecycle status of the cache. The following are the possible values and
2897
+ * what they mean:</p>
2898
+ * <ul>
2899
+ * <li>
2900
+ * <p>
2901
+ * <code>AVAILABLE</code> - The cache is in a healthy state, and is reachable and available for use.</p>
2902
+ * </li>
2903
+ * <li>
2904
+ * <p>
2905
+ * <code>CREATING</code> - The new cache is being created.</p>
2906
+ * </li>
2907
+ * <li>
2908
+ * <p>
2909
+ * <code>DELETING</code> - An existing cache is being deleted.</p>
2910
+ * </li>
2911
+ * <li>
2912
+ * <p>
2913
+ * <code>UPDATING</code> - The cache is undergoing a customer-initiated update.</p>
2914
+ * </li>
2915
+ * <li>
2916
+ * <p>
2917
+ * <code>FAILED</code> - An existing cache has experienced an unrecoverable failure.
2918
+ * When creating a new cache, the cache was unable to be created.</p>
2919
+ * </li>
2920
+ * </ul>
2921
+ */
2922
+ Lifecycle?: FileCacheLifecycle | string;
2923
+ /**
2924
+ * <p>A structure providing details of any failures that occurred.</p>
2925
+ */
2926
+ FailureDetails?: FileCacheFailureDetails;
2927
+ /**
2928
+ * <p>The storage capacity of the cache in gibibytes (GiB).</p>
2929
+ */
2930
+ StorageCapacity?: number;
2931
+ /**
2932
+ * <p>The ID of your virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html">VPC and
2933
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
2934
+ */
2935
+ VpcId?: string;
2936
+ /**
2937
+ * <p>A list of subnet IDs that the cache will be accessible from. You can specify only
2938
+ * one subnet ID in a call to the <code>CreateFileCache</code> operation.</p>
2939
+ */
2940
+ SubnetIds?: string[];
2941
+ /**
2942
+ * <p>A list of network interface IDs.</p>
2943
+ */
2944
+ NetworkInterfaceIds?: string[];
2945
+ /**
2946
+ * <p>The Domain Name System (DNS) name for the cache.</p>
2947
+ */
2948
+ DNSName?: string;
2949
+ /**
2950
+ * <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
2951
+ * an Amazon File Cache. If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed
2952
+ * KMS key for your account is used. For more information,
2953
+ * see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
2954
+ * <i>Key Management Service API Reference</i>.</p>
2955
+ */
2956
+ KmsKeyId?: string;
2957
+ /**
2958
+ * <p>The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services
2959
+ * resources. We require an ARN when you need to specify a resource unambiguously across
2960
+ * all of Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in
2961
+ * the <i>Amazon Web Services General Reference</i>.</p>
2962
+ */
2963
+ ResourceARN?: string;
2964
+ /**
2965
+ * <p>A list of <code>Tag</code> values, with a maximum of 50 elements.</p>
2966
+ */
2967
+ Tags?: Tag[];
2968
+ /**
2969
+ * <p>A boolean flag indicating whether tags for the cache should be copied to
2970
+ * data repository associations.</p>
2971
+ */
2972
+ CopyTagsToDataRepositoryAssociations?: boolean;
2973
+ /**
2974
+ * <p>The configuration for the Amazon File Cache resource.</p>
2975
+ */
2976
+ LustreConfiguration?: FileCacheLustreConfiguration;
2977
+ /**
2978
+ * <p>A list of IDs of data repository associations that are associated with this cache.</p>
2979
+ */
2980
+ DataRepositoryAssociationIds?: string[];
2981
+ }
2982
+ export interface CreateFileCacheResponse {
2983
+ /**
2984
+ * <p>A description of the cache that was created.</p>
2985
+ */
2986
+ FileCache?: FileCacheCreating;
2987
+ }
2988
+ /**
2989
+ * <p>One or more network settings specified in the request are invalid.</p>
2990
+ */
2991
+ export declare class InvalidNetworkSettings extends __BaseException {
2992
+ readonly name: "InvalidNetworkSettings";
2993
+ readonly $fault: "client";
2994
+ /**
2995
+ * <p>Error message explaining what's wrong with network settings.</p>
2996
+ */
2997
+ Message?: string;
2998
+ /**
2999
+ * <p>The subnet ID that is either invalid or not part of the VPC specified.</p>
3000
+ */
3001
+ InvalidSubnetId?: string;
3002
+ /**
3003
+ * <p>The security group ID is either invalid or not part of the VPC specified.</p>
3004
+ */
3005
+ InvalidSecurityGroupId?: string;
3006
+ /**
3007
+ * <p>The route table ID is either invalid or not part of the VPC specified.</p>
3008
+ */
3009
+ InvalidRouteTableId?: string;
3010
+ /**
3011
+ * @internal
3012
+ */
3013
+ constructor(opts: __ExceptionOptionType<InvalidNetworkSettings, __BaseException>);
3014
+ }
3015
+ /**
3016
+ * <p>An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create your file system again, using a valid value.</p>
3017
+ */
3018
+ export declare class InvalidPerUnitStorageThroughput extends __BaseException {
3019
+ readonly name: "InvalidPerUnitStorageThroughput";
3020
+ readonly $fault: "client";
3021
+ /**
3022
+ * <p>A detailed error message.</p>
3023
+ */
3024
+ Message?: string;
3025
+ /**
3026
+ * @internal
3027
+ */
3028
+ constructor(opts: __ExceptionOptionType<InvalidPerUnitStorageThroughput, __BaseException>);
3029
+ }
3030
+ /**
3031
+ * <p>A cache configuration is required for this operation.</p>
3032
+ */
3033
+ export declare class MissingFileCacheConfiguration extends __BaseException {
3034
+ readonly name: "MissingFileCacheConfiguration";
3035
+ readonly $fault: "client";
3036
+ /**
3037
+ * <p>A detailed error message.</p>
3038
+ */
3039
+ Message?: string;
3040
+ /**
3041
+ * @internal
3042
+ */
3043
+ constructor(opts: __ExceptionOptionType<MissingFileCacheConfiguration, __BaseException>);
2453
3044
  }
2454
3045
  /**
2455
3046
  * <p>The Lustre logging configuration used when creating or updating an
2456
- * Amazon FSx for Lustre file system. Lustre logging writes the enabled
2457
- * logging events for your file system to Amazon CloudWatch Logs.</p>
2458
- * <p>Error and warning events can be logged from the following data
2459
- * repository operations:</p>
2460
- * <ul>
2461
- * <li>
2462
- * <p>Automatic export</p>
2463
- * </li>
2464
- * <li>
2465
- * <p>Data repository tasks</p>
2466
- * </li>
2467
- * </ul>
2468
- * <p>To learn more about Lustre logging, see
2469
- * <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/cw-event-logging.html">Logging to Amazon CloudWatch Logs</a>.</p>
3047
+ * Amazon FSx for Lustre file system. An Amazon File Cache is created
3048
+ * with Lustre logging enabled by default, with a setting of
3049
+ * <code>WARN_ERROR</code> for the logging events. which can't be changed.</p>
3050
+ * <p>Lustre logging writes the enabled logging events for your file system
3051
+ * or cache to Amazon CloudWatch Logs.</p>
2470
3052
  */
2471
3053
  export interface LustreLogCreateConfiguration {
2472
3054
  /**
@@ -2508,7 +3090,9 @@ export interface LustreLogCreateConfiguration {
2508
3090
  * </li>
2509
3091
  * <li>
2510
3092
  * <p>If you do not provide a destination, Amazon FSx will create and use a
2511
- * log stream in the CloudWatch Logs <code>/aws/fsx/lustre</code> log group.</p>
3093
+ * log stream in the CloudWatch Logs <code>/aws/fsx/lustre</code> log group
3094
+ * (for Amazon FSx for Lustre) or <code>/aws/fsx/filecache</code>
3095
+ * (for Amazon File Cache).</p>
2512
3096
  * </li>
2513
3097
  * <li>
2514
3098
  * <p>If <code>Destination</code> is provided and the resource does not
@@ -3483,48 +4067,6 @@ export declare class InvalidImportPath extends __BaseException {
3483
4067
  */
3484
4068
  constructor(opts: __ExceptionOptionType<InvalidImportPath, __BaseException>);
3485
4069
  }
3486
- /**
3487
- * <p>One or more network settings specified in the request are invalid.</p>
3488
- */
3489
- export declare class InvalidNetworkSettings extends __BaseException {
3490
- readonly name: "InvalidNetworkSettings";
3491
- readonly $fault: "client";
3492
- /**
3493
- * <p>Error message explaining what's wrong with network settings.</p>
3494
- */
3495
- Message?: string;
3496
- /**
3497
- * <p>The subnet ID that is either invalid or not part of the VPC specified.</p>
3498
- */
3499
- InvalidSubnetId?: string;
3500
- /**
3501
- * <p>The security group ID is either invalid or not part of the VPC specified.</p>
3502
- */
3503
- InvalidSecurityGroupId?: string;
3504
- /**
3505
- * <p>The route table ID is either invalid or not part of the VPC specified.</p>
3506
- */
3507
- InvalidRouteTableId?: string;
3508
- /**
3509
- * @internal
3510
- */
3511
- constructor(opts: __ExceptionOptionType<InvalidNetworkSettings, __BaseException>);
3512
- }
3513
- /**
3514
- * <p>An invalid value for <code>PerUnitStorageThroughput</code> was provided. Please create your file system again, using a valid value.</p>
3515
- */
3516
- export declare class InvalidPerUnitStorageThroughput extends __BaseException {
3517
- readonly name: "InvalidPerUnitStorageThroughput";
3518
- readonly $fault: "client";
3519
- /**
3520
- * <p>A detailed error message.</p>
3521
- */
3522
- Message?: string;
3523
- /**
3524
- * @internal
3525
- */
3526
- constructor(opts: __ExceptionOptionType<InvalidPerUnitStorageThroughput, __BaseException>);
3527
- }
3528
4070
  /**
3529
4071
  * <p>A file system configuration is required for this operation.</p>
3530
4072
  */
@@ -3673,6 +4215,17 @@ export interface CreateFileSystemFromBackupRequest {
3673
4215
  * <p>The OpenZFS configuration for the file system that's being created. </p>
3674
4216
  */
3675
4217
  OpenZFSConfiguration?: CreateFileSystemOpenZFSConfiguration;
4218
+ /**
4219
+ * <p>Sets the storage capacity of the OpenZFS file system that you're creating
4220
+ * from a backup, in gibibytes (GiB). Valid values are from 64 GiB up to 524,288 GiB
4221
+ * (512 TiB). However, the value that you specify must be equal to or greater than the
4222
+ * backup's storage capacity value. If you don't use the <code>StorageCapacity</code>
4223
+ * parameter, the default is the backup's <code>StorageCapacity</code> value.</p>
4224
+ * <p>If used to create a file system other than OpenZFS, you must provide a value
4225
+ * that matches the backup's <code>StorageCapacity</code> value. If you provide any
4226
+ * other value, Amazon FSx responds with a 400 Bad Request. </p>
4227
+ */
4228
+ StorageCapacity?: number;
3676
4229
  }
3677
4230
  export interface CreateSnapshotRequest {
3678
4231
  /**
@@ -4331,7 +4884,7 @@ export interface DeleteDataRepositoryAssociationRequest {
4331
4884
  * <p>Set to <code>true</code> to delete the data in the file system that corresponds
4332
4885
  * to the data repository association.</p>
4333
4886
  */
4334
- DeleteDataInFileSystem: boolean | undefined;
4887
+ DeleteDataInFileSystem?: boolean;
4335
4888
  }
4336
4889
  export interface DeleteDataRepositoryAssociationResponse {
4337
4890
  /**
@@ -4348,6 +4901,45 @@ export interface DeleteDataRepositoryAssociationResponse {
4348
4901
  */
4349
4902
  DeleteDataInFileSystem?: boolean;
4350
4903
  }
4904
+ export interface DeleteFileCacheRequest {
4905
+ /**
4906
+ * <p>The ID of the cache that's being deleted.</p>
4907
+ */
4908
+ FileCacheId: string | undefined;
4909
+ /**
4910
+ * <p>(Optional) An idempotency token for resource creation, in a string of up to 64
4911
+ * ASCII characters. This token is automatically filled on your behalf when you use the
4912
+ * Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
4913
+ */
4914
+ ClientRequestToken?: string;
4915
+ }
4916
+ export interface DeleteFileCacheResponse {
4917
+ /**
4918
+ * <p>The ID of the cache that's being deleted.</p>
4919
+ */
4920
+ FileCacheId?: string;
4921
+ /**
4922
+ * <p>The cache lifecycle for the deletion request. If the
4923
+ * <code>DeleteFileCache</code> operation is successful, this status is
4924
+ * <code>DELETING</code>.</p>
4925
+ */
4926
+ Lifecycle?: FileCacheLifecycle | string;
4927
+ }
4928
+ /**
4929
+ * <p>No caches were found based upon supplied parameters.</p>
4930
+ */
4931
+ export declare class FileCacheNotFound extends __BaseException {
4932
+ readonly name: "FileCacheNotFound";
4933
+ readonly $fault: "client";
4934
+ /**
4935
+ * <p>A detailed error message.</p>
4936
+ */
4937
+ Message?: string;
4938
+ /**
4939
+ * @internal
4940
+ */
4941
+ constructor(opts: __ExceptionOptionType<FileCacheNotFound, __BaseException>);
4942
+ }
4351
4943
  /**
4352
4944
  * <p>The configuration object for the Amazon FSx for Lustre file system being deleted in the
4353
4945
  * <code>DeleteFileSystem</code> operation.</p>
@@ -4658,6 +5250,8 @@ export interface DeleteVolumeResponse {
4658
5250
  export declare enum FilterName {
4659
5251
  BACKUP_TYPE = "backup-type",
4660
5252
  DATA_REPOSITORY_TYPE = "data-repository-type",
5253
+ FILE_CACHE_ID = "file-cache-id",
5254
+ FILE_CACHE_TYPE = "file-cache-type",
4661
5255
  FILE_SYSTEM_ID = "file-system-id",
4662
5256
  FILE_SYSTEM_TYPE = "file-system-type",
4663
5257
  VOLUME_ID = "volume-id"
@@ -4730,7 +5324,7 @@ export interface DescribeDataRepositoryAssociationsRequest {
4730
5324
  }
4731
5325
  export interface DescribeDataRepositoryAssociationsResponse {
4732
5326
  /**
4733
- * <p>An array of one ore more data repository association descriptions.</p>
5327
+ * <p>An array of one or more data repository association descriptions.</p>
4734
5328
  */
4735
5329
  Associations?: DataRepositoryAssociation[];
4736
5330
  /**
@@ -4757,6 +5351,7 @@ export declare class InvalidDataRepositoryType extends __BaseException {
4757
5351
  }
4758
5352
  export declare enum DataRepositoryTaskFilterName {
4759
5353
  DATA_REPO_ASSOCIATION_ID = "data-repository-association-id",
5354
+ FILE_CACHE_ID = "file-cache-id",
4760
5355
  FILE_SYSTEM_ID = "file-system-id",
4761
5356
  TASK_LIFECYCLE = "task-lifecycle"
4762
5357
  }
@@ -4820,6 +5415,140 @@ export interface DescribeDataRepositoryTasksResponse {
4820
5415
  */
4821
5416
  NextToken?: string;
4822
5417
  }
5418
+ export interface DescribeFileCachesRequest {
5419
+ /**
5420
+ * <p>IDs of the caches whose descriptions you want to retrieve (String).</p>
5421
+ */
5422
+ FileCacheIds?: string[];
5423
+ /**
5424
+ * <p>The maximum number of resources to return in the response. This value must be an
5425
+ * integer greater than zero.</p>
5426
+ */
5427
+ MaxResults?: number;
5428
+ /**
5429
+ * <p>(Optional) Opaque pagination token returned from a previous operation (String). If
5430
+ * present, this token indicates from what point you can continue processing the request, where
5431
+ * the previous <code>NextToken</code> value left off.</p>
5432
+ */
5433
+ NextToken?: string;
5434
+ }
5435
+ /**
5436
+ * <p>A description of a specific Amazon File Cache resource, which is
5437
+ * a response object from the <code>DescribeFileCaches</code> operation.</p>
5438
+ */
5439
+ export interface FileCache {
5440
+ /**
5441
+ * <p>An Amazon Web Services account ID. This ID is a 12-digit number that you use to construct Amazon
5442
+ * Resource Names (ARNs) for resources.</p>
5443
+ */
5444
+ OwnerId?: string;
5445
+ /**
5446
+ * <p>The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z),
5447
+ * also known as Unix time.</p>
5448
+ */
5449
+ CreationTime?: Date;
5450
+ /**
5451
+ * <p>The system-generated, unique ID of the cache.</p>
5452
+ */
5453
+ FileCacheId?: string;
5454
+ /**
5455
+ * <p>The type of cache, which must be <code>LUSTRE</code>.</p>
5456
+ */
5457
+ FileCacheType?: FileCacheType | string;
5458
+ /**
5459
+ * <p>The Lustre version of the cache, which must be <code>2.12</code>.</p>
5460
+ */
5461
+ FileCacheTypeVersion?: string;
5462
+ /**
5463
+ * <p>The lifecycle status of the cache. The following are the possible values and
5464
+ * what they mean:</p>
5465
+ * <ul>
5466
+ * <li>
5467
+ * <p>
5468
+ * <code>AVAILABLE</code> - The cache is in a healthy state, and is reachable and available for use.</p>
5469
+ * </li>
5470
+ * <li>
5471
+ * <p>
5472
+ * <code>CREATING</code> - The new cache is being created.</p>
5473
+ * </li>
5474
+ * <li>
5475
+ * <p>
5476
+ * <code>DELETING</code> - An existing cache is being deleted.</p>
5477
+ * </li>
5478
+ * <li>
5479
+ * <p>
5480
+ * <code>UPDATING</code> - The cache is undergoing a customer-initiated update.</p>
5481
+ * </li>
5482
+ * <li>
5483
+ * <p>
5484
+ * <code>FAILED</code> - An existing cache has experienced an unrecoverable failure.
5485
+ * When creating a new cache, the cache was unable to be created.</p>
5486
+ * </li>
5487
+ * </ul>
5488
+ */
5489
+ Lifecycle?: FileCacheLifecycle | string;
5490
+ /**
5491
+ * <p>A structure providing details of any failures that occurred.</p>
5492
+ */
5493
+ FailureDetails?: FileCacheFailureDetails;
5494
+ /**
5495
+ * <p>The storage capacity of the cache in gibibytes (GiB).</p>
5496
+ */
5497
+ StorageCapacity?: number;
5498
+ /**
5499
+ * <p>The ID of your virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html">VPC and
5500
+ * subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
5501
+ */
5502
+ VpcId?: string;
5503
+ /**
5504
+ * <p>A list of subnet IDs that the cache will be accessible from. You can specify only
5505
+ * one subnet ID in a call to the <code>CreateFileCache</code> operation.</p>
5506
+ */
5507
+ SubnetIds?: string[];
5508
+ /**
5509
+ * <p>A list of network interface IDs.</p>
5510
+ */
5511
+ NetworkInterfaceIds?: string[];
5512
+ /**
5513
+ * <p>The Domain Name System (DNS) name for the cache.</p>
5514
+ */
5515
+ DNSName?: string;
5516
+ /**
5517
+ * <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
5518
+ * an Amazon File Cache. If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed
5519
+ * KMS key for your account is used. For more information,
5520
+ * see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
5521
+ * <i>Key Management Service API Reference</i>.</p>
5522
+ */
5523
+ KmsKeyId?: string;
5524
+ /**
5525
+ * <p>The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services
5526
+ * resources. We require an ARN when you need to specify a resource unambiguously across
5527
+ * all of Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in
5528
+ * the <i>Amazon Web Services General Reference</i>.</p>
5529
+ */
5530
+ ResourceARN?: string;
5531
+ /**
5532
+ * <p>The configuration for the Amazon File Cache resource.</p>
5533
+ */
5534
+ LustreConfiguration?: FileCacheLustreConfiguration;
5535
+ /**
5536
+ * <p>A list of IDs of data repository associations that are associated with this cache.</p>
5537
+ */
5538
+ DataRepositoryAssociationIds?: string[];
5539
+ }
5540
+ export interface DescribeFileCachesResponse {
5541
+ /**
5542
+ * <p>The response object for the <code>DescribeFileCaches</code> operation.</p>
5543
+ */
5544
+ FileCaches?: FileCache[];
5545
+ /**
5546
+ * <p>(Optional) Opaque pagination token returned from a previous operation (String). If
5547
+ * present, this token indicates from what point you can continue processing the request, where
5548
+ * the previous <code>NextToken</code> value left off.</p>
5549
+ */
5550
+ NextToken?: string;
5551
+ }
4823
5552
  /**
4824
5553
  * <p>The request object for <code>DescribeFileSystemAliases</code> operation.</p>
4825
5554
  */
@@ -5286,6 +6015,44 @@ export interface UpdateDataRepositoryAssociationResponse {
5286
6015
  */
5287
6016
  Association?: DataRepositoryAssociation;
5288
6017
  }
6018
+ /**
6019
+ * <p>The configuration update for an Amazon File Cache resource.</p>
6020
+ */
6021
+ export interface UpdateFileCacheLustreConfiguration {
6022
+ /**
6023
+ * <p>A recurring weekly time, in the format <code>D:HH:MM</code>. </p>
6024
+ * <p>
6025
+ * <code>D</code> is the day of the week, for which 1 represents Monday and 7
6026
+ * represents Sunday. For further details, see <a href="https://en.wikipedia.org/wiki/ISO_week_date">the ISO-8601 spec as described on Wikipedia</a>.</p>
6027
+ * <p>
6028
+ * <code>HH</code> is the zero-padded hour of the day (0-23), and <code>MM</code> is
6029
+ * the zero-padded minute of the hour. </p>
6030
+ * <p>For example, <code>1:05:00</code> specifies maintenance at 5 AM Monday.</p>
6031
+ */
6032
+ WeeklyMaintenanceStartTime?: string;
6033
+ }
6034
+ export interface UpdateFileCacheRequest {
6035
+ /**
6036
+ * <p>The ID of the cache that you are updating.</p>
6037
+ */
6038
+ FileCacheId: string | undefined;
6039
+ /**
6040
+ * <p>(Optional) An idempotency token for resource creation, in a string of up to 64
6041
+ * ASCII characters. This token is automatically filled on your behalf when you use the
6042
+ * Command Line Interface (CLI) or an Amazon Web Services SDK.</p>
6043
+ */
6044
+ ClientRequestToken?: string;
6045
+ /**
6046
+ * <p>The configuration updates for an Amazon File Cache resource.</p>
6047
+ */
6048
+ LustreConfiguration?: UpdateFileCacheLustreConfiguration;
6049
+ }
6050
+ export interface UpdateFileCacheResponse {
6051
+ /**
6052
+ * <p>A description of the cache that was updated.</p>
6053
+ */
6054
+ FileCache?: FileCache;
6055
+ }
5289
6056
  /**
5290
6057
  * <p>The configuration object for Amazon FSx for Lustre file systems used in the
5291
6058
  * <code>UpdateFileSystem</code> operation.</p>
@@ -6646,6 +7413,10 @@ export declare const S3DataRepositoryConfigurationFilterSensitiveLog: (obj: S3Da
6646
7413
  * @internal
6647
7414
  */
6648
7415
  export declare const CreateDataRepositoryAssociationRequestFilterSensitiveLog: (obj: CreateDataRepositoryAssociationRequest) => any;
7416
+ /**
7417
+ * @internal
7418
+ */
7419
+ export declare const NFSDataRepositoryConfigurationFilterSensitiveLog: (obj: NFSDataRepositoryConfiguration) => any;
6649
7420
  /**
6650
7421
  * @internal
6651
7422
  */
@@ -6678,6 +7449,42 @@ export declare const DataRepositoryTaskFilterSensitiveLog: (obj: DataRepositoryT
6678
7449
  * @internal
6679
7450
  */
6680
7451
  export declare const CreateDataRepositoryTaskResponseFilterSensitiveLog: (obj: CreateDataRepositoryTaskResponse) => any;
7452
+ /**
7453
+ * @internal
7454
+ */
7455
+ export declare const FileCacheNFSConfigurationFilterSensitiveLog: (obj: FileCacheNFSConfiguration) => any;
7456
+ /**
7457
+ * @internal
7458
+ */
7459
+ export declare const FileCacheDataRepositoryAssociationFilterSensitiveLog: (obj: FileCacheDataRepositoryAssociation) => any;
7460
+ /**
7461
+ * @internal
7462
+ */
7463
+ export declare const FileCacheLustreMetadataConfigurationFilterSensitiveLog: (obj: FileCacheLustreMetadataConfiguration) => any;
7464
+ /**
7465
+ * @internal
7466
+ */
7467
+ export declare const CreateFileCacheLustreConfigurationFilterSensitiveLog: (obj: CreateFileCacheLustreConfiguration) => any;
7468
+ /**
7469
+ * @internal
7470
+ */
7471
+ export declare const CreateFileCacheRequestFilterSensitiveLog: (obj: CreateFileCacheRequest) => any;
7472
+ /**
7473
+ * @internal
7474
+ */
7475
+ export declare const FileCacheFailureDetailsFilterSensitiveLog: (obj: FileCacheFailureDetails) => any;
7476
+ /**
7477
+ * @internal
7478
+ */
7479
+ export declare const FileCacheLustreConfigurationFilterSensitiveLog: (obj: FileCacheLustreConfiguration) => any;
7480
+ /**
7481
+ * @internal
7482
+ */
7483
+ export declare const FileCacheCreatingFilterSensitiveLog: (obj: FileCacheCreating) => any;
7484
+ /**
7485
+ * @internal
7486
+ */
7487
+ export declare const CreateFileCacheResponseFilterSensitiveLog: (obj: CreateFileCacheResponse) => any;
6681
7488
  /**
6682
7489
  * @internal
6683
7490
  */
@@ -6786,6 +7593,14 @@ export declare const DeleteDataRepositoryAssociationRequestFilterSensitiveLog: (
6786
7593
  * @internal
6787
7594
  */
6788
7595
  export declare const DeleteDataRepositoryAssociationResponseFilterSensitiveLog: (obj: DeleteDataRepositoryAssociationResponse) => any;
7596
+ /**
7597
+ * @internal
7598
+ */
7599
+ export declare const DeleteFileCacheRequestFilterSensitiveLog: (obj: DeleteFileCacheRequest) => any;
7600
+ /**
7601
+ * @internal
7602
+ */
7603
+ export declare const DeleteFileCacheResponseFilterSensitiveLog: (obj: DeleteFileCacheResponse) => any;
6789
7604
  /**
6790
7605
  * @internal
6791
7606
  */
@@ -6882,6 +7697,18 @@ export declare const DescribeDataRepositoryTasksRequestFilterSensitiveLog: (obj:
6882
7697
  * @internal
6883
7698
  */
6884
7699
  export declare const DescribeDataRepositoryTasksResponseFilterSensitiveLog: (obj: DescribeDataRepositoryTasksResponse) => any;
7700
+ /**
7701
+ * @internal
7702
+ */
7703
+ export declare const DescribeFileCachesRequestFilterSensitiveLog: (obj: DescribeFileCachesRequest) => any;
7704
+ /**
7705
+ * @internal
7706
+ */
7707
+ export declare const FileCacheFilterSensitiveLog: (obj: FileCache) => any;
7708
+ /**
7709
+ * @internal
7710
+ */
7711
+ export declare const DescribeFileCachesResponseFilterSensitiveLog: (obj: DescribeFileCachesResponse) => any;
6885
7712
  /**
6886
7713
  * @internal
6887
7714
  */
@@ -6974,6 +7801,18 @@ export declare const UpdateDataRepositoryAssociationRequestFilterSensitiveLog: (
6974
7801
  * @internal
6975
7802
  */
6976
7803
  export declare const UpdateDataRepositoryAssociationResponseFilterSensitiveLog: (obj: UpdateDataRepositoryAssociationResponse) => any;
7804
+ /**
7805
+ * @internal
7806
+ */
7807
+ export declare const UpdateFileCacheLustreConfigurationFilterSensitiveLog: (obj: UpdateFileCacheLustreConfiguration) => any;
7808
+ /**
7809
+ * @internal
7810
+ */
7811
+ export declare const UpdateFileCacheRequestFilterSensitiveLog: (obj: UpdateFileCacheRequest) => any;
7812
+ /**
7813
+ * @internal
7814
+ */
7815
+ export declare const UpdateFileCacheResponseFilterSensitiveLog: (obj: UpdateFileCacheResponse) => any;
6977
7816
  /**
6978
7817
  * @internal
6979
7818
  */