@aws-sdk/client-devops-guru 3.278.0 → 3.280.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +23 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://devops-guru.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -3301,6 +3301,7 @@ const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
|
|
|
3301
3301
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3302
3302
|
: undefined,
|
|
3303
3303
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3304
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3304
3305
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3305
3306
|
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3306
3307
|
PredictionTimeRange: output.PredictionTimeRange != null
|
|
@@ -3332,6 +3333,7 @@ const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
|
|
|
3332
3333
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3333
3334
|
: undefined,
|
|
3334
3335
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3336
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3335
3337
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3336
3338
|
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3337
3339
|
PredictionTimeRange: output.PredictionTimeRange != null
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const q = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://devops-guru.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -3235,6 +3235,7 @@ const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
|
|
|
3235
3235
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3236
3236
|
: undefined,
|
|
3237
3237
|
AssociatedInsightId: __expectString(output.AssociatedInsightId),
|
|
3238
|
+
Description: __expectString(output.Description),
|
|
3238
3239
|
Id: __expectString(output.Id),
|
|
3239
3240
|
Limit: __limitedParseDouble(output.Limit),
|
|
3240
3241
|
PredictionTimeRange: output.PredictionTimeRange != null
|
|
@@ -3266,6 +3267,7 @@ const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
|
|
|
3266
3267
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3267
3268
|
: undefined,
|
|
3268
3269
|
AssociatedInsightId: __expectString(output.AssociatedInsightId),
|
|
3270
|
+
Description: __expectString(output.Description),
|
|
3269
3271
|
Id: __expectString(output.Id),
|
|
3270
3272
|
Limit: __limitedParseDouble(output.Limit),
|
|
3271
3273
|
PredictionTimeRange: output.PredictionTimeRange != null
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1073,7 +1073,7 @@ export interface CloudFormationCollection {
|
|
|
1073
1073
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1074
1074
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
1075
1075
|
* table resource that you assign to an Lambda function. For more information about
|
|
1076
|
-
* using tags, see the <a href="https://
|
|
1076
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
1077
1077
|
* best practices</a> whitepaper. </p>
|
|
1078
1078
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
1079
1079
|
* <ul>
|
|
@@ -1150,7 +1150,7 @@ export interface ResourceCollection {
|
|
|
1150
1150
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1151
1151
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
1152
1152
|
* table resource that you assign to an Lambda function. For more information about
|
|
1153
|
-
* using tags, see the <a href="https://
|
|
1153
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
1154
1154
|
* best practices</a> whitepaper. </p>
|
|
1155
1155
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
1156
1156
|
* <ul>
|
|
@@ -1253,6 +1253,12 @@ export interface ProactiveAnomaly {
|
|
|
1253
1253
|
* <p>Information about a resource in which DevOps Guru detected anomalous behavior.</p>
|
|
1254
1254
|
*/
|
|
1255
1255
|
AnomalyResources?: AnomalyResource[];
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>
|
|
1258
|
+
* A description of the proactive anomaly.
|
|
1259
|
+
* </p>
|
|
1260
|
+
*/
|
|
1261
|
+
Description?: string;
|
|
1256
1262
|
}
|
|
1257
1263
|
/**
|
|
1258
1264
|
* <p>Details about a reactive anomaly. This object is returned by
|
|
@@ -1801,7 +1807,7 @@ export interface DescribeOrganizationResourceCollectionHealthResponse {
|
|
|
1801
1807
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1802
1808
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
1803
1809
|
* table resource that you assign to an Lambda function. For more information about
|
|
1804
|
-
* using tags, see the <a href="https://
|
|
1810
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
1805
1811
|
* best practices</a> whitepaper. </p>
|
|
1806
1812
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
1807
1813
|
* <ul>
|
|
@@ -1875,7 +1881,7 @@ export interface DescribeResourceCollectionHealthResponse {
|
|
|
1875
1881
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
1876
1882
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
1877
1883
|
* table resource that you assign to an Lambda function. For more information about
|
|
1878
|
-
* using tags, see the <a href="https://
|
|
1884
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
1879
1885
|
* best practices</a> whitepaper. </p>
|
|
1880
1886
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
1881
1887
|
* <ul>
|
|
@@ -2078,7 +2084,7 @@ export interface CostEstimationResourceCollectionFilter {
|
|
|
2078
2084
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
2079
2085
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
2080
2086
|
* table resource that you assign to an Lambda function. For more information about
|
|
2081
|
-
* using tags, see the <a href="https://
|
|
2087
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
2082
2088
|
* best practices</a> whitepaper. </p>
|
|
2083
2089
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
2084
2090
|
* <ul>
|
|
@@ -2235,7 +2241,7 @@ export interface ResourceCollectionFilter {
|
|
|
2235
2241
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
2236
2242
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
2237
2243
|
* table resource that you assign to an Lambda function. For more information about
|
|
2238
|
-
* using tags, see the <a href="https://
|
|
2244
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
2239
2245
|
* best practices</a> whitepaper. </p>
|
|
2240
2246
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
2241
2247
|
* <ul>
|
|
@@ -2418,6 +2424,12 @@ export interface ProactiveAnomalySummary {
|
|
|
2418
2424
|
* <p>Information about a resource in which DevOps Guru detected anomalous behavior.</p>
|
|
2419
2425
|
*/
|
|
2420
2426
|
AnomalyResources?: AnomalyResource[];
|
|
2427
|
+
/**
|
|
2428
|
+
* <p>
|
|
2429
|
+
* A description of the proactive anomaly.
|
|
2430
|
+
* </p>
|
|
2431
|
+
*/
|
|
2432
|
+
Description?: string;
|
|
2421
2433
|
}
|
|
2422
2434
|
/**
|
|
2423
2435
|
* <p>Details about a reactive anomaly. This object is returned by
|
|
@@ -3416,8 +3428,10 @@ export interface RemoveNotificationChannelRequest {
|
|
|
3416
3428
|
export interface RemoveNotificationChannelResponse {
|
|
3417
3429
|
}
|
|
3418
3430
|
/**
|
|
3419
|
-
* <p>
|
|
3420
|
-
*
|
|
3431
|
+
* <p>Specifies values used to filter responses when searching for insights.
|
|
3432
|
+
* You can use a <code>ResourceCollection</code>, <code>ServiceCollection</code>, array of severities, and an array of status values.
|
|
3433
|
+
* Each filter type contains one or more values to search for. If you specify multiple filter types,
|
|
3434
|
+
* the filter types are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>
|
|
3421
3435
|
*/
|
|
3422
3436
|
export interface SearchInsightsFilters {
|
|
3423
3437
|
/**
|
|
@@ -3638,7 +3652,7 @@ export interface UpdateResourceCollectionFilter {
|
|
|
3638
3652
|
* tagging, so you can assign the same tag to resources from different services to indicate
|
|
3639
3653
|
* that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB
|
|
3640
3654
|
* table resource that you assign to an Lambda function. For more information about
|
|
3641
|
-
* using tags, see the <a href="https://
|
|
3655
|
+
* using tags, see the <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/tagging-best-practices.html">Tagging
|
|
3642
3656
|
* best practices</a> whitepaper. </p>
|
|
3643
3657
|
* <p>Each Amazon Web Services tag has two parts. </p>
|
|
3644
3658
|
* <ul>
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -309,6 +309,7 @@ export interface ProactiveAnomaly {
|
|
|
309
309
|
Limit?: number;
|
|
310
310
|
SourceMetadata?: AnomalySourceMetadata;
|
|
311
311
|
AnomalyResources?: AnomalyResource[];
|
|
312
|
+
Description?: string;
|
|
312
313
|
}
|
|
313
314
|
export interface ReactiveAnomaly {
|
|
314
315
|
Id?: string;
|
|
@@ -610,6 +611,7 @@ export interface ProactiveAnomalySummary {
|
|
|
610
611
|
Limit?: number;
|
|
611
612
|
SourceMetadata?: AnomalySourceMetadata;
|
|
612
613
|
AnomalyResources?: AnomalyResource[];
|
|
614
|
+
Description?: string;
|
|
613
615
|
}
|
|
614
616
|
export interface ReactiveAnomalySummary {
|
|
615
617
|
Id?: string;
|
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.280.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.279.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.279.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.272.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.272.0",
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
+
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.279.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.272.0",
|