@aws-sdk/client-fsx 3.525.0 → 3.529.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.
package/dist-cjs/index.js
CHANGED
|
@@ -369,6 +369,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
369
369
|
var import_types = require("@smithy/types");
|
|
370
370
|
|
|
371
371
|
// src/protocols/Aws_json1_1.ts
|
|
372
|
+
var import_core2 = require("@aws-sdk/core");
|
|
372
373
|
|
|
373
374
|
|
|
374
375
|
var import_uuid = require("uuid");
|
|
@@ -1843,7 +1844,7 @@ var de_AssociateFileSystemAliasesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1843
1844
|
if (output.statusCode >= 300) {
|
|
1844
1845
|
return de_CommandError(output, context);
|
|
1845
1846
|
}
|
|
1846
|
-
const data = await
|
|
1847
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1847
1848
|
let contents = {};
|
|
1848
1849
|
contents = (0, import_smithy_client._json)(data);
|
|
1849
1850
|
const response = {
|
|
@@ -1856,7 +1857,7 @@ var de_CancelDataRepositoryTaskCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1856
1857
|
if (output.statusCode >= 300) {
|
|
1857
1858
|
return de_CommandError(output, context);
|
|
1858
1859
|
}
|
|
1859
|
-
const data = await
|
|
1860
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1860
1861
|
let contents = {};
|
|
1861
1862
|
contents = (0, import_smithy_client._json)(data);
|
|
1862
1863
|
const response = {
|
|
@@ -1869,7 +1870,7 @@ var de_CopyBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1869
1870
|
if (output.statusCode >= 300) {
|
|
1870
1871
|
return de_CommandError(output, context);
|
|
1871
1872
|
}
|
|
1872
|
-
const data = await
|
|
1873
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1873
1874
|
let contents = {};
|
|
1874
1875
|
contents = de_CopyBackupResponse(data, context);
|
|
1875
1876
|
const response = {
|
|
@@ -1882,7 +1883,7 @@ var de_CopySnapshotAndUpdateVolumeCommand = /* @__PURE__ */ __name(async (output
|
|
|
1882
1883
|
if (output.statusCode >= 300) {
|
|
1883
1884
|
return de_CommandError(output, context);
|
|
1884
1885
|
}
|
|
1885
|
-
const data = await
|
|
1886
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1886
1887
|
let contents = {};
|
|
1887
1888
|
contents = de_CopySnapshotAndUpdateVolumeResponse(data, context);
|
|
1888
1889
|
const response = {
|
|
@@ -1895,7 +1896,7 @@ var de_CreateBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1895
1896
|
if (output.statusCode >= 300) {
|
|
1896
1897
|
return de_CommandError(output, context);
|
|
1897
1898
|
}
|
|
1898
|
-
const data = await
|
|
1899
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1899
1900
|
let contents = {};
|
|
1900
1901
|
contents = de_CreateBackupResponse(data, context);
|
|
1901
1902
|
const response = {
|
|
@@ -1908,7 +1909,7 @@ var de_CreateDataRepositoryAssociationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
1908
1909
|
if (output.statusCode >= 300) {
|
|
1909
1910
|
return de_CommandError(output, context);
|
|
1910
1911
|
}
|
|
1911
|
-
const data = await
|
|
1912
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1912
1913
|
let contents = {};
|
|
1913
1914
|
contents = de_CreateDataRepositoryAssociationResponse(data, context);
|
|
1914
1915
|
const response = {
|
|
@@ -1921,7 +1922,7 @@ var de_CreateDataRepositoryTaskCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1921
1922
|
if (output.statusCode >= 300) {
|
|
1922
1923
|
return de_CommandError(output, context);
|
|
1923
1924
|
}
|
|
1924
|
-
const data = await
|
|
1925
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1925
1926
|
let contents = {};
|
|
1926
1927
|
contents = de_CreateDataRepositoryTaskResponse(data, context);
|
|
1927
1928
|
const response = {
|
|
@@ -1934,7 +1935,7 @@ var de_CreateFileCacheCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1934
1935
|
if (output.statusCode >= 300) {
|
|
1935
1936
|
return de_CommandError(output, context);
|
|
1936
1937
|
}
|
|
1937
|
-
const data = await
|
|
1938
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1938
1939
|
let contents = {};
|
|
1939
1940
|
contents = de_CreateFileCacheResponse(data, context);
|
|
1940
1941
|
const response = {
|
|
@@ -1947,7 +1948,7 @@ var de_CreateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1947
1948
|
if (output.statusCode >= 300) {
|
|
1948
1949
|
return de_CommandError(output, context);
|
|
1949
1950
|
}
|
|
1950
|
-
const data = await
|
|
1951
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1951
1952
|
let contents = {};
|
|
1952
1953
|
contents = de_CreateFileSystemResponse(data, context);
|
|
1953
1954
|
const response = {
|
|
@@ -1960,7 +1961,7 @@ var de_CreateFileSystemFromBackupCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1960
1961
|
if (output.statusCode >= 300) {
|
|
1961
1962
|
return de_CommandError(output, context);
|
|
1962
1963
|
}
|
|
1963
|
-
const data = await
|
|
1964
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1964
1965
|
let contents = {};
|
|
1965
1966
|
contents = de_CreateFileSystemFromBackupResponse(data, context);
|
|
1966
1967
|
const response = {
|
|
@@ -1973,7 +1974,7 @@ var de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1973
1974
|
if (output.statusCode >= 300) {
|
|
1974
1975
|
return de_CommandError(output, context);
|
|
1975
1976
|
}
|
|
1976
|
-
const data = await
|
|
1977
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1977
1978
|
let contents = {};
|
|
1978
1979
|
contents = de_CreateSnapshotResponse(data, context);
|
|
1979
1980
|
const response = {
|
|
@@ -1986,7 +1987,7 @@ var de_CreateStorageVirtualMachineCommand = /* @__PURE__ */ __name(async (output
|
|
|
1986
1987
|
if (output.statusCode >= 300) {
|
|
1987
1988
|
return de_CommandError(output, context);
|
|
1988
1989
|
}
|
|
1989
|
-
const data = await
|
|
1990
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1990
1991
|
let contents = {};
|
|
1991
1992
|
contents = de_CreateStorageVirtualMachineResponse(data, context);
|
|
1992
1993
|
const response = {
|
|
@@ -1999,7 +2000,7 @@ var de_CreateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1999
2000
|
if (output.statusCode >= 300) {
|
|
2000
2001
|
return de_CommandError(output, context);
|
|
2001
2002
|
}
|
|
2002
|
-
const data = await
|
|
2003
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2003
2004
|
let contents = {};
|
|
2004
2005
|
contents = de_CreateVolumeResponse(data, context);
|
|
2005
2006
|
const response = {
|
|
@@ -2012,7 +2013,7 @@ var de_CreateVolumeFromBackupCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2012
2013
|
if (output.statusCode >= 300) {
|
|
2013
2014
|
return de_CommandError(output, context);
|
|
2014
2015
|
}
|
|
2015
|
-
const data = await
|
|
2016
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2016
2017
|
let contents = {};
|
|
2017
2018
|
contents = de_CreateVolumeFromBackupResponse(data, context);
|
|
2018
2019
|
const response = {
|
|
@@ -2025,7 +2026,7 @@ var de_DeleteBackupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2025
2026
|
if (output.statusCode >= 300) {
|
|
2026
2027
|
return de_CommandError(output, context);
|
|
2027
2028
|
}
|
|
2028
|
-
const data = await
|
|
2029
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2029
2030
|
let contents = {};
|
|
2030
2031
|
contents = (0, import_smithy_client._json)(data);
|
|
2031
2032
|
const response = {
|
|
@@ -2038,7 +2039,7 @@ var de_DeleteDataRepositoryAssociationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2038
2039
|
if (output.statusCode >= 300) {
|
|
2039
2040
|
return de_CommandError(output, context);
|
|
2040
2041
|
}
|
|
2041
|
-
const data = await
|
|
2042
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2042
2043
|
let contents = {};
|
|
2043
2044
|
contents = (0, import_smithy_client._json)(data);
|
|
2044
2045
|
const response = {
|
|
@@ -2051,7 +2052,7 @@ var de_DeleteFileCacheCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2051
2052
|
if (output.statusCode >= 300) {
|
|
2052
2053
|
return de_CommandError(output, context);
|
|
2053
2054
|
}
|
|
2054
|
-
const data = await
|
|
2055
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2055
2056
|
let contents = {};
|
|
2056
2057
|
contents = (0, import_smithy_client._json)(data);
|
|
2057
2058
|
const response = {
|
|
@@ -2064,7 +2065,7 @@ var de_DeleteFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2064
2065
|
if (output.statusCode >= 300) {
|
|
2065
2066
|
return de_CommandError(output, context);
|
|
2066
2067
|
}
|
|
2067
|
-
const data = await
|
|
2068
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2068
2069
|
let contents = {};
|
|
2069
2070
|
contents = (0, import_smithy_client._json)(data);
|
|
2070
2071
|
const response = {
|
|
@@ -2077,7 +2078,7 @@ var de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2077
2078
|
if (output.statusCode >= 300) {
|
|
2078
2079
|
return de_CommandError(output, context);
|
|
2079
2080
|
}
|
|
2080
|
-
const data = await
|
|
2081
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2081
2082
|
let contents = {};
|
|
2082
2083
|
contents = (0, import_smithy_client._json)(data);
|
|
2083
2084
|
const response = {
|
|
@@ -2090,7 +2091,7 @@ var de_DeleteStorageVirtualMachineCommand = /* @__PURE__ */ __name(async (output
|
|
|
2090
2091
|
if (output.statusCode >= 300) {
|
|
2091
2092
|
return de_CommandError(output, context);
|
|
2092
2093
|
}
|
|
2093
|
-
const data = await
|
|
2094
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2094
2095
|
let contents = {};
|
|
2095
2096
|
contents = (0, import_smithy_client._json)(data);
|
|
2096
2097
|
const response = {
|
|
@@ -2103,7 +2104,7 @@ var de_DeleteVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2103
2104
|
if (output.statusCode >= 300) {
|
|
2104
2105
|
return de_CommandError(output, context);
|
|
2105
2106
|
}
|
|
2106
|
-
const data = await
|
|
2107
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2107
2108
|
let contents = {};
|
|
2108
2109
|
contents = (0, import_smithy_client._json)(data);
|
|
2109
2110
|
const response = {
|
|
@@ -2116,7 +2117,7 @@ var de_DescribeBackupsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2116
2117
|
if (output.statusCode >= 300) {
|
|
2117
2118
|
return de_CommandError(output, context);
|
|
2118
2119
|
}
|
|
2119
|
-
const data = await
|
|
2120
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2120
2121
|
let contents = {};
|
|
2121
2122
|
contents = de_DescribeBackupsResponse(data, context);
|
|
2122
2123
|
const response = {
|
|
@@ -2129,7 +2130,7 @@ var de_DescribeDataRepositoryAssociationsCommand = /* @__PURE__ */ __name(async
|
|
|
2129
2130
|
if (output.statusCode >= 300) {
|
|
2130
2131
|
return de_CommandError(output, context);
|
|
2131
2132
|
}
|
|
2132
|
-
const data = await
|
|
2133
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2133
2134
|
let contents = {};
|
|
2134
2135
|
contents = de_DescribeDataRepositoryAssociationsResponse(data, context);
|
|
2135
2136
|
const response = {
|
|
@@ -2142,7 +2143,7 @@ var de_DescribeDataRepositoryTasksCommand = /* @__PURE__ */ __name(async (output
|
|
|
2142
2143
|
if (output.statusCode >= 300) {
|
|
2143
2144
|
return de_CommandError(output, context);
|
|
2144
2145
|
}
|
|
2145
|
-
const data = await
|
|
2146
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2146
2147
|
let contents = {};
|
|
2147
2148
|
contents = de_DescribeDataRepositoryTasksResponse(data, context);
|
|
2148
2149
|
const response = {
|
|
@@ -2155,7 +2156,7 @@ var de_DescribeFileCachesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2155
2156
|
if (output.statusCode >= 300) {
|
|
2156
2157
|
return de_CommandError(output, context);
|
|
2157
2158
|
}
|
|
2158
|
-
const data = await
|
|
2159
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2159
2160
|
let contents = {};
|
|
2160
2161
|
contents = de_DescribeFileCachesResponse(data, context);
|
|
2161
2162
|
const response = {
|
|
@@ -2168,7 +2169,7 @@ var de_DescribeFileSystemAliasesCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2168
2169
|
if (output.statusCode >= 300) {
|
|
2169
2170
|
return de_CommandError(output, context);
|
|
2170
2171
|
}
|
|
2171
|
-
const data = await
|
|
2172
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2172
2173
|
let contents = {};
|
|
2173
2174
|
contents = (0, import_smithy_client._json)(data);
|
|
2174
2175
|
const response = {
|
|
@@ -2181,7 +2182,7 @@ var de_DescribeFileSystemsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2181
2182
|
if (output.statusCode >= 300) {
|
|
2182
2183
|
return de_CommandError(output, context);
|
|
2183
2184
|
}
|
|
2184
|
-
const data = await
|
|
2185
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2185
2186
|
let contents = {};
|
|
2186
2187
|
contents = de_DescribeFileSystemsResponse(data, context);
|
|
2187
2188
|
const response = {
|
|
@@ -2194,7 +2195,7 @@ var de_DescribeSharedVpcConfigurationCommand = /* @__PURE__ */ __name(async (out
|
|
|
2194
2195
|
if (output.statusCode >= 300) {
|
|
2195
2196
|
return de_CommandError(output, context);
|
|
2196
2197
|
}
|
|
2197
|
-
const data = await
|
|
2198
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2198
2199
|
let contents = {};
|
|
2199
2200
|
contents = (0, import_smithy_client._json)(data);
|
|
2200
2201
|
const response = {
|
|
@@ -2207,7 +2208,7 @@ var de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2207
2208
|
if (output.statusCode >= 300) {
|
|
2208
2209
|
return de_CommandError(output, context);
|
|
2209
2210
|
}
|
|
2210
|
-
const data = await
|
|
2211
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2211
2212
|
let contents = {};
|
|
2212
2213
|
contents = de_DescribeSnapshotsResponse(data, context);
|
|
2213
2214
|
const response = {
|
|
@@ -2220,7 +2221,7 @@ var de_DescribeStorageVirtualMachinesCommand = /* @__PURE__ */ __name(async (out
|
|
|
2220
2221
|
if (output.statusCode >= 300) {
|
|
2221
2222
|
return de_CommandError(output, context);
|
|
2222
2223
|
}
|
|
2223
|
-
const data = await
|
|
2224
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2224
2225
|
let contents = {};
|
|
2225
2226
|
contents = de_DescribeStorageVirtualMachinesResponse(data, context);
|
|
2226
2227
|
const response = {
|
|
@@ -2233,7 +2234,7 @@ var de_DescribeVolumesCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2233
2234
|
if (output.statusCode >= 300) {
|
|
2234
2235
|
return de_CommandError(output, context);
|
|
2235
2236
|
}
|
|
2236
|
-
const data = await
|
|
2237
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2237
2238
|
let contents = {};
|
|
2238
2239
|
contents = de_DescribeVolumesResponse(data, context);
|
|
2239
2240
|
const response = {
|
|
@@ -2246,7 +2247,7 @@ var de_DisassociateFileSystemAliasesCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2246
2247
|
if (output.statusCode >= 300) {
|
|
2247
2248
|
return de_CommandError(output, context);
|
|
2248
2249
|
}
|
|
2249
|
-
const data = await
|
|
2250
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2250
2251
|
let contents = {};
|
|
2251
2252
|
contents = (0, import_smithy_client._json)(data);
|
|
2252
2253
|
const response = {
|
|
@@ -2259,7 +2260,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2259
2260
|
if (output.statusCode >= 300) {
|
|
2260
2261
|
return de_CommandError(output, context);
|
|
2261
2262
|
}
|
|
2262
|
-
const data = await
|
|
2263
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2263
2264
|
let contents = {};
|
|
2264
2265
|
contents = (0, import_smithy_client._json)(data);
|
|
2265
2266
|
const response = {
|
|
@@ -2272,7 +2273,7 @@ var de_ReleaseFileSystemNfsV3LocksCommand = /* @__PURE__ */ __name(async (output
|
|
|
2272
2273
|
if (output.statusCode >= 300) {
|
|
2273
2274
|
return de_CommandError(output, context);
|
|
2274
2275
|
}
|
|
2275
|
-
const data = await
|
|
2276
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2276
2277
|
let contents = {};
|
|
2277
2278
|
contents = de_ReleaseFileSystemNfsV3LocksResponse(data, context);
|
|
2278
2279
|
const response = {
|
|
@@ -2285,7 +2286,7 @@ var de_RestoreVolumeFromSnapshotCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2285
2286
|
if (output.statusCode >= 300) {
|
|
2286
2287
|
return de_CommandError(output, context);
|
|
2287
2288
|
}
|
|
2288
|
-
const data = await
|
|
2289
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2289
2290
|
let contents = {};
|
|
2290
2291
|
contents = de_RestoreVolumeFromSnapshotResponse(data, context);
|
|
2291
2292
|
const response = {
|
|
@@ -2298,7 +2299,7 @@ var de_StartMisconfiguredStateRecoveryCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2298
2299
|
if (output.statusCode >= 300) {
|
|
2299
2300
|
return de_CommandError(output, context);
|
|
2300
2301
|
}
|
|
2301
|
-
const data = await
|
|
2302
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2302
2303
|
let contents = {};
|
|
2303
2304
|
contents = de_StartMisconfiguredStateRecoveryResponse(data, context);
|
|
2304
2305
|
const response = {
|
|
@@ -2311,7 +2312,7 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2311
2312
|
if (output.statusCode >= 300) {
|
|
2312
2313
|
return de_CommandError(output, context);
|
|
2313
2314
|
}
|
|
2314
|
-
const data = await
|
|
2315
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2315
2316
|
let contents = {};
|
|
2316
2317
|
contents = (0, import_smithy_client._json)(data);
|
|
2317
2318
|
const response = {
|
|
@@ -2324,7 +2325,7 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2324
2325
|
if (output.statusCode >= 300) {
|
|
2325
2326
|
return de_CommandError(output, context);
|
|
2326
2327
|
}
|
|
2327
|
-
const data = await
|
|
2328
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2328
2329
|
let contents = {};
|
|
2329
2330
|
contents = (0, import_smithy_client._json)(data);
|
|
2330
2331
|
const response = {
|
|
@@ -2337,7 +2338,7 @@ var de_UpdateDataRepositoryAssociationCommand = /* @__PURE__ */ __name(async (ou
|
|
|
2337
2338
|
if (output.statusCode >= 300) {
|
|
2338
2339
|
return de_CommandError(output, context);
|
|
2339
2340
|
}
|
|
2340
|
-
const data = await
|
|
2341
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2341
2342
|
let contents = {};
|
|
2342
2343
|
contents = de_UpdateDataRepositoryAssociationResponse(data, context);
|
|
2343
2344
|
const response = {
|
|
@@ -2350,7 +2351,7 @@ var de_UpdateFileCacheCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2350
2351
|
if (output.statusCode >= 300) {
|
|
2351
2352
|
return de_CommandError(output, context);
|
|
2352
2353
|
}
|
|
2353
|
-
const data = await
|
|
2354
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2354
2355
|
let contents = {};
|
|
2355
2356
|
contents = de_UpdateFileCacheResponse(data, context);
|
|
2356
2357
|
const response = {
|
|
@@ -2363,7 +2364,7 @@ var de_UpdateFileSystemCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2363
2364
|
if (output.statusCode >= 300) {
|
|
2364
2365
|
return de_CommandError(output, context);
|
|
2365
2366
|
}
|
|
2366
|
-
const data = await
|
|
2367
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2367
2368
|
let contents = {};
|
|
2368
2369
|
contents = de_UpdateFileSystemResponse(data, context);
|
|
2369
2370
|
const response = {
|
|
@@ -2376,7 +2377,7 @@ var de_UpdateSharedVpcConfigurationCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2376
2377
|
if (output.statusCode >= 300) {
|
|
2377
2378
|
return de_CommandError(output, context);
|
|
2378
2379
|
}
|
|
2379
|
-
const data = await
|
|
2380
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2380
2381
|
let contents = {};
|
|
2381
2382
|
contents = (0, import_smithy_client._json)(data);
|
|
2382
2383
|
const response = {
|
|
@@ -2389,7 +2390,7 @@ var de_UpdateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2389
2390
|
if (output.statusCode >= 300) {
|
|
2390
2391
|
return de_CommandError(output, context);
|
|
2391
2392
|
}
|
|
2392
|
-
const data = await
|
|
2393
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2393
2394
|
let contents = {};
|
|
2394
2395
|
contents = de_UpdateSnapshotResponse(data, context);
|
|
2395
2396
|
const response = {
|
|
@@ -2402,7 +2403,7 @@ var de_UpdateStorageVirtualMachineCommand = /* @__PURE__ */ __name(async (output
|
|
|
2402
2403
|
if (output.statusCode >= 300) {
|
|
2403
2404
|
return de_CommandError(output, context);
|
|
2404
2405
|
}
|
|
2405
|
-
const data = await
|
|
2406
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2406
2407
|
let contents = {};
|
|
2407
2408
|
contents = de_UpdateStorageVirtualMachineResponse(data, context);
|
|
2408
2409
|
const response = {
|
|
@@ -2415,7 +2416,7 @@ var de_UpdateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2415
2416
|
if (output.statusCode >= 300) {
|
|
2416
2417
|
return de_CommandError(output, context);
|
|
2417
2418
|
}
|
|
2418
|
-
const data = await
|
|
2419
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2419
2420
|
let contents = {};
|
|
2420
2421
|
contents = de_UpdateVolumeResponse(data, context);
|
|
2421
2422
|
const response = {
|
|
@@ -2427,9 +2428,9 @@ var de_UpdateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2427
2428
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2428
2429
|
const parsedOutput = {
|
|
2429
2430
|
...output,
|
|
2430
|
-
body: await
|
|
2431
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2431
2432
|
};
|
|
2432
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2433
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2433
2434
|
switch (errorCode) {
|
|
2434
2435
|
case "BadRequest":
|
|
2435
2436
|
case "com.amazonaws.fsx#BadRequest":
|
|
@@ -3557,7 +3558,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3557
3558
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3558
3559
|
cfId: output.headers["x-amz-cf-id"]
|
|
3559
3560
|
}), "deserializeMetadata");
|
|
3560
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3561
3561
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(FSxServiceException);
|
|
3562
3562
|
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3563
3563
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -3584,46 +3584,6 @@ function sharedHeaders(operation) {
|
|
|
3584
3584
|
};
|
|
3585
3585
|
}
|
|
3586
3586
|
__name(sharedHeaders, "sharedHeaders");
|
|
3587
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3588
|
-
if (encoded.length) {
|
|
3589
|
-
return JSON.parse(encoded);
|
|
3590
|
-
}
|
|
3591
|
-
return {};
|
|
3592
|
-
}), "parseBody");
|
|
3593
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3594
|
-
const value = await parseBody(errorBody, context);
|
|
3595
|
-
value.message = value.message ?? value.Message;
|
|
3596
|
-
return value;
|
|
3597
|
-
}, "parseErrorBody");
|
|
3598
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3599
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3600
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3601
|
-
let cleanValue = rawValue;
|
|
3602
|
-
if (typeof cleanValue === "number") {
|
|
3603
|
-
cleanValue = cleanValue.toString();
|
|
3604
|
-
}
|
|
3605
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
3606
|
-
cleanValue = cleanValue.split(",")[0];
|
|
3607
|
-
}
|
|
3608
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
3609
|
-
cleanValue = cleanValue.split(":")[0];
|
|
3610
|
-
}
|
|
3611
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
3612
|
-
cleanValue = cleanValue.split("#")[1];
|
|
3613
|
-
}
|
|
3614
|
-
return cleanValue;
|
|
3615
|
-
}, "sanitizeErrorCode");
|
|
3616
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3617
|
-
if (headerKey !== void 0) {
|
|
3618
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3619
|
-
}
|
|
3620
|
-
if (data.code !== void 0) {
|
|
3621
|
-
return sanitizeErrorCode(data.code);
|
|
3622
|
-
}
|
|
3623
|
-
if (data["__type"] !== void 0) {
|
|
3624
|
-
return sanitizeErrorCode(data["__type"]);
|
|
3625
|
-
}
|
|
3626
|
-
}, "loadRestJsonErrorCode");
|
|
3627
3587
|
|
|
3628
3588
|
// src/commands/AssociateFileSystemAliasesCommand.ts
|
|
3629
3589
|
var _AssociateFileSystemAliasesCommand = class _AssociateFileSystemAliasesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
@@ -2035,43 +2036,3 @@ function sharedHeaders(operation) {
|
|
|
2035
2036
|
"x-amz-target": `AWSSimbaAPIService_v20180301.${operation}`,
|
|
2036
2037
|
};
|
|
2037
2038
|
}
|
|
2038
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2039
|
-
if (encoded.length) {
|
|
2040
|
-
return JSON.parse(encoded);
|
|
2041
|
-
}
|
|
2042
|
-
return {};
|
|
2043
|
-
});
|
|
2044
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
2045
|
-
const value = await parseBody(errorBody, context);
|
|
2046
|
-
value.message = value.message ?? value.Message;
|
|
2047
|
-
return value;
|
|
2048
|
-
};
|
|
2049
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
2050
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2051
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
2052
|
-
let cleanValue = rawValue;
|
|
2053
|
-
if (typeof cleanValue === "number") {
|
|
2054
|
-
cleanValue = cleanValue.toString();
|
|
2055
|
-
}
|
|
2056
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2057
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2058
|
-
}
|
|
2059
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2060
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2061
|
-
}
|
|
2062
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2063
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2064
|
-
}
|
|
2065
|
-
return cleanValue;
|
|
2066
|
-
};
|
|
2067
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2068
|
-
if (headerKey !== undefined) {
|
|
2069
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2070
|
-
}
|
|
2071
|
-
if (data.code !== undefined) {
|
|
2072
|
-
return sanitizeErrorCode(data.code);
|
|
2073
|
-
}
|
|
2074
|
-
if (data["__type"] !== undefined) {
|
|
2075
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2076
|
-
}
|
|
2077
|
-
};
|
|
@@ -27,8 +27,7 @@ declare const DescribeSharedVpcConfigurationCommand_base: {
|
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
* <p>Indicates whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual
|
|
30
|
-
* private cloud (VPC) owner. For more information, see
|
|
31
|
-
* Guide</a>.</p>
|
|
30
|
+
* private cloud (VPC) owner. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/creating-file-systems.html#fsxn-vpc-shared-subnets">Creating FSx for ONTAP file systems in shared subnets</a>. </p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -631,7 +631,7 @@ export interface DiskIopsConfiguration {
|
|
|
631
631
|
/**
|
|
632
632
|
* @public
|
|
633
633
|
* <p>Specifies whether the file system is
|
|
634
|
-
* using the <code>AUTOMATIC</code> setting of SSD IOPS of 3 IOPS per GB of storage capacity,
|
|
634
|
+
* using the <code>AUTOMATIC</code> setting of SSD IOPS of 3 IOPS per GB of storage capacity, or
|
|
635
635
|
* if it using a <code>USER_PROVISIONED</code> value.</p>
|
|
636
636
|
*/
|
|
637
637
|
Mode?: DiskIopsConfigurationMode;
|
|
@@ -795,7 +795,7 @@ export interface OntapFileSystemConfiguration {
|
|
|
795
795
|
* <p>Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:</p>
|
|
796
796
|
* <ul>
|
|
797
797
|
* <li>
|
|
798
|
-
* <p>The value of <code>HAPairs</code> is less than 1 or greater than
|
|
798
|
+
* <p>The value of <code>HAPairs</code> is less than 1 or greater than 12.</p>
|
|
799
799
|
* </li>
|
|
800
800
|
* <li>
|
|
801
801
|
* <p>The value of <code>HAPairs</code> is greater than 1 and the value of <code>DeploymentType</code> is <code>SINGLE_AZ_1</code> or <code>MULTI_AZ_1</code>.</p>
|
|
@@ -822,7 +822,7 @@ export interface OntapFileSystemConfiguration {
|
|
|
822
822
|
* <p>The value of <code>ThroughputCapacity</code> and <code>ThroughputCapacityPerHAPair</code> are not the same value.</p>
|
|
823
823
|
* </li>
|
|
824
824
|
* <li>
|
|
825
|
-
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and
|
|
825
|
+
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and 12).</p>
|
|
826
826
|
* </li>
|
|
827
827
|
* <li>
|
|
828
828
|
* <p>The value of <code>ThroughputCapacityPerHAPair</code> is not a valid value.</p>
|
|
@@ -2075,22 +2075,26 @@ export declare const OpenZFSQuotaType: {
|
|
|
2075
2075
|
export type OpenZFSQuotaType = (typeof OpenZFSQuotaType)[keyof typeof OpenZFSQuotaType];
|
|
2076
2076
|
/**
|
|
2077
2077
|
* @public
|
|
2078
|
-
* <p>
|
|
2078
|
+
* <p>Used to configure quotas that define how much storage a user or group can use on an
|
|
2079
|
+
* FSx for OpenZFS volume. For more information, see
|
|
2080
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-volumes.html#volume-properties">Volume properties</a>
|
|
2081
|
+
* in the FSx for OpenZFS User Guide.
|
|
2082
|
+
* </p>
|
|
2079
2083
|
*/
|
|
2080
2084
|
export interface OpenZFSUserOrGroupQuota {
|
|
2081
2085
|
/**
|
|
2082
2086
|
* @public
|
|
2083
|
-
* <p>
|
|
2087
|
+
* <p>Specifies whether the quota applies to a user or group.</p>
|
|
2084
2088
|
*/
|
|
2085
2089
|
Type: OpenZFSQuotaType | undefined;
|
|
2086
2090
|
/**
|
|
2087
2091
|
* @public
|
|
2088
|
-
* <p>The ID of the user or group.</p>
|
|
2092
|
+
* <p>The ID of the user or group that the quota applies to.</p>
|
|
2089
2093
|
*/
|
|
2090
2094
|
Id: number | undefined;
|
|
2091
2095
|
/**
|
|
2092
2096
|
* @public
|
|
2093
|
-
* <p>The
|
|
2097
|
+
* <p>The user or group's storage quota, in gibibytes (GiB).</p>
|
|
2094
2098
|
*/
|
|
2095
2099
|
StorageCapacityQuotaGiB: number | undefined;
|
|
2096
2100
|
}
|
|
@@ -4887,6 +4891,12 @@ export interface CreateFileSystemOntapConfiguration {
|
|
|
4887
4891
|
* for routing traffic to the correct file server. You should specify all virtual private cloud
|
|
4888
4892
|
* (VPC) route tables associated with the subnets in which your clients are located. By default,
|
|
4889
4893
|
* Amazon FSx selects your VPC's default route table.</p>
|
|
4894
|
+
* <note>
|
|
4895
|
+
* <p>Amazon FSx manages these route tables for Multi-AZ file systems using tag-based authentication.
|
|
4896
|
+
* These route tables are tagged with <code>Key: AmazonFSx; Value: ManagedByAmazonFSx</code>.
|
|
4897
|
+
* When creating FSx for ONTAP Multi-AZ file systems using CloudFormation we recommend that you add the
|
|
4898
|
+
* <code>Key: AmazonFSx; Value: ManagedByAmazonFSx</code> tag manually.</p>
|
|
4899
|
+
* </note>
|
|
4890
4900
|
*/
|
|
4891
4901
|
RouteTableIds?: string[];
|
|
4892
4902
|
/**
|
|
@@ -4919,11 +4929,14 @@ export interface CreateFileSystemOntapConfiguration {
|
|
|
4919
4929
|
WeeklyMaintenanceStartTime?: string;
|
|
4920
4930
|
/**
|
|
4921
4931
|
* @public
|
|
4922
|
-
* <p>Specifies how many high-availability (HA) pairs
|
|
4932
|
+
* <p>Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1.
|
|
4933
|
+
* FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of <code>StorageCapacity</code>,
|
|
4934
|
+
* <code>Iops</code>, and <code>ThroughputCapacity</code>. For more information, see
|
|
4935
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/HA-pairs.html">High-availability (HA) pairs</a> in the FSx for ONTAP user guide.</p>
|
|
4923
4936
|
* <p>Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:</p>
|
|
4924
4937
|
* <ul>
|
|
4925
4938
|
* <li>
|
|
4926
|
-
* <p>The value of <code>HAPairs</code> is less than 1 or greater than
|
|
4939
|
+
* <p>The value of <code>HAPairs</code> is less than 1 or greater than 12.</p>
|
|
4927
4940
|
* </li>
|
|
4928
4941
|
* <li>
|
|
4929
4942
|
* <p>The value of <code>HAPairs</code> is greater than 1 and the value of <code>DeploymentType</code> is <code>SINGLE_AZ_1</code> or <code>MULTI_AZ_1</code>.</p>
|
|
@@ -4934,14 +4947,14 @@ export interface CreateFileSystemOntapConfiguration {
|
|
|
4934
4947
|
/**
|
|
4935
4948
|
* @public
|
|
4936
4949
|
* <p>Use to choose the throughput capacity per HA pair, rather than the total throughput for the file system. </p>
|
|
4937
|
-
* <p>
|
|
4938
|
-
* <p>This field and <code>ThroughputCapacity</code> are the same for file systems
|
|
4950
|
+
* <p>You can define either the <code>ThroughputCapacityPerHAPair</code> or the <code>ThroughputCapacity</code> when creating a file system, but not both.</p>
|
|
4951
|
+
* <p>This field and <code>ThroughputCapacity</code> are the same for scale-up file systems powered by one HA pair.</p>
|
|
4939
4952
|
* <ul>
|
|
4940
4953
|
* <li>
|
|
4941
|
-
* <p>For <code>SINGLE_AZ_1</code> and <code>MULTI_AZ_1</code
|
|
4954
|
+
* <p>For <code>SINGLE_AZ_1</code> and <code>MULTI_AZ_1</code> file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps.</p>
|
|
4942
4955
|
* </li>
|
|
4943
4956
|
* <li>
|
|
4944
|
-
* <p>For <code>SINGLE_AZ_2</code
|
|
4957
|
+
* <p>For <code>SINGLE_AZ_2</code> file systems, valid values are 3072 or 6144 MBps.</p>
|
|
4945
4958
|
* </li>
|
|
4946
4959
|
* </ul>
|
|
4947
4960
|
* <p>Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:</p>
|
|
@@ -4950,7 +4963,7 @@ export interface CreateFileSystemOntapConfiguration {
|
|
|
4950
4963
|
* <p>The value of <code>ThroughputCapacity</code> and <code>ThroughputCapacityPerHAPair</code> are not the same value for file systems with one HA pair.</p>
|
|
4951
4964
|
* </li>
|
|
4952
4965
|
* <li>
|
|
4953
|
-
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and
|
|
4966
|
+
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and 12).</p>
|
|
4954
4967
|
* </li>
|
|
4955
4968
|
* <li>
|
|
4956
4969
|
* <p>The value of <code>ThroughputCapacityPerHAPair</code> is not a valid value.</p>
|
|
@@ -5497,7 +5510,7 @@ export interface CreateFileSystemRequest {
|
|
|
5497
5510
|
* </ul>
|
|
5498
5511
|
* <p>
|
|
5499
5512
|
* <b>FSx for ONTAP file systems</b> - The amount of storage capacity
|
|
5500
|
-
* that you can configure depends on the value of the <code>HAPairs</code> property. The minimum value is calculated as 1,024 * <code>HAPairs</code> and the
|
|
5513
|
+
* that you can configure depends on the value of the <code>HAPairs</code> property. The minimum value is calculated as 1,024 * <code>HAPairs</code> and the maximum is calculated as 524,288 * <code>HAPairs</code>. </p>
|
|
5501
5514
|
* <p>
|
|
5502
5515
|
* <b>FSx for OpenZFS file systems</b> - The amount of storage capacity that
|
|
5503
5516
|
* you can configure is from 64 GiB up to 524,288 GiB (512 TiB).</p>
|
|
@@ -5560,6 +5573,10 @@ export interface CreateFileSystemRequest {
|
|
|
5560
5573
|
* <p>A list of IDs specifying the security groups to apply to all network interfaces
|
|
5561
5574
|
* created for file system access. This list isn't returned in later requests to
|
|
5562
5575
|
* describe the file system.</p>
|
|
5576
|
+
* <important>
|
|
5577
|
+
* <p>You must specify a security group if you are creating a Multi-AZ
|
|
5578
|
+
* FSx for ONTAP file system in a VPC subnet that has been shared with you.</p>
|
|
5579
|
+
* </important>
|
|
5563
5580
|
*/
|
|
5564
5581
|
SecurityGroupIds?: string[];
|
|
5565
5582
|
/**
|
|
@@ -5908,7 +5925,7 @@ export interface CreateSnapshotRequest {
|
|
|
5908
5925
|
/**
|
|
5909
5926
|
* @public
|
|
5910
5927
|
* <p>The configuration that Amazon FSx uses to join the ONTAP storage virtual machine
|
|
5911
|
-
* (SVM) to your self-managed (including on-premises) Microsoft Active Directory
|
|
5928
|
+
* (SVM) to your self-managed (including on-premises) Microsoft Active Directory directory.</p>
|
|
5912
5929
|
*/
|
|
5913
5930
|
export interface CreateSvmActiveDirectoryConfiguration {
|
|
5914
5931
|
/**
|
|
@@ -5948,7 +5965,7 @@ export interface CreateStorageVirtualMachineRequest {
|
|
|
5948
5965
|
* @public
|
|
5949
5966
|
* <p>Describes the self-managed Microsoft Active Directory to which you want to join the SVM.
|
|
5950
5967
|
* Joining an Active Directory provides user authentication and access control for SMB clients,
|
|
5951
|
-
* including Microsoft Windows and macOS
|
|
5968
|
+
* including Microsoft Windows and macOS clients accessing the file system.</p>
|
|
5952
5969
|
*/
|
|
5953
5970
|
ActiveDirectoryConfiguration?: CreateSvmActiveDirectoryConfiguration;
|
|
5954
5971
|
/**
|
|
@@ -5992,16 +6009,17 @@ export interface CreateStorageVirtualMachineRequest {
|
|
|
5992
6009
|
* </li>
|
|
5993
6010
|
* <li>
|
|
5994
6011
|
* <p>
|
|
5995
|
-
* <code>NTFS</code> if the file system is managed by a Windows
|
|
6012
|
+
* <code>NTFS</code> if the file system is managed by a Microsoft Windows
|
|
5996
6013
|
* administrator, the majority of users are SMB clients, and an application
|
|
5997
|
-
* accessing the data uses a Windows user as the service account.</p>
|
|
6014
|
+
* accessing the data uses a Microsoft Windows user as the service account.</p>
|
|
5998
6015
|
* </li>
|
|
5999
6016
|
* <li>
|
|
6000
6017
|
* <p>
|
|
6001
|
-
* <code>MIXED</code>
|
|
6002
|
-
*
|
|
6018
|
+
* <code>MIXED</code> This is an advanced setting. For more information, see
|
|
6019
|
+
* <a href="fsx/latest/ONTAPGuide/volume-security-style.html">Volume security style</a> in the Amazon FSx for NetApp ONTAP User Guide.</p>
|
|
6003
6020
|
* </li>
|
|
6004
6021
|
* </ul>
|
|
6022
|
+
* <p></p>
|
|
6005
6023
|
*/
|
|
6006
6024
|
RootVolumeSecurityStyle?: StorageVirtualMachineRootVolumeSecurityStyle;
|
|
6007
6025
|
}
|
|
@@ -6218,7 +6236,7 @@ export interface CreateStorageVirtualMachineResponse {
|
|
|
6218
6236
|
}
|
|
6219
6237
|
/**
|
|
6220
6238
|
* @public
|
|
6221
|
-
* <p>Used to specify the configuration options for
|
|
6239
|
+
* <p>Used to specify the configuration options for an FSx for ONTAP volume's storage aggregate or aggregates.</p>
|
|
6222
6240
|
*/
|
|
6223
6241
|
export interface CreateAggregateConfiguration {
|
|
6224
6242
|
/**
|
|
@@ -6329,7 +6347,7 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6329
6347
|
* <p>Specifies the security style for the volume. If a volume's security style is not specified,
|
|
6330
6348
|
* it is automatically set to the root volume's security style. The security style determines the type of permissions
|
|
6331
6349
|
* that FSx for ONTAP uses to control data access. For more information, see
|
|
6332
|
-
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/
|
|
6350
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style">Volume security style</a>
|
|
6333
6351
|
* in the <i>Amazon FSx for NetApp ONTAP User Guide</i>.
|
|
6334
6352
|
* Specify one of the following values:</p>
|
|
6335
6353
|
* <ul>
|
|
@@ -6348,24 +6366,28 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6348
6366
|
* </li>
|
|
6349
6367
|
* <li>
|
|
6350
6368
|
* <p>
|
|
6351
|
-
* <code>MIXED</code>
|
|
6352
|
-
*
|
|
6369
|
+
* <code>MIXED</code> This is an advanced setting. For more information, see the topic
|
|
6370
|
+
* <a href="https://docs.netapp.com/us-en/ontap/nfs-admin/security-styles-their-effects-concept.html">What the security styles and their effects are</a>
|
|
6371
|
+
* in the NetApp Documentation Center.</p>
|
|
6353
6372
|
* </li>
|
|
6354
6373
|
* </ul>
|
|
6374
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume security style</a> in the
|
|
6375
|
+
* FSx for ONTAP User Guide.</p>
|
|
6355
6376
|
*/
|
|
6356
6377
|
SecurityStyle?: SecurityStyle;
|
|
6357
6378
|
/**
|
|
6358
6379
|
* @public
|
|
6359
6380
|
* @deprecated
|
|
6360
6381
|
*
|
|
6361
|
-
* <p>Specifies the size of the volume, in megabytes (MB), that you are creating.</p>
|
|
6382
|
+
* <p>Use <code>SizeInBytes</code> instead. Specifies the size of the volume, in megabytes (MB), that you are creating.</p>
|
|
6362
6383
|
*/
|
|
6363
6384
|
SizeInMegabytes?: number;
|
|
6364
6385
|
/**
|
|
6365
6386
|
* @public
|
|
6366
6387
|
* <p>Set to true to enable deduplication, compression, and compaction storage
|
|
6367
|
-
* efficiency features on the volume, or set to false to disable them
|
|
6368
|
-
*
|
|
6388
|
+
* efficiency features on the volume, or set to false to disable them.</p>
|
|
6389
|
+
* <p>
|
|
6390
|
+
* <code>StorageEfficiencyEnabled</code> is required when creating a <code>RW</code> volume (<code>OntapVolumeType</code> set to <code>RW</code>).</p>
|
|
6369
6391
|
*/
|
|
6370
6392
|
StorageEfficiencyEnabled?: boolean;
|
|
6371
6393
|
/**
|
|
@@ -6420,7 +6442,7 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6420
6442
|
* </li>
|
|
6421
6443
|
* </ul>
|
|
6422
6444
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-types">Volume types</a>
|
|
6423
|
-
* in the
|
|
6445
|
+
* in the Amazon FSx for NetApp ONTAP User Guide.</p>
|
|
6424
6446
|
*/
|
|
6425
6447
|
OntapVolumeType?: InputOntapVolumeType;
|
|
6426
6448
|
/**
|
|
@@ -6446,7 +6468,7 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6446
6468
|
* </ul>
|
|
6447
6469
|
* <p>You can also provide the name of a custom policy that you created with the ONTAP CLI or REST API.</p>
|
|
6448
6470
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/snapshots-ontap.html#snapshot-policies">Snapshot policies</a>
|
|
6449
|
-
* in the
|
|
6471
|
+
* in the Amazon FSx for NetApp ONTAP User Guide.</p>
|
|
6450
6472
|
*/
|
|
6451
6473
|
SnapshotPolicy?: string;
|
|
6452
6474
|
/**
|
|
@@ -6465,7 +6487,9 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6465
6487
|
SnaplockConfiguration?: CreateSnaplockConfiguration;
|
|
6466
6488
|
/**
|
|
6467
6489
|
* @public
|
|
6468
|
-
* <p>Use to specify the style of an ONTAP volume.
|
|
6490
|
+
* <p>Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes,
|
|
6491
|
+
* FlexVol and FlexGroup volumes. For more information, see
|
|
6492
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-styles.html">Volume styles</a> in the Amazon FSx for NetApp ONTAP User Guide.</p>
|
|
6469
6493
|
*/
|
|
6470
6494
|
VolumeStyle?: VolumeStyle;
|
|
6471
6495
|
/**
|
|
@@ -6475,7 +6499,7 @@ export interface CreateOntapVolumeConfiguration {
|
|
|
6475
6499
|
AggregateConfiguration?: CreateAggregateConfiguration;
|
|
6476
6500
|
/**
|
|
6477
6501
|
* @public
|
|
6478
|
-
* <p>
|
|
6502
|
+
* <p>Specifies the configured size of the volume, in bytes.</p>
|
|
6479
6503
|
*/
|
|
6480
6504
|
SizeInBytes?: number;
|
|
6481
6505
|
}
|
|
@@ -6623,7 +6647,7 @@ export interface CreateOpenZFSVolumeConfiguration {
|
|
|
6623
6647
|
NfsExports?: OpenZFSNfsExport[];
|
|
6624
6648
|
/**
|
|
6625
6649
|
* @public
|
|
6626
|
-
* <p>
|
|
6650
|
+
* <p>Configures how much storage users and groups can use on the volume.</p>
|
|
6627
6651
|
*/
|
|
6628
6652
|
UserAndGroupQuotas?: OpenZFSUserOrGroupQuota[];
|
|
6629
6653
|
}
|
|
@@ -7871,7 +7895,7 @@ export interface DescribeSnapshotsRequest {
|
|
|
7871
7895
|
NextToken?: string;
|
|
7872
7896
|
/**
|
|
7873
7897
|
* @public
|
|
7874
|
-
* <p>Set to <code>false</code> (default) if you want to only see the snapshots
|
|
7898
|
+
* <p>Set to <code>false</code> (default) if you want to only see the snapshots owned by your
|
|
7875
7899
|
* Amazon Web Services account. Set to <code>true</code> if you want to see the
|
|
7876
7900
|
* snapshots in your account and the ones shared with you from another account.</p>
|
|
7877
7901
|
*/
|
|
@@ -8609,7 +8633,7 @@ export interface UpdateFileSystemOntapConfiguration {
|
|
|
8609
8633
|
* <p>The value of <code>ThroughputCapacity</code> and <code>ThroughputCapacityPerHAPair</code> are not the same value for file systems with one HA pair.</p>
|
|
8610
8634
|
* </li>
|
|
8611
8635
|
* <li>
|
|
8612
|
-
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and
|
|
8636
|
+
* <p>The value of deployment type is <code>SINGLE_AZ_2</code> and <code>ThroughputCapacity</code> / <code>ThroughputCapacityPerHAPair</code> is a valid HA pair (a value between 2 and 12).</p>
|
|
8613
8637
|
* </li>
|
|
8614
8638
|
* <li>
|
|
8615
8639
|
* <p>The value of <code>ThroughputCapacityPerHAPair</code> is not a valid value.</p>
|
|
@@ -9596,8 +9620,8 @@ export interface FileSystem {
|
|
|
9596
9620
|
ResourceARN?: string;
|
|
9597
9621
|
/**
|
|
9598
9622
|
* @public
|
|
9599
|
-
* <p>The tags to associate with the file system. For more information, see <a href="https://docs.aws.amazon.com/
|
|
9600
|
-
* Amazon
|
|
9623
|
+
* <p>The tags to associate with the file system. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/tag-resources.html">Tagging your
|
|
9624
|
+
* Amazon FSx resources</a> in the <i>Amazon FSx for Lustre User
|
|
9601
9625
|
* Guide</i>.</p>
|
|
9602
9626
|
*/
|
|
9603
9627
|
Tags?: Tag[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fsx",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fsx Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-fsx",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|