@aws-sdk/client-health 3.131.0 → 3.141.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 (31) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js +2 -2
  4. package/dist-cjs/commands/DescribeAffectedEntitiesCommand.js +2 -2
  5. package/dist-cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +2 -2
  6. package/dist-cjs/commands/DescribeEntityAggregatesCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeEventAggregatesCommand.js +2 -2
  8. package/dist-cjs/commands/DescribeEventDetailsCommand.js +2 -2
  9. package/dist-cjs/commands/DescribeEventDetailsForOrganizationCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeEventTypesCommand.js +2 -2
  11. package/dist-cjs/commands/DescribeEventsCommand.js +2 -2
  12. package/dist-cjs/commands/DescribeEventsForOrganizationCommand.js +2 -2
  13. package/dist-cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +1 -1
  14. package/dist-cjs/endpoints.js +24 -2
  15. package/dist-cjs/models/models_0.js +157 -235
  16. package/dist-es/commands/DescribeAffectedAccountsForOrganizationCommand.js +3 -3
  17. package/dist-es/commands/DescribeAffectedEntitiesCommand.js +3 -3
  18. package/dist-es/commands/DescribeAffectedEntitiesForOrganizationCommand.js +3 -3
  19. package/dist-es/commands/DescribeEntityAggregatesCommand.js +3 -3
  20. package/dist-es/commands/DescribeEventAggregatesCommand.js +3 -3
  21. package/dist-es/commands/DescribeEventDetailsCommand.js +3 -3
  22. package/dist-es/commands/DescribeEventDetailsForOrganizationCommand.js +3 -3
  23. package/dist-es/commands/DescribeEventTypesCommand.js +3 -3
  24. package/dist-es/commands/DescribeEventsCommand.js +3 -3
  25. package/dist-es/commands/DescribeEventsForOrganizationCommand.js +3 -3
  26. package/dist-es/commands/DescribeHealthServiceStatusForOrganizationCommand.js +2 -2
  27. package/dist-es/endpoints.js +24 -2
  28. package/dist-es/models/models_0.js +39 -156
  29. package/dist-types/models/models_0.d.ts +156 -234
  30. package/dist-types/ts3.4/models/models_0.d.ts +78 -156
  31. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,39 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
18
+
19
+
20
+ ### Features
21
+
22
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.132.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.131.0...v3.132.0) (2022-07-18)
29
+
30
+
31
+ ### Features
32
+
33
+ * **clients:** update client endpoints as of 2022-07-18 ([87e9e29](https://github.com/aws/aws-sdk-js-v3/commit/87e9e2970f5fd24742968462e3944235c5e08380))
34
+
35
+
36
+
37
+
38
+
6
39
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
40
 
8
41
  **Note:** Version bump only for package @aws-sdk/client-health
package/README.md CHANGED
@@ -213,7 +213,7 @@ try {
213
213
  const data = await client.send(command);
214
214
  // process data.
215
215
  } catch (error) {
216
- const { requestId, cfId, extendedRequestId } = error.$metadata;
216
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
217
217
  console.log({ requestId, cfId, extendedRequestId });
218
218
  /**
219
219
  * The keys within exceptions are also parsed.
@@ -20,8 +20,8 @@ class DescribeAffectedAccountsForOrganizationCommand extends smithy_client_1.Com
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeAffectedAccountsForOrganizationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeAffectedAccountsForOrganizationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeAffectedAccountsForOrganizationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeAffectedAccountsForOrganizationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeAffectedEntitiesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeAffectedEntitiesForOrganizationCommand extends smithy_client_1.Com
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesForOrganizationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesForOrganizationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesForOrganizationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeAffectedEntitiesForOrganizationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEntityAggregatesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEntityAggregatesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEntityAggregatesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEntityAggregatesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEntityAggregatesResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventAggregatesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventAggregatesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventAggregatesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventAggregatesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventAggregatesResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventDetailsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventDetailsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventDetailsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventDetailsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventDetailsResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventDetailsForOrganizationCommand extends smithy_client_1.Command
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventDetailsForOrganizationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventDetailsForOrganizationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventDetailsForOrganizationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventDetailsForOrganizationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventTypesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventTypesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventTypesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventTypesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventTypesResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventsResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class DescribeEventsForOrganizationCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.DescribeEventsForOrganizationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.DescribeEventsForOrganizationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.DescribeEventsForOrganizationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeEventsForOrganizationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -21,7 +21,7 @@ class DescribeHealthServiceStatusForOrganizationCommand extends smithy_client_1.
21
21
  clientName,
22
22
  commandName,
23
23
  inputFilterSensitiveLog: (input) => input,
24
- outputFilterSensitiveLog: models_0_1.DescribeHealthServiceStatusForOrganizationResponse.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeHealthServiceStatusForOrganizationResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,7 +2,26 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {};
5
+ const regionHash = {
6
+ "aws-cn-global": {
7
+ variants: [
8
+ {
9
+ hostname: "global.health.amazonaws.com.cn",
10
+ tags: [],
11
+ },
12
+ ],
13
+ signingRegion: "cn-northwest-1",
14
+ },
15
+ "aws-global": {
16
+ variants: [
17
+ {
18
+ hostname: "global.health.amazonaws.com",
19
+ tags: [],
20
+ },
21
+ ],
22
+ signingRegion: "us-east-1",
23
+ },
24
+ };
6
25
  const partitionHash = {
7
26
  aws: {
8
27
  regions: [
@@ -15,6 +34,7 @@ const partitionHash = {
15
34
  "ap-southeast-1",
16
35
  "ap-southeast-2",
17
36
  "ap-southeast-3",
37
+ "aws-global",
18
38
  "ca-central-1",
19
39
  "eu-central-1",
20
40
  "eu-north-1",
@@ -49,9 +69,10 @@ const partitionHash = {
49
69
  tags: ["dualstack"],
50
70
  },
51
71
  ],
72
+ endpoint: "aws-global",
52
73
  },
53
74
  "aws-cn": {
54
- regions: ["cn-north-1", "cn-northwest-1"],
75
+ regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
55
76
  regionRegex: "^cn\\-\\w+\\-\\d+$",
56
77
  variants: [
57
78
  {
@@ -71,6 +92,7 @@ const partitionHash = {
71
92
  tags: ["dualstack"],
72
93
  },
73
94
  ],
95
+ endpoint: "aws-cn-global",
74
96
  },
75
97
  "aws-iso": {
76
98
  regions: ["us-iso-east-1", "us-iso-west-1"],