@aws-sdk/client-auditmanager 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 +24 -0
- package/dist-cjs/AuditManagerClient.js +13 -13
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/CreateControlCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/DeleteControlCommand.js +3 -3
- package/dist-cjs/commands/DeregisterAccountCommand.js +3 -3
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetAccountStatusCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js +3 -3
- package/dist-cjs/commands/GetChangeLogsCommand.js +3 -3
- package/dist-cjs/commands/GetControlCommand.js +3 -3
- package/dist-cjs/commands/GetDelegationsCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/GetServicesInScopeCommand.js +3 -3
- package/dist-cjs/commands/GetSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworkShareRequestsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentReportsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentsCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListControlsCommand.js +3 -3
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RegisterAccountCommand.js +3 -3
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/StartAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateSettingsCommand.js +3 -3
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +454 -454
- 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/AuditManager.js +61 -61
- package/dist-es/pagination/GetChangeLogsPaginator.js +4 -4
- package/dist-es/pagination/GetDelegationsPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentsPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListControlsPaginator.js +4 -4
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +4 -4
- package/dist-es/pagination/ListNotificationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +61 -61
- package/dist-types/AuditManagerClient.d.ts +2 -2
- 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/AuditManagerClient.d.ts +2 -2
- 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/AuditManager.js
CHANGED
|
@@ -73,7 +73,7 @@ var AuditManager = (function (_super) {
|
|
|
73
73
|
}
|
|
74
74
|
else if (typeof cb === "function") {
|
|
75
75
|
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error("Expect http options but get "
|
|
76
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
77
77
|
this.send(command, optionsOrCb || {}, cb);
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
@@ -87,7 +87,7 @@ var AuditManager = (function (_super) {
|
|
|
87
87
|
}
|
|
88
88
|
else if (typeof cb === "function") {
|
|
89
89
|
if (typeof optionsOrCb !== "object")
|
|
90
|
-
throw new Error("Expect http options but get "
|
|
90
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
91
91
|
this.send(command, optionsOrCb || {}, cb);
|
|
92
92
|
}
|
|
93
93
|
else {
|
|
@@ -101,7 +101,7 @@ var AuditManager = (function (_super) {
|
|
|
101
101
|
}
|
|
102
102
|
else if (typeof cb === "function") {
|
|
103
103
|
if (typeof optionsOrCb !== "object")
|
|
104
|
-
throw new Error("Expect http options but get "
|
|
104
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
105
105
|
this.send(command, optionsOrCb || {}, cb);
|
|
106
106
|
}
|
|
107
107
|
else {
|
|
@@ -115,7 +115,7 @@ var AuditManager = (function (_super) {
|
|
|
115
115
|
}
|
|
116
116
|
else if (typeof cb === "function") {
|
|
117
117
|
if (typeof optionsOrCb !== "object")
|
|
118
|
-
throw new Error("Expect http options but get "
|
|
118
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
119
119
|
this.send(command, optionsOrCb || {}, cb);
|
|
120
120
|
}
|
|
121
121
|
else {
|
|
@@ -129,7 +129,7 @@ var AuditManager = (function (_super) {
|
|
|
129
129
|
}
|
|
130
130
|
else if (typeof cb === "function") {
|
|
131
131
|
if (typeof optionsOrCb !== "object")
|
|
132
|
-
throw new Error("Expect http options but get "
|
|
132
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
133
133
|
this.send(command, optionsOrCb || {}, cb);
|
|
134
134
|
}
|
|
135
135
|
else {
|
|
@@ -143,7 +143,7 @@ var AuditManager = (function (_super) {
|
|
|
143
143
|
}
|
|
144
144
|
else if (typeof cb === "function") {
|
|
145
145
|
if (typeof optionsOrCb !== "object")
|
|
146
|
-
throw new Error("Expect http options but get "
|
|
146
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
147
147
|
this.send(command, optionsOrCb || {}, cb);
|
|
148
148
|
}
|
|
149
149
|
else {
|
|
@@ -157,7 +157,7 @@ var AuditManager = (function (_super) {
|
|
|
157
157
|
}
|
|
158
158
|
else if (typeof cb === "function") {
|
|
159
159
|
if (typeof optionsOrCb !== "object")
|
|
160
|
-
throw new Error("Expect http options but get "
|
|
160
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
161
161
|
this.send(command, optionsOrCb || {}, cb);
|
|
162
162
|
}
|
|
163
163
|
else {
|
|
@@ -171,7 +171,7 @@ var AuditManager = (function (_super) {
|
|
|
171
171
|
}
|
|
172
172
|
else if (typeof cb === "function") {
|
|
173
173
|
if (typeof optionsOrCb !== "object")
|
|
174
|
-
throw new Error("Expect http options but get "
|
|
174
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
175
175
|
this.send(command, optionsOrCb || {}, cb);
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
@@ -185,7 +185,7 @@ var AuditManager = (function (_super) {
|
|
|
185
185
|
}
|
|
186
186
|
else if (typeof cb === "function") {
|
|
187
187
|
if (typeof optionsOrCb !== "object")
|
|
188
|
-
throw new Error("Expect http options but get "
|
|
188
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
189
189
|
this.send(command, optionsOrCb || {}, cb);
|
|
190
190
|
}
|
|
191
191
|
else {
|
|
@@ -199,7 +199,7 @@ var AuditManager = (function (_super) {
|
|
|
199
199
|
}
|
|
200
200
|
else if (typeof cb === "function") {
|
|
201
201
|
if (typeof optionsOrCb !== "object")
|
|
202
|
-
throw new Error("Expect http options but get "
|
|
202
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
203
203
|
this.send(command, optionsOrCb || {}, cb);
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
@@ -213,7 +213,7 @@ var AuditManager = (function (_super) {
|
|
|
213
213
|
}
|
|
214
214
|
else if (typeof cb === "function") {
|
|
215
215
|
if (typeof optionsOrCb !== "object")
|
|
216
|
-
throw new Error("Expect http options but get "
|
|
216
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
217
217
|
this.send(command, optionsOrCb || {}, cb);
|
|
218
218
|
}
|
|
219
219
|
else {
|
|
@@ -227,7 +227,7 @@ var AuditManager = (function (_super) {
|
|
|
227
227
|
}
|
|
228
228
|
else if (typeof cb === "function") {
|
|
229
229
|
if (typeof optionsOrCb !== "object")
|
|
230
|
-
throw new Error("Expect http options but get "
|
|
230
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
231
231
|
this.send(command, optionsOrCb || {}, cb);
|
|
232
232
|
}
|
|
233
233
|
else {
|
|
@@ -241,7 +241,7 @@ var AuditManager = (function (_super) {
|
|
|
241
241
|
}
|
|
242
242
|
else if (typeof cb === "function") {
|
|
243
243
|
if (typeof optionsOrCb !== "object")
|
|
244
|
-
throw new Error("Expect http options but get "
|
|
244
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
245
245
|
this.send(command, optionsOrCb || {}, cb);
|
|
246
246
|
}
|
|
247
247
|
else {
|
|
@@ -255,7 +255,7 @@ var AuditManager = (function (_super) {
|
|
|
255
255
|
}
|
|
256
256
|
else if (typeof cb === "function") {
|
|
257
257
|
if (typeof optionsOrCb !== "object")
|
|
258
|
-
throw new Error("Expect http options but get "
|
|
258
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
259
259
|
this.send(command, optionsOrCb || {}, cb);
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
@@ -269,7 +269,7 @@ var AuditManager = (function (_super) {
|
|
|
269
269
|
}
|
|
270
270
|
else if (typeof cb === "function") {
|
|
271
271
|
if (typeof optionsOrCb !== "object")
|
|
272
|
-
throw new Error("Expect http options but get "
|
|
272
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
273
273
|
this.send(command, optionsOrCb || {}, cb);
|
|
274
274
|
}
|
|
275
275
|
else {
|
|
@@ -283,7 +283,7 @@ var AuditManager = (function (_super) {
|
|
|
283
283
|
}
|
|
284
284
|
else if (typeof cb === "function") {
|
|
285
285
|
if (typeof optionsOrCb !== "object")
|
|
286
|
-
throw new Error("Expect http options but get "
|
|
286
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
287
287
|
this.send(command, optionsOrCb || {}, cb);
|
|
288
288
|
}
|
|
289
289
|
else {
|
|
@@ -297,7 +297,7 @@ var AuditManager = (function (_super) {
|
|
|
297
297
|
}
|
|
298
298
|
else if (typeof cb === "function") {
|
|
299
299
|
if (typeof optionsOrCb !== "object")
|
|
300
|
-
throw new Error("Expect http options but get "
|
|
300
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
301
301
|
this.send(command, optionsOrCb || {}, cb);
|
|
302
302
|
}
|
|
303
303
|
else {
|
|
@@ -311,7 +311,7 @@ var AuditManager = (function (_super) {
|
|
|
311
311
|
}
|
|
312
312
|
else if (typeof cb === "function") {
|
|
313
313
|
if (typeof optionsOrCb !== "object")
|
|
314
|
-
throw new Error("Expect http options but get "
|
|
314
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
315
315
|
this.send(command, optionsOrCb || {}, cb);
|
|
316
316
|
}
|
|
317
317
|
else {
|
|
@@ -325,7 +325,7 @@ var AuditManager = (function (_super) {
|
|
|
325
325
|
}
|
|
326
326
|
else if (typeof cb === "function") {
|
|
327
327
|
if (typeof optionsOrCb !== "object")
|
|
328
|
-
throw new Error("Expect http options but get "
|
|
328
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
329
329
|
this.send(command, optionsOrCb || {}, cb);
|
|
330
330
|
}
|
|
331
331
|
else {
|
|
@@ -339,7 +339,7 @@ var AuditManager = (function (_super) {
|
|
|
339
339
|
}
|
|
340
340
|
else if (typeof cb === "function") {
|
|
341
341
|
if (typeof optionsOrCb !== "object")
|
|
342
|
-
throw new Error("Expect http options but get "
|
|
342
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
343
343
|
this.send(command, optionsOrCb || {}, cb);
|
|
344
344
|
}
|
|
345
345
|
else {
|
|
@@ -353,7 +353,7 @@ var AuditManager = (function (_super) {
|
|
|
353
353
|
}
|
|
354
354
|
else if (typeof cb === "function") {
|
|
355
355
|
if (typeof optionsOrCb !== "object")
|
|
356
|
-
throw new Error("Expect http options but get "
|
|
356
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
357
357
|
this.send(command, optionsOrCb || {}, cb);
|
|
358
358
|
}
|
|
359
359
|
else {
|
|
@@ -367,7 +367,7 @@ var AuditManager = (function (_super) {
|
|
|
367
367
|
}
|
|
368
368
|
else if (typeof cb === "function") {
|
|
369
369
|
if (typeof optionsOrCb !== "object")
|
|
370
|
-
throw new Error("Expect http options but get "
|
|
370
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
371
371
|
this.send(command, optionsOrCb || {}, cb);
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
@@ -381,7 +381,7 @@ var AuditManager = (function (_super) {
|
|
|
381
381
|
}
|
|
382
382
|
else if (typeof cb === "function") {
|
|
383
383
|
if (typeof optionsOrCb !== "object")
|
|
384
|
-
throw new Error("Expect http options but get "
|
|
384
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
385
385
|
this.send(command, optionsOrCb || {}, cb);
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
@@ -395,7 +395,7 @@ var AuditManager = (function (_super) {
|
|
|
395
395
|
}
|
|
396
396
|
else if (typeof cb === "function") {
|
|
397
397
|
if (typeof optionsOrCb !== "object")
|
|
398
|
-
throw new Error("Expect http options but get "
|
|
398
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
399
399
|
this.send(command, optionsOrCb || {}, cb);
|
|
400
400
|
}
|
|
401
401
|
else {
|
|
@@ -409,7 +409,7 @@ var AuditManager = (function (_super) {
|
|
|
409
409
|
}
|
|
410
410
|
else if (typeof cb === "function") {
|
|
411
411
|
if (typeof optionsOrCb !== "object")
|
|
412
|
-
throw new Error("Expect http options but get "
|
|
412
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
413
413
|
this.send(command, optionsOrCb || {}, cb);
|
|
414
414
|
}
|
|
415
415
|
else {
|
|
@@ -423,7 +423,7 @@ var AuditManager = (function (_super) {
|
|
|
423
423
|
}
|
|
424
424
|
else if (typeof cb === "function") {
|
|
425
425
|
if (typeof optionsOrCb !== "object")
|
|
426
|
-
throw new Error("Expect http options but get "
|
|
426
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
427
427
|
this.send(command, optionsOrCb || {}, cb);
|
|
428
428
|
}
|
|
429
429
|
else {
|
|
@@ -437,7 +437,7 @@ var AuditManager = (function (_super) {
|
|
|
437
437
|
}
|
|
438
438
|
else if (typeof cb === "function") {
|
|
439
439
|
if (typeof optionsOrCb !== "object")
|
|
440
|
-
throw new Error("Expect http options but get "
|
|
440
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
441
441
|
this.send(command, optionsOrCb || {}, cb);
|
|
442
442
|
}
|
|
443
443
|
else {
|
|
@@ -451,7 +451,7 @@ var AuditManager = (function (_super) {
|
|
|
451
451
|
}
|
|
452
452
|
else if (typeof cb === "function") {
|
|
453
453
|
if (typeof optionsOrCb !== "object")
|
|
454
|
-
throw new Error("Expect http options but get "
|
|
454
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
455
455
|
this.send(command, optionsOrCb || {}, cb);
|
|
456
456
|
}
|
|
457
457
|
else {
|
|
@@ -465,7 +465,7 @@ var AuditManager = (function (_super) {
|
|
|
465
465
|
}
|
|
466
466
|
else if (typeof cb === "function") {
|
|
467
467
|
if (typeof optionsOrCb !== "object")
|
|
468
|
-
throw new Error("Expect http options but get "
|
|
468
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
469
469
|
this.send(command, optionsOrCb || {}, cb);
|
|
470
470
|
}
|
|
471
471
|
else {
|
|
@@ -479,7 +479,7 @@ var AuditManager = (function (_super) {
|
|
|
479
479
|
}
|
|
480
480
|
else if (typeof cb === "function") {
|
|
481
481
|
if (typeof optionsOrCb !== "object")
|
|
482
|
-
throw new Error("Expect http options but get "
|
|
482
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
483
483
|
this.send(command, optionsOrCb || {}, cb);
|
|
484
484
|
}
|
|
485
485
|
else {
|
|
@@ -493,7 +493,7 @@ var AuditManager = (function (_super) {
|
|
|
493
493
|
}
|
|
494
494
|
else if (typeof cb === "function") {
|
|
495
495
|
if (typeof optionsOrCb !== "object")
|
|
496
|
-
throw new Error("Expect http options but get "
|
|
496
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
497
497
|
this.send(command, optionsOrCb || {}, cb);
|
|
498
498
|
}
|
|
499
499
|
else {
|
|
@@ -507,7 +507,7 @@ var AuditManager = (function (_super) {
|
|
|
507
507
|
}
|
|
508
508
|
else if (typeof cb === "function") {
|
|
509
509
|
if (typeof optionsOrCb !== "object")
|
|
510
|
-
throw new Error("Expect http options but get "
|
|
510
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
511
511
|
this.send(command, optionsOrCb || {}, cb);
|
|
512
512
|
}
|
|
513
513
|
else {
|
|
@@ -521,7 +521,7 @@ var AuditManager = (function (_super) {
|
|
|
521
521
|
}
|
|
522
522
|
else if (typeof cb === "function") {
|
|
523
523
|
if (typeof optionsOrCb !== "object")
|
|
524
|
-
throw new Error("Expect http options but get "
|
|
524
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
525
525
|
this.send(command, optionsOrCb || {}, cb);
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
@@ -535,7 +535,7 @@ var AuditManager = (function (_super) {
|
|
|
535
535
|
}
|
|
536
536
|
else if (typeof cb === "function") {
|
|
537
537
|
if (typeof optionsOrCb !== "object")
|
|
538
|
-
throw new Error("Expect http options but get "
|
|
538
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
539
539
|
this.send(command, optionsOrCb || {}, cb);
|
|
540
540
|
}
|
|
541
541
|
else {
|
|
@@ -549,7 +549,7 @@ var AuditManager = (function (_super) {
|
|
|
549
549
|
}
|
|
550
550
|
else if (typeof cb === "function") {
|
|
551
551
|
if (typeof optionsOrCb !== "object")
|
|
552
|
-
throw new Error("Expect http options but get "
|
|
552
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
553
553
|
this.send(command, optionsOrCb || {}, cb);
|
|
554
554
|
}
|
|
555
555
|
else {
|
|
@@ -563,7 +563,7 @@ var AuditManager = (function (_super) {
|
|
|
563
563
|
}
|
|
564
564
|
else if (typeof cb === "function") {
|
|
565
565
|
if (typeof optionsOrCb !== "object")
|
|
566
|
-
throw new Error("Expect http options but get "
|
|
566
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
567
567
|
this.send(command, optionsOrCb || {}, cb);
|
|
568
568
|
}
|
|
569
569
|
else {
|
|
@@ -577,7 +577,7 @@ var AuditManager = (function (_super) {
|
|
|
577
577
|
}
|
|
578
578
|
else if (typeof cb === "function") {
|
|
579
579
|
if (typeof optionsOrCb !== "object")
|
|
580
|
-
throw new Error("Expect http options but get "
|
|
580
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
581
581
|
this.send(command, optionsOrCb || {}, cb);
|
|
582
582
|
}
|
|
583
583
|
else {
|
|
@@ -591,7 +591,7 @@ var AuditManager = (function (_super) {
|
|
|
591
591
|
}
|
|
592
592
|
else if (typeof cb === "function") {
|
|
593
593
|
if (typeof optionsOrCb !== "object")
|
|
594
|
-
throw new Error("Expect http options but get "
|
|
594
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
595
595
|
this.send(command, optionsOrCb || {}, cb);
|
|
596
596
|
}
|
|
597
597
|
else {
|
|
@@ -605,7 +605,7 @@ var AuditManager = (function (_super) {
|
|
|
605
605
|
}
|
|
606
606
|
else if (typeof cb === "function") {
|
|
607
607
|
if (typeof optionsOrCb !== "object")
|
|
608
|
-
throw new Error("Expect http options but get "
|
|
608
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
609
609
|
this.send(command, optionsOrCb || {}, cb);
|
|
610
610
|
}
|
|
611
611
|
else {
|
|
@@ -619,7 +619,7 @@ var AuditManager = (function (_super) {
|
|
|
619
619
|
}
|
|
620
620
|
else if (typeof cb === "function") {
|
|
621
621
|
if (typeof optionsOrCb !== "object")
|
|
622
|
-
throw new Error("Expect http options but get "
|
|
622
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
623
623
|
this.send(command, optionsOrCb || {}, cb);
|
|
624
624
|
}
|
|
625
625
|
else {
|
|
@@ -633,7 +633,7 @@ var AuditManager = (function (_super) {
|
|
|
633
633
|
}
|
|
634
634
|
else if (typeof cb === "function") {
|
|
635
635
|
if (typeof optionsOrCb !== "object")
|
|
636
|
-
throw new Error("Expect http options but get "
|
|
636
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
637
637
|
this.send(command, optionsOrCb || {}, cb);
|
|
638
638
|
}
|
|
639
639
|
else {
|
|
@@ -647,7 +647,7 @@ var AuditManager = (function (_super) {
|
|
|
647
647
|
}
|
|
648
648
|
else if (typeof cb === "function") {
|
|
649
649
|
if (typeof optionsOrCb !== "object")
|
|
650
|
-
throw new Error("Expect http options but get "
|
|
650
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
651
651
|
this.send(command, optionsOrCb || {}, cb);
|
|
652
652
|
}
|
|
653
653
|
else {
|
|
@@ -661,7 +661,7 @@ var AuditManager = (function (_super) {
|
|
|
661
661
|
}
|
|
662
662
|
else if (typeof cb === "function") {
|
|
663
663
|
if (typeof optionsOrCb !== "object")
|
|
664
|
-
throw new Error("Expect http options but get "
|
|
664
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
665
665
|
this.send(command, optionsOrCb || {}, cb);
|
|
666
666
|
}
|
|
667
667
|
else {
|
|
@@ -675,7 +675,7 @@ var AuditManager = (function (_super) {
|
|
|
675
675
|
}
|
|
676
676
|
else if (typeof cb === "function") {
|
|
677
677
|
if (typeof optionsOrCb !== "object")
|
|
678
|
-
throw new Error("Expect http options but get "
|
|
678
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
679
679
|
this.send(command, optionsOrCb || {}, cb);
|
|
680
680
|
}
|
|
681
681
|
else {
|
|
@@ -689,7 +689,7 @@ var AuditManager = (function (_super) {
|
|
|
689
689
|
}
|
|
690
690
|
else if (typeof cb === "function") {
|
|
691
691
|
if (typeof optionsOrCb !== "object")
|
|
692
|
-
throw new Error("Expect http options but get "
|
|
692
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
693
693
|
this.send(command, optionsOrCb || {}, cb);
|
|
694
694
|
}
|
|
695
695
|
else {
|
|
@@ -703,7 +703,7 @@ var AuditManager = (function (_super) {
|
|
|
703
703
|
}
|
|
704
704
|
else if (typeof cb === "function") {
|
|
705
705
|
if (typeof optionsOrCb !== "object")
|
|
706
|
-
throw new Error("Expect http options but get "
|
|
706
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
707
707
|
this.send(command, optionsOrCb || {}, cb);
|
|
708
708
|
}
|
|
709
709
|
else {
|
|
@@ -717,7 +717,7 @@ var AuditManager = (function (_super) {
|
|
|
717
717
|
}
|
|
718
718
|
else if (typeof cb === "function") {
|
|
719
719
|
if (typeof optionsOrCb !== "object")
|
|
720
|
-
throw new Error("Expect http options but get "
|
|
720
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
721
721
|
this.send(command, optionsOrCb || {}, cb);
|
|
722
722
|
}
|
|
723
723
|
else {
|
|
@@ -731,7 +731,7 @@ var AuditManager = (function (_super) {
|
|
|
731
731
|
}
|
|
732
732
|
else if (typeof cb === "function") {
|
|
733
733
|
if (typeof optionsOrCb !== "object")
|
|
734
|
-
throw new Error("Expect http options but get "
|
|
734
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
735
735
|
this.send(command, optionsOrCb || {}, cb);
|
|
736
736
|
}
|
|
737
737
|
else {
|
|
@@ -745,7 +745,7 @@ var AuditManager = (function (_super) {
|
|
|
745
745
|
}
|
|
746
746
|
else if (typeof cb === "function") {
|
|
747
747
|
if (typeof optionsOrCb !== "object")
|
|
748
|
-
throw new Error("Expect http options but get "
|
|
748
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
749
749
|
this.send(command, optionsOrCb || {}, cb);
|
|
750
750
|
}
|
|
751
751
|
else {
|
|
@@ -759,7 +759,7 @@ var AuditManager = (function (_super) {
|
|
|
759
759
|
}
|
|
760
760
|
else if (typeof cb === "function") {
|
|
761
761
|
if (typeof optionsOrCb !== "object")
|
|
762
|
-
throw new Error("Expect http options but get "
|
|
762
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
763
763
|
this.send(command, optionsOrCb || {}, cb);
|
|
764
764
|
}
|
|
765
765
|
else {
|
|
@@ -773,7 +773,7 @@ var AuditManager = (function (_super) {
|
|
|
773
773
|
}
|
|
774
774
|
else if (typeof cb === "function") {
|
|
775
775
|
if (typeof optionsOrCb !== "object")
|
|
776
|
-
throw new Error("Expect http options but get "
|
|
776
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
777
777
|
this.send(command, optionsOrCb || {}, cb);
|
|
778
778
|
}
|
|
779
779
|
else {
|
|
@@ -787,7 +787,7 @@ var AuditManager = (function (_super) {
|
|
|
787
787
|
}
|
|
788
788
|
else if (typeof cb === "function") {
|
|
789
789
|
if (typeof optionsOrCb !== "object")
|
|
790
|
-
throw new Error("Expect http options but get "
|
|
790
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
791
791
|
this.send(command, optionsOrCb || {}, cb);
|
|
792
792
|
}
|
|
793
793
|
else {
|
|
@@ -801,7 +801,7 @@ var AuditManager = (function (_super) {
|
|
|
801
801
|
}
|
|
802
802
|
else if (typeof cb === "function") {
|
|
803
803
|
if (typeof optionsOrCb !== "object")
|
|
804
|
-
throw new Error("Expect http options but get "
|
|
804
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
805
805
|
this.send(command, optionsOrCb || {}, cb);
|
|
806
806
|
}
|
|
807
807
|
else {
|
|
@@ -815,7 +815,7 @@ var AuditManager = (function (_super) {
|
|
|
815
815
|
}
|
|
816
816
|
else if (typeof cb === "function") {
|
|
817
817
|
if (typeof optionsOrCb !== "object")
|
|
818
|
-
throw new Error("Expect http options but get "
|
|
818
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
819
819
|
this.send(command, optionsOrCb || {}, cb);
|
|
820
820
|
}
|
|
821
821
|
else {
|
|
@@ -829,7 +829,7 @@ var AuditManager = (function (_super) {
|
|
|
829
829
|
}
|
|
830
830
|
else if (typeof cb === "function") {
|
|
831
831
|
if (typeof optionsOrCb !== "object")
|
|
832
|
-
throw new Error("Expect http options but get "
|
|
832
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
833
833
|
this.send(command, optionsOrCb || {}, cb);
|
|
834
834
|
}
|
|
835
835
|
else {
|
|
@@ -843,7 +843,7 @@ var AuditManager = (function (_super) {
|
|
|
843
843
|
}
|
|
844
844
|
else if (typeof cb === "function") {
|
|
845
845
|
if (typeof optionsOrCb !== "object")
|
|
846
|
-
throw new Error("Expect http options but get "
|
|
846
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
847
847
|
this.send(command, optionsOrCb || {}, cb);
|
|
848
848
|
}
|
|
849
849
|
else {
|
|
@@ -857,7 +857,7 @@ var AuditManager = (function (_super) {
|
|
|
857
857
|
}
|
|
858
858
|
else if (typeof cb === "function") {
|
|
859
859
|
if (typeof optionsOrCb !== "object")
|
|
860
|
-
throw new Error("Expect http options but get "
|
|
860
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
861
861
|
this.send(command, optionsOrCb || {}, cb);
|
|
862
862
|
}
|
|
863
863
|
else {
|
|
@@ -871,7 +871,7 @@ var AuditManager = (function (_super) {
|
|
|
871
871
|
}
|
|
872
872
|
else if (typeof cb === "function") {
|
|
873
873
|
if (typeof optionsOrCb !== "object")
|
|
874
|
-
throw new Error("Expect http options but get "
|
|
874
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
875
875
|
this.send(command, optionsOrCb || {}, cb);
|
|
876
876
|
}
|
|
877
877
|
else {
|
|
@@ -885,7 +885,7 @@ var AuditManager = (function (_super) {
|
|
|
885
885
|
}
|
|
886
886
|
else if (typeof cb === "function") {
|
|
887
887
|
if (typeof optionsOrCb !== "object")
|
|
888
|
-
throw new Error("Expect http options but get "
|
|
888
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
889
889
|
this.send(command, optionsOrCb || {}, cb);
|
|
890
890
|
}
|
|
891
891
|
else {
|
|
@@ -899,7 +899,7 @@ var AuditManager = (function (_super) {
|
|
|
899
899
|
}
|
|
900
900
|
else if (typeof cb === "function") {
|
|
901
901
|
if (typeof optionsOrCb !== "object")
|
|
902
|
-
throw new Error("Expect http options but get "
|
|
902
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
903
903
|
this.send(command, optionsOrCb || {}, cb);
|
|
904
904
|
}
|
|
905
905
|
else {
|
|
@@ -913,7 +913,7 @@ var AuditManager = (function (_super) {
|
|
|
913
913
|
}
|
|
914
914
|
else if (typeof cb === "function") {
|
|
915
915
|
if (typeof optionsOrCb !== "object")
|
|
916
|
-
throw new Error("Expect http options but get "
|
|
916
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
917
917
|
this.send(command, optionsOrCb || {}, cb);
|
|
918
918
|
}
|
|
919
919
|
else {
|
|
@@ -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 GetChangeLogsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetChangeLogsCommand(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.getChangeLogs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getChangeLogs.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 paginateGetChangeLogs(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof AuditManager)) 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 AuditManagerClient)) 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];
|