@aws-sdk/client-devops-guru 3.131.0 → 3.141.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/DevOpsGuru.js +30 -0
- package/dist-cjs/commands/AddNotificationChannelCommand.js +2 -2
- package/dist-cjs/commands/DeleteInsightCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +2 -2
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +2 -2
- package/dist-cjs/commands/DescribeAnomalyCommand.js +2 -2
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +2 -2
- package/dist-cjs/commands/DescribeFeedbackCommand.js +2 -2
- package/dist-cjs/commands/DescribeInsightCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +2 -2
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +2 -2
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +2 -2
- package/dist-cjs/commands/GetCostEstimationCommand.js +2 -2
- package/dist-cjs/commands/GetResourceCollectionCommand.js +2 -2
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +2 -2
- package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListEventsCommand.js +2 -2
- package/dist-cjs/commands/ListInsightsCommand.js +2 -2
- package/dist-cjs/commands/ListMonitoredResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +2 -2
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +2 -2
- package/dist-cjs/commands/ListRecommendationsCommand.js +2 -2
- package/dist-cjs/commands/PutFeedbackCommand.js +2 -2
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +2 -2
- package/dist-cjs/commands/SearchInsightsCommand.js +2 -2
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +2 -2
- package/dist-cjs/commands/StartCostEstimationCommand.js +2 -2
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +2 -2
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +2 -2
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +2 -2
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +624 -838
- package/dist-cjs/pagination/ListAnomalousLogGroupsPaginator.js +36 -0
- package/dist-cjs/pagination/ListMonitoredResourcesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +282 -2
- package/dist-es/DevOpsGuru.js +30 -0
- package/dist-es/commands/AddNotificationChannelCommand.js +3 -3
- package/dist-es/commands/DeleteInsightCommand.js +3 -3
- package/dist-es/commands/DescribeAccountHealthCommand.js +3 -3
- package/dist-es/commands/DescribeAccountOverviewCommand.js +3 -3
- package/dist-es/commands/DescribeAnomalyCommand.js +3 -3
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +3 -3
- package/dist-es/commands/DescribeFeedbackCommand.js +3 -3
- package/dist-es/commands/DescribeInsightCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationHealthCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationOverviewCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
- package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +3 -3
- package/dist-es/commands/DescribeServiceIntegrationCommand.js +3 -3
- package/dist-es/commands/GetCostEstimationCommand.js +3 -3
- package/dist-es/commands/GetResourceCollectionCommand.js +3 -3
- package/dist-es/commands/ListAnomaliesForInsightCommand.js +3 -3
- package/dist-es/commands/ListAnomalousLogGroupsCommand.js +39 -0
- package/dist-es/commands/ListEventsCommand.js +3 -3
- package/dist-es/commands/ListInsightsCommand.js +3 -3
- package/dist-es/commands/ListMonitoredResourcesCommand.js +39 -0
- package/dist-es/commands/ListNotificationChannelsCommand.js +3 -3
- package/dist-es/commands/ListOrganizationInsightsCommand.js +3 -3
- package/dist-es/commands/ListRecommendationsCommand.js +3 -3
- package/dist-es/commands/PutFeedbackCommand.js +3 -3
- package/dist-es/commands/RemoveNotificationChannelCommand.js +3 -3
- package/dist-es/commands/SearchInsightsCommand.js +3 -3
- package/dist-es/commands/SearchOrganizationInsightsCommand.js +3 -3
- package/dist-es/commands/StartCostEstimationCommand.js +3 -3
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCollectionCommand.js +3 -3
- package/dist-es/commands/UpdateServiceIntegrationCommand.js +3 -3
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +170 -556
- package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +75 -0
- package/dist-es/pagination/ListMonitoredResourcesPaginator.js +75 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +331 -9
- package/dist-types/DevOpsGuru.d.ts +18 -0
- package/dist-types/DevOpsGuruClient.d.ts +4 -2
- package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +849 -821
- package/dist-types/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
- package/dist-types/ts3.4/DevOpsGuruClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.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 +400 -544
- package/dist-types/ts3.4/pagination/ListAnomalousLogGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMonitoredResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAnomalousLogGroups = void 0;
|
|
4
|
+
const ListAnomalousLogGroupsCommand_1 = require("../commands/ListAnomalousLogGroupsCommand");
|
|
5
|
+
const DevOpsGuru_1 = require("../DevOpsGuru");
|
|
6
|
+
const DevOpsGuruClient_1 = require("../DevOpsGuruClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListAnomalousLogGroupsCommand_1.ListAnomalousLogGroupsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listAnomalousLogGroups(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListAnomalousLogGroups(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof DevOpsGuru_1.DevOpsGuru) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof DevOpsGuruClient_1.DevOpsGuruClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListAnomalousLogGroups = paginateListAnomalousLogGroups;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListMonitoredResources = void 0;
|
|
4
|
+
const ListMonitoredResourcesCommand_1 = require("../commands/ListMonitoredResourcesCommand");
|
|
5
|
+
const DevOpsGuru_1 = require("../DevOpsGuru");
|
|
6
|
+
const DevOpsGuruClient_1 = require("../DevOpsGuruClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListMonitoredResourcesCommand_1.ListMonitoredResourcesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listMonitoredResources(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListMonitoredResources(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof DevOpsGuru_1.DevOpsGuru) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof DevOpsGuruClient_1.DevOpsGuruClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListMonitoredResources = paginateListMonitoredResources;
|
|
@@ -7,8 +7,10 @@ tslib_1.__exportStar(require("./GetCostEstimationPaginator"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./GetResourceCollectionPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListAnomaliesForInsightPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListAnomalousLogGroupsPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListEventsPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListInsightsPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListMonitoredResourcesPaginator"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./ListNotificationChannelsPaginator"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./ListOrganizationInsightsPaginator"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./ListRecommendationsPaginator"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_restJson1UpdateServiceIntegrationCommand = exports.deserializeAws_restJson1UpdateResourceCollectionCommand = exports.deserializeAws_restJson1UpdateEventSourcesConfigCommand = exports.deserializeAws_restJson1StartCostEstimationCommand = exports.deserializeAws_restJson1SearchOrganizationInsightsCommand = exports.deserializeAws_restJson1SearchInsightsCommand = exports.deserializeAws_restJson1RemoveNotificationChannelCommand = exports.deserializeAws_restJson1PutFeedbackCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1ListInsightsCommand = exports.deserializeAws_restJson1ListEventsCommand = exports.deserializeAws_restJson1ListAnomalousLogGroupsCommand = exports.deserializeAws_restJson1ListAnomaliesForInsightCommand = exports.deserializeAws_restJson1GetResourceCollectionCommand = exports.deserializeAws_restJson1GetCostEstimationCommand = exports.deserializeAws_restJson1DescribeServiceIntegrationCommand = exports.deserializeAws_restJson1DescribeResourceCollectionHealthCommand = exports.deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = exports.deserializeAws_restJson1DescribeOrganizationOverviewCommand = exports.deserializeAws_restJson1DescribeOrganizationHealthCommand = exports.deserializeAws_restJson1DescribeInsightCommand = exports.deserializeAws_restJson1DescribeFeedbackCommand = exports.deserializeAws_restJson1DescribeEventSourcesConfigCommand = exports.deserializeAws_restJson1DescribeAnomalyCommand = exports.deserializeAws_restJson1DescribeAccountOverviewCommand = exports.deserializeAws_restJson1DescribeAccountHealthCommand = exports.deserializeAws_restJson1DeleteInsightCommand = exports.deserializeAws_restJson1AddNotificationChannelCommand = exports.serializeAws_restJson1UpdateServiceIntegrationCommand = exports.serializeAws_restJson1UpdateResourceCollectionCommand = exports.serializeAws_restJson1UpdateEventSourcesConfigCommand = exports.serializeAws_restJson1StartCostEstimationCommand = exports.serializeAws_restJson1SearchOrganizationInsightsCommand = exports.serializeAws_restJson1SearchInsightsCommand = exports.serializeAws_restJson1RemoveNotificationChannelCommand = exports.serializeAws_restJson1PutFeedbackCommand = exports.serializeAws_restJson1ListRecommendationsCommand = exports.serializeAws_restJson1ListOrganizationInsightsCommand = exports.serializeAws_restJson1ListNotificationChannelsCommand = exports.serializeAws_restJson1ListMonitoredResourcesCommand = exports.serializeAws_restJson1ListInsightsCommand = exports.serializeAws_restJson1ListEventsCommand = exports.serializeAws_restJson1ListAnomalousLogGroupsCommand = exports.serializeAws_restJson1ListAnomaliesForInsightCommand = exports.serializeAws_restJson1GetResourceCollectionCommand = exports.serializeAws_restJson1GetCostEstimationCommand = exports.serializeAws_restJson1DescribeServiceIntegrationCommand = exports.serializeAws_restJson1DescribeResourceCollectionHealthCommand = exports.serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = exports.serializeAws_restJson1DescribeOrganizationOverviewCommand = exports.serializeAws_restJson1DescribeOrganizationHealthCommand = exports.serializeAws_restJson1DescribeInsightCommand = exports.serializeAws_restJson1DescribeFeedbackCommand = exports.serializeAws_restJson1DescribeEventSourcesConfigCommand = exports.serializeAws_restJson1DescribeAnomalyCommand = exports.serializeAws_restJson1DescribeAccountOverviewCommand = exports.serializeAws_restJson1DescribeAccountHealthCommand = exports.serializeAws_restJson1DeleteInsightCommand = exports.serializeAws_restJson1AddNotificationChannelCommand = void 0;
|
|
4
|
+
exports.deserializeAws_restJson1UpdateServiceIntegrationCommand = exports.deserializeAws_restJson1UpdateResourceCollectionCommand = exports.deserializeAws_restJson1UpdateEventSourcesConfigCommand = exports.deserializeAws_restJson1StartCostEstimationCommand = exports.deserializeAws_restJson1SearchOrganizationInsightsCommand = exports.deserializeAws_restJson1SearchInsightsCommand = exports.deserializeAws_restJson1RemoveNotificationChannelCommand = exports.deserializeAws_restJson1PutFeedbackCommand = exports.deserializeAws_restJson1ListRecommendationsCommand = exports.deserializeAws_restJson1ListOrganizationInsightsCommand = exports.deserializeAws_restJson1ListNotificationChannelsCommand = exports.deserializeAws_restJson1ListMonitoredResourcesCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
@@ -411,6 +411,29 @@ const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, conte
|
|
|
411
411
|
});
|
|
412
412
|
};
|
|
413
413
|
exports.serializeAws_restJson1ListAnomaliesForInsightCommand = serializeAws_restJson1ListAnomaliesForInsightCommand;
|
|
414
|
+
const serializeAws_restJson1ListAnomalousLogGroupsCommand = async (input, context) => {
|
|
415
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
416
|
+
const headers = {
|
|
417
|
+
"content-type": "application/json",
|
|
418
|
+
};
|
|
419
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/list-log-anomalies";
|
|
420
|
+
let body;
|
|
421
|
+
body = JSON.stringify({
|
|
422
|
+
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
423
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
424
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
425
|
+
});
|
|
426
|
+
return new protocol_http_1.HttpRequest({
|
|
427
|
+
protocol,
|
|
428
|
+
hostname,
|
|
429
|
+
port,
|
|
430
|
+
method: "POST",
|
|
431
|
+
headers,
|
|
432
|
+
path: resolvedPath,
|
|
433
|
+
body,
|
|
434
|
+
});
|
|
435
|
+
};
|
|
436
|
+
exports.serializeAws_restJson1ListAnomalousLogGroupsCommand = serializeAws_restJson1ListAnomalousLogGroupsCommand;
|
|
414
437
|
const serializeAws_restJson1ListEventsCommand = async (input, context) => {
|
|
415
438
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
416
439
|
const headers = {
|
|
@@ -460,6 +483,31 @@ const serializeAws_restJson1ListInsightsCommand = async (input, context) => {
|
|
|
460
483
|
});
|
|
461
484
|
};
|
|
462
485
|
exports.serializeAws_restJson1ListInsightsCommand = serializeAws_restJson1ListInsightsCommand;
|
|
486
|
+
const serializeAws_restJson1ListMonitoredResourcesCommand = async (input, context) => {
|
|
487
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
488
|
+
const headers = {
|
|
489
|
+
"content-type": "application/json",
|
|
490
|
+
};
|
|
491
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/monitoredResources";
|
|
492
|
+
let body;
|
|
493
|
+
body = JSON.stringify({
|
|
494
|
+
...(input.Filters != null && {
|
|
495
|
+
Filters: serializeAws_restJson1ListMonitoredResourcesFilters(input.Filters, context),
|
|
496
|
+
}),
|
|
497
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
498
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
499
|
+
});
|
|
500
|
+
return new protocol_http_1.HttpRequest({
|
|
501
|
+
protocol,
|
|
502
|
+
hostname,
|
|
503
|
+
port,
|
|
504
|
+
method: "POST",
|
|
505
|
+
headers,
|
|
506
|
+
path: resolvedPath,
|
|
507
|
+
body,
|
|
508
|
+
});
|
|
509
|
+
};
|
|
510
|
+
exports.serializeAws_restJson1ListMonitoredResourcesCommand = serializeAws_restJson1ListMonitoredResourcesCommand;
|
|
463
511
|
const serializeAws_restJson1ListNotificationChannelsCommand = async (input, context) => {
|
|
464
512
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
465
513
|
const headers = {
|
|
@@ -1424,6 +1472,9 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (ou
|
|
|
1424
1472
|
case "InternalServerException":
|
|
1425
1473
|
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1426
1474
|
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1475
|
+
case "ResourceNotFoundException":
|
|
1476
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1477
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1427
1478
|
case "ThrottlingException":
|
|
1428
1479
|
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1429
1480
|
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
@@ -1624,6 +1675,64 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (outpu
|
|
|
1624
1675
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1625
1676
|
}
|
|
1626
1677
|
};
|
|
1678
|
+
const deserializeAws_restJson1ListAnomalousLogGroupsCommand = async (output, context) => {
|
|
1679
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1680
|
+
return deserializeAws_restJson1ListAnomalousLogGroupsCommandError(output, context);
|
|
1681
|
+
}
|
|
1682
|
+
const contents = {
|
|
1683
|
+
$metadata: deserializeMetadata(output),
|
|
1684
|
+
AnomalousLogGroups: undefined,
|
|
1685
|
+
InsightId: undefined,
|
|
1686
|
+
NextToken: undefined,
|
|
1687
|
+
};
|
|
1688
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1689
|
+
if (data.AnomalousLogGroups !== undefined && data.AnomalousLogGroups !== null) {
|
|
1690
|
+
contents.AnomalousLogGroups = deserializeAws_restJson1AnomalousLogGroups(data.AnomalousLogGroups, context);
|
|
1691
|
+
}
|
|
1692
|
+
if (data.InsightId !== undefined && data.InsightId !== null) {
|
|
1693
|
+
contents.InsightId = (0, smithy_client_1.expectString)(data.InsightId);
|
|
1694
|
+
}
|
|
1695
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1696
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1697
|
+
}
|
|
1698
|
+
return Promise.resolve(contents);
|
|
1699
|
+
};
|
|
1700
|
+
exports.deserializeAws_restJson1ListAnomalousLogGroupsCommand = deserializeAws_restJson1ListAnomalousLogGroupsCommand;
|
|
1701
|
+
const deserializeAws_restJson1ListAnomalousLogGroupsCommandError = async (output, context) => {
|
|
1702
|
+
const parsedOutput = {
|
|
1703
|
+
...output,
|
|
1704
|
+
body: await parseBody(output.body, context),
|
|
1705
|
+
};
|
|
1706
|
+
let response;
|
|
1707
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1708
|
+
switch (errorCode) {
|
|
1709
|
+
case "AccessDeniedException":
|
|
1710
|
+
case "com.amazonaws.devopsguru#AccessDeniedException":
|
|
1711
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1712
|
+
case "InternalServerException":
|
|
1713
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1714
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1715
|
+
case "ResourceNotFoundException":
|
|
1716
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1717
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1718
|
+
case "ThrottlingException":
|
|
1719
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1720
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1721
|
+
case "ValidationException":
|
|
1722
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1723
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1724
|
+
default:
|
|
1725
|
+
const parsedBody = parsedOutput.body;
|
|
1726
|
+
const $metadata = deserializeMetadata(output);
|
|
1727
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1728
|
+
response = new DevOpsGuruServiceException_1.DevOpsGuruServiceException({
|
|
1729
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1730
|
+
$fault: "client",
|
|
1731
|
+
$metadata,
|
|
1732
|
+
});
|
|
1733
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1734
|
+
}
|
|
1735
|
+
};
|
|
1627
1736
|
const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
|
|
1628
1737
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1629
1738
|
return deserializeAws_restJson1ListEventsCommandError(output, context);
|
|
@@ -1733,6 +1842,57 @@ const deserializeAws_restJson1ListInsightsCommandError = async (output, context)
|
|
|
1733
1842
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1734
1843
|
}
|
|
1735
1844
|
};
|
|
1845
|
+
const deserializeAws_restJson1ListMonitoredResourcesCommand = async (output, context) => {
|
|
1846
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1847
|
+
return deserializeAws_restJson1ListMonitoredResourcesCommandError(output, context);
|
|
1848
|
+
}
|
|
1849
|
+
const contents = {
|
|
1850
|
+
$metadata: deserializeMetadata(output),
|
|
1851
|
+
MonitoredResourceIdentifiers: undefined,
|
|
1852
|
+
NextToken: undefined,
|
|
1853
|
+
};
|
|
1854
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1855
|
+
if (data.MonitoredResourceIdentifiers !== undefined && data.MonitoredResourceIdentifiers !== null) {
|
|
1856
|
+
contents.MonitoredResourceIdentifiers = deserializeAws_restJson1MonitoredResourceIdentifiers(data.MonitoredResourceIdentifiers, context);
|
|
1857
|
+
}
|
|
1858
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1859
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1860
|
+
}
|
|
1861
|
+
return Promise.resolve(contents);
|
|
1862
|
+
};
|
|
1863
|
+
exports.deserializeAws_restJson1ListMonitoredResourcesCommand = deserializeAws_restJson1ListMonitoredResourcesCommand;
|
|
1864
|
+
const deserializeAws_restJson1ListMonitoredResourcesCommandError = async (output, context) => {
|
|
1865
|
+
const parsedOutput = {
|
|
1866
|
+
...output,
|
|
1867
|
+
body: await parseBody(output.body, context),
|
|
1868
|
+
};
|
|
1869
|
+
let response;
|
|
1870
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1871
|
+
switch (errorCode) {
|
|
1872
|
+
case "InternalServerException":
|
|
1873
|
+
case "com.amazonaws.devopsguru#InternalServerException":
|
|
1874
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1875
|
+
case "ResourceNotFoundException":
|
|
1876
|
+
case "com.amazonaws.devopsguru#ResourceNotFoundException":
|
|
1877
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1878
|
+
case "ThrottlingException":
|
|
1879
|
+
case "com.amazonaws.devopsguru#ThrottlingException":
|
|
1880
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
1881
|
+
case "ValidationException":
|
|
1882
|
+
case "com.amazonaws.devopsguru#ValidationException":
|
|
1883
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1884
|
+
default:
|
|
1885
|
+
const parsedBody = parsedOutput.body;
|
|
1886
|
+
const $metadata = deserializeMetadata(output);
|
|
1887
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1888
|
+
response = new DevOpsGuruServiceException_1.DevOpsGuruServiceException({
|
|
1889
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1890
|
+
$fault: "client",
|
|
1891
|
+
$metadata,
|
|
1892
|
+
});
|
|
1893
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1894
|
+
}
|
|
1895
|
+
};
|
|
1736
1896
|
const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, context) => {
|
|
1737
1897
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1738
1898
|
return deserializeAws_restJson1ListNotificationChannelsCommandError(output, context);
|
|
@@ -2567,6 +2727,19 @@ const serializeAws_restJson1ListInsightsStatusFilter = (input, context) => {
|
|
|
2567
2727
|
}),
|
|
2568
2728
|
};
|
|
2569
2729
|
};
|
|
2730
|
+
const serializeAws_restJson1ListMonitoredResourcesFilters = (input, context) => {
|
|
2731
|
+
return {
|
|
2732
|
+
...(input.ResourcePermission != null && { ResourcePermission: input.ResourcePermission }),
|
|
2733
|
+
...(input.ResourceTypeFilters != null && {
|
|
2734
|
+
ResourceTypeFilters: serializeAws_restJson1ResourceTypeFilters(input.ResourceTypeFilters, context),
|
|
2735
|
+
}),
|
|
2736
|
+
};
|
|
2737
|
+
};
|
|
2738
|
+
const serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig = (input, context) => {
|
|
2739
|
+
return {
|
|
2740
|
+
...(input.OptInStatus != null && { OptInStatus: input.OptInStatus }),
|
|
2741
|
+
};
|
|
2742
|
+
};
|
|
2570
2743
|
const serializeAws_restJson1NotificationChannelConfig = (input, context) => {
|
|
2571
2744
|
return {
|
|
2572
2745
|
...(input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }),
|
|
@@ -2595,6 +2768,16 @@ const serializeAws_restJson1ResourceCollection = (input, context) => {
|
|
|
2595
2768
|
...(input.Tags != null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
|
|
2596
2769
|
};
|
|
2597
2770
|
};
|
|
2771
|
+
const serializeAws_restJson1ResourceTypeFilters = (input, context) => {
|
|
2772
|
+
return input
|
|
2773
|
+
.filter((e) => e != null)
|
|
2774
|
+
.map((entry) => {
|
|
2775
|
+
if (entry === null) {
|
|
2776
|
+
return null;
|
|
2777
|
+
}
|
|
2778
|
+
return entry;
|
|
2779
|
+
});
|
|
2780
|
+
};
|
|
2598
2781
|
const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
|
|
2599
2782
|
return input
|
|
2600
2783
|
.filter((e) => e != null)
|
|
@@ -2726,6 +2909,9 @@ const serializeAws_restJson1UpdateResourceCollectionFilter = (input, context) =>
|
|
|
2726
2909
|
};
|
|
2727
2910
|
const serializeAws_restJson1UpdateServiceIntegrationConfig = (input, context) => {
|
|
2728
2911
|
return {
|
|
2912
|
+
...(input.LogsAnomalyDetection != null && {
|
|
2913
|
+
LogsAnomalyDetection: serializeAws_restJson1LogsAnomalyDetectionIntegrationConfig(input.LogsAnomalyDetection, context),
|
|
2914
|
+
}),
|
|
2729
2915
|
...(input.OpsCenter != null && {
|
|
2730
2916
|
OpsCenter: serializeAws_restJson1OpsCenterIntegrationConfig(input.OpsCenter, context),
|
|
2731
2917
|
}),
|
|
@@ -2795,6 +2981,32 @@ const deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = (output, conte
|
|
|
2795
2981
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2796
2982
|
};
|
|
2797
2983
|
};
|
|
2984
|
+
const deserializeAws_restJson1AnomalousLogGroup = (output, context) => {
|
|
2985
|
+
return {
|
|
2986
|
+
ImpactEndTime: output.ImpactEndTime != null
|
|
2987
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ImpactEndTime)))
|
|
2988
|
+
: undefined,
|
|
2989
|
+
ImpactStartTime: output.ImpactStartTime != null
|
|
2990
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ImpactStartTime)))
|
|
2991
|
+
: undefined,
|
|
2992
|
+
LogAnomalyShowcases: output.LogAnomalyShowcases != null
|
|
2993
|
+
? deserializeAws_restJson1LogAnomalyShowcases(output.LogAnomalyShowcases, context)
|
|
2994
|
+
: undefined,
|
|
2995
|
+
LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
|
|
2996
|
+
NumberOfLogLinesScanned: (0, smithy_client_1.expectInt32)(output.NumberOfLogLinesScanned),
|
|
2997
|
+
};
|
|
2998
|
+
};
|
|
2999
|
+
const deserializeAws_restJson1AnomalousLogGroups = (output, context) => {
|
|
3000
|
+
const retVal = (output || [])
|
|
3001
|
+
.filter((e) => e != null)
|
|
3002
|
+
.map((entry) => {
|
|
3003
|
+
if (entry === null) {
|
|
3004
|
+
return null;
|
|
3005
|
+
}
|
|
3006
|
+
return deserializeAws_restJson1AnomalousLogGroup(entry, context);
|
|
3007
|
+
});
|
|
3008
|
+
return retVal;
|
|
3009
|
+
};
|
|
2798
3010
|
const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
|
|
2799
3011
|
return {
|
|
2800
3012
|
CloseTime: output.CloseTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CloseTime))) : undefined,
|
|
@@ -3055,6 +3267,71 @@ const deserializeAws_restJson1InsightTimeRange = (output, context) => {
|
|
|
3055
3267
|
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3056
3268
|
};
|
|
3057
3269
|
};
|
|
3270
|
+
const deserializeAws_restJson1LogAnomalyClass = (output, context) => {
|
|
3271
|
+
return {
|
|
3272
|
+
Explanation: (0, smithy_client_1.expectString)(output.Explanation),
|
|
3273
|
+
LogAnomalyToken: (0, smithy_client_1.expectString)(output.LogAnomalyToken),
|
|
3274
|
+
LogAnomalyType: (0, smithy_client_1.expectString)(output.LogAnomalyType),
|
|
3275
|
+
LogEventId: (0, smithy_client_1.expectString)(output.LogEventId),
|
|
3276
|
+
LogEventTimestamp: output.LogEventTimestamp != null
|
|
3277
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LogEventTimestamp)))
|
|
3278
|
+
: undefined,
|
|
3279
|
+
LogStreamName: (0, smithy_client_1.expectString)(output.LogStreamName),
|
|
3280
|
+
NumberOfLogLinesOccurrences: (0, smithy_client_1.expectInt32)(output.NumberOfLogLinesOccurrences),
|
|
3281
|
+
};
|
|
3282
|
+
};
|
|
3283
|
+
const deserializeAws_restJson1LogAnomalyClasses = (output, context) => {
|
|
3284
|
+
const retVal = (output || [])
|
|
3285
|
+
.filter((e) => e != null)
|
|
3286
|
+
.map((entry) => {
|
|
3287
|
+
if (entry === null) {
|
|
3288
|
+
return null;
|
|
3289
|
+
}
|
|
3290
|
+
return deserializeAws_restJson1LogAnomalyClass(entry, context);
|
|
3291
|
+
});
|
|
3292
|
+
return retVal;
|
|
3293
|
+
};
|
|
3294
|
+
const deserializeAws_restJson1LogAnomalyShowcase = (output, context) => {
|
|
3295
|
+
return {
|
|
3296
|
+
LogAnomalyClasses: output.LogAnomalyClasses != null
|
|
3297
|
+
? deserializeAws_restJson1LogAnomalyClasses(output.LogAnomalyClasses, context)
|
|
3298
|
+
: undefined,
|
|
3299
|
+
};
|
|
3300
|
+
};
|
|
3301
|
+
const deserializeAws_restJson1LogAnomalyShowcases = (output, context) => {
|
|
3302
|
+
const retVal = (output || [])
|
|
3303
|
+
.filter((e) => e != null)
|
|
3304
|
+
.map((entry) => {
|
|
3305
|
+
if (entry === null) {
|
|
3306
|
+
return null;
|
|
3307
|
+
}
|
|
3308
|
+
return deserializeAws_restJson1LogAnomalyShowcase(entry, context);
|
|
3309
|
+
});
|
|
3310
|
+
return retVal;
|
|
3311
|
+
};
|
|
3312
|
+
const deserializeAws_restJson1LogsAnomalyDetectionIntegration = (output, context) => {
|
|
3313
|
+
return {
|
|
3314
|
+
OptInStatus: (0, smithy_client_1.expectString)(output.OptInStatus),
|
|
3315
|
+
};
|
|
3316
|
+
};
|
|
3317
|
+
const deserializeAws_restJson1MonitoredResourceIdentifier = (output, context) => {
|
|
3318
|
+
return {
|
|
3319
|
+
MonitoredResourceName: (0, smithy_client_1.expectString)(output.MonitoredResourceName),
|
|
3320
|
+
ResourcePermission: (0, smithy_client_1.expectString)(output.ResourcePermission),
|
|
3321
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3322
|
+
};
|
|
3323
|
+
};
|
|
3324
|
+
const deserializeAws_restJson1MonitoredResourceIdentifiers = (output, context) => {
|
|
3325
|
+
const retVal = (output || [])
|
|
3326
|
+
.filter((e) => e != null)
|
|
3327
|
+
.map((entry) => {
|
|
3328
|
+
if (entry === null) {
|
|
3329
|
+
return null;
|
|
3330
|
+
}
|
|
3331
|
+
return deserializeAws_restJson1MonitoredResourceIdentifier(entry, context);
|
|
3332
|
+
});
|
|
3333
|
+
return retVal;
|
|
3334
|
+
};
|
|
3058
3335
|
const deserializeAws_restJson1NotificationChannel = (output, context) => {
|
|
3059
3336
|
return {
|
|
3060
3337
|
Config: output.Config != null ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context) : undefined,
|
|
@@ -3689,6 +3966,9 @@ const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
|
|
|
3689
3966
|
};
|
|
3690
3967
|
const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
|
|
3691
3968
|
return {
|
|
3969
|
+
LogsAnomalyDetection: output.LogsAnomalyDetection != null
|
|
3970
|
+
? deserializeAws_restJson1LogsAnomalyDetectionIntegration(output.LogsAnomalyDetection, context)
|
|
3971
|
+
: undefined,
|
|
3692
3972
|
OpsCenter: output.OpsCenter != null ? deserializeAws_restJson1OpsCenterIntegration(output.OpsCenter, context) : undefined,
|
|
3693
3973
|
};
|
|
3694
3974
|
};
|
package/dist-es/DevOpsGuru.js
CHANGED
|
@@ -15,8 +15,10 @@ import { DescribeServiceIntegrationCommand, } from "./commands/DescribeServiceIn
|
|
|
15
15
|
import { GetCostEstimationCommand, } from "./commands/GetCostEstimationCommand";
|
|
16
16
|
import { GetResourceCollectionCommand, } from "./commands/GetResourceCollectionCommand";
|
|
17
17
|
import { ListAnomaliesForInsightCommand, } from "./commands/ListAnomaliesForInsightCommand";
|
|
18
|
+
import { ListAnomalousLogGroupsCommand, } from "./commands/ListAnomalousLogGroupsCommand";
|
|
18
19
|
import { ListEventsCommand } from "./commands/ListEventsCommand";
|
|
19
20
|
import { ListInsightsCommand, } from "./commands/ListInsightsCommand";
|
|
21
|
+
import { ListMonitoredResourcesCommand, } from "./commands/ListMonitoredResourcesCommand";
|
|
20
22
|
import { ListNotificationChannelsCommand, } from "./commands/ListNotificationChannelsCommand";
|
|
21
23
|
import { ListOrganizationInsightsCommand, } from "./commands/ListOrganizationInsightsCommand";
|
|
22
24
|
import { ListRecommendationsCommand, } from "./commands/ListRecommendationsCommand";
|
|
@@ -258,6 +260,20 @@ var DevOpsGuru = (function (_super) {
|
|
|
258
260
|
return this.send(command, optionsOrCb);
|
|
259
261
|
}
|
|
260
262
|
};
|
|
263
|
+
DevOpsGuru.prototype.listAnomalousLogGroups = function (args, optionsOrCb, cb) {
|
|
264
|
+
var command = new ListAnomalousLogGroupsCommand(args);
|
|
265
|
+
if (typeof optionsOrCb === "function") {
|
|
266
|
+
this.send(command, optionsOrCb);
|
|
267
|
+
}
|
|
268
|
+
else if (typeof cb === "function") {
|
|
269
|
+
if (typeof optionsOrCb !== "object")
|
|
270
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
271
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
+
}
|
|
273
|
+
else {
|
|
274
|
+
return this.send(command, optionsOrCb);
|
|
275
|
+
}
|
|
276
|
+
};
|
|
261
277
|
DevOpsGuru.prototype.listEvents = function (args, optionsOrCb, cb) {
|
|
262
278
|
var command = new ListEventsCommand(args);
|
|
263
279
|
if (typeof optionsOrCb === "function") {
|
|
@@ -286,6 +302,20 @@ var DevOpsGuru = (function (_super) {
|
|
|
286
302
|
return this.send(command, optionsOrCb);
|
|
287
303
|
}
|
|
288
304
|
};
|
|
305
|
+
DevOpsGuru.prototype.listMonitoredResources = function (args, optionsOrCb, cb) {
|
|
306
|
+
var command = new ListMonitoredResourcesCommand(args);
|
|
307
|
+
if (typeof optionsOrCb === "function") {
|
|
308
|
+
this.send(command, optionsOrCb);
|
|
309
|
+
}
|
|
310
|
+
else if (typeof cb === "function") {
|
|
311
|
+
if (typeof optionsOrCb !== "object")
|
|
312
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
313
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
314
|
+
}
|
|
315
|
+
else {
|
|
316
|
+
return this.send(command, optionsOrCb);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
289
319
|
DevOpsGuru.prototype.listNotificationChannels = function (args, optionsOrCb, cb) {
|
|
290
320
|
var command = new ListNotificationChannelsCommand(args);
|
|
291
321
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AddNotificationChannelRequestFilterSensitiveLog, AddNotificationChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1AddNotificationChannelCommand, serializeAws_restJson1AddNotificationChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var AddNotificationChannelCommand = (function (_super) {
|
|
7
7
|
__extends(AddNotificationChannelCommand, _super);
|
|
@@ -20,8 +20,8 @@ var AddNotificationChannelCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AddNotificationChannelRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AddNotificationChannelResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteInsightRequestFilterSensitiveLog, DeleteInsightResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteInsightCommand, serializeAws_restJson1DeleteInsightCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteInsightCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteInsightCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteInsightCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteInsightRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteInsightResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAccountHealthRequestFilterSensitiveLog, DescribeAccountHealthResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAccountHealthCommand, serializeAws_restJson1DescribeAccountHealthCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DescribeAccountHealthCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeAccountHealthCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeAccountHealthCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeAccountHealthRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeAccountHealthResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAccountOverviewRequestFilterSensitiveLog, DescribeAccountOverviewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAccountOverviewCommand, serializeAws_restJson1DescribeAccountOverviewCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DescribeAccountOverviewCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeAccountOverviewCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeAccountOverviewCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeAccountOverviewRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeAccountOverviewResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAnomalyRequestFilterSensitiveLog, DescribeAnomalyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAnomalyCommand, serializeAws_restJson1DescribeAnomalyCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DescribeAnomalyCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeAnomalyCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeAnomalyCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeAnomalyRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeAnomalyResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeEventSourcesConfigRequestFilterSensitiveLog, DescribeEventSourcesConfigResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeEventSourcesConfigCommand, serializeAws_restJson1DescribeEventSourcesConfigCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DescribeEventSourcesConfigCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeEventSourcesConfigCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeEventSourcesConfigCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeEventSourcesConfigRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeEventSourcesConfigResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|