@aws-sdk/client-health 3.431.0 → 3.435.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "health", k = { [w]: false, "type": "String" }, l = { [w]: true, "default": false, "type": "Boolean" }, m = { [z]: "Endpoint" }, n = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, o = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, p = {}, q = { [z]: "Region" }, r = { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }, s = { [x]: c, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [n], u = [o], v = [q];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [x]: b, [y]: [m] }], rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [x]: c, [y]: [a, r] }, s], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [r, a] }], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: u, rules: [{ conditions: [s], rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [x]: h, [y]: [q, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-east-1" }] }, headers: p }, type: e }, { conditions: [{ [x]: h, [y]: [q, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "cn-northwest-1" }] }, headers: p }, type: e }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = "health", k = { [w]: false, "type": "String" }, l = { [w]: true, "default": false, "type": "Boolean" }, m = { [z]: "Endpoint" }, n = { [x]: c, [y]: [{ [z]: "UseFIPS" }, true] }, o = { [x]: c, [y]: [{ [z]: "UseDualStack" }, true] }, p = {}, q = { [z]: "Region" }, r = { [x]: "getAttr", [y]: [{ [z]: g }, "supportsFIPS"] }, s = { [x]: c, [y]: [true, { [x]: "getAttr", [y]: [{ [z]: g }, "supportsDualStack"] }] }, t = [n], u = [o], v = [q];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [x]: b, [y]: [m] }], rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: m, properties: p, headers: p }, type: e }], type: f }, { conditions: [{ [x]: b, [y]: v }], rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: g }], rules: [{ conditions: [n, o], rules: [{ conditions: [{ [x]: c, [y]: [a, r] }, s], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: t, rules: [{ conditions: [{ [x]: c, [y]: [r, a] }], rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: u, rules: [{ conditions: [s], rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { conditions: [{ [x]: h, [y]: [q, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "us-east-1" }] }, headers: p }, type: e }, { conditions: [{ [x]: h, [y]: [q, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: "cn-northwest-1" }] }, headers: p }, type: e }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -34,7 +34,7 @@ export interface AccountEntityAggregate {
|
|
|
34
34
|
* @public
|
|
35
35
|
* <p>The number of affected entities aggregated by the entity status codes.</p>
|
|
36
36
|
*/
|
|
37
|
-
statuses?: Record<EntityStatusCode, number
|
|
37
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* @public
|
|
@@ -500,7 +500,7 @@ export interface EntityAggregate {
|
|
|
500
500
|
* @public
|
|
501
501
|
* <p>The number of affected entities aggregated by the entity status codes.</p>
|
|
502
502
|
*/
|
|
503
|
-
statuses?: Record<EntityStatusCode, number
|
|
503
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
* @public
|
|
@@ -549,7 +549,7 @@ export interface OrganizationEntityAggregate {
|
|
|
549
549
|
* @public
|
|
550
550
|
* <p>The number of affected entities aggregated by the entitiy status codes.</p>
|
|
551
551
|
*/
|
|
552
|
-
statuses?: Record<EntityStatusCode, number
|
|
552
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
553
553
|
/**
|
|
554
554
|
* @public
|
|
555
555
|
* <p>A list of entity aggregates for each of the specified accounts in your organization that are affected by
|
|
@@ -12,7 +12,7 @@ export type EntityStatusCode =
|
|
|
12
12
|
export interface AccountEntityAggregate {
|
|
13
13
|
accountId?: string;
|
|
14
14
|
count?: number;
|
|
15
|
-
statuses?: Record<EntityStatusCode, number
|
|
15
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
16
16
|
}
|
|
17
17
|
export interface AffectedEntity {
|
|
18
18
|
entityArn?: string;
|
|
@@ -108,7 +108,7 @@ export interface DescribeEntityAggregatesRequest {
|
|
|
108
108
|
export interface EntityAggregate {
|
|
109
109
|
eventArn?: string;
|
|
110
110
|
count?: number;
|
|
111
|
-
statuses?: Record<EntityStatusCode, number
|
|
111
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
112
112
|
}
|
|
113
113
|
export interface DescribeEntityAggregatesResponse {
|
|
114
114
|
entityAggregates?: EntityAggregate[];
|
|
@@ -120,7 +120,7 @@ export interface DescribeEntityAggregatesForOrganizationRequest {
|
|
|
120
120
|
export interface OrganizationEntityAggregate {
|
|
121
121
|
eventArn?: string;
|
|
122
122
|
count?: number;
|
|
123
|
-
statuses?: Record<EntityStatusCode, number
|
|
123
|
+
statuses?: Partial<Record<EntityStatusCode, number>>;
|
|
124
124
|
accounts?: AccountEntityAggregate[];
|
|
125
125
|
}
|
|
126
126
|
export interface DescribeEntityAggregatesForOrganizationResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-health",
|
|
3
3
|
"description": "AWS SDK for JavaScript Health Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.435.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",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.435.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.435.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.433.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.433.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
32
|
+
"@aws-sdk/types": "3.433.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.433.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.433.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.16",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.4",
|
|
38
|
+
"@smithy/hash-node": "^2.0.12",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.12",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.14",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.3",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.18",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.12",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.6",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.3",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.8",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.8",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.12",
|
|
49
|
+
"@smithy/types": "^2.4.0",
|
|
50
|
+
"@smithy/url-parser": "^2.0.12",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
56
|
+
"@smithy/util-retry": "^2.0.5",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|