@aws-sdk/client-health 3.301.0 → 3.306.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/models/models_0.js +24 -29
- package/dist-es/models/models_0.js +24 -29
- package/dist-types/models/models_0.d.ts +49 -24
- package/dist-types/ts3.4/models/models_0.d.ts +34 -24
- package/package.json +34 -34
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ConcurrentModificationException = exports.EventTypeCategory = exports.EventStatusCode = exports.EventAggregateField = exports.UnsupportedLocale = exports.InvalidPaginationToken = exports.EventScopeCode = exports.EntityStatusCode = void 0;
|
|
4
4
|
const HealthServiceException_1 = require("./HealthServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
EventScopeCode["PUBLIC"] = "PUBLIC";
|
|
16
|
-
})(EventScopeCode = exports.EventScopeCode || (exports.EventScopeCode = {}));
|
|
5
|
+
exports.EntityStatusCode = {
|
|
6
|
+
IMPAIRED: "IMPAIRED",
|
|
7
|
+
UNIMPAIRED: "UNIMPAIRED",
|
|
8
|
+
UNKNOWN: "UNKNOWN",
|
|
9
|
+
};
|
|
10
|
+
exports.EventScopeCode = {
|
|
11
|
+
ACCOUNT_SPECIFIC: "ACCOUNT_SPECIFIC",
|
|
12
|
+
NONE: "NONE",
|
|
13
|
+
PUBLIC: "PUBLIC",
|
|
14
|
+
};
|
|
17
15
|
class InvalidPaginationToken extends HealthServiceException_1.HealthServiceException {
|
|
18
16
|
constructor(opts) {
|
|
19
17
|
super({
|
|
@@ -40,23 +38,20 @@ class UnsupportedLocale extends HealthServiceException_1.HealthServiceException
|
|
|
40
38
|
}
|
|
41
39
|
}
|
|
42
40
|
exports.UnsupportedLocale = UnsupportedLocale;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
EventTypeCategory["ISSUE"] = "issue";
|
|
58
|
-
EventTypeCategory["SCHEDULED_CHANGE"] = "scheduledChange";
|
|
59
|
-
})(EventTypeCategory = exports.EventTypeCategory || (exports.EventTypeCategory = {}));
|
|
41
|
+
exports.EventAggregateField = {
|
|
42
|
+
EventTypeCategory: "eventTypeCategory",
|
|
43
|
+
};
|
|
44
|
+
exports.EventStatusCode = {
|
|
45
|
+
CLOSED: "closed",
|
|
46
|
+
OPEN: "open",
|
|
47
|
+
UPCOMING: "upcoming",
|
|
48
|
+
};
|
|
49
|
+
exports.EventTypeCategory = {
|
|
50
|
+
ACCOUNT_NOTIFICATION: "accountNotification",
|
|
51
|
+
INVESTIGATION: "investigation",
|
|
52
|
+
ISSUE: "issue",
|
|
53
|
+
SCHEDULED_CHANGE: "scheduledChange",
|
|
54
|
+
};
|
|
60
55
|
class ConcurrentModificationException extends HealthServiceException_1.HealthServiceException {
|
|
61
56
|
constructor(opts) {
|
|
62
57
|
super({
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { HealthServiceException as __BaseException } from "./HealthServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
EventScopeCode["PUBLIC"] = "PUBLIC";
|
|
13
|
-
})(EventScopeCode || (EventScopeCode = {}));
|
|
2
|
+
export const EntityStatusCode = {
|
|
3
|
+
IMPAIRED: "IMPAIRED",
|
|
4
|
+
UNIMPAIRED: "UNIMPAIRED",
|
|
5
|
+
UNKNOWN: "UNKNOWN",
|
|
6
|
+
};
|
|
7
|
+
export const EventScopeCode = {
|
|
8
|
+
ACCOUNT_SPECIFIC: "ACCOUNT_SPECIFIC",
|
|
9
|
+
NONE: "NONE",
|
|
10
|
+
PUBLIC: "PUBLIC",
|
|
11
|
+
};
|
|
14
12
|
export class InvalidPaginationToken extends __BaseException {
|
|
15
13
|
constructor(opts) {
|
|
16
14
|
super({
|
|
@@ -35,23 +33,20 @@ export class UnsupportedLocale extends __BaseException {
|
|
|
35
33
|
Object.setPrototypeOf(this, UnsupportedLocale.prototype);
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
|
-
export
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
EventTypeCategory["ISSUE"] = "issue";
|
|
53
|
-
EventTypeCategory["SCHEDULED_CHANGE"] = "scheduledChange";
|
|
54
|
-
})(EventTypeCategory || (EventTypeCategory = {}));
|
|
36
|
+
export const EventAggregateField = {
|
|
37
|
+
EventTypeCategory: "eventTypeCategory",
|
|
38
|
+
};
|
|
39
|
+
export const EventStatusCode = {
|
|
40
|
+
CLOSED: "closed",
|
|
41
|
+
OPEN: "open",
|
|
42
|
+
UPCOMING: "upcoming",
|
|
43
|
+
};
|
|
44
|
+
export const EventTypeCategory = {
|
|
45
|
+
ACCOUNT_NOTIFICATION: "accountNotification",
|
|
46
|
+
INVESTIGATION: "investigation",
|
|
47
|
+
ISSUE: "issue",
|
|
48
|
+
SCHEDULED_CHANGE: "scheduledChange",
|
|
49
|
+
};
|
|
55
50
|
export class ConcurrentModificationException extends __BaseException {
|
|
56
51
|
constructor(opts) {
|
|
57
52
|
super({
|
|
@@ -2,12 +2,17 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
|
|
|
2
2
|
import { HealthServiceException as __BaseException } from "./HealthServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
|
+
* @enum
|
|
5
6
|
*/
|
|
6
|
-
export declare
|
|
7
|
-
IMPAIRED
|
|
8
|
-
UNIMPAIRED
|
|
9
|
-
UNKNOWN
|
|
10
|
-
}
|
|
7
|
+
export declare const EntityStatusCode: {
|
|
8
|
+
readonly IMPAIRED: "IMPAIRED";
|
|
9
|
+
readonly UNIMPAIRED: "UNIMPAIRED";
|
|
10
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type EntityStatusCode = (typeof EntityStatusCode)[keyof typeof EntityStatusCode];
|
|
11
16
|
/**
|
|
12
17
|
* @public
|
|
13
18
|
* <p>Information about an entity that is affected by a Health event.</p>
|
|
@@ -88,12 +93,17 @@ export interface DescribeAffectedAccountsForOrganizationRequest {
|
|
|
88
93
|
}
|
|
89
94
|
/**
|
|
90
95
|
* @public
|
|
96
|
+
* @enum
|
|
91
97
|
*/
|
|
92
|
-
export declare
|
|
93
|
-
ACCOUNT_SPECIFIC
|
|
94
|
-
NONE
|
|
95
|
-
PUBLIC
|
|
96
|
-
}
|
|
98
|
+
export declare const EventScopeCode: {
|
|
99
|
+
readonly ACCOUNT_SPECIFIC: "ACCOUNT_SPECIFIC";
|
|
100
|
+
readonly NONE: "NONE";
|
|
101
|
+
readonly PUBLIC: "PUBLIC";
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type EventScopeCode = (typeof EventScopeCode)[keyof typeof EventScopeCode];
|
|
97
107
|
/**
|
|
98
108
|
* @public
|
|
99
109
|
*/
|
|
@@ -394,27 +404,42 @@ export interface DescribeEntityAggregatesResponse {
|
|
|
394
404
|
}
|
|
395
405
|
/**
|
|
396
406
|
* @public
|
|
407
|
+
* @enum
|
|
397
408
|
*/
|
|
398
|
-
export declare
|
|
399
|
-
EventTypeCategory
|
|
400
|
-
}
|
|
409
|
+
export declare const EventAggregateField: {
|
|
410
|
+
readonly EventTypeCategory: "eventTypeCategory";
|
|
411
|
+
};
|
|
401
412
|
/**
|
|
402
413
|
* @public
|
|
403
414
|
*/
|
|
404
|
-
export
|
|
405
|
-
CLOSED = "closed",
|
|
406
|
-
OPEN = "open",
|
|
407
|
-
UPCOMING = "upcoming"
|
|
408
|
-
}
|
|
415
|
+
export type EventAggregateField = (typeof EventAggregateField)[keyof typeof EventAggregateField];
|
|
409
416
|
/**
|
|
410
417
|
* @public
|
|
418
|
+
* @enum
|
|
411
419
|
*/
|
|
412
|
-
export declare
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
420
|
+
export declare const EventStatusCode: {
|
|
421
|
+
readonly CLOSED: "closed";
|
|
422
|
+
readonly OPEN: "open";
|
|
423
|
+
readonly UPCOMING: "upcoming";
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
export type EventStatusCode = (typeof EventStatusCode)[keyof typeof EventStatusCode];
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
* @enum
|
|
432
|
+
*/
|
|
433
|
+
export declare const EventTypeCategory: {
|
|
434
|
+
readonly ACCOUNT_NOTIFICATION: "accountNotification";
|
|
435
|
+
readonly INVESTIGATION: "investigation";
|
|
436
|
+
readonly ISSUE: "issue";
|
|
437
|
+
readonly SCHEDULED_CHANGE: "scheduledChange";
|
|
438
|
+
};
|
|
439
|
+
/**
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
export type EventTypeCategory = (typeof EventTypeCategory)[keyof typeof EventTypeCategory];
|
|
418
443
|
/**
|
|
419
444
|
* @public
|
|
420
445
|
* <p>The values to use to filter results from the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEvents.html">DescribeEvents</a> and
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HealthServiceException as __BaseException } from "./HealthServiceException";
|
|
3
|
-
export declare
|
|
4
|
-
IMPAIRED
|
|
5
|
-
UNIMPAIRED
|
|
6
|
-
UNKNOWN
|
|
7
|
-
}
|
|
3
|
+
export declare const EntityStatusCode: {
|
|
4
|
+
readonly IMPAIRED: "IMPAIRED";
|
|
5
|
+
readonly UNIMPAIRED: "UNIMPAIRED";
|
|
6
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
7
|
+
};
|
|
8
|
+
export type EntityStatusCode =
|
|
9
|
+
(typeof EntityStatusCode)[keyof typeof EntityStatusCode];
|
|
8
10
|
export interface AffectedEntity {
|
|
9
11
|
entityArn?: string;
|
|
10
12
|
eventArn?: string;
|
|
@@ -20,11 +22,13 @@ export interface DescribeAffectedAccountsForOrganizationRequest {
|
|
|
20
22
|
nextToken?: string;
|
|
21
23
|
maxResults?: number;
|
|
22
24
|
}
|
|
23
|
-
export declare
|
|
24
|
-
ACCOUNT_SPECIFIC
|
|
25
|
-
NONE
|
|
26
|
-
PUBLIC
|
|
27
|
-
}
|
|
25
|
+
export declare const EventScopeCode: {
|
|
26
|
+
readonly ACCOUNT_SPECIFIC: "ACCOUNT_SPECIFIC";
|
|
27
|
+
readonly NONE: "NONE";
|
|
28
|
+
readonly PUBLIC: "PUBLIC";
|
|
29
|
+
};
|
|
30
|
+
export type EventScopeCode =
|
|
31
|
+
(typeof EventScopeCode)[keyof typeof EventScopeCode];
|
|
28
32
|
export interface DescribeAffectedAccountsForOrganizationResponse {
|
|
29
33
|
affectedAccounts?: string[];
|
|
30
34
|
eventScopeCode?: EventScopeCode | string;
|
|
@@ -95,20 +99,26 @@ export interface EntityAggregate {
|
|
|
95
99
|
export interface DescribeEntityAggregatesResponse {
|
|
96
100
|
entityAggregates?: EntityAggregate[];
|
|
97
101
|
}
|
|
98
|
-
export declare
|
|
99
|
-
EventTypeCategory
|
|
100
|
-
}
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
export declare const EventAggregateField: {
|
|
103
|
+
readonly EventTypeCategory: "eventTypeCategory";
|
|
104
|
+
};
|
|
105
|
+
export type EventAggregateField =
|
|
106
|
+
(typeof EventAggregateField)[keyof typeof EventAggregateField];
|
|
107
|
+
export declare const EventStatusCode: {
|
|
108
|
+
readonly CLOSED: "closed";
|
|
109
|
+
readonly OPEN: "open";
|
|
110
|
+
readonly UPCOMING: "upcoming";
|
|
111
|
+
};
|
|
112
|
+
export type EventStatusCode =
|
|
113
|
+
(typeof EventStatusCode)[keyof typeof EventStatusCode];
|
|
114
|
+
export declare const EventTypeCategory: {
|
|
115
|
+
readonly ACCOUNT_NOTIFICATION: "accountNotification";
|
|
116
|
+
readonly INVESTIGATION: "investigation";
|
|
117
|
+
readonly ISSUE: "issue";
|
|
118
|
+
readonly SCHEDULED_CHANGE: "scheduledChange";
|
|
119
|
+
};
|
|
120
|
+
export type EventTypeCategory =
|
|
121
|
+
(typeof EventTypeCategory)[keyof typeof EventTypeCategory];
|
|
112
122
|
export interface EventFilter {
|
|
113
123
|
eventArns?: string[];
|
|
114
124
|
eventTypeCodes?: string[];
|
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.306.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,42 +21,42 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|