@aws-sdk/client-health 3.300.0 → 3.303.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.
@@ -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
- var EntityStatusCode;
6
- (function (EntityStatusCode) {
7
- EntityStatusCode["IMPAIRED"] = "IMPAIRED";
8
- EntityStatusCode["UNIMPAIRED"] = "UNIMPAIRED";
9
- EntityStatusCode["UNKNOWN"] = "UNKNOWN";
10
- })(EntityStatusCode = exports.EntityStatusCode || (exports.EntityStatusCode = {}));
11
- var EventScopeCode;
12
- (function (EventScopeCode) {
13
- EventScopeCode["ACCOUNT_SPECIFIC"] = "ACCOUNT_SPECIFIC";
14
- EventScopeCode["NONE"] = "NONE";
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
- var EventAggregateField;
44
- (function (EventAggregateField) {
45
- EventAggregateField["EventTypeCategory"] = "eventTypeCategory";
46
- })(EventAggregateField = exports.EventAggregateField || (exports.EventAggregateField = {}));
47
- var EventStatusCode;
48
- (function (EventStatusCode) {
49
- EventStatusCode["CLOSED"] = "closed";
50
- EventStatusCode["OPEN"] = "open";
51
- EventStatusCode["UPCOMING"] = "upcoming";
52
- })(EventStatusCode = exports.EventStatusCode || (exports.EventStatusCode = {}));
53
- var EventTypeCategory;
54
- (function (EventTypeCategory) {
55
- EventTypeCategory["ACCOUNT_NOTIFICATION"] = "accountNotification";
56
- EventTypeCategory["INVESTIGATION"] = "investigation";
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 var EntityStatusCode;
3
- (function (EntityStatusCode) {
4
- EntityStatusCode["IMPAIRED"] = "IMPAIRED";
5
- EntityStatusCode["UNIMPAIRED"] = "UNIMPAIRED";
6
- EntityStatusCode["UNKNOWN"] = "UNKNOWN";
7
- })(EntityStatusCode || (EntityStatusCode = {}));
8
- export var EventScopeCode;
9
- (function (EventScopeCode) {
10
- EventScopeCode["ACCOUNT_SPECIFIC"] = "ACCOUNT_SPECIFIC";
11
- EventScopeCode["NONE"] = "NONE";
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 var EventAggregateField;
39
- (function (EventAggregateField) {
40
- EventAggregateField["EventTypeCategory"] = "eventTypeCategory";
41
- })(EventAggregateField || (EventAggregateField = {}));
42
- export var EventStatusCode;
43
- (function (EventStatusCode) {
44
- EventStatusCode["CLOSED"] = "closed";
45
- EventStatusCode["OPEN"] = "open";
46
- EventStatusCode["UPCOMING"] = "upcoming";
47
- })(EventStatusCode || (EventStatusCode = {}));
48
- export var EventTypeCategory;
49
- (function (EventTypeCategory) {
50
- EventTypeCategory["ACCOUNT_NOTIFICATION"] = "accountNotification";
51
- EventTypeCategory["INVESTIGATION"] = "investigation";
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({
@@ -34,7 +34,7 @@ export interface DescribeAffectedAccountsForOrganizationCommandOutput extends De
34
34
  * import { HealthClient, DescribeAffectedAccountsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
35
35
  * // const { HealthClient, DescribeAffectedAccountsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
36
36
  * const client = new HealthClient(config);
37
- * const input = {
37
+ * const input = { // DescribeAffectedAccountsForOrganizationRequest
38
38
  * eventArn: "STRING_VALUE", // required
39
39
  * nextToken: "STRING_VALUE",
40
40
  * maxResults: Number("int"),
@@ -43,29 +43,29 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
43
43
  * import { HealthClient, DescribeAffectedEntitiesCommand } from "@aws-sdk/client-health"; // ES Modules import
44
44
  * // const { HealthClient, DescribeAffectedEntitiesCommand } = require("@aws-sdk/client-health"); // CommonJS import
45
45
  * const client = new HealthClient(config);
46
- * const input = {
47
- * filter: {
48
- * eventArns: [ // required
46
+ * const input = { // DescribeAffectedEntitiesRequest
47
+ * filter: { // EntityFilter
48
+ * eventArns: [ // eventArnList // required
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * entityArns: [
51
+ * entityArns: [ // entityArnList
52
52
  * "STRING_VALUE",
53
53
  * ],
54
- * entityValues: [
54
+ * entityValues: [ // entityValueList
55
55
  * "STRING_VALUE",
56
56
  * ],
57
- * lastUpdatedTimes: [
58
- * {
57
+ * lastUpdatedTimes: [ // dateTimeRangeList
58
+ * { // DateTimeRange
59
59
  * from: new Date("TIMESTAMP"),
60
60
  * to: new Date("TIMESTAMP"),
61
61
  * },
62
62
  * ],
63
- * tags: [
64
- * {
63
+ * tags: [ // tagFilter
64
+ * { // tagSet
65
65
  * "<keys>": "STRING_VALUE",
66
66
  * },
67
67
  * ],
68
- * statusCodes: [
68
+ * statusCodes: [ // entityStatusCodeList
69
69
  * "STRING_VALUE",
70
70
  * ],
71
71
  * },
@@ -45,9 +45,9 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
45
45
  * import { HealthClient, DescribeAffectedEntitiesForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
46
46
  * // const { HealthClient, DescribeAffectedEntitiesForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
47
47
  * const client = new HealthClient(config);
48
- * const input = {
49
- * organizationEntityFilters: [ // required
50
- * {
48
+ * const input = { // DescribeAffectedEntitiesForOrganizationRequest
49
+ * organizationEntityFilters: [ // OrganizationEntityFiltersList // required
50
+ * { // EventAccountFilter
51
51
  * eventArn: "STRING_VALUE", // required
52
52
  * awsAccountId: "STRING_VALUE",
53
53
  * },
@@ -26,8 +26,8 @@ export interface DescribeEntityAggregatesCommandOutput extends DescribeEntityAgg
26
26
  * import { HealthClient, DescribeEntityAggregatesCommand } from "@aws-sdk/client-health"; // ES Modules import
27
27
  * // const { HealthClient, DescribeEntityAggregatesCommand } = require("@aws-sdk/client-health"); // CommonJS import
28
28
  * const client = new HealthClient(config);
29
- * const input = {
30
- * eventArns: [
29
+ * const input = { // DescribeEntityAggregatesRequest
30
+ * eventArns: [ // EventArnsList
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * };
@@ -31,25 +31,25 @@ export interface DescribeEventAggregatesCommandOutput extends DescribeEventAggre
31
31
  * import { HealthClient, DescribeEventAggregatesCommand } from "@aws-sdk/client-health"; // ES Modules import
32
32
  * // const { HealthClient, DescribeEventAggregatesCommand } = require("@aws-sdk/client-health"); // CommonJS import
33
33
  * const client = new HealthClient(config);
34
- * const input = {
35
- * filter: {
36
- * eventArns: [
34
+ * const input = { // DescribeEventAggregatesRequest
35
+ * filter: { // EventFilter
36
+ * eventArns: [ // eventArnList
37
37
  * "STRING_VALUE",
38
38
  * ],
39
- * eventTypeCodes: [
39
+ * eventTypeCodes: [ // eventTypeList2
40
40
  * "STRING_VALUE",
41
41
  * ],
42
- * services: [
42
+ * services: [ // serviceList
43
43
  * "STRING_VALUE",
44
44
  * ],
45
- * regions: [
45
+ * regions: [ // regionList
46
46
  * "STRING_VALUE",
47
47
  * ],
48
- * availabilityZones: [
48
+ * availabilityZones: [ // availabilityZones
49
49
  * "STRING_VALUE",
50
50
  * ],
51
- * startTimes: [
52
- * {
51
+ * startTimes: [ // dateTimeRangeList
52
+ * { // DateTimeRange
53
53
  * from: new Date("TIMESTAMP"),
54
54
  * to: new Date("TIMESTAMP"),
55
55
  * },
@@ -66,21 +66,21 @@ export interface DescribeEventAggregatesCommandOutput extends DescribeEventAggre
66
66
  * to: new Date("TIMESTAMP"),
67
67
  * },
68
68
  * ],
69
- * entityArns: [
69
+ * entityArns: [ // entityArnList
70
70
  * "STRING_VALUE",
71
71
  * ],
72
- * entityValues: [
72
+ * entityValues: [ // entityValueList
73
73
  * "STRING_VALUE",
74
74
  * ],
75
- * eventTypeCategories: [
75
+ * eventTypeCategories: [ // eventTypeCategoryList2
76
76
  * "STRING_VALUE",
77
77
  * ],
78
- * tags: [
79
- * {
78
+ * tags: [ // tagFilter
79
+ * { // tagSet
80
80
  * "<keys>": "STRING_VALUE",
81
81
  * },
82
82
  * ],
83
- * eventStatusCodes: [
83
+ * eventStatusCodes: [ // eventStatusCodeList
84
84
  * "STRING_VALUE",
85
85
  * ],
86
86
  * },
@@ -35,8 +35,8 @@ export interface DescribeEventDetailsCommandOutput extends DescribeEventDetailsR
35
35
  * import { HealthClient, DescribeEventDetailsCommand } from "@aws-sdk/client-health"; // ES Modules import
36
36
  * // const { HealthClient, DescribeEventDetailsCommand } = require("@aws-sdk/client-health"); // CommonJS import
37
37
  * const client = new HealthClient(config);
38
- * const input = {
39
- * eventArns: [ // required
38
+ * const input = { // DescribeEventDetailsRequest
39
+ * eventArns: [ // eventArnList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
42
  * locale: "STRING_VALUE",
@@ -58,9 +58,9 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
58
58
  * import { HealthClient, DescribeEventDetailsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
59
59
  * // const { HealthClient, DescribeEventDetailsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
60
60
  * const client = new HealthClient(config);
61
- * const input = {
62
- * organizationEventDetailFilters: [ // required
63
- * {
61
+ * const input = { // DescribeEventDetailsForOrganizationRequest
62
+ * organizationEventDetailFilters: [ // OrganizationEventDetailFiltersList // required
63
+ * { // EventAccountFilter
64
64
  * eventArn: "STRING_VALUE", // required
65
65
  * awsAccountId: "STRING_VALUE",
66
66
  * },
@@ -33,15 +33,15 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
33
33
  * import { HealthClient, DescribeEventTypesCommand } from "@aws-sdk/client-health"; // ES Modules import
34
34
  * // const { HealthClient, DescribeEventTypesCommand } = require("@aws-sdk/client-health"); // CommonJS import
35
35
  * const client = new HealthClient(config);
36
- * const input = {
37
- * filter: {
38
- * eventTypeCodes: [
36
+ * const input = { // DescribeEventTypesRequest
37
+ * filter: { // EventTypeFilter
38
+ * eventTypeCodes: [ // EventTypeCodeList
39
39
  * "STRING_VALUE",
40
40
  * ],
41
- * services: [
41
+ * services: [ // serviceList
42
42
  * "STRING_VALUE",
43
43
  * ],
44
- * eventTypeCategories: [
44
+ * eventTypeCategories: [ // EventTypeCategoryList
45
45
  * "STRING_VALUE",
46
46
  * ],
47
47
  * },
@@ -48,25 +48,25 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
48
48
  * import { HealthClient, DescribeEventsCommand } from "@aws-sdk/client-health"; // ES Modules import
49
49
  * // const { HealthClient, DescribeEventsCommand } = require("@aws-sdk/client-health"); // CommonJS import
50
50
  * const client = new HealthClient(config);
51
- * const input = {
52
- * filter: {
53
- * eventArns: [
51
+ * const input = { // DescribeEventsRequest
52
+ * filter: { // EventFilter
53
+ * eventArns: [ // eventArnList
54
54
  * "STRING_VALUE",
55
55
  * ],
56
- * eventTypeCodes: [
56
+ * eventTypeCodes: [ // eventTypeList2
57
57
  * "STRING_VALUE",
58
58
  * ],
59
- * services: [
59
+ * services: [ // serviceList
60
60
  * "STRING_VALUE",
61
61
  * ],
62
- * regions: [
62
+ * regions: [ // regionList
63
63
  * "STRING_VALUE",
64
64
  * ],
65
- * availabilityZones: [
65
+ * availabilityZones: [ // availabilityZones
66
66
  * "STRING_VALUE",
67
67
  * ],
68
- * startTimes: [
69
- * {
68
+ * startTimes: [ // dateTimeRangeList
69
+ * { // DateTimeRange
70
70
  * from: new Date("TIMESTAMP"),
71
71
  * to: new Date("TIMESTAMP"),
72
72
  * },
@@ -83,21 +83,21 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
83
83
  * to: new Date("TIMESTAMP"),
84
84
  * },
85
85
  * ],
86
- * entityArns: [
86
+ * entityArns: [ // entityArnList
87
87
  * "STRING_VALUE",
88
88
  * ],
89
- * entityValues: [
89
+ * entityValues: [ // entityValueList
90
90
  * "STRING_VALUE",
91
91
  * ],
92
- * eventTypeCategories: [
92
+ * eventTypeCategories: [ // eventTypeCategoryList2
93
93
  * "STRING_VALUE",
94
94
  * ],
95
- * tags: [
96
- * {
95
+ * tags: [ // tagFilter
96
+ * { // tagSet
97
97
  * "<keys>": "STRING_VALUE",
98
98
  * },
99
99
  * ],
100
- * eventStatusCodes: [
100
+ * eventStatusCodes: [ // eventStatusCodeList
101
101
  * "STRING_VALUE",
102
102
  * ],
103
103
  * },
@@ -57,21 +57,21 @@ export interface DescribeEventsForOrganizationCommandOutput extends DescribeEven
57
57
  * import { HealthClient, DescribeEventsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
58
58
  * // const { HealthClient, DescribeEventsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
59
59
  * const client = new HealthClient(config);
60
- * const input = {
61
- * filter: {
62
- * eventTypeCodes: [
60
+ * const input = { // DescribeEventsForOrganizationRequest
61
+ * filter: { // OrganizationEventFilter
62
+ * eventTypeCodes: [ // eventTypeList2
63
63
  * "STRING_VALUE",
64
64
  * ],
65
- * awsAccountIds: [
65
+ * awsAccountIds: [ // awsAccountIdsList
66
66
  * "STRING_VALUE",
67
67
  * ],
68
- * services: [
68
+ * services: [ // serviceList
69
69
  * "STRING_VALUE",
70
70
  * ],
71
- * regions: [
71
+ * regions: [ // regionList
72
72
  * "STRING_VALUE",
73
73
  * ],
74
- * startTime: {
74
+ * startTime: { // DateTimeRange
75
75
  * from: new Date("TIMESTAMP"),
76
76
  * to: new Date("TIMESTAMP"),
77
77
  * },
@@ -83,16 +83,16 @@ export interface DescribeEventsForOrganizationCommandOutput extends DescribeEven
83
83
  * from: new Date("TIMESTAMP"),
84
84
  * to: new Date("TIMESTAMP"),
85
85
  * },
86
- * entityArns: [
86
+ * entityArns: [ // entityArnList
87
87
  * "STRING_VALUE",
88
88
  * ],
89
- * entityValues: [
89
+ * entityValues: [ // entityValueList
90
90
  * "STRING_VALUE",
91
91
  * ],
92
- * eventTypeCategories: [
92
+ * eventTypeCategories: [ // eventTypeCategoryList2
93
93
  * "STRING_VALUE",
94
94
  * ],
95
- * eventStatusCodes: [
95
+ * eventStatusCodes: [ // eventStatusCodeList
96
96
  * "STRING_VALUE",
97
97
  * ],
98
98
  * },
@@ -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 enum EntityStatusCode {
7
- IMPAIRED = "IMPAIRED",
8
- UNIMPAIRED = "UNIMPAIRED",
9
- UNKNOWN = "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 enum EventScopeCode {
93
- ACCOUNT_SPECIFIC = "ACCOUNT_SPECIFIC",
94
- NONE = "NONE",
95
- PUBLIC = "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 enum EventAggregateField {
399
- EventTypeCategory = "eventTypeCategory"
400
- }
409
+ export declare const EventAggregateField: {
410
+ readonly EventTypeCategory: "eventTypeCategory";
411
+ };
401
412
  /**
402
413
  * @public
403
414
  */
404
- export declare enum EventStatusCode {
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 enum EventTypeCategory {
413
- ACCOUNT_NOTIFICATION = "accountNotification",
414
- INVESTIGATION = "investigation",
415
- ISSUE = "issue",
416
- SCHEDULED_CHANGE = "scheduledChange"
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 enum EntityStatusCode {
4
- IMPAIRED = "IMPAIRED",
5
- UNIMPAIRED = "UNIMPAIRED",
6
- UNKNOWN = "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 enum EventScopeCode {
24
- ACCOUNT_SPECIFIC = "ACCOUNT_SPECIFIC",
25
- NONE = "NONE",
26
- PUBLIC = "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 enum EventAggregateField {
99
- EventTypeCategory = "eventTypeCategory",
100
- }
101
- export declare enum EventStatusCode {
102
- CLOSED = "closed",
103
- OPEN = "open",
104
- UPCOMING = "upcoming",
105
- }
106
- export declare enum EventTypeCategory {
107
- ACCOUNT_NOTIFICATION = "accountNotification",
108
- INVESTIGATION = "investigation",
109
- ISSUE = "issue",
110
- SCHEDULED_CHANGE = "scheduledChange",
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.300.0",
4
+ "version": "3.303.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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.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.295.0",
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",