@aws-sdk/client-dataexchange 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/DataExchange.js +15 -0
- package/dist-cjs/DataExchangeClient.js +13 -13
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateDataSetCommand.js +3 -3
- package/dist-cjs/commands/CreateEventActionCommand.js +3 -3
- package/dist-cjs/commands/CreateJobCommand.js +3 -3
- package/dist-cjs/commands/CreateRevisionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssetCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventActionCommand.js +3 -3
- package/dist-cjs/commands/DeleteRevisionCommand.js +3 -3
- package/dist-cjs/commands/GetAssetCommand.js +3 -3
- package/dist-cjs/commands/GetDataSetCommand.js +3 -3
- package/dist-cjs/commands/GetEventActionCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetRevisionCommand.js +3 -3
- package/dist-cjs/commands/ListDataSetRevisionsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSetsCommand.js +3 -3
- package/dist-cjs/commands/ListEventActionsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListRevisionAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RevokeRevisionCommand.js +36 -0
- package/dist-cjs/commands/SendApiAssetCommand.js +3 -3
- package/dist-cjs/commands/StartJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssetCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventActionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRevisionCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +14 -2
- package/dist-cjs/protocols/Aws_restJson1.js +480 -301
- 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/DataExchange.js +43 -28
- package/dist-es/commands/RevokeRevisionCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListDataSetRevisionsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSetsPaginator.js +4 -4
- package/dist-es/pagination/ListEventActionsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListRevisionAssetsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +250 -43
- package/dist-types/DataExchange.d.ts +7 -0
- package/dist-types/DataExchangeClient.d.ts +5 -4
- package/dist-types/commands/RevokeRevisionCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +124 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- 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/DataExchange.d.ts +5 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +5 -4
- package/dist-types/ts3.4/commands/RevokeRevisionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- 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/DataExchange.js
CHANGED
|
@@ -19,6 +19,7 @@ import { ListEventActionsCommand, } from "./commands/ListEventActionsCommand";
|
|
|
19
19
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
20
20
|
import { ListRevisionAssetsCommand, } from "./commands/ListRevisionAssetsCommand";
|
|
21
21
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import { RevokeRevisionCommand, } from "./commands/RevokeRevisionCommand";
|
|
22
23
|
import { SendApiAssetCommand, } from "./commands/SendApiAssetCommand";
|
|
23
24
|
import { StartJobCommand } from "./commands/StartJobCommand";
|
|
24
25
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -40,7 +41,7 @@ var DataExchange = (function (_super) {
|
|
|
40
41
|
}
|
|
41
42
|
else if (typeof cb === "function") {
|
|
42
43
|
if (typeof optionsOrCb !== "object")
|
|
43
|
-
throw new Error("Expect http options but get "
|
|
44
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
44
45
|
this.send(command, optionsOrCb || {}, cb);
|
|
45
46
|
}
|
|
46
47
|
else {
|
|
@@ -54,7 +55,7 @@ var DataExchange = (function (_super) {
|
|
|
54
55
|
}
|
|
55
56
|
else if (typeof cb === "function") {
|
|
56
57
|
if (typeof optionsOrCb !== "object")
|
|
57
|
-
throw new Error("Expect http options but get "
|
|
58
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
58
59
|
this.send(command, optionsOrCb || {}, cb);
|
|
59
60
|
}
|
|
60
61
|
else {
|
|
@@ -68,7 +69,7 @@ var DataExchange = (function (_super) {
|
|
|
68
69
|
}
|
|
69
70
|
else if (typeof cb === "function") {
|
|
70
71
|
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error("Expect http options but get "
|
|
72
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
72
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
73
74
|
}
|
|
74
75
|
else {
|
|
@@ -82,7 +83,7 @@ var DataExchange = (function (_super) {
|
|
|
82
83
|
}
|
|
83
84
|
else if (typeof cb === "function") {
|
|
84
85
|
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error("Expect http options but get "
|
|
86
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
86
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
87
88
|
}
|
|
88
89
|
else {
|
|
@@ -96,7 +97,7 @@ var DataExchange = (function (_super) {
|
|
|
96
97
|
}
|
|
97
98
|
else if (typeof cb === "function") {
|
|
98
99
|
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error("Expect http options but get "
|
|
100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
100
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
101
102
|
}
|
|
102
103
|
else {
|
|
@@ -110,7 +111,7 @@ var DataExchange = (function (_super) {
|
|
|
110
111
|
}
|
|
111
112
|
else if (typeof cb === "function") {
|
|
112
113
|
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error("Expect http options but get "
|
|
114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
114
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
115
116
|
}
|
|
116
117
|
else {
|
|
@@ -124,7 +125,7 @@ var DataExchange = (function (_super) {
|
|
|
124
125
|
}
|
|
125
126
|
else if (typeof cb === "function") {
|
|
126
127
|
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error("Expect http options but get "
|
|
128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
128
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
129
130
|
}
|
|
130
131
|
else {
|
|
@@ -138,7 +139,7 @@ var DataExchange = (function (_super) {
|
|
|
138
139
|
}
|
|
139
140
|
else if (typeof cb === "function") {
|
|
140
141
|
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error("Expect http options but get "
|
|
142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
142
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
143
144
|
}
|
|
144
145
|
else {
|
|
@@ -152,7 +153,7 @@ var DataExchange = (function (_super) {
|
|
|
152
153
|
}
|
|
153
154
|
else if (typeof cb === "function") {
|
|
154
155
|
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error("Expect http options but get "
|
|
156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
156
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
157
158
|
}
|
|
158
159
|
else {
|
|
@@ -166,7 +167,7 @@ var DataExchange = (function (_super) {
|
|
|
166
167
|
}
|
|
167
168
|
else if (typeof cb === "function") {
|
|
168
169
|
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error("Expect http options but get "
|
|
170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
170
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
171
172
|
}
|
|
172
173
|
else {
|
|
@@ -180,7 +181,7 @@ var DataExchange = (function (_super) {
|
|
|
180
181
|
}
|
|
181
182
|
else if (typeof cb === "function") {
|
|
182
183
|
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error("Expect http options but get "
|
|
184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
184
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
185
186
|
}
|
|
186
187
|
else {
|
|
@@ -194,7 +195,7 @@ var DataExchange = (function (_super) {
|
|
|
194
195
|
}
|
|
195
196
|
else if (typeof cb === "function") {
|
|
196
197
|
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error("Expect http options but get "
|
|
198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
198
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
199
200
|
}
|
|
200
201
|
else {
|
|
@@ -208,7 +209,7 @@ var DataExchange = (function (_super) {
|
|
|
208
209
|
}
|
|
209
210
|
else if (typeof cb === "function") {
|
|
210
211
|
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error("Expect http options but get "
|
|
212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
212
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
213
214
|
}
|
|
214
215
|
else {
|
|
@@ -222,7 +223,7 @@ var DataExchange = (function (_super) {
|
|
|
222
223
|
}
|
|
223
224
|
else if (typeof cb === "function") {
|
|
224
225
|
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error("Expect http options but get "
|
|
226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
226
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
227
228
|
}
|
|
228
229
|
else {
|
|
@@ -236,7 +237,7 @@ var DataExchange = (function (_super) {
|
|
|
236
237
|
}
|
|
237
238
|
else if (typeof cb === "function") {
|
|
238
239
|
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error("Expect http options but get "
|
|
240
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
240
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
241
242
|
}
|
|
242
243
|
else {
|
|
@@ -250,7 +251,7 @@ var DataExchange = (function (_super) {
|
|
|
250
251
|
}
|
|
251
252
|
else if (typeof cb === "function") {
|
|
252
253
|
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error("Expect http options but get "
|
|
254
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
254
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
255
256
|
}
|
|
256
257
|
else {
|
|
@@ -264,7 +265,7 @@ var DataExchange = (function (_super) {
|
|
|
264
265
|
}
|
|
265
266
|
else if (typeof cb === "function") {
|
|
266
267
|
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error("Expect http options but get "
|
|
268
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
268
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
269
270
|
}
|
|
270
271
|
else {
|
|
@@ -278,7 +279,7 @@ var DataExchange = (function (_super) {
|
|
|
278
279
|
}
|
|
279
280
|
else if (typeof cb === "function") {
|
|
280
281
|
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error("Expect http options but get "
|
|
282
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
282
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
283
284
|
}
|
|
284
285
|
else {
|
|
@@ -292,7 +293,7 @@ var DataExchange = (function (_super) {
|
|
|
292
293
|
}
|
|
293
294
|
else if (typeof cb === "function") {
|
|
294
295
|
if (typeof optionsOrCb !== "object")
|
|
295
|
-
throw new Error("Expect http options but get "
|
|
296
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
296
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
297
298
|
}
|
|
298
299
|
else {
|
|
@@ -306,7 +307,21 @@ var DataExchange = (function (_super) {
|
|
|
306
307
|
}
|
|
307
308
|
else if (typeof cb === "function") {
|
|
308
309
|
if (typeof optionsOrCb !== "object")
|
|
309
|
-
throw new Error("Expect http options but get "
|
|
310
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
311
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
return this.send(command, optionsOrCb);
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
DataExchange.prototype.revokeRevision = function (args, optionsOrCb, cb) {
|
|
318
|
+
var command = new RevokeRevisionCommand(args);
|
|
319
|
+
if (typeof optionsOrCb === "function") {
|
|
320
|
+
this.send(command, optionsOrCb);
|
|
321
|
+
}
|
|
322
|
+
else if (typeof cb === "function") {
|
|
323
|
+
if (typeof optionsOrCb !== "object")
|
|
324
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
310
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
311
326
|
}
|
|
312
327
|
else {
|
|
@@ -320,7 +335,7 @@ var DataExchange = (function (_super) {
|
|
|
320
335
|
}
|
|
321
336
|
else if (typeof cb === "function") {
|
|
322
337
|
if (typeof optionsOrCb !== "object")
|
|
323
|
-
throw new Error("Expect http options but get "
|
|
338
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
324
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
325
340
|
}
|
|
326
341
|
else {
|
|
@@ -334,7 +349,7 @@ var DataExchange = (function (_super) {
|
|
|
334
349
|
}
|
|
335
350
|
else if (typeof cb === "function") {
|
|
336
351
|
if (typeof optionsOrCb !== "object")
|
|
337
|
-
throw new Error("Expect http options but get "
|
|
352
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
338
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
339
354
|
}
|
|
340
355
|
else {
|
|
@@ -348,7 +363,7 @@ var DataExchange = (function (_super) {
|
|
|
348
363
|
}
|
|
349
364
|
else if (typeof cb === "function") {
|
|
350
365
|
if (typeof optionsOrCb !== "object")
|
|
351
|
-
throw new Error("Expect http options but get "
|
|
366
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
352
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
353
368
|
}
|
|
354
369
|
else {
|
|
@@ -362,7 +377,7 @@ var DataExchange = (function (_super) {
|
|
|
362
377
|
}
|
|
363
378
|
else if (typeof cb === "function") {
|
|
364
379
|
if (typeof optionsOrCb !== "object")
|
|
365
|
-
throw new Error("Expect http options but get "
|
|
380
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
366
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
367
382
|
}
|
|
368
383
|
else {
|
|
@@ -376,7 +391,7 @@ var DataExchange = (function (_super) {
|
|
|
376
391
|
}
|
|
377
392
|
else if (typeof cb === "function") {
|
|
378
393
|
if (typeof optionsOrCb !== "object")
|
|
379
|
-
throw new Error("Expect http options but get "
|
|
394
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
380
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
381
396
|
}
|
|
382
397
|
else {
|
|
@@ -390,7 +405,7 @@ var DataExchange = (function (_super) {
|
|
|
390
405
|
}
|
|
391
406
|
else if (typeof cb === "function") {
|
|
392
407
|
if (typeof optionsOrCb !== "object")
|
|
393
|
-
throw new Error("Expect http options but get "
|
|
408
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
394
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
395
410
|
}
|
|
396
411
|
else {
|
|
@@ -404,7 +419,7 @@ var DataExchange = (function (_super) {
|
|
|
404
419
|
}
|
|
405
420
|
else if (typeof cb === "function") {
|
|
406
421
|
if (typeof optionsOrCb !== "object")
|
|
407
|
-
throw new Error("Expect http options but get "
|
|
422
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
408
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
409
424
|
}
|
|
410
425
|
else {
|
|
@@ -418,7 +433,7 @@ var DataExchange = (function (_super) {
|
|
|
418
433
|
}
|
|
419
434
|
else if (typeof cb === "function") {
|
|
420
435
|
if (typeof optionsOrCb !== "object")
|
|
421
|
-
throw new Error("Expect http options but get "
|
|
436
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
422
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
423
438
|
}
|
|
424
439
|
else {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RevokeRevisionRequest, RevokeRevisionResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1RevokeRevisionCommand, serializeAws_restJson1RevokeRevisionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var RevokeRevisionCommand = (function (_super) {
|
|
7
|
+
__extends(RevokeRevisionCommand, _super);
|
|
8
|
+
function RevokeRevisionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
RevokeRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DataExchangeClient";
|
|
18
|
+
var commandName = "RevokeRevisionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: RevokeRevisionRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RevokeRevisionResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RevokeRevisionCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1RevokeRevisionCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
RevokeRevisionCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1RevokeRevisionCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return RevokeRevisionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RevokeRevisionCommand };
|
|
@@ -18,6 +18,7 @@ export * from "./ListEventActionsCommand";
|
|
|
18
18
|
export * from "./ListJobsCommand";
|
|
19
19
|
export * from "./ListRevisionAssetsCommand";
|
|
20
20
|
export * from "./ListTagsForResourceCommand";
|
|
21
|
+
export * from "./RevokeRevisionCommand";
|
|
21
22
|
export * from "./SendApiAssetCommand";
|
|
22
23
|
export * from "./StartJobCommand";
|
|
23
24
|
export * from "./TagResourceCommand";
|
|
@@ -493,6 +493,14 @@ export var ListTagsForResourceResponse;
|
|
|
493
493
|
(function (ListTagsForResourceResponse) {
|
|
494
494
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
495
495
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
496
|
+
export var RevokeRevisionRequest;
|
|
497
|
+
(function (RevokeRevisionRequest) {
|
|
498
|
+
RevokeRevisionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
499
|
+
})(RevokeRevisionRequest || (RevokeRevisionRequest = {}));
|
|
500
|
+
export var RevokeRevisionResponse;
|
|
501
|
+
(function (RevokeRevisionResponse) {
|
|
502
|
+
RevokeRevisionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
503
|
+
})(RevokeRevisionResponse || (RevokeRevisionResponse = {}));
|
|
496
504
|
export var SendApiAssetRequest;
|
|
497
505
|
(function (SendApiAssetRequest) {
|
|
498
506
|
SendApiAssetRequest.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 ListDataSetRevisionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDataSetRevisionsCommand(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.listDataSetRevisions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDataSetRevisions.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 paginateListDataSetRevisions(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataExchange)) 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 DataExchangeClient)) 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 ListDataSetsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDataSetsCommand(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.listDataSets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDataSets.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 paginateListDataSets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataExchange)) 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 DataExchangeClient)) 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 ListEventActionsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListEventActionsCommand(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.listEventActions.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listEventActions.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 paginateListEventActions(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataExchange)) 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 DataExchangeClient)) 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 ListJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListJobsCommand(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.listJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listJobs.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 paginateListJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataExchange)) 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 DataExchangeClient)) 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 ListRevisionAssetsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRevisionAssetsCommand(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.listRevisionAssets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listRevisionAssets.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 paginateListRevisionAssets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DataExchange)) 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 DataExchangeClient)) 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];
|