@aws-sdk/client-devops-guru 3.181.0 → 3.183.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 +19 -0
- package/dist-cjs/models/models_0.js +22 -10
- package/dist-cjs/protocols/Aws_restJson1.js +47 -0
- package/dist-es/DevOpsGuru.js +126 -133
- package/dist-es/DevOpsGuruClient.js +22 -28
- package/dist-es/commands/AddNotificationChannelCommand.js +21 -28
- package/dist-es/commands/DeleteInsightCommand.js +21 -28
- package/dist-es/commands/DescribeAccountHealthCommand.js +21 -28
- package/dist-es/commands/DescribeAccountOverviewCommand.js +21 -28
- package/dist-es/commands/DescribeAnomalyCommand.js +21 -28
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +21 -28
- package/dist-es/commands/DescribeFeedbackCommand.js +21 -28
- package/dist-es/commands/DescribeInsightCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationHealthCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationOverviewCommand.js +21 -28
- package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +21 -28
- package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +21 -28
- package/dist-es/commands/DescribeServiceIntegrationCommand.js +21 -28
- package/dist-es/commands/GetCostEstimationCommand.js +21 -28
- package/dist-es/commands/GetResourceCollectionCommand.js +21 -28
- package/dist-es/commands/ListAnomaliesForInsightCommand.js +21 -28
- package/dist-es/commands/ListAnomalousLogGroupsCommand.js +21 -28
- package/dist-es/commands/ListEventsCommand.js +21 -28
- package/dist-es/commands/ListInsightsCommand.js +21 -28
- package/dist-es/commands/ListMonitoredResourcesCommand.js +21 -28
- package/dist-es/commands/ListNotificationChannelsCommand.js +21 -28
- package/dist-es/commands/ListOrganizationInsightsCommand.js +21 -28
- package/dist-es/commands/ListRecommendationsCommand.js +21 -28
- package/dist-es/commands/PutFeedbackCommand.js +21 -28
- package/dist-es/commands/RemoveNotificationChannelCommand.js +21 -28
- package/dist-es/commands/SearchInsightsCommand.js +21 -28
- package/dist-es/commands/SearchOrganizationInsightsCommand.js +21 -28
- package/dist-es/commands/StartCostEstimationCommand.js +21 -28
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +21 -28
- package/dist-es/commands/UpdateResourceCollectionCommand.js +21 -28
- package/dist-es/commands/UpdateServiceIntegrationCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DevOpsGuruServiceException.js +5 -10
- package/dist-es/models/models_0.js +561 -251
- package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +24 -67
- package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +24 -67
- package/dist-es/pagination/GetCostEstimationPaginator.js +24 -67
- package/dist-es/pagination/GetResourceCollectionPaginator.js +24 -67
- package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +25 -68
- package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListEventsPaginator.js +25 -68
- package/dist-es/pagination/ListInsightsPaginator.js +25 -68
- package/dist-es/pagination/ListMonitoredResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListNotificationChannelsPaginator.js +24 -67
- package/dist-es/pagination/ListOrganizationInsightsPaginator.js +25 -68
- package/dist-es/pagination/ListRecommendationsPaginator.js +24 -67
- package/dist-es/pagination/SearchInsightsPaginator.js +25 -68
- package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2809 -3616
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/models/models_0.d.ts +93 -54
- package/dist-types/ts3.4/models/models_0.d.ts +20 -5
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -12,15 +11,30 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
12
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
12
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
13
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
export const getRuntimeConfig = (config) => {
|
|
15
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
+
return {
|
|
19
|
+
...clientSharedValues,
|
|
20
|
+
...config,
|
|
21
|
+
runtime: "browser",
|
|
22
|
+
defaultsMode,
|
|
23
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
+
};
|
|
26
40
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
@@ -15,16 +14,35 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
16
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
18
|
-
export
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
20
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ??
|
|
37
|
+
loadNodeConfig({
|
|
38
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
+
}),
|
|
41
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
+
};
|
|
30
48
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
8
11
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
-
});
|
|
13
|
-
};
|
|
3
|
+
export const getRuntimeConfig = (config) => ({
|
|
4
|
+
apiVersion: "2020-12-01",
|
|
5
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
logger: config?.logger ?? {},
|
|
7
|
+
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
|
+
serviceId: config?.serviceId ?? "DevOps Guru",
|
|
9
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
10
|
+
});
|
|
@@ -48,6 +48,39 @@ export interface AccountHealth {
|
|
|
48
48
|
*/
|
|
49
49
|
Insight?: AccountInsightHealth;
|
|
50
50
|
}
|
|
51
|
+
export declare enum NotificationMessageType {
|
|
52
|
+
CLOSED_INSIGHT = "CLOSED_INSIGHT",
|
|
53
|
+
NEW_ASSOCIATION = "NEW_ASSOCIATION",
|
|
54
|
+
NEW_INSIGHT = "NEW_INSIGHT",
|
|
55
|
+
NEW_RECOMMENDATION = "NEW_RECOMMENDATION",
|
|
56
|
+
SEVERITY_UPGRADED = "SEVERITY_UPGRADED"
|
|
57
|
+
}
|
|
58
|
+
export declare enum InsightSeverity {
|
|
59
|
+
HIGH = "HIGH",
|
|
60
|
+
LOW = "LOW",
|
|
61
|
+
MEDIUM = "MEDIUM"
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>
|
|
65
|
+
* The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for.
|
|
66
|
+
* You can also choose to specify which severity levels to receive notifications for.
|
|
67
|
+
* </p>
|
|
68
|
+
*/
|
|
69
|
+
export interface NotificationFilterConfig {
|
|
70
|
+
/**
|
|
71
|
+
* <p>
|
|
72
|
+
* The severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with <code>HIGH</code> and <code>MEDIUM</code> severity levels.
|
|
73
|
+
* For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/working-with-insights.html#understanding-insights-severities">Understanding insight severities</a>.
|
|
74
|
+
* </p>
|
|
75
|
+
*/
|
|
76
|
+
Severities?: (InsightSeverity | string)[];
|
|
77
|
+
/**
|
|
78
|
+
* <p>
|
|
79
|
+
* The events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.
|
|
80
|
+
* </p>
|
|
81
|
+
*/
|
|
82
|
+
MessageTypes?: (NotificationMessageType | string)[];
|
|
83
|
+
}
|
|
51
84
|
/**
|
|
52
85
|
* <p> Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. </p>
|
|
53
86
|
* <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
|
|
@@ -84,6 +117,13 @@ export interface NotificationChannelConfig {
|
|
|
84
117
|
* Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
|
|
85
118
|
*/
|
|
86
119
|
Sns: SnsChannelConfig | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>
|
|
122
|
+
* The filter configurations for the Amazon SNS notification topic you use with DevOps Guru.
|
|
123
|
+
* If you do not provide filter configurations, the default configurations are to receive notifications for all message types of <code>High</code> or <code>Medium</code> severity.
|
|
124
|
+
* </p>
|
|
125
|
+
*/
|
|
126
|
+
Filters?: NotificationFilterConfig;
|
|
87
127
|
}
|
|
88
128
|
export interface AddNotificationChannelRequest {
|
|
89
129
|
/**
|
|
@@ -1029,7 +1069,7 @@ export interface CloudFormationCollection {
|
|
|
1029
1069
|
StackNames?: string[];
|
|
1030
1070
|
}
|
|
1031
1071
|
/**
|
|
1032
|
-
* <p>A collection of Amazon Web Services
|
|
1072
|
+
* <p>A collection of Amazon Web Services tags.</p>
|
|
1033
1073
|
* <p>Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support
|
|
1034
1074
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1035
1075
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
@@ -1055,11 +1095,11 @@ export interface CloudFormationCollection {
|
|
|
1055
1095
|
* <important>
|
|
1056
1096
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1057
1097
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1058
|
-
* <code>
|
|
1059
|
-
* <code>
|
|
1060
|
-
*
|
|
1098
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1099
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1100
|
+
* For example, DevOps Guru works with a
|
|
1061
1101
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1062
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1102
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1063
1103
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1064
1104
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1065
1105
|
* </important>
|
|
@@ -1072,11 +1112,11 @@ export interface TagCollection {
|
|
|
1072
1112
|
* <important>
|
|
1073
1113
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1074
1114
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1075
|
-
* <code>
|
|
1076
|
-
* <code>
|
|
1077
|
-
*
|
|
1115
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1116
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1117
|
+
* For example, DevOps Guru works with a
|
|
1078
1118
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1079
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1119
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1080
1120
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1081
1121
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1082
1122
|
* </important>
|
|
@@ -1132,11 +1172,11 @@ export interface ResourceCollection {
|
|
|
1132
1172
|
* <important>
|
|
1133
1173
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1134
1174
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1135
|
-
* <code>
|
|
1136
|
-
* <code>
|
|
1137
|
-
*
|
|
1175
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1176
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1177
|
+
* For example, DevOps Guru works with a
|
|
1138
1178
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1139
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1179
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1140
1180
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1141
1181
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1142
1182
|
* </important>
|
|
@@ -1381,11 +1421,6 @@ export interface InsightTimeRange {
|
|
|
1381
1421
|
*/
|
|
1382
1422
|
EndTime?: Date;
|
|
1383
1423
|
}
|
|
1384
|
-
export declare enum InsightSeverity {
|
|
1385
|
-
HIGH = "HIGH",
|
|
1386
|
-
LOW = "LOW",
|
|
1387
|
-
MEDIUM = "MEDIUM"
|
|
1388
|
-
}
|
|
1389
1424
|
export declare enum InsightStatus {
|
|
1390
1425
|
CLOSED = "CLOSED",
|
|
1391
1426
|
ONGOING = "ONGOING"
|
|
@@ -1696,11 +1731,11 @@ export interface TagHealth {
|
|
|
1696
1731
|
* <important>
|
|
1697
1732
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1698
1733
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1699
|
-
* <code>
|
|
1700
|
-
* <code>
|
|
1701
|
-
*
|
|
1734
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1735
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1736
|
+
* For example, DevOps Guru works with a
|
|
1702
1737
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1703
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1738
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1704
1739
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1705
1740
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1706
1741
|
* </important>
|
|
@@ -1770,11 +1805,11 @@ export interface DescribeOrganizationResourceCollectionHealthResponse {
|
|
|
1770
1805
|
* <important>
|
|
1771
1806
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1772
1807
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1773
|
-
* <code>
|
|
1774
|
-
* <code>
|
|
1775
|
-
*
|
|
1808
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1809
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1810
|
+
* For example, DevOps Guru works with a
|
|
1776
1811
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1777
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1812
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1778
1813
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1779
1814
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1780
1815
|
* </important>
|
|
@@ -1844,11 +1879,11 @@ export interface DescribeResourceCollectionHealthResponse {
|
|
|
1844
1879
|
* <important>
|
|
1845
1880
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1846
1881
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1847
|
-
* <code>
|
|
1848
|
-
* <code>
|
|
1849
|
-
*
|
|
1882
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
1883
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
1884
|
+
* For example, DevOps Guru works with a
|
|
1850
1885
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1851
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1886
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1852
1887
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1853
1888
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1854
1889
|
* </important>
|
|
@@ -1985,11 +2020,11 @@ export interface TagCostEstimationResourceCollectionFilter {
|
|
|
1985
2020
|
* <important>
|
|
1986
2021
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
1987
2022
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
1988
|
-
* <code>
|
|
1989
|
-
* <code>
|
|
1990
|
-
*
|
|
2023
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2024
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2025
|
+
* For example, DevOps Guru works with a
|
|
1991
2026
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
1992
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2027
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
1993
2028
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
1994
2029
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
1995
2030
|
* </important>
|
|
@@ -2047,11 +2082,11 @@ export interface CostEstimationResourceCollectionFilter {
|
|
|
2047
2082
|
* <important>
|
|
2048
2083
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2049
2084
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2050
|
-
* <code>
|
|
2051
|
-
* <code>
|
|
2052
|
-
*
|
|
2085
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2086
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2087
|
+
* For example, DevOps Guru works with a
|
|
2053
2088
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2054
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2089
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2055
2090
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2056
2091
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2057
2092
|
* </important>
|
|
@@ -2144,11 +2179,11 @@ export interface TagCollectionFilter {
|
|
|
2144
2179
|
* <important>
|
|
2145
2180
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2146
2181
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2147
|
-
* <code>
|
|
2148
|
-
* <code>
|
|
2149
|
-
*
|
|
2182
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2183
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2184
|
+
* For example, DevOps Guru works with a
|
|
2150
2185
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2151
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2186
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2152
2187
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2153
2188
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2154
2189
|
* </important>
|
|
@@ -2204,11 +2239,11 @@ export interface ResourceCollectionFilter {
|
|
|
2204
2239
|
* <important>
|
|
2205
2240
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
2206
2241
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
2207
|
-
* <code>
|
|
2208
|
-
* <code>
|
|
2209
|
-
*
|
|
2242
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
2243
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
2244
|
+
* For example, DevOps Guru works with a
|
|
2210
2245
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
2211
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2246
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
2212
2247
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
2213
2248
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
2214
2249
|
* </important>
|
|
@@ -3495,11 +3530,11 @@ export interface UpdateTagCollectionFilter {
|
|
|
3495
3530
|
* <important>
|
|
3496
3531
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
3497
3532
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
3498
|
-
* <code>
|
|
3499
|
-
* <code>
|
|
3500
|
-
*
|
|
3533
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
3534
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
3535
|
+
* For example, DevOps Guru works with a
|
|
3501
3536
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
3502
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3537
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3503
3538
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
3504
3539
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
3505
3540
|
* </important>
|
|
@@ -3551,11 +3586,11 @@ export interface UpdateResourceCollectionFilter {
|
|
|
3551
3586
|
* <important>
|
|
3552
3587
|
* <p>The string used for a <i>key</i> in a tag that you use to define your resource coverage must begin with the
|
|
3553
3588
|
* prefix <code>Devops-guru-</code>. The tag <i>key</i> might be
|
|
3554
|
-
* <code>
|
|
3555
|
-
* <code>
|
|
3556
|
-
*
|
|
3589
|
+
* <code>DevOps-Guru-deployment-application</code> or
|
|
3590
|
+
* <code>devops-guru-rds-application</code>. When you create a <i>key</i>, the case of characters in the <i>key</i> can be whatever you choose. After you create a <i>key</i>, it is case-sensitive.
|
|
3591
|
+
* For example, DevOps Guru works with a
|
|
3557
3592
|
* <i>key</i> named <code>devops-guru-rds</code> and a <i>key</i> named
|
|
3558
|
-
* <code>DevOps-Guru-RDS</code>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3593
|
+
* <code>DevOps-Guru-RDS</code>, and these act as two different <i>keys</i>. Possible <i>key</i>/<i>value</i> pairs in your
|
|
3559
3594
|
* application might be <code>Devops-Guru-production-application/RDS</code> or
|
|
3560
3595
|
* <code>Devops-Guru-production-application/containers</code>.</p>
|
|
3561
3596
|
* </important>
|
|
@@ -3631,6 +3666,10 @@ export declare const AccountInsightHealthFilterSensitiveLog: (obj: AccountInsigh
|
|
|
3631
3666
|
* @internal
|
|
3632
3667
|
*/
|
|
3633
3668
|
export declare const AccountHealthFilterSensitiveLog: (obj: AccountHealth) => any;
|
|
3669
|
+
/**
|
|
3670
|
+
* @internal
|
|
3671
|
+
*/
|
|
3672
|
+
export declare const NotificationFilterConfigFilterSensitiveLog: (obj: NotificationFilterConfig) => any;
|
|
3634
3673
|
/**
|
|
3635
3674
|
* @internal
|
|
3636
3675
|
*/
|
|
@@ -16,11 +16,28 @@ export interface AccountHealth {
|
|
|
16
16
|
AccountId?: string;
|
|
17
17
|
Insight?: AccountInsightHealth;
|
|
18
18
|
}
|
|
19
|
+
export declare enum NotificationMessageType {
|
|
20
|
+
CLOSED_INSIGHT = "CLOSED_INSIGHT",
|
|
21
|
+
NEW_ASSOCIATION = "NEW_ASSOCIATION",
|
|
22
|
+
NEW_INSIGHT = "NEW_INSIGHT",
|
|
23
|
+
NEW_RECOMMENDATION = "NEW_RECOMMENDATION",
|
|
24
|
+
SEVERITY_UPGRADED = "SEVERITY_UPGRADED",
|
|
25
|
+
}
|
|
26
|
+
export declare enum InsightSeverity {
|
|
27
|
+
HIGH = "HIGH",
|
|
28
|
+
LOW = "LOW",
|
|
29
|
+
MEDIUM = "MEDIUM",
|
|
30
|
+
}
|
|
31
|
+
export interface NotificationFilterConfig {
|
|
32
|
+
Severities?: (InsightSeverity | string)[];
|
|
33
|
+
MessageTypes?: (NotificationMessageType | string)[];
|
|
34
|
+
}
|
|
19
35
|
export interface SnsChannelConfig {
|
|
20
36
|
TopicArn?: string;
|
|
21
37
|
}
|
|
22
38
|
export interface NotificationChannelConfig {
|
|
23
39
|
Sns: SnsChannelConfig | undefined;
|
|
40
|
+
Filters?: NotificationFilterConfig;
|
|
24
41
|
}
|
|
25
42
|
export interface AddNotificationChannelRequest {
|
|
26
43
|
Config: NotificationChannelConfig | undefined;
|
|
@@ -343,11 +360,6 @@ export interface InsightTimeRange {
|
|
|
343
360
|
StartTime: Date | undefined;
|
|
344
361
|
EndTime?: Date;
|
|
345
362
|
}
|
|
346
|
-
export declare enum InsightSeverity {
|
|
347
|
-
HIGH = "HIGH",
|
|
348
|
-
LOW = "LOW",
|
|
349
|
-
MEDIUM = "MEDIUM",
|
|
350
|
-
}
|
|
351
363
|
export declare enum InsightStatus {
|
|
352
364
|
CLOSED = "CLOSED",
|
|
353
365
|
ONGOING = "ONGOING",
|
|
@@ -945,6 +957,9 @@ export declare const AccountInsightHealthFilterSensitiveLog: (
|
|
|
945
957
|
export declare const AccountHealthFilterSensitiveLog: (
|
|
946
958
|
obj: AccountHealth
|
|
947
959
|
) => any;
|
|
960
|
+
export declare const NotificationFilterConfigFilterSensitiveLog: (
|
|
961
|
+
obj: NotificationFilterConfig
|
|
962
|
+
) => any;
|
|
948
963
|
export declare const SnsChannelConfigFilterSensitiveLog: (
|
|
949
964
|
obj: SnsChannelConfig
|
|
950
965
|
) => any;
|
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.183.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",
|
|
@@ -19,42 +19,42 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.183.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.183.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.183.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.183.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.183.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.183.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.183.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.183.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.183.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.183.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.183.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.183.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.183.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.183.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.183.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.183.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.183.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.183.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.183.0",
|
|
41
|
+
"@aws-sdk/types": "3.183.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.183.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.183.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.183.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.183.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.183.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.183.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.183.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.183.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.183.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.183.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.183.0",
|
|
53
53
|
"tslib": "^2.3.1",
|
|
54
54
|
"uuid": "^8.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
57
|
+
"@aws-sdk/service-client-documentation-generator": "3.183.0",
|
|
58
58
|
"@tsconfig/recommended": "1.0.1",
|
|
59
59
|
"@types/node": "^12.7.5",
|
|
60
60
|
"@types/uuid": "^8.3.0",
|