@aws-sdk/client-ecs 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 +30 -0
- package/dist-cjs/ECSClient.js +13 -13
- package/dist-cjs/commands/CreateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateServiceCommand.js +3 -3
- package/dist-cjs/commands/CreateTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/DeleteAttributesCommand.js +3 -3
- package/dist-cjs/commands/DeleteCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteServiceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTaskSetCommand.js +3 -3
- package/dist-cjs/commands/DeregisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/DeregisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/DescribeClustersCommand.js +3 -3
- package/dist-cjs/commands/DescribeContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/DescribeServicesCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeTaskSetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTasksCommand.js +3 -3
- package/dist-cjs/commands/DiscoverPollEndpointCommand.js +3 -3
- package/dist-cjs/commands/ExecuteCommandCommand.js +3 -3
- package/dist-cjs/commands/ListAccountSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAttributesCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListContainerInstancesCommand.js +3 -3
- package/dist-cjs/commands/ListServicesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionFamiliesCommand.js +3 -3
- package/dist-cjs/commands/ListTaskDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListTasksCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingCommand.js +3 -3
- package/dist-cjs/commands/PutAccountSettingDefaultCommand.js +3 -3
- package/dist-cjs/commands/PutAttributesCommand.js +3 -3
- package/dist-cjs/commands/PutClusterCapacityProvidersCommand.js +3 -3
- package/dist-cjs/commands/RegisterContainerInstanceCommand.js +3 -3
- package/dist-cjs/commands/RegisterTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/RunTaskCommand.js +3 -3
- package/dist-cjs/commands/StartTaskCommand.js +3 -3
- package/dist-cjs/commands/StopTaskCommand.js +3 -3
- package/dist-cjs/commands/SubmitAttachmentStateChangesCommand.js +3 -3
- package/dist-cjs/commands/SubmitContainerStateChangeCommand.js +3 -3
- package/dist-cjs/commands/SubmitTaskStateChangeCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateCapacityProviderCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterSettingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerAgentCommand.js +3 -3
- package/dist-cjs/commands/UpdateContainerInstancesStateCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceCommand.js +3 -3
- package/dist-cjs/commands/UpdateServicePrimaryTaskSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateTaskSetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +445 -434
- 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-cjs/waiters/waitForServicesInactive.js +3 -3
- package/dist-cjs/waiters/waitForTasksRunning.js +3 -3
- package/dist-cjs/waiters/waitForTasksStopped.js +3 -3
- package/dist-es/ECS.js +52 -52
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/ListAccountSettingsPaginator.js +4 -4
- package/dist-es/pagination/ListAttributesPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListContainerInstancesPaginator.js +4 -4
- package/dist-es/pagination/ListServicesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionFamiliesPaginator.js +4 -4
- package/dist-es/pagination/ListTaskDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/ListTasksPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +10 -3
- package/dist-es/waiters/waitForServicesInactive.js +2 -2
- package/dist-es/waiters/waitForTasksRunning.js +3 -3
- package/dist-es/waiters/waitForTasksStopped.js +1 -1
- package/dist-types/ECS.d.ts +42 -21
- package/dist-types/ECSClient.d.ts +2 -2
- package/dist-types/commands/CreateServiceCommand.d.ts +1 -2
- package/dist-types/commands/PutAccountSettingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContainerInstancesStateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateServiceCommand.d.ts +38 -16
- package/dist-types/models/models_0.d.ts +167 -61
- 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/ECSClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -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 +35 -35
|
@@ -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,
|
|
@@ -46,12 +46,12 @@ const checkState = async (client, input) => {
|
|
|
46
46
|
};
|
|
47
47
|
const waitForServicesInactive = async (params, input) => {
|
|
48
48
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
49
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
49
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
50
50
|
};
|
|
51
51
|
exports.waitForServicesInactive = waitForServicesInactive;
|
|
52
52
|
const waitUntilServicesInactive = async (params, input) => {
|
|
53
53
|
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
|
54
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
55
|
-
return util_waiter_1.checkExceptions(result);
|
|
54
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
55
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
56
56
|
};
|
|
57
57
|
exports.waitUntilServicesInactive = waitUntilServicesInactive;
|
|
@@ -63,12 +63,12 @@ const checkState = async (client, input) => {
|
|
|
63
63
|
};
|
|
64
64
|
const waitForTasksRunning = async (params, input) => {
|
|
65
65
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
66
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
66
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
67
67
|
};
|
|
68
68
|
exports.waitForTasksRunning = waitForTasksRunning;
|
|
69
69
|
const waitUntilTasksRunning = async (params, input) => {
|
|
70
70
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
71
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
72
|
-
return util_waiter_1.checkExceptions(result);
|
|
71
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
72
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
73
73
|
};
|
|
74
74
|
exports.waitUntilTasksRunning = waitUntilTasksRunning;
|
|
@@ -33,12 +33,12 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
};
|
|
34
34
|
const waitForTasksStopped = async (params, input) => {
|
|
35
35
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
36
|
-
return util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
36
|
+
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
37
37
|
};
|
|
38
38
|
exports.waitForTasksStopped = waitForTasksStopped;
|
|
39
39
|
const waitUntilTasksStopped = async (params, input) => {
|
|
40
40
|
const serviceDefaults = { minDelay: 6, maxDelay: 120 };
|
|
41
|
-
const result = await util_waiter_1.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
42
|
-
return util_waiter_1.checkExceptions(result);
|
|
41
|
+
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
42
|
+
return (0, util_waiter_1.checkExceptions)(result);
|
|
43
43
|
};
|
|
44
44
|
exports.waitUntilTasksStopped = waitUntilTasksStopped;
|
package/dist-es/ECS.js
CHANGED
|
@@ -64,7 +64,7 @@ var ECS = (function (_super) {
|
|
|
64
64
|
}
|
|
65
65
|
else if (typeof cb === "function") {
|
|
66
66
|
if (typeof optionsOrCb !== "object")
|
|
67
|
-
throw new Error("Expect http options but get "
|
|
67
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
68
68
|
this.send(command, optionsOrCb || {}, cb);
|
|
69
69
|
}
|
|
70
70
|
else {
|
|
@@ -78,7 +78,7 @@ var ECS = (function (_super) {
|
|
|
78
78
|
}
|
|
79
79
|
else if (typeof cb === "function") {
|
|
80
80
|
if (typeof optionsOrCb !== "object")
|
|
81
|
-
throw new Error("Expect http options but get "
|
|
81
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
82
82
|
this.send(command, optionsOrCb || {}, cb);
|
|
83
83
|
}
|
|
84
84
|
else {
|
|
@@ -92,7 +92,7 @@ var ECS = (function (_super) {
|
|
|
92
92
|
}
|
|
93
93
|
else if (typeof cb === "function") {
|
|
94
94
|
if (typeof optionsOrCb !== "object")
|
|
95
|
-
throw new Error("Expect http options but get "
|
|
95
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
96
96
|
this.send(command, optionsOrCb || {}, cb);
|
|
97
97
|
}
|
|
98
98
|
else {
|
|
@@ -106,7 +106,7 @@ var ECS = (function (_super) {
|
|
|
106
106
|
}
|
|
107
107
|
else if (typeof cb === "function") {
|
|
108
108
|
if (typeof optionsOrCb !== "object")
|
|
109
|
-
throw new Error("Expect http options but get "
|
|
109
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
110
110
|
this.send(command, optionsOrCb || {}, cb);
|
|
111
111
|
}
|
|
112
112
|
else {
|
|
@@ -120,7 +120,7 @@ var ECS = (function (_super) {
|
|
|
120
120
|
}
|
|
121
121
|
else if (typeof cb === "function") {
|
|
122
122
|
if (typeof optionsOrCb !== "object")
|
|
123
|
-
throw new Error("Expect http options but get "
|
|
123
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
124
124
|
this.send(command, optionsOrCb || {}, cb);
|
|
125
125
|
}
|
|
126
126
|
else {
|
|
@@ -134,7 +134,7 @@ var ECS = (function (_super) {
|
|
|
134
134
|
}
|
|
135
135
|
else if (typeof cb === "function") {
|
|
136
136
|
if (typeof optionsOrCb !== "object")
|
|
137
|
-
throw new Error("Expect http options but get "
|
|
137
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
138
138
|
this.send(command, optionsOrCb || {}, cb);
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
@@ -148,7 +148,7 @@ var ECS = (function (_super) {
|
|
|
148
148
|
}
|
|
149
149
|
else if (typeof cb === "function") {
|
|
150
150
|
if (typeof optionsOrCb !== "object")
|
|
151
|
-
throw new Error("Expect http options but get "
|
|
151
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
152
152
|
this.send(command, optionsOrCb || {}, cb);
|
|
153
153
|
}
|
|
154
154
|
else {
|
|
@@ -162,7 +162,7 @@ var ECS = (function (_super) {
|
|
|
162
162
|
}
|
|
163
163
|
else if (typeof cb === "function") {
|
|
164
164
|
if (typeof optionsOrCb !== "object")
|
|
165
|
-
throw new Error("Expect http options but get "
|
|
165
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
166
166
|
this.send(command, optionsOrCb || {}, cb);
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
@@ -176,7 +176,7 @@ var ECS = (function (_super) {
|
|
|
176
176
|
}
|
|
177
177
|
else if (typeof cb === "function") {
|
|
178
178
|
if (typeof optionsOrCb !== "object")
|
|
179
|
-
throw new Error("Expect http options but get "
|
|
179
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
180
180
|
this.send(command, optionsOrCb || {}, cb);
|
|
181
181
|
}
|
|
182
182
|
else {
|
|
@@ -190,7 +190,7 @@ var ECS = (function (_super) {
|
|
|
190
190
|
}
|
|
191
191
|
else if (typeof cb === "function") {
|
|
192
192
|
if (typeof optionsOrCb !== "object")
|
|
193
|
-
throw new Error("Expect http options but get "
|
|
193
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
194
194
|
this.send(command, optionsOrCb || {}, cb);
|
|
195
195
|
}
|
|
196
196
|
else {
|
|
@@ -204,7 +204,7 @@ var ECS = (function (_super) {
|
|
|
204
204
|
}
|
|
205
205
|
else if (typeof cb === "function") {
|
|
206
206
|
if (typeof optionsOrCb !== "object")
|
|
207
|
-
throw new Error("Expect http options but get "
|
|
207
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
208
208
|
this.send(command, optionsOrCb || {}, cb);
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
@@ -218,7 +218,7 @@ var ECS = (function (_super) {
|
|
|
218
218
|
}
|
|
219
219
|
else if (typeof cb === "function") {
|
|
220
220
|
if (typeof optionsOrCb !== "object")
|
|
221
|
-
throw new Error("Expect http options but get "
|
|
221
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
222
222
|
this.send(command, optionsOrCb || {}, cb);
|
|
223
223
|
}
|
|
224
224
|
else {
|
|
@@ -232,7 +232,7 @@ var ECS = (function (_super) {
|
|
|
232
232
|
}
|
|
233
233
|
else if (typeof cb === "function") {
|
|
234
234
|
if (typeof optionsOrCb !== "object")
|
|
235
|
-
throw new Error("Expect http options but get "
|
|
235
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
236
236
|
this.send(command, optionsOrCb || {}, cb);
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
@@ -246,7 +246,7 @@ var ECS = (function (_super) {
|
|
|
246
246
|
}
|
|
247
247
|
else if (typeof cb === "function") {
|
|
248
248
|
if (typeof optionsOrCb !== "object")
|
|
249
|
-
throw new Error("Expect http options but get "
|
|
249
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
250
250
|
this.send(command, optionsOrCb || {}, cb);
|
|
251
251
|
}
|
|
252
252
|
else {
|
|
@@ -260,7 +260,7 @@ var ECS = (function (_super) {
|
|
|
260
260
|
}
|
|
261
261
|
else if (typeof cb === "function") {
|
|
262
262
|
if (typeof optionsOrCb !== "object")
|
|
263
|
-
throw new Error("Expect http options but get "
|
|
263
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
264
264
|
this.send(command, optionsOrCb || {}, cb);
|
|
265
265
|
}
|
|
266
266
|
else {
|
|
@@ -274,7 +274,7 @@ var ECS = (function (_super) {
|
|
|
274
274
|
}
|
|
275
275
|
else if (typeof cb === "function") {
|
|
276
276
|
if (typeof optionsOrCb !== "object")
|
|
277
|
-
throw new Error("Expect http options but get "
|
|
277
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
278
278
|
this.send(command, optionsOrCb || {}, cb);
|
|
279
279
|
}
|
|
280
280
|
else {
|
|
@@ -288,7 +288,7 @@ var ECS = (function (_super) {
|
|
|
288
288
|
}
|
|
289
289
|
else if (typeof cb === "function") {
|
|
290
290
|
if (typeof optionsOrCb !== "object")
|
|
291
|
-
throw new Error("Expect http options but get "
|
|
291
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
292
292
|
this.send(command, optionsOrCb || {}, cb);
|
|
293
293
|
}
|
|
294
294
|
else {
|
|
@@ -302,7 +302,7 @@ var ECS = (function (_super) {
|
|
|
302
302
|
}
|
|
303
303
|
else if (typeof cb === "function") {
|
|
304
304
|
if (typeof optionsOrCb !== "object")
|
|
305
|
-
throw new Error("Expect http options but get "
|
|
305
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
306
306
|
this.send(command, optionsOrCb || {}, cb);
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
@@ -316,7 +316,7 @@ var ECS = (function (_super) {
|
|
|
316
316
|
}
|
|
317
317
|
else if (typeof cb === "function") {
|
|
318
318
|
if (typeof optionsOrCb !== "object")
|
|
319
|
-
throw new Error("Expect http options but get "
|
|
319
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
320
320
|
this.send(command, optionsOrCb || {}, cb);
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
@@ -330,7 +330,7 @@ var ECS = (function (_super) {
|
|
|
330
330
|
}
|
|
331
331
|
else if (typeof cb === "function") {
|
|
332
332
|
if (typeof optionsOrCb !== "object")
|
|
333
|
-
throw new Error("Expect http options but get "
|
|
333
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
334
334
|
this.send(command, optionsOrCb || {}, cb);
|
|
335
335
|
}
|
|
336
336
|
else {
|
|
@@ -344,7 +344,7 @@ var ECS = (function (_super) {
|
|
|
344
344
|
}
|
|
345
345
|
else if (typeof cb === "function") {
|
|
346
346
|
if (typeof optionsOrCb !== "object")
|
|
347
|
-
throw new Error("Expect http options but get "
|
|
347
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
348
348
|
this.send(command, optionsOrCb || {}, cb);
|
|
349
349
|
}
|
|
350
350
|
else {
|
|
@@ -358,7 +358,7 @@ var ECS = (function (_super) {
|
|
|
358
358
|
}
|
|
359
359
|
else if (typeof cb === "function") {
|
|
360
360
|
if (typeof optionsOrCb !== "object")
|
|
361
|
-
throw new Error("Expect http options but get "
|
|
361
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
362
362
|
this.send(command, optionsOrCb || {}, cb);
|
|
363
363
|
}
|
|
364
364
|
else {
|
|
@@ -372,7 +372,7 @@ var ECS = (function (_super) {
|
|
|
372
372
|
}
|
|
373
373
|
else if (typeof cb === "function") {
|
|
374
374
|
if (typeof optionsOrCb !== "object")
|
|
375
|
-
throw new Error("Expect http options but get "
|
|
375
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
376
376
|
this.send(command, optionsOrCb || {}, cb);
|
|
377
377
|
}
|
|
378
378
|
else {
|
|
@@ -386,7 +386,7 @@ var ECS = (function (_super) {
|
|
|
386
386
|
}
|
|
387
387
|
else if (typeof cb === "function") {
|
|
388
388
|
if (typeof optionsOrCb !== "object")
|
|
389
|
-
throw new Error("Expect http options but get "
|
|
389
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
390
390
|
this.send(command, optionsOrCb || {}, cb);
|
|
391
391
|
}
|
|
392
392
|
else {
|
|
@@ -400,7 +400,7 @@ var ECS = (function (_super) {
|
|
|
400
400
|
}
|
|
401
401
|
else if (typeof cb === "function") {
|
|
402
402
|
if (typeof optionsOrCb !== "object")
|
|
403
|
-
throw new Error("Expect http options but get "
|
|
403
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
404
404
|
this.send(command, optionsOrCb || {}, cb);
|
|
405
405
|
}
|
|
406
406
|
else {
|
|
@@ -414,7 +414,7 @@ var ECS = (function (_super) {
|
|
|
414
414
|
}
|
|
415
415
|
else if (typeof cb === "function") {
|
|
416
416
|
if (typeof optionsOrCb !== "object")
|
|
417
|
-
throw new Error("Expect http options but get "
|
|
417
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
418
418
|
this.send(command, optionsOrCb || {}, cb);
|
|
419
419
|
}
|
|
420
420
|
else {
|
|
@@ -428,7 +428,7 @@ var ECS = (function (_super) {
|
|
|
428
428
|
}
|
|
429
429
|
else if (typeof cb === "function") {
|
|
430
430
|
if (typeof optionsOrCb !== "object")
|
|
431
|
-
throw new Error("Expect http options but get "
|
|
431
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
432
432
|
this.send(command, optionsOrCb || {}, cb);
|
|
433
433
|
}
|
|
434
434
|
else {
|
|
@@ -442,7 +442,7 @@ var ECS = (function (_super) {
|
|
|
442
442
|
}
|
|
443
443
|
else if (typeof cb === "function") {
|
|
444
444
|
if (typeof optionsOrCb !== "object")
|
|
445
|
-
throw new Error("Expect http options but get "
|
|
445
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
446
446
|
this.send(command, optionsOrCb || {}, cb);
|
|
447
447
|
}
|
|
448
448
|
else {
|
|
@@ -456,7 +456,7 @@ var ECS = (function (_super) {
|
|
|
456
456
|
}
|
|
457
457
|
else if (typeof cb === "function") {
|
|
458
458
|
if (typeof optionsOrCb !== "object")
|
|
459
|
-
throw new Error("Expect http options but get "
|
|
459
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
460
460
|
this.send(command, optionsOrCb || {}, cb);
|
|
461
461
|
}
|
|
462
462
|
else {
|
|
@@ -470,7 +470,7 @@ var ECS = (function (_super) {
|
|
|
470
470
|
}
|
|
471
471
|
else if (typeof cb === "function") {
|
|
472
472
|
if (typeof optionsOrCb !== "object")
|
|
473
|
-
throw new Error("Expect http options but get "
|
|
473
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
474
474
|
this.send(command, optionsOrCb || {}, cb);
|
|
475
475
|
}
|
|
476
476
|
else {
|
|
@@ -484,7 +484,7 @@ var ECS = (function (_super) {
|
|
|
484
484
|
}
|
|
485
485
|
else if (typeof cb === "function") {
|
|
486
486
|
if (typeof optionsOrCb !== "object")
|
|
487
|
-
throw new Error("Expect http options but get "
|
|
487
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
488
488
|
this.send(command, optionsOrCb || {}, cb);
|
|
489
489
|
}
|
|
490
490
|
else {
|
|
@@ -498,7 +498,7 @@ var ECS = (function (_super) {
|
|
|
498
498
|
}
|
|
499
499
|
else if (typeof cb === "function") {
|
|
500
500
|
if (typeof optionsOrCb !== "object")
|
|
501
|
-
throw new Error("Expect http options but get "
|
|
501
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
502
502
|
this.send(command, optionsOrCb || {}, cb);
|
|
503
503
|
}
|
|
504
504
|
else {
|
|
@@ -512,7 +512,7 @@ var ECS = (function (_super) {
|
|
|
512
512
|
}
|
|
513
513
|
else if (typeof cb === "function") {
|
|
514
514
|
if (typeof optionsOrCb !== "object")
|
|
515
|
-
throw new Error("Expect http options but get "
|
|
515
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
516
516
|
this.send(command, optionsOrCb || {}, cb);
|
|
517
517
|
}
|
|
518
518
|
else {
|
|
@@ -526,7 +526,7 @@ var ECS = (function (_super) {
|
|
|
526
526
|
}
|
|
527
527
|
else if (typeof cb === "function") {
|
|
528
528
|
if (typeof optionsOrCb !== "object")
|
|
529
|
-
throw new Error("Expect http options but get "
|
|
529
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
530
530
|
this.send(command, optionsOrCb || {}, cb);
|
|
531
531
|
}
|
|
532
532
|
else {
|
|
@@ -540,7 +540,7 @@ var ECS = (function (_super) {
|
|
|
540
540
|
}
|
|
541
541
|
else if (typeof cb === "function") {
|
|
542
542
|
if (typeof optionsOrCb !== "object")
|
|
543
|
-
throw new Error("Expect http options but get "
|
|
543
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
544
544
|
this.send(command, optionsOrCb || {}, cb);
|
|
545
545
|
}
|
|
546
546
|
else {
|
|
@@ -554,7 +554,7 @@ var ECS = (function (_super) {
|
|
|
554
554
|
}
|
|
555
555
|
else if (typeof cb === "function") {
|
|
556
556
|
if (typeof optionsOrCb !== "object")
|
|
557
|
-
throw new Error("Expect http options but get "
|
|
557
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
558
558
|
this.send(command, optionsOrCb || {}, cb);
|
|
559
559
|
}
|
|
560
560
|
else {
|
|
@@ -568,7 +568,7 @@ var ECS = (function (_super) {
|
|
|
568
568
|
}
|
|
569
569
|
else if (typeof cb === "function") {
|
|
570
570
|
if (typeof optionsOrCb !== "object")
|
|
571
|
-
throw new Error("Expect http options but get "
|
|
571
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
572
572
|
this.send(command, optionsOrCb || {}, cb);
|
|
573
573
|
}
|
|
574
574
|
else {
|
|
@@ -582,7 +582,7 @@ var ECS = (function (_super) {
|
|
|
582
582
|
}
|
|
583
583
|
else if (typeof cb === "function") {
|
|
584
584
|
if (typeof optionsOrCb !== "object")
|
|
585
|
-
throw new Error("Expect http options but get "
|
|
585
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
586
586
|
this.send(command, optionsOrCb || {}, cb);
|
|
587
587
|
}
|
|
588
588
|
else {
|
|
@@ -596,7 +596,7 @@ var ECS = (function (_super) {
|
|
|
596
596
|
}
|
|
597
597
|
else if (typeof cb === "function") {
|
|
598
598
|
if (typeof optionsOrCb !== "object")
|
|
599
|
-
throw new Error("Expect http options but get "
|
|
599
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
600
600
|
this.send(command, optionsOrCb || {}, cb);
|
|
601
601
|
}
|
|
602
602
|
else {
|
|
@@ -610,7 +610,7 @@ var ECS = (function (_super) {
|
|
|
610
610
|
}
|
|
611
611
|
else if (typeof cb === "function") {
|
|
612
612
|
if (typeof optionsOrCb !== "object")
|
|
613
|
-
throw new Error("Expect http options but get "
|
|
613
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
614
614
|
this.send(command, optionsOrCb || {}, cb);
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
@@ -624,7 +624,7 @@ var ECS = (function (_super) {
|
|
|
624
624
|
}
|
|
625
625
|
else if (typeof cb === "function") {
|
|
626
626
|
if (typeof optionsOrCb !== "object")
|
|
627
|
-
throw new Error("Expect http options but get "
|
|
627
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
628
628
|
this.send(command, optionsOrCb || {}, cb);
|
|
629
629
|
}
|
|
630
630
|
else {
|
|
@@ -638,7 +638,7 @@ var ECS = (function (_super) {
|
|
|
638
638
|
}
|
|
639
639
|
else if (typeof cb === "function") {
|
|
640
640
|
if (typeof optionsOrCb !== "object")
|
|
641
|
-
throw new Error("Expect http options but get "
|
|
641
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
642
642
|
this.send(command, optionsOrCb || {}, cb);
|
|
643
643
|
}
|
|
644
644
|
else {
|
|
@@ -652,7 +652,7 @@ var ECS = (function (_super) {
|
|
|
652
652
|
}
|
|
653
653
|
else if (typeof cb === "function") {
|
|
654
654
|
if (typeof optionsOrCb !== "object")
|
|
655
|
-
throw new Error("Expect http options but get "
|
|
655
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
656
656
|
this.send(command, optionsOrCb || {}, cb);
|
|
657
657
|
}
|
|
658
658
|
else {
|
|
@@ -666,7 +666,7 @@ var ECS = (function (_super) {
|
|
|
666
666
|
}
|
|
667
667
|
else if (typeof cb === "function") {
|
|
668
668
|
if (typeof optionsOrCb !== "object")
|
|
669
|
-
throw new Error("Expect http options but get "
|
|
669
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
670
670
|
this.send(command, optionsOrCb || {}, cb);
|
|
671
671
|
}
|
|
672
672
|
else {
|
|
@@ -680,7 +680,7 @@ var ECS = (function (_super) {
|
|
|
680
680
|
}
|
|
681
681
|
else if (typeof cb === "function") {
|
|
682
682
|
if (typeof optionsOrCb !== "object")
|
|
683
|
-
throw new Error("Expect http options but get "
|
|
683
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
684
684
|
this.send(command, optionsOrCb || {}, cb);
|
|
685
685
|
}
|
|
686
686
|
else {
|
|
@@ -694,7 +694,7 @@ var ECS = (function (_super) {
|
|
|
694
694
|
}
|
|
695
695
|
else if (typeof cb === "function") {
|
|
696
696
|
if (typeof optionsOrCb !== "object")
|
|
697
|
-
throw new Error("Expect http options but get "
|
|
697
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
698
698
|
this.send(command, optionsOrCb || {}, cb);
|
|
699
699
|
}
|
|
700
700
|
else {
|
|
@@ -708,7 +708,7 @@ var ECS = (function (_super) {
|
|
|
708
708
|
}
|
|
709
709
|
else if (typeof cb === "function") {
|
|
710
710
|
if (typeof optionsOrCb !== "object")
|
|
711
|
-
throw new Error("Expect http options but get "
|
|
711
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
712
712
|
this.send(command, optionsOrCb || {}, cb);
|
|
713
713
|
}
|
|
714
714
|
else {
|
|
@@ -722,7 +722,7 @@ var ECS = (function (_super) {
|
|
|
722
722
|
}
|
|
723
723
|
else if (typeof cb === "function") {
|
|
724
724
|
if (typeof optionsOrCb !== "object")
|
|
725
|
-
throw new Error("Expect http options but get "
|
|
725
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
726
726
|
this.send(command, optionsOrCb || {}, cb);
|
|
727
727
|
}
|
|
728
728
|
else {
|
|
@@ -736,7 +736,7 @@ var ECS = (function (_super) {
|
|
|
736
736
|
}
|
|
737
737
|
else if (typeof cb === "function") {
|
|
738
738
|
if (typeof optionsOrCb !== "object")
|
|
739
|
-
throw new Error("Expect http options but get "
|
|
739
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
740
740
|
this.send(command, optionsOrCb || {}, cb);
|
|
741
741
|
}
|
|
742
742
|
else {
|
|
@@ -750,7 +750,7 @@ var ECS = (function (_super) {
|
|
|
750
750
|
}
|
|
751
751
|
else if (typeof cb === "function") {
|
|
752
752
|
if (typeof optionsOrCb !== "object")
|
|
753
|
-
throw new Error("Expect http options but get "
|
|
753
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
754
754
|
this.send(command, optionsOrCb || {}, cb);
|
|
755
755
|
}
|
|
756
756
|
else {
|
|
@@ -764,7 +764,7 @@ var ECS = (function (_super) {
|
|
|
764
764
|
}
|
|
765
765
|
else if (typeof cb === "function") {
|
|
766
766
|
if (typeof optionsOrCb !== "object")
|
|
767
|
-
throw new Error("Expect http options but get "
|
|
767
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
768
768
|
this.send(command, optionsOrCb || {}, cb);
|
|
769
769
|
}
|
|
770
770
|
else {
|
|
@@ -778,7 +778,7 @@ var ECS = (function (_super) {
|
|
|
778
778
|
}
|
|
779
779
|
else if (typeof cb === "function") {
|
|
780
780
|
if (typeof optionsOrCb !== "object")
|
|
781
|
-
throw new Error("Expect http options but get "
|
|
781
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
782
782
|
this.send(command, optionsOrCb || {}, cb);
|
|
783
783
|
}
|
|
784
784
|
else {
|
|
@@ -254,6 +254,7 @@ export var PlacementStrategy;
|
|
|
254
254
|
})(PlacementStrategy || (PlacementStrategy = {}));
|
|
255
255
|
export var PropagateTags;
|
|
256
256
|
(function (PropagateTags) {
|
|
257
|
+
PropagateTags["NONE"] = "NONE";
|
|
257
258
|
PropagateTags["SERVICE"] = "SERVICE";
|
|
258
259
|
PropagateTags["TASK_DEFINITION"] = "TASK_DEFINITION";
|
|
259
260
|
})(PropagateTags || (PropagateTags = {}));
|
|
@@ -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 ListAccountSettingsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountSettingsCommand(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.listAccountSettings.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listAccountSettings.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 paginateListAccountSettings(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof ECS)) 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 ECSClient)) 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];
|