@aws-sdk/client-fsx 3.53.0 → 3.55.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/CHANGELOG.md +27 -0
- package/dist-cjs/FSxClient.js +13 -13
- package/dist-cjs/commands/AssociateFileSystemAliasesCommand.js +3 -3
- package/dist-cjs/commands/CancelDataRepositoryTaskCommand.js +3 -3
- package/dist-cjs/commands/CopyBackupCommand.js +3 -3
- package/dist-cjs/commands/CreateBackupCommand.js +3 -3
- package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +3 -3
- package/dist-cjs/commands/CreateDataRepositoryTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateFileSystemCommand.js +3 -3
- package/dist-cjs/commands/CreateFileSystemFromBackupCommand.js +3 -3
- package/dist-cjs/commands/CreateSnapshotCommand.js +3 -3
- package/dist-cjs/commands/CreateStorageVirtualMachineCommand.js +3 -3
- package/dist-cjs/commands/CreateVolumeCommand.js +3 -3
- package/dist-cjs/commands/CreateVolumeFromBackupCommand.js +3 -3
- package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +3 -3
- package/dist-cjs/commands/DeleteFileSystemCommand.js +3 -3
- package/dist-cjs/commands/DeleteSnapshotCommand.js +3 -3
- package/dist-cjs/commands/DeleteStorageVirtualMachineCommand.js +3 -3
- package/dist-cjs/commands/DeleteVolumeCommand.js +3 -3
- package/dist-cjs/commands/DescribeBackupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataRepositoryTasksCommand.js +3 -3
- package/dist-cjs/commands/DescribeFileSystemAliasesCommand.js +3 -3
- package/dist-cjs/commands/DescribeFileSystemsCommand.js +3 -3
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/DescribeStorageVirtualMachinesCommand.js +3 -3
- package/dist-cjs/commands/DescribeVolumesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFileSystemAliasesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +3 -3
- package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateFileSystemCommand.js +3 -3
- package/dist-cjs/commands/UpdateSnapshotCommand.js +3 -3
- package/dist-cjs/commands/UpdateStorageVirtualMachineCommand.js +3 -3
- package/dist-cjs/commands/UpdateVolumeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +15 -10
- package/dist-cjs/protocols/Aws_json1_1.js +366 -345
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/FSx.js +37 -37
- package/dist-es/models/models_0.js +9 -4
- package/dist-es/pagination/DescribeBackupsPaginator.js +4 -4
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +4 -4
- package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +4 -4
- package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +4 -4
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +4 -4
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +4 -4
- package/dist-es/pagination/DescribeVolumesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +25 -8
- package/dist-types/FSx.d.ts +9 -10
- package/dist-types/FSxClient.d.ts +2 -2
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +2 -2
- package/dist-types/commands/CreateSnapshotCommand.d.ts +3 -3
- package/dist-types/commands/CreateVolumeCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +193 -81
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/FSxClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +25 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
package/dist-es/FSx.js
CHANGED
|
@@ -49,7 +49,7 @@ var FSx = (function (_super) {
|
|
|
49
49
|
}
|
|
50
50
|
else if (typeof cb === "function") {
|
|
51
51
|
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error("Expect http options but get "
|
|
52
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
53
|
this.send(command, optionsOrCb || {}, cb);
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
@@ -63,7 +63,7 @@ var FSx = (function (_super) {
|
|
|
63
63
|
}
|
|
64
64
|
else if (typeof cb === "function") {
|
|
65
65
|
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error("Expect http options but get "
|
|
66
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
67
|
this.send(command, optionsOrCb || {}, cb);
|
|
68
68
|
}
|
|
69
69
|
else {
|
|
@@ -77,7 +77,7 @@ var FSx = (function (_super) {
|
|
|
77
77
|
}
|
|
78
78
|
else if (typeof cb === "function") {
|
|
79
79
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error("Expect http options but get "
|
|
80
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
81
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
@@ -91,7 +91,7 @@ var FSx = (function (_super) {
|
|
|
91
91
|
}
|
|
92
92
|
else if (typeof cb === "function") {
|
|
93
93
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error("Expect http options but get "
|
|
94
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
95
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
@@ -105,7 +105,7 @@ var FSx = (function (_super) {
|
|
|
105
105
|
}
|
|
106
106
|
else if (typeof cb === "function") {
|
|
107
107
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error("Expect http options but get "
|
|
108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
109
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
@@ -119,7 +119,7 @@ var FSx = (function (_super) {
|
|
|
119
119
|
}
|
|
120
120
|
else if (typeof cb === "function") {
|
|
121
121
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error("Expect http options but get "
|
|
122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
123
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
@@ -133,7 +133,7 @@ var FSx = (function (_super) {
|
|
|
133
133
|
}
|
|
134
134
|
else if (typeof cb === "function") {
|
|
135
135
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error("Expect http options but get "
|
|
136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
137
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
138
|
}
|
|
139
139
|
else {
|
|
@@ -147,7 +147,7 @@ var FSx = (function (_super) {
|
|
|
147
147
|
}
|
|
148
148
|
else if (typeof cb === "function") {
|
|
149
149
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error("Expect http options but get "
|
|
150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
151
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
@@ -161,7 +161,7 @@ var FSx = (function (_super) {
|
|
|
161
161
|
}
|
|
162
162
|
else if (typeof cb === "function") {
|
|
163
163
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error("Expect http options but get "
|
|
164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
165
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
166
|
}
|
|
167
167
|
else {
|
|
@@ -175,7 +175,7 @@ var FSx = (function (_super) {
|
|
|
175
175
|
}
|
|
176
176
|
else if (typeof cb === "function") {
|
|
177
177
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error("Expect http options but get "
|
|
178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
179
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
@@ -189,7 +189,7 @@ var FSx = (function (_super) {
|
|
|
189
189
|
}
|
|
190
190
|
else if (typeof cb === "function") {
|
|
191
191
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error("Expect http options but get "
|
|
192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
193
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
@@ -203,7 +203,7 @@ var FSx = (function (_super) {
|
|
|
203
203
|
}
|
|
204
204
|
else if (typeof cb === "function") {
|
|
205
205
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error("Expect http options but get "
|
|
206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
207
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
@@ -217,7 +217,7 @@ var FSx = (function (_super) {
|
|
|
217
217
|
}
|
|
218
218
|
else if (typeof cb === "function") {
|
|
219
219
|
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error("Expect http options but get "
|
|
220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
221
221
|
this.send(command, optionsOrCb || {}, cb);
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
@@ -231,7 +231,7 @@ var FSx = (function (_super) {
|
|
|
231
231
|
}
|
|
232
232
|
else if (typeof cb === "function") {
|
|
233
233
|
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error("Expect http options but get "
|
|
234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
235
235
|
this.send(command, optionsOrCb || {}, cb);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
@@ -245,7 +245,7 @@ var FSx = (function (_super) {
|
|
|
245
245
|
}
|
|
246
246
|
else if (typeof cb === "function") {
|
|
247
247
|
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error("Expect http options but get "
|
|
248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
249
249
|
this.send(command, optionsOrCb || {}, cb);
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
@@ -259,7 +259,7 @@ var FSx = (function (_super) {
|
|
|
259
259
|
}
|
|
260
260
|
else if (typeof cb === "function") {
|
|
261
261
|
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error("Expect http options but get "
|
|
262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
263
263
|
this.send(command, optionsOrCb || {}, cb);
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
@@ -273,7 +273,7 @@ var FSx = (function (_super) {
|
|
|
273
273
|
}
|
|
274
274
|
else if (typeof cb === "function") {
|
|
275
275
|
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error("Expect http options but get "
|
|
276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
277
277
|
this.send(command, optionsOrCb || {}, cb);
|
|
278
278
|
}
|
|
279
279
|
else {
|
|
@@ -287,7 +287,7 @@ var FSx = (function (_super) {
|
|
|
287
287
|
}
|
|
288
288
|
else if (typeof cb === "function") {
|
|
289
289
|
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error("Expect http options but get "
|
|
290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
291
291
|
this.send(command, optionsOrCb || {}, cb);
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
@@ -301,7 +301,7 @@ var FSx = (function (_super) {
|
|
|
301
301
|
}
|
|
302
302
|
else if (typeof cb === "function") {
|
|
303
303
|
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error("Expect http options but get "
|
|
304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
305
305
|
this.send(command, optionsOrCb || {}, cb);
|
|
306
306
|
}
|
|
307
307
|
else {
|
|
@@ -315,7 +315,7 @@ var FSx = (function (_super) {
|
|
|
315
315
|
}
|
|
316
316
|
else if (typeof cb === "function") {
|
|
317
317
|
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error("Expect http options but get "
|
|
318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
319
319
|
this.send(command, optionsOrCb || {}, cb);
|
|
320
320
|
}
|
|
321
321
|
else {
|
|
@@ -329,7 +329,7 @@ var FSx = (function (_super) {
|
|
|
329
329
|
}
|
|
330
330
|
else if (typeof cb === "function") {
|
|
331
331
|
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error("Expect http options but get "
|
|
332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
333
333
|
this.send(command, optionsOrCb || {}, cb);
|
|
334
334
|
}
|
|
335
335
|
else {
|
|
@@ -343,7 +343,7 @@ var FSx = (function (_super) {
|
|
|
343
343
|
}
|
|
344
344
|
else if (typeof cb === "function") {
|
|
345
345
|
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error("Expect http options but get "
|
|
346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
347
347
|
this.send(command, optionsOrCb || {}, cb);
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
@@ -357,7 +357,7 @@ var FSx = (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
else if (typeof cb === "function") {
|
|
359
359
|
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error("Expect http options but get "
|
|
360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
361
361
|
this.send(command, optionsOrCb || {}, cb);
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
@@ -371,7 +371,7 @@ var FSx = (function (_super) {
|
|
|
371
371
|
}
|
|
372
372
|
else if (typeof cb === "function") {
|
|
373
373
|
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error("Expect http options but get "
|
|
374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
375
375
|
this.send(command, optionsOrCb || {}, cb);
|
|
376
376
|
}
|
|
377
377
|
else {
|
|
@@ -385,7 +385,7 @@ var FSx = (function (_super) {
|
|
|
385
385
|
}
|
|
386
386
|
else if (typeof cb === "function") {
|
|
387
387
|
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error("Expect http options but get "
|
|
388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
389
389
|
this.send(command, optionsOrCb || {}, cb);
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
@@ -399,7 +399,7 @@ var FSx = (function (_super) {
|
|
|
399
399
|
}
|
|
400
400
|
else if (typeof cb === "function") {
|
|
401
401
|
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error("Expect http options but get "
|
|
402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
403
403
|
this.send(command, optionsOrCb || {}, cb);
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
@@ -413,7 +413,7 @@ var FSx = (function (_super) {
|
|
|
413
413
|
}
|
|
414
414
|
else if (typeof cb === "function") {
|
|
415
415
|
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error("Expect http options but get "
|
|
416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
417
417
|
this.send(command, optionsOrCb || {}, cb);
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
@@ -427,7 +427,7 @@ var FSx = (function (_super) {
|
|
|
427
427
|
}
|
|
428
428
|
else if (typeof cb === "function") {
|
|
429
429
|
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error("Expect http options but get "
|
|
430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
431
431
|
this.send(command, optionsOrCb || {}, cb);
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
@@ -441,7 +441,7 @@ var FSx = (function (_super) {
|
|
|
441
441
|
}
|
|
442
442
|
else if (typeof cb === "function") {
|
|
443
443
|
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error("Expect http options but get "
|
|
444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
445
445
|
this.send(command, optionsOrCb || {}, cb);
|
|
446
446
|
}
|
|
447
447
|
else {
|
|
@@ -455,7 +455,7 @@ var FSx = (function (_super) {
|
|
|
455
455
|
}
|
|
456
456
|
else if (typeof cb === "function") {
|
|
457
457
|
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error("Expect http options but get "
|
|
458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
459
459
|
this.send(command, optionsOrCb || {}, cb);
|
|
460
460
|
}
|
|
461
461
|
else {
|
|
@@ -469,7 +469,7 @@ var FSx = (function (_super) {
|
|
|
469
469
|
}
|
|
470
470
|
else if (typeof cb === "function") {
|
|
471
471
|
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error("Expect http options but get "
|
|
472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
473
473
|
this.send(command, optionsOrCb || {}, cb);
|
|
474
474
|
}
|
|
475
475
|
else {
|
|
@@ -483,7 +483,7 @@ var FSx = (function (_super) {
|
|
|
483
483
|
}
|
|
484
484
|
else if (typeof cb === "function") {
|
|
485
485
|
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error("Expect http options but get "
|
|
486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
487
487
|
this.send(command, optionsOrCb || {}, cb);
|
|
488
488
|
}
|
|
489
489
|
else {
|
|
@@ -497,7 +497,7 @@ var FSx = (function (_super) {
|
|
|
497
497
|
}
|
|
498
498
|
else if (typeof cb === "function") {
|
|
499
499
|
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error("Expect http options but get "
|
|
500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
501
501
|
this.send(command, optionsOrCb || {}, cb);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
@@ -511,7 +511,7 @@ var FSx = (function (_super) {
|
|
|
511
511
|
}
|
|
512
512
|
else if (typeof cb === "function") {
|
|
513
513
|
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error("Expect http options but get "
|
|
514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
515
515
|
this.send(command, optionsOrCb || {}, cb);
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
@@ -525,7 +525,7 @@ var FSx = (function (_super) {
|
|
|
525
525
|
}
|
|
526
526
|
else if (typeof cb === "function") {
|
|
527
527
|
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error("Expect http options but get "
|
|
528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
529
529
|
this.send(command, optionsOrCb || {}, cb);
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
@@ -539,7 +539,7 @@ var FSx = (function (_super) {
|
|
|
539
539
|
}
|
|
540
540
|
else if (typeof cb === "function") {
|
|
541
541
|
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error("Expect http options but get "
|
|
542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
543
543
|
this.send(command, optionsOrCb || {}, cb);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
@@ -553,7 +553,7 @@ var FSx = (function (_super) {
|
|
|
553
553
|
}
|
|
554
554
|
else if (typeof cb === "function") {
|
|
555
555
|
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error("Expect http options but get "
|
|
556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
557
557
|
this.send(command, optionsOrCb || {}, cb);
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
@@ -216,6 +216,10 @@ export var SnapshotLifecycle;
|
|
|
216
216
|
SnapshotLifecycle["DELETING"] = "DELETING";
|
|
217
217
|
SnapshotLifecycle["PENDING"] = "PENDING";
|
|
218
218
|
})(SnapshotLifecycle || (SnapshotLifecycle = {}));
|
|
219
|
+
export var LifecycleTransitionReason;
|
|
220
|
+
(function (LifecycleTransitionReason) {
|
|
221
|
+
LifecycleTransitionReason.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
})(LifecycleTransitionReason || (LifecycleTransitionReason = {}));
|
|
219
223
|
export var VolumeLifecycle;
|
|
220
224
|
(function (VolumeLifecycle) {
|
|
221
225
|
VolumeLifecycle["AVAILABLE"] = "AVAILABLE";
|
|
@@ -226,10 +230,6 @@ export var VolumeLifecycle;
|
|
|
226
230
|
VolumeLifecycle["MISCONFIGURED"] = "MISCONFIGURED";
|
|
227
231
|
VolumeLifecycle["PENDING"] = "PENDING";
|
|
228
232
|
})(VolumeLifecycle || (VolumeLifecycle = {}));
|
|
229
|
-
export var LifecycleTransitionReason;
|
|
230
|
-
(function (LifecycleTransitionReason) {
|
|
231
|
-
LifecycleTransitionReason.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
-
})(LifecycleTransitionReason || (LifecycleTransitionReason = {}));
|
|
233
233
|
export var FlexCacheEndpointType;
|
|
234
234
|
(function (FlexCacheEndpointType) {
|
|
235
235
|
FlexCacheEndpointType["CACHE"] = "CACHE";
|
|
@@ -265,6 +265,7 @@ export var OntapVolumeConfiguration;
|
|
|
265
265
|
})(OntapVolumeConfiguration || (OntapVolumeConfiguration = {}));
|
|
266
266
|
export var OpenZFSDataCompressionType;
|
|
267
267
|
(function (OpenZFSDataCompressionType) {
|
|
268
|
+
OpenZFSDataCompressionType["LZ4"] = "LZ4";
|
|
268
269
|
OpenZFSDataCompressionType["NONE"] = "NONE";
|
|
269
270
|
OpenZFSDataCompressionType["ZSTD"] = "ZSTD";
|
|
270
271
|
})(OpenZFSDataCompressionType || (OpenZFSDataCompressionType = {}));
|
|
@@ -945,6 +946,10 @@ export var DeleteFileSystemLustreConfiguration;
|
|
|
945
946
|
(function (DeleteFileSystemLustreConfiguration) {
|
|
946
947
|
DeleteFileSystemLustreConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
947
948
|
})(DeleteFileSystemLustreConfiguration || (DeleteFileSystemLustreConfiguration = {}));
|
|
949
|
+
export var DeleteFileSystemOpenZFSOption;
|
|
950
|
+
(function (DeleteFileSystemOpenZFSOption) {
|
|
951
|
+
DeleteFileSystemOpenZFSOption["DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"] = "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS";
|
|
952
|
+
})(DeleteFileSystemOpenZFSOption || (DeleteFileSystemOpenZFSOption = {}));
|
|
948
953
|
export var DeleteFileSystemOpenZFSConfiguration;
|
|
949
954
|
(function (DeleteFileSystemOpenZFSConfiguration) {
|
|
950
955
|
DeleteFileSystemOpenZFSConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeBackupsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeBackupsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeBackups.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeBackups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeBackups(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof FSx)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof FSxClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDataRepositoryAssociationsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDataRepositoryAssociationsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeDataRepositoryAssociations.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeDataRepositoryAssociations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeDataRepositoryAssociations(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof FSx)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof FSxClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDataRepositoryTasksCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeDataRepositoryTasksCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeDataRepositoryTasks.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeDataRepositoryTasks.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeDataRepositoryTasks(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof FSx)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof FSxClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeFileSystemAliasesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeFileSystemAliasesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeFileSystemAliases.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeFileSystemAliases.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeFileSystemAliases(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof FSx)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof FSxClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeFileSystemsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeFileSystemsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.describeFileSystems.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeFileSystems.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateDescribeFileSystems(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof FSx)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof FSxClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|