@aws-sdk/client-health 3.490.0 → 3.495.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.
Files changed (35) hide show
  1. package/dist-cjs/Health.js +1 -39
  2. package/dist-cjs/HealthClient.js +1 -43
  3. package/dist-cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js +1 -28
  4. package/dist-cjs/commands/DescribeAffectedEntitiesCommand.js +1 -28
  5. package/dist-cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +1 -28
  6. package/dist-cjs/commands/DescribeEntityAggregatesCommand.js +1 -28
  7. package/dist-cjs/commands/DescribeEntityAggregatesForOrganizationCommand.js +1 -28
  8. package/dist-cjs/commands/DescribeEventAggregatesCommand.js +1 -28
  9. package/dist-cjs/commands/DescribeEventDetailsCommand.js +1 -28
  10. package/dist-cjs/commands/DescribeEventDetailsForOrganizationCommand.js +1 -28
  11. package/dist-cjs/commands/DescribeEventTypesCommand.js +1 -28
  12. package/dist-cjs/commands/DescribeEventsCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeEventsForOrganizationCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +1 -28
  15. package/dist-cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js +1 -28
  16. package/dist-cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js +1 -28
  17. package/dist-cjs/commands/index.js +1 -17
  18. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  19. package/dist-cjs/extensionConfiguration.js +1 -2
  20. package/dist-cjs/index.js +1402 -11
  21. package/dist-cjs/models/HealthServiceException.js +1 -12
  22. package/dist-cjs/models/index.js +1 -4
  23. package/dist-cjs/models/models_0.js +1 -69
  24. package/dist-cjs/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +1 -7
  25. package/dist-cjs/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +1 -7
  26. package/dist-cjs/pagination/DescribeAffectedEntitiesPaginator.js +1 -7
  27. package/dist-cjs/pagination/DescribeEventAggregatesPaginator.js +1 -7
  28. package/dist-cjs/pagination/DescribeEventTypesPaginator.js +1 -7
  29. package/dist-cjs/pagination/DescribeEventsForOrganizationPaginator.js +1 -7
  30. package/dist-cjs/pagination/DescribeEventsPaginator.js +1 -7
  31. package/dist-cjs/pagination/Interfaces.js +1 -2
  32. package/dist-cjs/pagination/index.js +1 -11
  33. package/dist-cjs/protocols/Aws_json1_1.js +1 -874
  34. package/dist-cjs/runtimeExtensions.js +1 -22
  35. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HealthServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class HealthServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, HealthServiceException.prototype);
10
- }
11
- }
12
- exports.HealthServiceException = HealthServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,69 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConcurrentModificationException = exports.EventTypeCategory = exports.EventStatusCode = exports.EventAggregateField = exports.UnsupportedLocale = exports.InvalidPaginationToken = exports.EventScopeCode = exports.EntityStatusCode = void 0;
4
- const HealthServiceException_1 = require("./HealthServiceException");
5
- exports.EntityStatusCode = {
6
- IMPAIRED: "IMPAIRED",
7
- PENDING: "PENDING",
8
- RESOLVED: "RESOLVED",
9
- UNIMPAIRED: "UNIMPAIRED",
10
- UNKNOWN: "UNKNOWN",
11
- };
12
- exports.EventScopeCode = {
13
- ACCOUNT_SPECIFIC: "ACCOUNT_SPECIFIC",
14
- NONE: "NONE",
15
- PUBLIC: "PUBLIC",
16
- };
17
- class InvalidPaginationToken extends HealthServiceException_1.HealthServiceException {
18
- constructor(opts) {
19
- super({
20
- name: "InvalidPaginationToken",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- this.name = "InvalidPaginationToken";
25
- this.$fault = "client";
26
- Object.setPrototypeOf(this, InvalidPaginationToken.prototype);
27
- }
28
- }
29
- exports.InvalidPaginationToken = InvalidPaginationToken;
30
- class UnsupportedLocale extends HealthServiceException_1.HealthServiceException {
31
- constructor(opts) {
32
- super({
33
- name: "UnsupportedLocale",
34
- $fault: "client",
35
- ...opts,
36
- });
37
- this.name = "UnsupportedLocale";
38
- this.$fault = "client";
39
- Object.setPrototypeOf(this, UnsupportedLocale.prototype);
40
- }
41
- }
42
- exports.UnsupportedLocale = UnsupportedLocale;
43
- exports.EventAggregateField = {
44
- EventTypeCategory: "eventTypeCategory",
45
- };
46
- exports.EventStatusCode = {
47
- CLOSED: "closed",
48
- OPEN: "open",
49
- UPCOMING: "upcoming",
50
- };
51
- exports.EventTypeCategory = {
52
- ACCOUNT_NOTIFICATION: "accountNotification",
53
- INVESTIGATION: "investigation",
54
- ISSUE: "issue",
55
- SCHEDULED_CHANGE: "scheduledChange",
56
- };
57
- class ConcurrentModificationException extends HealthServiceException_1.HealthServiceException {
58
- constructor(opts) {
59
- super({
60
- name: "ConcurrentModificationException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- this.name = "ConcurrentModificationException";
65
- this.$fault = "client";
66
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
67
- }
68
- }
69
- exports.ConcurrentModificationException = ConcurrentModificationException;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeAffectedAccountsForOrganization = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeAffectedAccountsForOrganizationCommand_1 = require("../commands/DescribeAffectedAccountsForOrganizationCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeAffectedAccountsForOrganization = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeAffectedAccountsForOrganizationCommand_1.DescribeAffectedAccountsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeAffectedEntitiesForOrganization = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeAffectedEntitiesForOrganizationCommand_1 = require("../commands/DescribeAffectedEntitiesForOrganizationCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeAffectedEntitiesForOrganization = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeAffectedEntitiesForOrganizationCommand_1.DescribeAffectedEntitiesForOrganizationCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeAffectedEntities = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeAffectedEntitiesCommand_1 = require("../commands/DescribeAffectedEntitiesCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeAffectedEntities = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeAffectedEntitiesCommand_1.DescribeAffectedEntitiesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEventAggregates = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeEventAggregatesCommand_1 = require("../commands/DescribeEventAggregatesCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeEventAggregates = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeEventAggregatesCommand_1.DescribeEventAggregatesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEventTypes = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeEventTypesCommand_1 = require("../commands/DescribeEventTypesCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeEventTypes = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeEventTypesCommand_1.DescribeEventTypesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEventsForOrganization = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeEventsForOrganizationCommand_1 = require("../commands/DescribeEventsForOrganizationCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeEventsForOrganization = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeEventsForOrganizationCommand_1.DescribeEventsForOrganizationCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeEvents = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
6
- const HealthClient_1 = require("../HealthClient");
7
- exports.paginateDescribeEvents = (0, core_1.createPaginator)(HealthClient_1.HealthClient, DescribeEventsCommand_1.DescribeEventsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,11 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeAffectedAccountsForOrganizationPaginator"), exports);
5
- tslib_1.__exportStar(require("./DescribeAffectedEntitiesForOrganizationPaginator"), exports);
6
- tslib_1.__exportStar(require("./DescribeAffectedEntitiesPaginator"), exports);
7
- tslib_1.__exportStar(require("./DescribeEventAggregatesPaginator"), exports);
8
- tslib_1.__exportStar(require("./DescribeEventTypesPaginator"), exports);
9
- tslib_1.__exportStar(require("./DescribeEventsForOrganizationPaginator"), exports);
10
- tslib_1.__exportStar(require("./DescribeEventsPaginator"), exports);
11
- tslib_1.__exportStar(require("./Interfaces"), exports);
1
+ module.exports = require("../index.js");