@aws-sdk/client-devops-guru 3.54.0 → 3.56.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/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 +3 -3
- 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 +3 -3
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +260 -260
- 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 +28 -28
- 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 +28 -28
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -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 ListRecommendationsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRecommendationsCommand(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.listRecommendations.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listRecommendations.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 paginateListRecommendations(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 SearchInsightsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SearchInsightsCommand(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.searchInsights.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.searchInsights.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 paginateSearchInsights(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DevOpsGuru)) 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 DevOpsGuruClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new SearchOrganizationInsightsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new SearchOrganizationInsightsCommand(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.searchOrganizationInsights.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.searchOrganizationInsights.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 paginateSearchOrganizationInsights(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof DevOpsGuru)) 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 DevOpsGuruClient)) 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];
|
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AddNotificationChannelCommand = function (input
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
18
18
|
body = JSON.stringify(__assign({}, (input.Config !== undefined &&
|
|
19
19
|
input.Config !== null && { Config: serializeAws_restJson1NotificationChannelConfig(input.Config, context) })));
|
|
20
20
|
return [2, new __HttpRequest({
|
|
@@ -39,7 +39,7 @@ export var serializeAws_restJson1DescribeAccountHealthCommand = function (input,
|
|
|
39
39
|
headers = {
|
|
40
40
|
"content-type": "application/json",
|
|
41
41
|
};
|
|
42
|
-
resolvedPath = ""
|
|
42
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/health";
|
|
43
43
|
body = "";
|
|
44
44
|
return [2, new __HttpRequest({
|
|
45
45
|
protocol: protocol,
|
|
@@ -63,7 +63,7 @@ export var serializeAws_restJson1DescribeAccountOverviewCommand = function (inpu
|
|
|
63
63
|
headers = {
|
|
64
64
|
"content-type": "application/json",
|
|
65
65
|
};
|
|
66
|
-
resolvedPath = ""
|
|
66
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/accounts/overview";
|
|
67
67
|
body = JSON.stringify(__assign(__assign({}, (input.FromTime !== undefined &&
|
|
68
68
|
input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) })));
|
|
69
69
|
return [2, new __HttpRequest({
|
|
@@ -86,7 +86,7 @@ export var serializeAws_restJson1DescribeAnomalyCommand = function (input, conte
|
|
|
86
86
|
case 1:
|
|
87
87
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
88
88
|
headers = {};
|
|
89
|
-
resolvedPath = ""
|
|
89
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/{Id}";
|
|
90
90
|
if (input.Id !== undefined) {
|
|
91
91
|
labelValue = input.Id;
|
|
92
92
|
if (labelValue.length <= 0) {
|
|
@@ -121,7 +121,7 @@ export var serializeAws_restJson1DescribeEventSourcesConfigCommand = function (i
|
|
|
121
121
|
headers = {
|
|
122
122
|
"content-type": "application/json",
|
|
123
123
|
};
|
|
124
|
-
resolvedPath = ""
|
|
124
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-sources";
|
|
125
125
|
body = "";
|
|
126
126
|
return [2, new __HttpRequest({
|
|
127
127
|
protocol: protocol,
|
|
@@ -145,7 +145,7 @@ export var serializeAws_restJson1DescribeFeedbackCommand = function (input, cont
|
|
|
145
145
|
headers = {
|
|
146
146
|
"content-type": "application/json",
|
|
147
147
|
};
|
|
148
|
-
resolvedPath = ""
|
|
148
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
|
|
149
149
|
body = JSON.stringify(__assign({}, (input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId })));
|
|
150
150
|
return [2, new __HttpRequest({
|
|
151
151
|
protocol: protocol,
|
|
@@ -167,7 +167,7 @@ export var serializeAws_restJson1DescribeInsightCommand = function (input, conte
|
|
|
167
167
|
case 1:
|
|
168
168
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
169
169
|
headers = {};
|
|
170
|
-
resolvedPath = ""
|
|
170
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/{Id}";
|
|
171
171
|
if (input.Id !== undefined) {
|
|
172
172
|
labelValue = input.Id;
|
|
173
173
|
if (labelValue.length <= 0) {
|
|
@@ -202,7 +202,7 @@ export var serializeAws_restJson1DescribeOrganizationHealthCommand = function (i
|
|
|
202
202
|
headers = {
|
|
203
203
|
"content-type": "application/json",
|
|
204
204
|
};
|
|
205
|
-
resolvedPath = ""
|
|
205
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health";
|
|
206
206
|
body = JSON.stringify(__assign(__assign({}, (input.AccountIds !== undefined &&
|
|
207
207
|
input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.OrganizationalUnitIds !== undefined &&
|
|
208
208
|
input.OrganizationalUnitIds !== null && {
|
|
@@ -230,7 +230,7 @@ export var serializeAws_restJson1DescribeOrganizationOverviewCommand = function
|
|
|
230
230
|
headers = {
|
|
231
231
|
"content-type": "application/json",
|
|
232
232
|
};
|
|
233
|
-
resolvedPath = ""
|
|
233
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/overview";
|
|
234
234
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
|
|
235
235
|
input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.FromTime !== undefined &&
|
|
236
236
|
input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) })), (input.OrganizationalUnitIds !== undefined &&
|
|
@@ -259,7 +259,7 @@ export var serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCom
|
|
|
259
259
|
headers = {
|
|
260
260
|
"content-type": "application/json",
|
|
261
261
|
};
|
|
262
|
-
resolvedPath = ""
|
|
262
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/health/resource-collection";
|
|
263
263
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
|
|
264
264
|
input.AccountIds !== null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OrganizationResourceCollectionType !== undefined &&
|
|
265
265
|
input.OrganizationResourceCollectionType !== null && {
|
|
@@ -288,7 +288,7 @@ export var serializeAws_restJson1DescribeResourceCollectionHealthCommand = funct
|
|
|
288
288
|
case 1:
|
|
289
289
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
290
290
|
headers = {};
|
|
291
|
-
resolvedPath = ""
|
|
291
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
292
292
|
"/accounts/health/resource-collection/{ResourceCollectionType}";
|
|
293
293
|
if (input.ResourceCollectionType !== undefined) {
|
|
294
294
|
labelValue = input.ResourceCollectionType;
|
|
@@ -324,7 +324,7 @@ export var serializeAws_restJson1DescribeServiceIntegrationCommand = function (i
|
|
|
324
324
|
headers = {
|
|
325
325
|
"content-type": "application/json",
|
|
326
326
|
};
|
|
327
|
-
resolvedPath = ""
|
|
327
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
|
|
328
328
|
body = "";
|
|
329
329
|
return [2, new __HttpRequest({
|
|
330
330
|
protocol: protocol,
|
|
@@ -346,7 +346,7 @@ export var serializeAws_restJson1GetCostEstimationCommand = function (input, con
|
|
|
346
346
|
case 1:
|
|
347
347
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
348
348
|
headers = {};
|
|
349
|
-
resolvedPath = ""
|
|
349
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
|
|
350
350
|
query = __assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken }));
|
|
351
351
|
return [2, new __HttpRequest({
|
|
352
352
|
protocol: protocol,
|
|
@@ -369,7 +369,7 @@ export var serializeAws_restJson1GetResourceCollectionCommand = function (input,
|
|
|
369
369
|
case 1:
|
|
370
370
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
371
371
|
headers = {};
|
|
372
|
-
resolvedPath = ""
|
|
372
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
373
373
|
"/resource-collections/{ResourceCollectionType}";
|
|
374
374
|
if (input.ResourceCollectionType !== undefined) {
|
|
375
375
|
labelValue = input.ResourceCollectionType;
|
|
@@ -405,7 +405,7 @@ export var serializeAws_restJson1ListAnomaliesForInsightCommand = function (inpu
|
|
|
405
405
|
headers = {
|
|
406
406
|
"content-type": "application/json",
|
|
407
407
|
};
|
|
408
|
-
resolvedPath = ""
|
|
408
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/anomalies/insight/{InsightId}";
|
|
409
409
|
if (input.InsightId !== undefined) {
|
|
410
410
|
labelValue = input.InsightId;
|
|
411
411
|
if (labelValue.length <= 0) {
|
|
@@ -442,7 +442,7 @@ export var serializeAws_restJson1ListEventsCommand = function (input, context) {
|
|
|
442
442
|
headers = {
|
|
443
443
|
"content-type": "application/json",
|
|
444
444
|
};
|
|
445
|
-
resolvedPath = ""
|
|
445
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/events";
|
|
446
446
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.Filters !== undefined &&
|
|
447
447
|
input.Filters !== null && { Filters: serializeAws_restJson1ListEventsFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
448
448
|
return [2, new __HttpRequest({
|
|
@@ -467,7 +467,7 @@ export var serializeAws_restJson1ListInsightsCommand = function (input, context)
|
|
|
467
467
|
headers = {
|
|
468
468
|
"content-type": "application/json",
|
|
469
469
|
};
|
|
470
|
-
resolvedPath = ""
|
|
470
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights";
|
|
471
471
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StatusFilter !== undefined &&
|
|
472
472
|
input.StatusFilter !== null && {
|
|
473
473
|
StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
|
|
@@ -494,7 +494,7 @@ export var serializeAws_restJson1ListNotificationChannelsCommand = function (inp
|
|
|
494
494
|
headers = {
|
|
495
495
|
"content-type": "application/json",
|
|
496
496
|
};
|
|
497
|
-
resolvedPath = ""
|
|
497
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels";
|
|
498
498
|
body = JSON.stringify(__assign({}, (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
499
499
|
return [2, new __HttpRequest({
|
|
500
500
|
protocol: protocol,
|
|
@@ -518,7 +518,7 @@ export var serializeAws_restJson1ListOrganizationInsightsCommand = function (inp
|
|
|
518
518
|
headers = {
|
|
519
519
|
"content-type": "application/json",
|
|
520
520
|
};
|
|
521
|
-
resolvedPath = ""
|
|
521
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights";
|
|
522
522
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
|
|
523
523
|
input.AccountIds !== null && {
|
|
524
524
|
AccountIds: serializeAws_restJson1ListInsightsAccountIdList(input.AccountIds, context),
|
|
@@ -551,7 +551,7 @@ export var serializeAws_restJson1ListRecommendationsCommand = function (input, c
|
|
|
551
551
|
headers = {
|
|
552
552
|
"content-type": "application/json",
|
|
553
553
|
};
|
|
554
|
-
resolvedPath = ""
|
|
554
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recommendations";
|
|
555
555
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId })), (input.InsightId !== undefined && input.InsightId !== null && { InsightId: input.InsightId })), (input.Locale !== undefined && input.Locale !== null && { Locale: input.Locale })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
556
556
|
return [2, new __HttpRequest({
|
|
557
557
|
protocol: protocol,
|
|
@@ -575,7 +575,7 @@ export var serializeAws_restJson1PutFeedbackCommand = function (input, context)
|
|
|
575
575
|
headers = {
|
|
576
576
|
"content-type": "application/json",
|
|
577
577
|
};
|
|
578
|
-
resolvedPath = ""
|
|
578
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/feedback";
|
|
579
579
|
body = JSON.stringify(__assign({}, (input.InsightFeedback !== undefined &&
|
|
580
580
|
input.InsightFeedback !== null && {
|
|
581
581
|
InsightFeedback: serializeAws_restJson1InsightFeedback(input.InsightFeedback, context),
|
|
@@ -600,7 +600,7 @@ export var serializeAws_restJson1RemoveNotificationChannelCommand = function (in
|
|
|
600
600
|
case 1:
|
|
601
601
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
602
602
|
headers = {};
|
|
603
|
-
resolvedPath = ""
|
|
603
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/channels/{Id}";
|
|
604
604
|
if (input.Id !== undefined) {
|
|
605
605
|
labelValue = input.Id;
|
|
606
606
|
if (labelValue.length <= 0) {
|
|
@@ -633,7 +633,7 @@ export var serializeAws_restJson1SearchInsightsCommand = function (input, contex
|
|
|
633
633
|
headers = {
|
|
634
634
|
"content-type": "application/json",
|
|
635
635
|
};
|
|
636
|
-
resolvedPath = ""
|
|
636
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/search";
|
|
637
637
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Filters !== undefined &&
|
|
638
638
|
input.Filters !== null && { Filters: serializeAws_restJson1SearchInsightsFilters(input.Filters, context) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartTimeRange !== undefined &&
|
|
639
639
|
input.StartTimeRange !== null && {
|
|
@@ -661,7 +661,7 @@ export var serializeAws_restJson1SearchOrganizationInsightsCommand = function (i
|
|
|
661
661
|
headers = {
|
|
662
662
|
"content-type": "application/json",
|
|
663
663
|
};
|
|
664
|
-
resolvedPath = ""
|
|
664
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organization/insights/search";
|
|
665
665
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AccountIds !== undefined &&
|
|
666
666
|
input.AccountIds !== null && {
|
|
667
667
|
AccountIds: serializeAws_restJson1SearchInsightsAccountIdList(input.AccountIds, context),
|
|
@@ -695,7 +695,7 @@ export var serializeAws_restJson1StartCostEstimationCommand = function (input, c
|
|
|
695
695
|
headers = {
|
|
696
696
|
"content-type": "application/json",
|
|
697
697
|
};
|
|
698
|
-
resolvedPath = ""
|
|
698
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/cost-estimation";
|
|
699
699
|
body = JSON.stringify(__assign({ ClientToken: (_c = input.ClientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.ResourceCollection !== undefined &&
|
|
700
700
|
input.ResourceCollection !== null && {
|
|
701
701
|
ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
|
|
@@ -722,7 +722,7 @@ export var serializeAws_restJson1UpdateEventSourcesConfigCommand = function (inp
|
|
|
722
722
|
headers = {
|
|
723
723
|
"content-type": "application/json",
|
|
724
724
|
};
|
|
725
|
-
resolvedPath = ""
|
|
725
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-sources";
|
|
726
726
|
body = JSON.stringify(__assign({}, (input.EventSources !== undefined &&
|
|
727
727
|
input.EventSources !== null && {
|
|
728
728
|
EventSources: serializeAws_restJson1EventSourcesConfig(input.EventSources, context),
|
|
@@ -749,7 +749,7 @@ export var serializeAws_restJson1UpdateResourceCollectionCommand = function (inp
|
|
|
749
749
|
headers = {
|
|
750
750
|
"content-type": "application/json",
|
|
751
751
|
};
|
|
752
|
-
resolvedPath = ""
|
|
752
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resource-collections";
|
|
753
753
|
body = JSON.stringify(__assign(__assign({}, (input.Action !== undefined && input.Action !== null && { Action: input.Action })), (input.ResourceCollection !== undefined &&
|
|
754
754
|
input.ResourceCollection !== null && {
|
|
755
755
|
ResourceCollection: serializeAws_restJson1UpdateResourceCollectionFilter(input.ResourceCollection, context),
|
|
@@ -776,7 +776,7 @@ export var serializeAws_restJson1UpdateServiceIntegrationCommand = function (inp
|
|
|
776
776
|
headers = {
|
|
777
777
|
"content-type": "application/json",
|
|
778
778
|
};
|
|
779
|
-
resolvedPath = ""
|
|
779
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-integrations";
|
|
780
780
|
body = JSON.stringify(__assign({}, (input.ServiceIntegration !== undefined &&
|
|
781
781
|
input.ServiceIntegration !== null && {
|
|
782
782
|
ServiceIntegration: serializeAws_restJson1UpdateServiceIntegrationConfig(input.ServiceIntegration, context),
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-devops-guru",
|
|
3
3
|
"description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.56.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.56.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.56.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.56.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.56.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.56.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.56.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.56.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.56.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
|
-
"typescript": "~4.
|
|
63
|
+
"typescript": "~4.6.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=12.0.0"
|