@aws-sdk/client-devops-guru 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/DevOpsGuru.js +30 -0
- package/dist-cjs/DevOpsGuruClient.js +13 -13
- package/dist-cjs/commands/AddNotificationChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnomalyCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +36 -0
- package/dist-cjs/commands/DescribeFeedbackCommand.js +3 -3
- package/dist-cjs/commands/DescribeInsightCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetCostEstimationCommand.js +3 -3
- package/dist-cjs/commands/GetResourceCollectionCommand.js +3 -3
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +3 -3
- package/dist-cjs/commands/ListEventsCommand.js +3 -3
- package/dist-cjs/commands/ListInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/PutFeedbackCommand.js +3 -3
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +3 -3
- package/dist-cjs/commands/SearchInsightsCommand.js +3 -3
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +3 -3
- package/dist-cjs/commands/StartCostEstimationCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +36 -0
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +51 -4
- package/dist-cjs/protocols/Aws_restJson1.js +430 -252
- 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/DevOpsGuru.js +56 -26
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +39 -0
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +33 -0
- package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +4 -4
- package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +4 -4
- package/dist-es/pagination/GetCostEstimationPaginator.js +4 -4
- package/dist-es/pagination/GetResourceCollectionPaginator.js +4 -4
- package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +4 -4
- package/dist-es/pagination/ListEventsPaginator.js +4 -4
- package/dist-es/pagination/ListInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListNotificationChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListOrganizationInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/SearchInsightsPaginator.js +4 -4
- package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +250 -26
- package/dist-types/DevOpsGuru.d.ts +19 -4
- package/dist-types/DevOpsGuruClient.d.ts +6 -4
- package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +36 -0
- package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +343 -198
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -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/DevOpsGuru.d.ts +10 -0
- package/dist-types/ts3.4/DevOpsGuruClient.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +77 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -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/DevOpsGuru.js
CHANGED
|
@@ -3,6 +3,7 @@ import { AddNotificationChannelCommand, } from "./commands/AddNotificationChanne
|
|
|
3
3
|
import { DescribeAccountHealthCommand, } from "./commands/DescribeAccountHealthCommand";
|
|
4
4
|
import { DescribeAccountOverviewCommand, } from "./commands/DescribeAccountOverviewCommand";
|
|
5
5
|
import { DescribeAnomalyCommand, } from "./commands/DescribeAnomalyCommand";
|
|
6
|
+
import { DescribeEventSourcesConfigCommand, } from "./commands/DescribeEventSourcesConfigCommand";
|
|
6
7
|
import { DescribeFeedbackCommand, } from "./commands/DescribeFeedbackCommand";
|
|
7
8
|
import { DescribeInsightCommand, } from "./commands/DescribeInsightCommand";
|
|
8
9
|
import { DescribeOrganizationHealthCommand, } from "./commands/DescribeOrganizationHealthCommand";
|
|
@@ -23,6 +24,7 @@ import { RemoveNotificationChannelCommand, } from "./commands/RemoveNotification
|
|
|
23
24
|
import { SearchInsightsCommand, } from "./commands/SearchInsightsCommand";
|
|
24
25
|
import { SearchOrganizationInsightsCommand, } from "./commands/SearchOrganizationInsightsCommand";
|
|
25
26
|
import { StartCostEstimationCommand, } from "./commands/StartCostEstimationCommand";
|
|
27
|
+
import { UpdateEventSourcesConfigCommand, } from "./commands/UpdateEventSourcesConfigCommand";
|
|
26
28
|
import { UpdateResourceCollectionCommand, } from "./commands/UpdateResourceCollectionCommand";
|
|
27
29
|
import { UpdateServiceIntegrationCommand, } from "./commands/UpdateServiceIntegrationCommand";
|
|
28
30
|
import { DevOpsGuruClient } from "./DevOpsGuruClient";
|
|
@@ -38,7 +40,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
38
40
|
}
|
|
39
41
|
else if (typeof cb === "function") {
|
|
40
42
|
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error("Expect http options but get "
|
|
43
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
44
|
this.send(command, optionsOrCb || {}, cb);
|
|
43
45
|
}
|
|
44
46
|
else {
|
|
@@ -52,7 +54,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
52
54
|
}
|
|
53
55
|
else if (typeof cb === "function") {
|
|
54
56
|
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error("Expect http options but get "
|
|
57
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
56
58
|
this.send(command, optionsOrCb || {}, cb);
|
|
57
59
|
}
|
|
58
60
|
else {
|
|
@@ -66,7 +68,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
66
68
|
}
|
|
67
69
|
else if (typeof cb === "function") {
|
|
68
70
|
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error("Expect http options but get "
|
|
71
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
70
72
|
this.send(command, optionsOrCb || {}, cb);
|
|
71
73
|
}
|
|
72
74
|
else {
|
|
@@ -80,7 +82,21 @@ var DevOpsGuru = (function (_super) {
|
|
|
80
82
|
}
|
|
81
83
|
else if (typeof cb === "function") {
|
|
82
84
|
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error("Expect http options but get "
|
|
85
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
86
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
return this.send(command, optionsOrCb);
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
DevOpsGuru.prototype.describeEventSourcesConfig = function (args, optionsOrCb, cb) {
|
|
93
|
+
var command = new DescribeEventSourcesConfigCommand(args);
|
|
94
|
+
if (typeof optionsOrCb === "function") {
|
|
95
|
+
this.send(command, optionsOrCb);
|
|
96
|
+
}
|
|
97
|
+
else if (typeof cb === "function") {
|
|
98
|
+
if (typeof optionsOrCb !== "object")
|
|
99
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
84
100
|
this.send(command, optionsOrCb || {}, cb);
|
|
85
101
|
}
|
|
86
102
|
else {
|
|
@@ -94,7 +110,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
94
110
|
}
|
|
95
111
|
else if (typeof cb === "function") {
|
|
96
112
|
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error("Expect http options but get "
|
|
113
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
98
114
|
this.send(command, optionsOrCb || {}, cb);
|
|
99
115
|
}
|
|
100
116
|
else {
|
|
@@ -108,7 +124,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
108
124
|
}
|
|
109
125
|
else if (typeof cb === "function") {
|
|
110
126
|
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error("Expect http options but get "
|
|
127
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
112
128
|
this.send(command, optionsOrCb || {}, cb);
|
|
113
129
|
}
|
|
114
130
|
else {
|
|
@@ -122,7 +138,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
122
138
|
}
|
|
123
139
|
else if (typeof cb === "function") {
|
|
124
140
|
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error("Expect http options but get "
|
|
141
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
126
142
|
this.send(command, optionsOrCb || {}, cb);
|
|
127
143
|
}
|
|
128
144
|
else {
|
|
@@ -136,7 +152,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
136
152
|
}
|
|
137
153
|
else if (typeof cb === "function") {
|
|
138
154
|
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error("Expect http options but get "
|
|
155
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
140
156
|
this.send(command, optionsOrCb || {}, cb);
|
|
141
157
|
}
|
|
142
158
|
else {
|
|
@@ -150,7 +166,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
150
166
|
}
|
|
151
167
|
else if (typeof cb === "function") {
|
|
152
168
|
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error("Expect http options but get "
|
|
169
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
154
170
|
this.send(command, optionsOrCb || {}, cb);
|
|
155
171
|
}
|
|
156
172
|
else {
|
|
@@ -164,7 +180,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
164
180
|
}
|
|
165
181
|
else if (typeof cb === "function") {
|
|
166
182
|
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error("Expect http options but get "
|
|
183
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
168
184
|
this.send(command, optionsOrCb || {}, cb);
|
|
169
185
|
}
|
|
170
186
|
else {
|
|
@@ -178,7 +194,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
178
194
|
}
|
|
179
195
|
else if (typeof cb === "function") {
|
|
180
196
|
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error("Expect http options but get "
|
|
197
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
182
198
|
this.send(command, optionsOrCb || {}, cb);
|
|
183
199
|
}
|
|
184
200
|
else {
|
|
@@ -192,7 +208,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
192
208
|
}
|
|
193
209
|
else if (typeof cb === "function") {
|
|
194
210
|
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error("Expect http options but get "
|
|
211
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
196
212
|
this.send(command, optionsOrCb || {}, cb);
|
|
197
213
|
}
|
|
198
214
|
else {
|
|
@@ -206,7 +222,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
206
222
|
}
|
|
207
223
|
else if (typeof cb === "function") {
|
|
208
224
|
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error("Expect http options but get "
|
|
225
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
210
226
|
this.send(command, optionsOrCb || {}, cb);
|
|
211
227
|
}
|
|
212
228
|
else {
|
|
@@ -220,7 +236,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
220
236
|
}
|
|
221
237
|
else if (typeof cb === "function") {
|
|
222
238
|
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error("Expect http options but get "
|
|
239
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
224
240
|
this.send(command, optionsOrCb || {}, cb);
|
|
225
241
|
}
|
|
226
242
|
else {
|
|
@@ -234,7 +250,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
234
250
|
}
|
|
235
251
|
else if (typeof cb === "function") {
|
|
236
252
|
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error("Expect http options but get "
|
|
253
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
238
254
|
this.send(command, optionsOrCb || {}, cb);
|
|
239
255
|
}
|
|
240
256
|
else {
|
|
@@ -248,7 +264,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
248
264
|
}
|
|
249
265
|
else if (typeof cb === "function") {
|
|
250
266
|
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error("Expect http options but get "
|
|
267
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
252
268
|
this.send(command, optionsOrCb || {}, cb);
|
|
253
269
|
}
|
|
254
270
|
else {
|
|
@@ -262,7 +278,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
262
278
|
}
|
|
263
279
|
else if (typeof cb === "function") {
|
|
264
280
|
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error("Expect http options but get "
|
|
281
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
266
282
|
this.send(command, optionsOrCb || {}, cb);
|
|
267
283
|
}
|
|
268
284
|
else {
|
|
@@ -276,7 +292,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
276
292
|
}
|
|
277
293
|
else if (typeof cb === "function") {
|
|
278
294
|
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error("Expect http options but get "
|
|
295
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
280
296
|
this.send(command, optionsOrCb || {}, cb);
|
|
281
297
|
}
|
|
282
298
|
else {
|
|
@@ -290,7 +306,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
290
306
|
}
|
|
291
307
|
else if (typeof cb === "function") {
|
|
292
308
|
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error("Expect http options but get "
|
|
309
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
294
310
|
this.send(command, optionsOrCb || {}, cb);
|
|
295
311
|
}
|
|
296
312
|
else {
|
|
@@ -304,7 +320,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
304
320
|
}
|
|
305
321
|
else if (typeof cb === "function") {
|
|
306
322
|
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error("Expect http options but get "
|
|
323
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
308
324
|
this.send(command, optionsOrCb || {}, cb);
|
|
309
325
|
}
|
|
310
326
|
else {
|
|
@@ -318,7 +334,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
318
334
|
}
|
|
319
335
|
else if (typeof cb === "function") {
|
|
320
336
|
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error("Expect http options but get "
|
|
337
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
322
338
|
this.send(command, optionsOrCb || {}, cb);
|
|
323
339
|
}
|
|
324
340
|
else {
|
|
@@ -332,7 +348,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
332
348
|
}
|
|
333
349
|
else if (typeof cb === "function") {
|
|
334
350
|
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error("Expect http options but get "
|
|
351
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
336
352
|
this.send(command, optionsOrCb || {}, cb);
|
|
337
353
|
}
|
|
338
354
|
else {
|
|
@@ -346,7 +362,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
346
362
|
}
|
|
347
363
|
else if (typeof cb === "function") {
|
|
348
364
|
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error("Expect http options but get "
|
|
365
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
350
366
|
this.send(command, optionsOrCb || {}, cb);
|
|
351
367
|
}
|
|
352
368
|
else {
|
|
@@ -360,7 +376,21 @@ var DevOpsGuru = (function (_super) {
|
|
|
360
376
|
}
|
|
361
377
|
else if (typeof cb === "function") {
|
|
362
378
|
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error("Expect http options but get "
|
|
379
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
380
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
+
}
|
|
382
|
+
else {
|
|
383
|
+
return this.send(command, optionsOrCb);
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
DevOpsGuru.prototype.updateEventSourcesConfig = function (args, optionsOrCb, cb) {
|
|
387
|
+
var command = new UpdateEventSourcesConfigCommand(args);
|
|
388
|
+
if (typeof optionsOrCb === "function") {
|
|
389
|
+
this.send(command, optionsOrCb);
|
|
390
|
+
}
|
|
391
|
+
else if (typeof cb === "function") {
|
|
392
|
+
if (typeof optionsOrCb !== "object")
|
|
393
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
364
394
|
this.send(command, optionsOrCb || {}, cb);
|
|
365
395
|
}
|
|
366
396
|
else {
|
|
@@ -374,7 +404,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
374
404
|
}
|
|
375
405
|
else if (typeof cb === "function") {
|
|
376
406
|
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error("Expect http options but get "
|
|
407
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
378
408
|
this.send(command, optionsOrCb || {}, cb);
|
|
379
409
|
}
|
|
380
410
|
else {
|
|
@@ -388,7 +418,7 @@ var DevOpsGuru = (function (_super) {
|
|
|
388
418
|
}
|
|
389
419
|
else if (typeof cb === "function") {
|
|
390
420
|
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error("Expect http options but get "
|
|
421
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
392
422
|
this.send(command, optionsOrCb || {}, cb);
|
|
393
423
|
}
|
|
394
424
|
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 { DescribeEventSourcesConfigRequest, DescribeEventSourcesConfigResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeEventSourcesConfigCommand, serializeAws_restJson1DescribeEventSourcesConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeEventSourcesConfigCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeEventSourcesConfigCommand, _super);
|
|
8
|
+
function DescribeEventSourcesConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeEventSourcesConfigCommand.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 = "DevOpsGuruClient";
|
|
18
|
+
var commandName = "DescribeEventSourcesConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeEventSourcesConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeEventSourcesConfigResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeEventSourcesConfigCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeEventSourcesConfigCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeEventSourcesConfigCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeEventSourcesConfigCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeEventSourcesConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeEventSourcesConfigCommand };
|
|
@@ -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 { UpdateEventSourcesConfigRequest, UpdateEventSourcesConfigResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateEventSourcesConfigCommand, serializeAws_restJson1UpdateEventSourcesConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateEventSourcesConfigCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateEventSourcesConfigCommand, _super);
|
|
8
|
+
function UpdateEventSourcesConfigCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateEventSourcesConfigCommand.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 = "DevOpsGuruClient";
|
|
18
|
+
var commandName = "UpdateEventSourcesConfigCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateEventSourcesConfigRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateEventSourcesConfigResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateEventSourcesConfigCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateEventSourcesConfigCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateEventSourcesConfigCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateEventSourcesConfigCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateEventSourcesConfigCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateEventSourcesConfigCommand };
|
|
@@ -2,6 +2,7 @@ export * from "./AddNotificationChannelCommand";
|
|
|
2
2
|
export * from "./DescribeAccountHealthCommand";
|
|
3
3
|
export * from "./DescribeAccountOverviewCommand";
|
|
4
4
|
export * from "./DescribeAnomalyCommand";
|
|
5
|
+
export * from "./DescribeEventSourcesConfigCommand";
|
|
5
6
|
export * from "./DescribeFeedbackCommand";
|
|
6
7
|
export * from "./DescribeInsightCommand";
|
|
7
8
|
export * from "./DescribeOrganizationHealthCommand";
|
|
@@ -22,5 +23,6 @@ export * from "./RemoveNotificationChannelCommand";
|
|
|
22
23
|
export * from "./SearchInsightsCommand";
|
|
23
24
|
export * from "./SearchOrganizationInsightsCommand";
|
|
24
25
|
export * from "./StartCostEstimationCommand";
|
|
26
|
+
export * from "./UpdateEventSourcesConfigCommand";
|
|
25
27
|
export * from "./UpdateResourceCollectionCommand";
|
|
26
28
|
export * from "./UpdateServiceIntegrationCommand";
|
|
@@ -138,6 +138,15 @@ var ValidationException = (function (_super) {
|
|
|
138
138
|
return ValidationException;
|
|
139
139
|
}(__BaseException));
|
|
140
140
|
export { ValidationException };
|
|
141
|
+
export var EventSourceOptInStatus;
|
|
142
|
+
(function (EventSourceOptInStatus) {
|
|
143
|
+
EventSourceOptInStatus["DISABLED"] = "DISABLED";
|
|
144
|
+
EventSourceOptInStatus["ENABLED"] = "ENABLED";
|
|
145
|
+
})(EventSourceOptInStatus || (EventSourceOptInStatus = {}));
|
|
146
|
+
export var AmazonCodeGuruProfilerIntegration;
|
|
147
|
+
(function (AmazonCodeGuruProfilerIntegration) {
|
|
148
|
+
AmazonCodeGuruProfilerIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
})(AmazonCodeGuruProfilerIntegration || (AmazonCodeGuruProfilerIntegration = {}));
|
|
141
150
|
export var AnomalyReportedTimeRange;
|
|
142
151
|
(function (AnomalyReportedTimeRange) {
|
|
143
152
|
AnomalyReportedTimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -221,6 +230,10 @@ export var AnomalySourceDetails;
|
|
|
221
230
|
(function (AnomalySourceDetails) {
|
|
222
231
|
AnomalySourceDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
232
|
})(AnomalySourceDetails || (AnomalySourceDetails = {}));
|
|
233
|
+
export var AnomalySourceMetadata;
|
|
234
|
+
(function (AnomalySourceMetadata) {
|
|
235
|
+
AnomalySourceMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
})(AnomalySourceMetadata || (AnomalySourceMetadata = {}));
|
|
224
237
|
export var AnomalyStatus;
|
|
225
238
|
(function (AnomalyStatus) {
|
|
226
239
|
AnomalyStatus["CLOSED"] = "CLOSED";
|
|
@@ -283,6 +296,18 @@ export var DescribeAnomalyResponse;
|
|
|
283
296
|
(function (DescribeAnomalyResponse) {
|
|
284
297
|
DescribeAnomalyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
298
|
})(DescribeAnomalyResponse || (DescribeAnomalyResponse = {}));
|
|
299
|
+
export var DescribeEventSourcesConfigRequest;
|
|
300
|
+
(function (DescribeEventSourcesConfigRequest) {
|
|
301
|
+
DescribeEventSourcesConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
302
|
+
})(DescribeEventSourcesConfigRequest || (DescribeEventSourcesConfigRequest = {}));
|
|
303
|
+
export var EventSourcesConfig;
|
|
304
|
+
(function (EventSourcesConfig) {
|
|
305
|
+
EventSourcesConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
306
|
+
})(EventSourcesConfig || (EventSourcesConfig = {}));
|
|
307
|
+
export var DescribeEventSourcesConfigResponse;
|
|
308
|
+
(function (DescribeEventSourcesConfigResponse) {
|
|
309
|
+
DescribeEventSourcesConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
310
|
+
})(DescribeEventSourcesConfigResponse || (DescribeEventSourcesConfigResponse = {}));
|
|
286
311
|
export var DescribeFeedbackRequest;
|
|
287
312
|
(function (DescribeFeedbackRequest) {
|
|
288
313
|
DescribeFeedbackRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -734,6 +759,14 @@ export var StartCostEstimationResponse;
|
|
|
734
759
|
(function (StartCostEstimationResponse) {
|
|
735
760
|
StartCostEstimationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
736
761
|
})(StartCostEstimationResponse || (StartCostEstimationResponse = {}));
|
|
762
|
+
export var UpdateEventSourcesConfigRequest;
|
|
763
|
+
(function (UpdateEventSourcesConfigRequest) {
|
|
764
|
+
UpdateEventSourcesConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
765
|
+
})(UpdateEventSourcesConfigRequest || (UpdateEventSourcesConfigRequest = {}));
|
|
766
|
+
export var UpdateEventSourcesConfigResponse;
|
|
767
|
+
(function (UpdateEventSourcesConfigResponse) {
|
|
768
|
+
UpdateEventSourcesConfigResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
769
|
+
})(UpdateEventSourcesConfigResponse || (UpdateEventSourcesConfigResponse = {}));
|
|
737
770
|
export var UpdateResourceCollectionAction;
|
|
738
771
|
(function (UpdateResourceCollectionAction) {
|
|
739
772
|
UpdateResourceCollectionAction["ADD"] = "ADD";
|
|
@@ -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 DescribeOrganizationResourceCollectionHealthCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeOrganizationResourceCollectionHealthCommand(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.describeOrganizationResourceCollectionHealth.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeOrganizationResourceCollectionHealth.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateDescribeOrganizationResourceCollectionHealth(config, inp
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof DevOpsGuru)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
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 DescribeResourceCollectionHealthCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new DescribeResourceCollectionHealthCommand(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.describeResourceCollectionHealth.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.describeResourceCollectionHealth.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateDescribeResourceCollectionHealth(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof DevOpsGuru)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
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 GetCostEstimationCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetCostEstimationCommand(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.getCostEstimation.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getCostEstimation.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetCostEstimation(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof DevOpsGuru)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
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 GetResourceCollectionCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetResourceCollectionCommand(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.getResourceCollection.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getResourceCollection.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -47,13 +47,13 @@ export function paginateGetResourceCollection(config, input) {
|
|
|
47
47
|
if (!hasNext) return [3, 9];
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
if (!(config.client instanceof DevOpsGuru)) return [3, 3];
|
|
50
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
51
|
case 2:
|
|
52
52
|
page = _a.sent();
|
|
53
53
|
return [3, 6];
|
|
54
54
|
case 3:
|
|
55
55
|
if (!(config.client instanceof DevOpsGuruClient)) return [3, 5];
|
|
56
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
57
|
case 4:
|
|
58
58
|
page = _a.sent();
|
|
59
59
|
return [3, 6];
|