@aws-sdk/client-devops-guru 3.131.0 → 3.133.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 +11 -0
- package/dist-cjs/DevOpsGuru.js +30 -0
- package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListMonitoredResourcesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +90 -4
- 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/ListAnomalousLogGroupsCommand.js +39 -0
- package/dist-es/commands/ListMonitoredResourcesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +64 -0
- 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 +331 -3
- 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 +156 -0
- 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 +1 -1
|
@@ -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") {
|
|
@@ -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 { ListAnomalousLogGroupsRequest, ListAnomalousLogGroupsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAnomalousLogGroupsCommand, serializeAws_restJson1ListAnomalousLogGroupsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListAnomalousLogGroupsCommand = (function (_super) {
|
|
7
|
+
__extends(ListAnomalousLogGroupsCommand, _super);
|
|
8
|
+
function ListAnomalousLogGroupsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListAnomalousLogGroupsCommand.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 = "ListAnomalousLogGroupsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListAnomalousLogGroupsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListAnomalousLogGroupsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListAnomalousLogGroupsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListAnomalousLogGroupsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListAnomalousLogGroupsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListAnomalousLogGroupsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListAnomalousLogGroupsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListAnomalousLogGroupsCommand };
|
|
@@ -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 { ListMonitoredResourcesRequest, ListMonitoredResourcesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListMonitoredResourcesCommand, serializeAws_restJson1ListMonitoredResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListMonitoredResourcesCommand = (function (_super) {
|
|
7
|
+
__extends(ListMonitoredResourcesCommand, _super);
|
|
8
|
+
function ListMonitoredResourcesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListMonitoredResourcesCommand.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 = "ListMonitoredResourcesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListMonitoredResourcesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListMonitoredResourcesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListMonitoredResourcesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListMonitoredResourcesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListMonitoredResourcesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListMonitoredResourcesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListMonitoredResourcesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMonitoredResourcesCommand };
|
|
@@ -14,8 +14,10 @@ export * from "./DescribeServiceIntegrationCommand";
|
|
|
14
14
|
export * from "./GetCostEstimationCommand";
|
|
15
15
|
export * from "./GetResourceCollectionCommand";
|
|
16
16
|
export * from "./ListAnomaliesForInsightCommand";
|
|
17
|
+
export * from "./ListAnomalousLogGroupsCommand";
|
|
17
18
|
export * from "./ListEventsCommand";
|
|
18
19
|
export * from "./ListInsightsCommand";
|
|
20
|
+
export * from "./ListMonitoredResourcesCommand";
|
|
19
21
|
export * from "./ListNotificationChannelsCommand";
|
|
20
22
|
export * from "./ListOrganizationInsightsCommand";
|
|
21
23
|
export * from "./ListRecommendationsCommand";
|
|
@@ -147,6 +147,29 @@ export var AmazonCodeGuruProfilerIntegration;
|
|
|
147
147
|
(function (AmazonCodeGuruProfilerIntegration) {
|
|
148
148
|
AmazonCodeGuruProfilerIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
149
|
})(AmazonCodeGuruProfilerIntegration || (AmazonCodeGuruProfilerIntegration = {}));
|
|
150
|
+
export var LogAnomalyType;
|
|
151
|
+
(function (LogAnomalyType) {
|
|
152
|
+
LogAnomalyType["BLOCK_FORMAT"] = "BLOCK_FORMAT";
|
|
153
|
+
LogAnomalyType["FORMAT"] = "FORMAT";
|
|
154
|
+
LogAnomalyType["HTTP_CODE"] = "HTTP_CODE";
|
|
155
|
+
LogAnomalyType["KEYWORD"] = "KEYWORD";
|
|
156
|
+
LogAnomalyType["KEYWORD_TOKEN"] = "KEYWORD_TOKEN";
|
|
157
|
+
LogAnomalyType["NEW_FIELD_NAME"] = "NEW_FIELD_NAME";
|
|
158
|
+
LogAnomalyType["NUMERICAL_NAN"] = "NUMERICAL_NAN";
|
|
159
|
+
LogAnomalyType["NUMERICAL_POINT"] = "NUMERICAL_POINT";
|
|
160
|
+
})(LogAnomalyType || (LogAnomalyType = {}));
|
|
161
|
+
export var LogAnomalyClass;
|
|
162
|
+
(function (LogAnomalyClass) {
|
|
163
|
+
LogAnomalyClass.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
})(LogAnomalyClass || (LogAnomalyClass = {}));
|
|
165
|
+
export var LogAnomalyShowcase;
|
|
166
|
+
(function (LogAnomalyShowcase) {
|
|
167
|
+
LogAnomalyShowcase.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
})(LogAnomalyShowcase || (LogAnomalyShowcase = {}));
|
|
169
|
+
export var AnomalousLogGroup;
|
|
170
|
+
(function (AnomalousLogGroup) {
|
|
171
|
+
AnomalousLogGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
})(AnomalousLogGroup || (AnomalousLogGroup = {}));
|
|
150
173
|
export var AnomalyReportedTimeRange;
|
|
151
174
|
(function (AnomalyReportedTimeRange) {
|
|
152
175
|
AnomalyReportedTimeRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -469,6 +492,10 @@ export var OptInStatus;
|
|
|
469
492
|
OptInStatus["DISABLED"] = "DISABLED";
|
|
470
493
|
OptInStatus["ENABLED"] = "ENABLED";
|
|
471
494
|
})(OptInStatus || (OptInStatus = {}));
|
|
495
|
+
export var LogsAnomalyDetectionIntegration;
|
|
496
|
+
(function (LogsAnomalyDetectionIntegration) {
|
|
497
|
+
LogsAnomalyDetectionIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
498
|
+
})(LogsAnomalyDetectionIntegration || (LogsAnomalyDetectionIntegration = {}));
|
|
472
499
|
export var OpsCenterIntegration;
|
|
473
500
|
(function (OpsCenterIntegration) {
|
|
474
501
|
OpsCenterIntegration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -559,6 +586,14 @@ export var ListAnomaliesForInsightResponse;
|
|
|
559
586
|
(function (ListAnomaliesForInsightResponse) {
|
|
560
587
|
ListAnomaliesForInsightResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
561
588
|
})(ListAnomaliesForInsightResponse || (ListAnomaliesForInsightResponse = {}));
|
|
589
|
+
export var ListAnomalousLogGroupsRequest;
|
|
590
|
+
(function (ListAnomalousLogGroupsRequest) {
|
|
591
|
+
ListAnomalousLogGroupsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
592
|
+
})(ListAnomalousLogGroupsRequest || (ListAnomalousLogGroupsRequest = {}));
|
|
593
|
+
export var ListAnomalousLogGroupsResponse;
|
|
594
|
+
(function (ListAnomalousLogGroupsResponse) {
|
|
595
|
+
ListAnomalousLogGroupsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
596
|
+
})(ListAnomalousLogGroupsResponse || (ListAnomalousLogGroupsResponse = {}));
|
|
562
597
|
export var EventDataSource;
|
|
563
598
|
(function (EventDataSource) {
|
|
564
599
|
EventDataSource["AWS_CLOUD_TRAIL"] = "AWS_CLOUD_TRAIL";
|
|
@@ -641,6 +676,31 @@ export var ListInsightsResponse;
|
|
|
641
676
|
(function (ListInsightsResponse) {
|
|
642
677
|
ListInsightsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
643
678
|
})(ListInsightsResponse || (ListInsightsResponse = {}));
|
|
679
|
+
export var ResourcePermission;
|
|
680
|
+
(function (ResourcePermission) {
|
|
681
|
+
ResourcePermission["FULL_PERMISSION"] = "FULL_PERMISSION";
|
|
682
|
+
ResourcePermission["MISSING_PERMISSION"] = "MISSING_PERMISSION";
|
|
683
|
+
})(ResourcePermission || (ResourcePermission = {}));
|
|
684
|
+
export var ResourceTypeFilter;
|
|
685
|
+
(function (ResourceTypeFilter) {
|
|
686
|
+
ResourceTypeFilter["LOG_GROUPS"] = "LOG_GROUPS";
|
|
687
|
+
})(ResourceTypeFilter || (ResourceTypeFilter = {}));
|
|
688
|
+
export var ListMonitoredResourcesFilters;
|
|
689
|
+
(function (ListMonitoredResourcesFilters) {
|
|
690
|
+
ListMonitoredResourcesFilters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
691
|
+
})(ListMonitoredResourcesFilters || (ListMonitoredResourcesFilters = {}));
|
|
692
|
+
export var ListMonitoredResourcesRequest;
|
|
693
|
+
(function (ListMonitoredResourcesRequest) {
|
|
694
|
+
ListMonitoredResourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
695
|
+
})(ListMonitoredResourcesRequest || (ListMonitoredResourcesRequest = {}));
|
|
696
|
+
export var MonitoredResourceIdentifier;
|
|
697
|
+
(function (MonitoredResourceIdentifier) {
|
|
698
|
+
MonitoredResourceIdentifier.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
699
|
+
})(MonitoredResourceIdentifier || (MonitoredResourceIdentifier = {}));
|
|
700
|
+
export var ListMonitoredResourcesResponse;
|
|
701
|
+
(function (ListMonitoredResourcesResponse) {
|
|
702
|
+
ListMonitoredResourcesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
703
|
+
})(ListMonitoredResourcesResponse || (ListMonitoredResourcesResponse = {}));
|
|
644
704
|
export var ListNotificationChannelsRequest;
|
|
645
705
|
(function (ListNotificationChannelsRequest) {
|
|
646
706
|
ListNotificationChannelsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -800,6 +860,10 @@ export var UpdateResourceCollectionResponse;
|
|
|
800
860
|
(function (UpdateResourceCollectionResponse) {
|
|
801
861
|
UpdateResourceCollectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
802
862
|
})(UpdateResourceCollectionResponse || (UpdateResourceCollectionResponse = {}));
|
|
863
|
+
export var LogsAnomalyDetectionIntegrationConfig;
|
|
864
|
+
(function (LogsAnomalyDetectionIntegrationConfig) {
|
|
865
|
+
LogsAnomalyDetectionIntegrationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
866
|
+
})(LogsAnomalyDetectionIntegrationConfig || (LogsAnomalyDetectionIntegrationConfig = {}));
|
|
803
867
|
export var OpsCenterIntegrationConfig;
|
|
804
868
|
(function (OpsCenterIntegrationConfig) {
|
|
805
869
|
OpsCenterIntegrationConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|