@aws-sdk/client-health 3.329.0 → 3.335.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 (34) hide show
  1. package/README.md +16 -21
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/protocols/Aws_json1_1.js +1 -1
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/protocols/Aws_json1_1.js +1 -1
  6. package/dist-types/Health.d.ts +17 -23
  7. package/dist-types/HealthClient.d.ts +20 -25
  8. package/dist-types/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +1 -1
  9. package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +3 -4
  10. package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +2 -3
  11. package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +3 -3
  12. package/dist-types/commands/DescribeEventDetailsCommand.d.ts +3 -3
  13. package/dist-types/commands/DescribeEventDetailsForOrganizationCommand.d.ts +3 -4
  14. package/dist-types/commands/DescribeEventTypesCommand.d.ts +3 -4
  15. package/dist-types/commands/DescribeEventsCommand.d.ts +5 -5
  16. package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +5 -5
  17. package/dist-types/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +1 -2
  18. package/dist-types/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +1 -2
  19. package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +4 -4
  20. package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
  21. package/dist-types/models/models_0.d.ts +18 -12
  22. package/dist-types/protocols/Aws_json1_1.d.ts +2 -2
  23. package/dist-types/runtimeConfig.browser.d.ts +12 -12
  24. package/dist-types/runtimeConfig.d.ts +9 -9
  25. package/dist-types/runtimeConfig.native.d.ts +13 -13
  26. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  27. package/dist-types/ts3.4/HealthClient.d.ts +7 -5
  28. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -2
  29. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -15
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +12 -12
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -15
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  34. package/package.json +7 -6
package/README.md CHANGED
@@ -8,28 +8,23 @@ AWS SDK for JavaScript Health Client for Node.js, Browser and React Native.
8
8
 
9
9
  <fullname>Health</fullname>
10
10
 
11
- <p>The Health API provides programmatic access to the Health information that
12
- appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
13
- can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
14
- <note>
15
- <ul>
16
- <li>
17
- <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
18
- API. If you call the Health API from an Amazon Web Services account that
19
- doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
11
+ <p>The Health API provides access to the Health information that appears in the
12
+ <a href="https://health.aws.amazon.com/health/home">Health Dashboard</a>. You can use
13
+ the API operations to get information about events that might affect your Amazon Web Services and resources.</p>
14
+ <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health API. If you call the Health API from an
15
+ Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
20
16
  <code>SubscriptionRequiredException</code> error.</p>
21
- </li>
22
- <li>
23
- <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to
24
- call the Health API operations. Health supports a multi-Region
25
- application architecture and has two regional endpoints in an active-passive
26
- configuration. You can use the high availability endpoint example to determine
27
- which Amazon Web Services Region is active, so that you can get the latest information from the
28
- API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health API</a> in the
29
- <i>Health User Guide</i>.</p>
30
- </li>
31
- </ul>
32
- </note>
17
+ <p>For API access, you need an access key ID and a secret access key. Use temporary
18
+ credentials instead of long-term access keys when possible. Temporary credentials include
19
+ an access key ID, a secret access key, and a security token that indicates when the
20
+ credentials expire. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html">Best practices for managing
21
+ Amazon Web Services access keys</a> in the <i>Amazon Web Services General Reference</i>.</p>
22
+ <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the
23
+ Health API operations. Health supports a multi-Region application architecture
24
+ and has two regional endpoints in an active-passive configuration. You can use the high
25
+ availability endpoint example to determine which Amazon Web Services Region is active, so that you can
26
+ get the latest information from the API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health
27
+ API</a> in the <i>Health User Guide</i>.</p>
33
28
  <p>For authentication of requests, Health uses the <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing
34
29
  Process</a>.</p>
35
30
  <p>If your Amazon Web Services account is part of Organizations, you can use the Health organizational
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const z = "required", A = "type", B = "fn", C = "argv", D = "ref", E = "properties", F = "headers", G = "authSchemes", H = "signingName", I = "signingRegion";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [z]: false, [A]: "String" }, g = { [z]: true, "default": false, [A]: "Boolean" }, h = { [D]: "Region" }, i = { [D]: "Endpoint" }, j = {}, k = { [B]: "getAttr", [C]: [{ [D]: a }, "name"] }, l = { [G]: [{ "name": "sigv4", [H]: "health", [I]: "us-east-1" }] }, m = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: c }, n = { [c]: "FIPS is enabled but this partition does not support FIPS", [A]: c }, o = { [c]: "DualStack is enabled but this partition does not support DualStack", [A]: c }, p = { "url": "https://global.health.amazonaws.com", [E]: l, [F]: {} }, q = { [G]: [{ "name": "sigv4", [H]: "health", [I]: "cn-northwest-1" }] }, r = { "url": "https://global.health.amazonaws.com.cn", [E]: q, [F]: {} }, s = [i], t = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }], u = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], v = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], w = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsFIPS"] }] }, { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsDualStack"] }] }], x = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsFIPS"] }] }], y = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsDualStack"] }] }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [B]: "aws.partition", [C]: [h], assign: a }], [A]: b, rules: [{ conditions: [{ [B]: "isSet", [C]: s }, { [B]: "parseURL", [C]: s, assign: "url" }], [A]: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: c }, { [A]: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: c }, { endpoint: { url: i, [E]: j, [F]: j }, [A]: d }] }] }, { conditions: [{ [B]: e, [C]: [k, "aws"] }], [A]: b, rules: [{ conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.api.aws", [E]: l, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.amazonaws.com", [E]: l, [F]: j }, [A]: d }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.api.aws", [E]: l, [F]: j }, [A]: d }] }, o] }, { endpoint: p, [A]: d }] }, { conditions: [{ [B]: e, [C]: [k, "aws-cn"] }], [A]: b, rules: [{ conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.api.amazonwebservices.com.cn", [E]: q, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.amazonaws.com.cn", [E]: q, [F]: j }, [A]: d }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.api.amazonwebservices.com.cn", [E]: q, [F]: j }, [A]: d }] }, o] }, { endpoint: r, [A]: d }] }, { conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [E]: j, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", [E]: j, [F]: j }, [A]: d }] }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", [E]: j, [F]: j }, [A]: d }] }, o] }, { [A]: b, rules: [{ conditions: [{ [B]: e, [C]: [h, "aws-global"] }], endpoint: p, [A]: d }, { conditions: [{ [B]: e, [C]: [h, "aws-cn-global"] }], endpoint: r, [A]: d }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", [E]: j, [F]: j }, [A]: d }] }] }] };
4
+ const u = "required", v = "fn", w = "argv", x = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "health", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, q = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
6
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: a, [w]: [k] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ conditions: [p, q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [p], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: f, [w]: [o, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }, headers: n }, type: d }, { conditions: [{ [v]: f, [w]: [o, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }, headers: n }, type: d }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_EnableHealthServiceAccessForOrganizationCommand = exports.de_DisableHealthServiceAccessForOrganizationCommand = exports.de_DescribeHealthServiceStatusForOrganizationCommand = exports.de_DescribeEventTypesCommand = exports.de_DescribeEventsForOrganizationCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventDetailsForOrganizationCommand = exports.de_DescribeEventDetailsCommand = exports.de_DescribeEventAggregatesCommand = exports.de_DescribeEntityAggregatesCommand = exports.de_DescribeAffectedEntitiesForOrganizationCommand = exports.de_DescribeAffectedEntitiesCommand = exports.de_DescribeAffectedAccountsForOrganizationCommand = exports.se_EnableHealthServiceAccessForOrganizationCommand = exports.se_DisableHealthServiceAccessForOrganizationCommand = exports.se_DescribeHealthServiceStatusForOrganizationCommand = exports.se_DescribeEventTypesCommand = exports.se_DescribeEventsForOrganizationCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventDetailsForOrganizationCommand = exports.se_DescribeEventDetailsCommand = exports.se_DescribeEventAggregatesCommand = exports.se_DescribeEntityAggregatesCommand = exports.se_DescribeAffectedEntitiesForOrganizationCommand = exports.se_DescribeAffectedEntitiesCommand = exports.se_DescribeAffectedAccountsForOrganizationCommand = void 0;
4
- const protocol_http_1 = require("@aws-sdk/protocol-http");
5
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const HealthServiceException_1 = require("../models/HealthServiceException");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const se_DescribeAffectedAccountsForOrganizationCommand = async (input, context) => {
@@ -1,4 +1,4 @@
1
- const z = "required", A = "type", B = "fn", C = "argv", D = "ref", E = "properties", F = "headers", G = "authSchemes", H = "signingName", I = "signingRegion";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = "stringEquals", f = { [z]: false, [A]: "String" }, g = { [z]: true, "default": false, [A]: "Boolean" }, h = { [D]: "Region" }, i = { [D]: "Endpoint" }, j = {}, k = { [B]: "getAttr", [C]: [{ [D]: a }, "name"] }, l = { [G]: [{ "name": "sigv4", [H]: "health", [I]: "us-east-1" }] }, m = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [A]: c }, n = { [c]: "FIPS is enabled but this partition does not support FIPS", [A]: c }, o = { [c]: "DualStack is enabled but this partition does not support DualStack", [A]: c }, p = { "url": "https://global.health.amazonaws.com", [E]: l, [F]: {} }, q = { [G]: [{ "name": "sigv4", [H]: "health", [I]: "cn-northwest-1" }] }, r = { "url": "https://global.health.amazonaws.com.cn", [E]: q, [F]: {} }, s = [i], t = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }], u = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], v = [{ [B]: "booleanEquals", [C]: [{ [D]: "UseFIPS" }, true] }, { [B]: "booleanEquals", [C]: [{ [D]: "UseDualStack" }, true] }], w = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsFIPS"] }] }, { [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsDualStack"] }] }], x = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsFIPS"] }] }], y = [{ [B]: "booleanEquals", [C]: [true, { [B]: "getAttr", [C]: [{ [D]: a }, "supportsDualStack"] }] }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [B]: "aws.partition", [C]: [h], assign: a }], [A]: b, rules: [{ conditions: [{ [B]: "isSet", [C]: s }, { [B]: "parseURL", [C]: s, assign: "url" }], [A]: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [A]: c }, { [A]: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [A]: c }, { endpoint: { url: i, [E]: j, [F]: j }, [A]: d }] }] }, { conditions: [{ [B]: e, [C]: [k, "aws"] }], [A]: b, rules: [{ conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.api.aws", [E]: l, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.amazonaws.com", [E]: l, [F]: j }, [A]: d }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.api.aws", [E]: l, [F]: j }, [A]: d }] }, o] }, { endpoint: p, [A]: d }] }, { conditions: [{ [B]: e, [C]: [k, "aws-cn"] }], [A]: b, rules: [{ conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.api.amazonwebservices.com.cn", [E]: q, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.amazonaws.com.cn", [E]: q, [F]: j }, [A]: d }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.api.amazonwebservices.com.cn", [E]: q, [F]: j }, [A]: d }] }, o] }, { endpoint: r, [A]: d }] }, { conditions: v, [A]: b, rules: [{ conditions: w, [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [E]: j, [F]: j }, [A]: d }] }, m] }, { conditions: t, [A]: b, rules: [{ conditions: x, [A]: b, rules: [{ [A]: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", [E]: j, [F]: j }, [A]: d }] }] }, n] }, { conditions: u, [A]: b, rules: [{ conditions: y, [A]: b, rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", [E]: j, [F]: j }, [A]: d }] }, o] }, { [A]: b, rules: [{ conditions: [{ [B]: e, [C]: [h, "aws-global"] }], endpoint: p, [A]: d }, { conditions: [{ [B]: e, [C]: [h, "aws-cn-global"] }], endpoint: r, [A]: d }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", [E]: j, [F]: j }, [A]: d }] }] }] };
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "sigv4", h = "health", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [x]: "Region" }, p = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, q = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, r = [l], s = [m], t = [o];
3
+ const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: a, [w]: [k] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: k, properties: n, headers: n }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ conditions: [p, q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [p], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://health.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: f, [w]: [o, "aws-global"] }], endpoint: { url: "https://global.health.amazonaws.com", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "us-east-1" }] }, headers: n }, type: d }, { conditions: [{ [v]: f, [w]: [o, "aws-cn-global"] }], endpoint: { url: "https://global.health.amazonaws.com.cn", properties: { authSchemes: [{ name: g, signingName: h, signingRegion: "cn-northwest-1" }] }, headers: n }, type: d }, { endpoint: { url: "https://health.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
1
  import { _json, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
2
+ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { HealthServiceException as __BaseException } from "../models/HealthServiceException";
4
4
  import { ConcurrentModificationException, InvalidPaginationToken, UnsupportedLocale, } from "../models/models_0";
5
5
  export const se_DescribeAffectedAccountsForOrganizationCommand = async (input, context) => {
@@ -96,29 +96,23 @@ export interface Health {
96
96
  /**
97
97
  * @public
98
98
  * <fullname>Health</fullname>
99
- *
100
- * <p>The Health API provides programmatic access to the Health information that
101
- * appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
102
- * can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
103
- * <note>
104
- * <ul>
105
- * <li>
106
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
107
- * API. If you call the Health API from an Amazon Web Services account that
108
- * doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
109
- * <code>SubscriptionRequiredException</code> error.</p>
110
- * </li>
111
- * <li>
112
- * <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to
113
- * call the Health API operations. Health supports a multi-Region
114
- * application architecture and has two regional endpoints in an active-passive
115
- * configuration. You can use the high availability endpoint example to determine
116
- * which Amazon Web Services Region is active, so that you can get the latest information from the
117
- * API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health API</a> in the
118
- * <i>Health User Guide</i>.</p>
119
- * </li>
120
- * </ul>
121
- * </note>
99
+ * <p>The Health API provides access to the Health information that appears in the
100
+ * <a href="https://health.aws.amazon.com/health/home">Health Dashboard</a>. You can use
101
+ * the API operations to get information about events that might affect your Amazon Web Services and resources.</p>
102
+ * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health API. If you call the Health API from an
103
+ * Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
104
+ * <code>SubscriptionRequiredException</code> error.</p>
105
+ * <p>For API access, you need an access key ID and a secret access key. Use temporary
106
+ * credentials instead of long-term access keys when possible. Temporary credentials include
107
+ * an access key ID, a secret access key, and a security token that indicates when the
108
+ * credentials expire. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html">Best practices for managing
109
+ * Amazon Web Services access keys</a> in the <i>Amazon Web Services General Reference</i>.</p>
110
+ * <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the
111
+ * Health API operations. Health supports a multi-Region application architecture
112
+ * and has two regional endpoints in an active-passive configuration. You can use the high
113
+ * availability endpoint example to determine which Amazon Web Services Region is active, so that you can
114
+ * get the latest information from the API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health
115
+ * API</a> in the <i>Health User Guide</i>.</p>
122
116
  * <p>For authentication of requests, Health uses the <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing
123
117
  * Process</a>.</p>
124
118
  * <p>If your Amazon Web Services account is part of Organizations, you can use the Health organizational
@@ -4,9 +4,10 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middle
4
4
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
5
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
10
+ import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
10
11
  import { DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput } from "./commands/DescribeAffectedAccountsForOrganizationCommand";
11
12
  import { DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput } from "./commands/DescribeAffectedEntitiesCommand";
12
13
  import { DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput } from "./commands/DescribeAffectedEntitiesForOrganizationCommand";
@@ -157,29 +158,23 @@ export interface HealthClientResolvedConfig extends HealthClientResolvedConfigTy
157
158
  /**
158
159
  * @public
159
160
  * <fullname>Health</fullname>
160
- *
161
- * <p>The Health API provides programmatic access to the Health information that
162
- * appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
163
- * can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
164
- * <note>
165
- * <ul>
166
- * <li>
167
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
168
- * API. If you call the Health API from an Amazon Web Services account that
169
- * doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
170
- * <code>SubscriptionRequiredException</code> error.</p>
171
- * </li>
172
- * <li>
173
- * <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to
174
- * call the Health API operations. Health supports a multi-Region
175
- * application architecture and has two regional endpoints in an active-passive
176
- * configuration. You can use the high availability endpoint example to determine
177
- * which Amazon Web Services Region is active, so that you can get the latest information from the
178
- * API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health API</a> in the
179
- * <i>Health User Guide</i>.</p>
180
- * </li>
181
- * </ul>
182
- * </note>
161
+ * <p>The Health API provides access to the Health information that appears in the
162
+ * <a href="https://health.aws.amazon.com/health/home">Health Dashboard</a>. You can use
163
+ * the API operations to get information about events that might affect your Amazon Web Services and resources.</p>
164
+ * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health API. If you call the Health API from an
165
+ * Amazon Web Services account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
166
+ * <code>SubscriptionRequiredException</code> error.</p>
167
+ * <p>For API access, you need an access key ID and a secret access key. Use temporary
168
+ * credentials instead of long-term access keys when possible. Temporary credentials include
169
+ * an access key ID, a secret access key, and a security token that indicates when the
170
+ * credentials expire. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html">Best practices for managing
171
+ * Amazon Web Services access keys</a> in the <i>Amazon Web Services General Reference</i>.</p>
172
+ * <p>You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to call the
173
+ * Health API operations. Health supports a multi-Region application architecture
174
+ * and has two regional endpoints in an active-passive configuration. You can use the high
175
+ * availability endpoint example to determine which Amazon Web Services Region is active, so that you can
176
+ * get the latest information from the API. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/health-api.html">Accessing the Health
177
+ * API</a> in the <i>Health User Guide</i>.</p>
183
178
  * <p>For authentication of requests, Health uses the <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing
184
179
  * Process</a>.</p>
185
180
  * <p>If your Amazon Web Services account is part of Organizations, you can use the Health organizational
@@ -45,7 +45,7 @@ export interface DescribeAffectedAccountsForOrganizationCommandOutput extends De
45
45
  * // affectedAccounts: [ // affectedAccountsList
46
46
  * // "STRING_VALUE",
47
47
  * // ],
48
- * // eventScopeCode: "STRING_VALUE",
48
+ * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE",
49
49
  * // nextToken: "STRING_VALUE",
50
50
  * // };
51
51
  *
@@ -21,11 +21,10 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
21
21
  * @public
22
22
  * <p>Returns a list of entities that have been affected by the specified events, based on the
23
23
  * specified filter criteria. Entities can refer to individual customer resources, groups of
24
- * customer resources, or any other construct, depending on the Amazon Web Services service. Events that
24
+ * customer resources, or any other construct, depending on the Amazon Web Service. Events that
25
25
  * have impact beyond that of the affected entities, or where the extent of impact is unknown,
26
26
  * include at least one entity indicating this.</p>
27
27
  * <p>At least one event ARN is required.</p>
28
- *
29
28
  * <note>
30
29
  * <ul>
31
30
  * <li>
@@ -66,7 +65,7 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
66
65
  * },
67
66
  * ],
68
67
  * statusCodes: [ // entityStatusCodeList
69
- * "STRING_VALUE",
68
+ * "IMPAIRED" || "UNIMPAIRED" || "UNKNOWN",
70
69
  * ],
71
70
  * },
72
71
  * locale: "STRING_VALUE",
@@ -84,7 +83,7 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE
84
83
  * // entityUrl: "STRING_VALUE",
85
84
  * // awsAccountId: "STRING_VALUE",
86
85
  * // lastUpdatedTime: new Date("TIMESTAMP"),
87
- * // statusCode: "STRING_VALUE",
86
+ * // statusCode: "IMPAIRED" || "UNIMPAIRED" || "UNKNOWN",
88
87
  * // tags: { // tagSet
89
88
  * // "<keys>": "STRING_VALUE",
90
89
  * // },
@@ -22,7 +22,7 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
22
22
  * <p>Returns a list of entities that have been affected by one or more events for one or more
23
23
  * accounts in your organization in Organizations, based on the filter criteria. Entities can refer
24
24
  * to individual customer resources, groups of customer resources, or any other construct,
25
- * depending on the Amazon Web Services service.</p>
25
+ * depending on the Amazon Web Service.</p>
26
26
  * <p>At least one event Amazon Resource Name (ARN) and account ID are required.</p>
27
27
  * <p>Before you can call this operation, you must first enable Health to work with
28
28
  * Organizations. To do this, call the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html">EnableHealthServiceAccessForOrganization</a> operation from your organization's
@@ -37,7 +37,6 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
37
37
  * information, see <a href="https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p>
38
38
  * </li>
39
39
  * </ul>
40
- *
41
40
  * </note>
42
41
  * @example
43
42
  * Use a bare-bones client and the command you need to make an API call.
@@ -67,7 +66,7 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
67
66
  * // entityUrl: "STRING_VALUE",
68
67
  * // awsAccountId: "STRING_VALUE",
69
68
  * // lastUpdatedTime: new Date("TIMESTAMP"),
70
- * // statusCode: "STRING_VALUE",
69
+ * // statusCode: "IMPAIRED" || "UNIMPAIRED" || "UNKNOWN",
71
70
  * // tags: { // tagSet
72
71
  * // "<keys>": "STRING_VALUE",
73
72
  * // },
@@ -73,7 +73,7 @@ export interface DescribeEventAggregatesCommandOutput extends DescribeEventAggre
73
73
  * "STRING_VALUE",
74
74
  * ],
75
75
  * eventTypeCategories: [ // eventTypeCategoryList2
76
- * "STRING_VALUE",
76
+ * "issue" || "accountNotification" || "scheduledChange" || "investigation",
77
77
  * ],
78
78
  * tags: [ // tagFilter
79
79
  * { // tagSet
@@ -81,10 +81,10 @@ export interface DescribeEventAggregatesCommandOutput extends DescribeEventAggre
81
81
  * },
82
82
  * ],
83
83
  * eventStatusCodes: [ // eventStatusCodeList
84
- * "STRING_VALUE",
84
+ * "open" || "closed" || "upcoming",
85
85
  * ],
86
86
  * },
87
- * aggregateField: "STRING_VALUE", // required
87
+ * aggregateField: "eventTypeCategory", // required
88
88
  * maxResults: Number("int"),
89
89
  * nextToken: "STRING_VALUE",
90
90
  * };
@@ -50,14 +50,14 @@ export interface DescribeEventDetailsCommandOutput extends DescribeEventDetailsR
50
50
  * // arn: "STRING_VALUE",
51
51
  * // service: "STRING_VALUE",
52
52
  * // eventTypeCode: "STRING_VALUE",
53
- * // eventTypeCategory: "STRING_VALUE",
53
+ * // eventTypeCategory: "issue" || "accountNotification" || "scheduledChange" || "investigation",
54
54
  * // region: "STRING_VALUE",
55
55
  * // availabilityZone: "STRING_VALUE",
56
56
  * // startTime: new Date("TIMESTAMP"),
57
57
  * // endTime: new Date("TIMESTAMP"),
58
58
  * // lastUpdatedTime: new Date("TIMESTAMP"),
59
- * // statusCode: "STRING_VALUE",
60
- * // eventScopeCode: "STRING_VALUE",
59
+ * // statusCode: "open" || "closed" || "upcoming",
60
+ * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE",
61
61
  * // },
62
62
  * // eventDescription: { // EventDescription
63
63
  * // latestDescription: "STRING_VALUE",
@@ -47,7 +47,6 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
47
47
  * </li>
48
48
  * </ul>
49
49
  * <p>For more information, see <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html">Event</a>.</p>
50
- *
51
50
  * <note>
52
51
  * <p>This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more
53
52
  * information, see <a href="https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions">Resource- and action-based conditions</a> in the <i>Health User Guide</i>.</p>
@@ -77,14 +76,14 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
77
76
  * // arn: "STRING_VALUE",
78
77
  * // service: "STRING_VALUE",
79
78
  * // eventTypeCode: "STRING_VALUE",
80
- * // eventTypeCategory: "STRING_VALUE",
79
+ * // eventTypeCategory: "issue" || "accountNotification" || "scheduledChange" || "investigation",
81
80
  * // region: "STRING_VALUE",
82
81
  * // availabilityZone: "STRING_VALUE",
83
82
  * // startTime: new Date("TIMESTAMP"),
84
83
  * // endTime: new Date("TIMESTAMP"),
85
84
  * // lastUpdatedTime: new Date("TIMESTAMP"),
86
- * // statusCode: "STRING_VALUE",
87
- * // eventScopeCode: "STRING_VALUE",
85
+ * // statusCode: "open" || "closed" || "upcoming",
86
+ * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE",
88
87
  * // },
89
88
  * // eventDescription: { // EventDescription
90
89
  * // latestDescription: "STRING_VALUE",
@@ -20,8 +20,7 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
20
20
  /**
21
21
  * @public
22
22
  * <p>Returns the event types that meet the specified filter criteria. You can use this API
23
- * operation to find information about the Health event, such as the category, Amazon Web Services
24
- * service, and event code. The metadata for each event appears in the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_EventType.html">EventType</a> object. </p>
23
+ * operation to find information about the Health event, such as the category, Amazon Web Service, and event code. The metadata for each event appears in the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_EventType.html">EventType</a> object. </p>
25
24
  * <p>If you don't specify a filter criteria, the API operation returns all event types, in no
26
25
  * particular order. </p>
27
26
  * <note>
@@ -42,7 +41,7 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
42
41
  * "STRING_VALUE",
43
42
  * ],
44
43
  * eventTypeCategories: [ // EventTypeCategoryList
45
- * "STRING_VALUE",
44
+ * "issue" || "accountNotification" || "scheduledChange" || "investigation",
46
45
  * ],
47
46
  * },
48
47
  * locale: "STRING_VALUE",
@@ -56,7 +55,7 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
56
55
  * // { // EventType
57
56
  * // service: "STRING_VALUE",
58
57
  * // code: "STRING_VALUE",
59
- * // category: "STRING_VALUE",
58
+ * // category: "issue" || "accountNotification" || "scheduledChange" || "investigation",
60
59
  * // },
61
60
  * // ],
62
61
  * // nextToken: "STRING_VALUE",
@@ -90,7 +90,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
90
90
  * "STRING_VALUE",
91
91
  * ],
92
92
  * eventTypeCategories: [ // eventTypeCategoryList2
93
- * "STRING_VALUE",
93
+ * "issue" || "accountNotification" || "scheduledChange" || "investigation",
94
94
  * ],
95
95
  * tags: [ // tagFilter
96
96
  * { // tagSet
@@ -98,7 +98,7 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
98
98
  * },
99
99
  * ],
100
100
  * eventStatusCodes: [ // eventStatusCodeList
101
- * "STRING_VALUE",
101
+ * "open" || "closed" || "upcoming",
102
102
  * ],
103
103
  * },
104
104
  * nextToken: "STRING_VALUE",
@@ -113,14 +113,14 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M
113
113
  * // arn: "STRING_VALUE",
114
114
  * // service: "STRING_VALUE",
115
115
  * // eventTypeCode: "STRING_VALUE",
116
- * // eventTypeCategory: "STRING_VALUE",
116
+ * // eventTypeCategory: "issue" || "accountNotification" || "scheduledChange" || "investigation",
117
117
  * // region: "STRING_VALUE",
118
118
  * // availabilityZone: "STRING_VALUE",
119
119
  * // startTime: new Date("TIMESTAMP"),
120
120
  * // endTime: new Date("TIMESTAMP"),
121
121
  * // lastUpdatedTime: new Date("TIMESTAMP"),
122
- * // statusCode: "STRING_VALUE",
123
- * // eventScopeCode: "STRING_VALUE",
122
+ * // statusCode: "open" || "closed" || "upcoming",
123
+ * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE",
124
124
  * // },
125
125
  * // ],
126
126
  * // nextToken: "STRING_VALUE",
@@ -90,10 +90,10 @@ export interface DescribeEventsForOrganizationCommandOutput extends DescribeEven
90
90
  * "STRING_VALUE",
91
91
  * ],
92
92
  * eventTypeCategories: [ // eventTypeCategoryList2
93
- * "STRING_VALUE",
93
+ * "issue" || "accountNotification" || "scheduledChange" || "investigation",
94
94
  * ],
95
95
  * eventStatusCodes: [ // eventStatusCodeList
96
- * "STRING_VALUE",
96
+ * "open" || "closed" || "upcoming",
97
97
  * ],
98
98
  * },
99
99
  * nextToken: "STRING_VALUE",
@@ -108,13 +108,13 @@ export interface DescribeEventsForOrganizationCommandOutput extends DescribeEven
108
108
  * // arn: "STRING_VALUE",
109
109
  * // service: "STRING_VALUE",
110
110
  * // eventTypeCode: "STRING_VALUE",
111
- * // eventTypeCategory: "STRING_VALUE",
112
- * // eventScopeCode: "STRING_VALUE",
111
+ * // eventTypeCategory: "issue" || "accountNotification" || "scheduledChange" || "investigation",
112
+ * // eventScopeCode: "PUBLIC" || "ACCOUNT_SPECIFIC" || "NONE",
113
113
  * // region: "STRING_VALUE",
114
114
  * // startTime: new Date("TIMESTAMP"),
115
115
  * // endTime: new Date("TIMESTAMP"),
116
116
  * // lastUpdatedTime: new Date("TIMESTAMP"),
117
- * // statusCode: "STRING_VALUE",
117
+ * // statusCode: "open" || "closed" || "upcoming",
118
118
  * // },
119
119
  * // ],
120
120
  * // nextToken: "STRING_VALUE",
@@ -20,8 +20,7 @@ export interface DescribeHealthServiceStatusForOrganizationCommandOutput extends
20
20
  /**
21
21
  * @public
22
22
  * <p>This operation provides status information on enabling or disabling Health to work
23
- * with your organization. To call this operation, you must sign in as an IAM user, assume
24
- * an IAM role, or sign in as the root user (not recommended) in the organization's
23
+ * with your organization. To call this operation, you must use the organization's
25
24
  * management account.</p>
26
25
  * @example
27
26
  * Use a bare-bones client and the command you need to make an API call.
@@ -19,8 +19,7 @@ export interface DisableHealthServiceAccessForOrganizationCommandOutput extends
19
19
  /**
20
20
  * @public
21
21
  * <p>Disables Health from working with Organizations. To call this operation, you must sign
22
- * in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not
23
- * recommended) in the organization's management account. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html">Aggregating
22
+ * in to the organization's management account. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html">Aggregating
24
23
  * Health events</a> in the <i>Health User Guide</i>.</p>
25
24
  * <p>This operation doesn't remove the service-linked role from the management account in your
26
25
  * organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the
@@ -26,10 +26,10 @@ export interface EnableHealthServiceAccessForOrganizationCommandOutput extends _
26
26
  * <p>To call this operation, you must meet the following requirements:</p>
27
27
  * <ul>
28
28
  * <li>
29
- * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
30
- * API. If you call the Health API from an Amazon Web Services account that doesn't have a
31
- * Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
32
- * <code>SubscriptionRequiredException</code> error.</p>
29
+ * <p>You must have a Business, Enterprise On-Ramp, or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health API. If you call
30
+ * the Health API from an Amazon Web Services account that doesn't have a
31
+ * Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a <code>SubscriptionRequiredException</code>
32
+ * error.</p>
33
33
  * </li>
34
34
  * <li>
35
35
  * <p>You must have permission to call this operation from the organization's
@@ -1,4 +1,5 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
1
+ import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
2
+ import { Endpoint, Provider } from "@smithy/types";
2
3
  export interface ClientInputEndpointParameters {
3
4
  region?: string | Provider<string>;
4
5
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -113,7 +113,7 @@ export interface DescribeAffectedAccountsForOrganizationResponse {
113
113
  */
114
114
  affectedAccounts?: string[];
115
115
  /**
116
- * <p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p>
116
+ * <p>This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.</p>
117
117
  * <ul>
118
118
  * <li>
119
119
  * <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the
@@ -333,9 +333,11 @@ export interface OrganizationAffectedEntitiesErrorItem {
333
333
  */
334
334
  errorName?: string;
335
335
  /**
336
- * <p>The unique identifier for the event type. The format is
337
- * <code>AWS_SERVICE_DESCRIPTION</code>. For example,
338
- * <code>AWS_EC2_SYSTEM_MAINTENANCE_EVENT</code>.</p>
336
+ * <p>A message that describes the error. Follow the error message and retry your request.</p>
337
+ * <p>For example, the <code>InvalidAccountInputError</code> error message appears if
338
+ * you call the <code>DescribeAffectedEntitiesForOrganization</code> operation and specify the
339
+ * <code>AccountSpecific</code> value for the <code>EventScopeCode</code> parameter, but
340
+ * don't specify an Amazon Web Services account.</p>
339
341
  */
340
342
  errorMessage?: string;
341
343
  }
@@ -457,7 +459,7 @@ export interface EventFilter {
457
459
  */
458
460
  eventTypeCodes?: string[];
459
461
  /**
460
- * <p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
462
+ * <p>The Amazon Web Services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
461
463
  */
462
464
  services?: string[];
463
465
  /**
@@ -636,7 +638,7 @@ export interface Event {
636
638
  */
637
639
  arn?: string;
638
640
  /**
639
- * <p>The Amazon Web Services service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
641
+ * <p>The Amazon Web Service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
640
642
  */
641
643
  service?: string;
642
644
  /**
@@ -676,7 +678,7 @@ export interface Event {
676
678
  */
677
679
  statusCode?: EventStatusCode | string;
678
680
  /**
679
- * <p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p>
681
+ * <p>This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.</p>
680
682
  * <ul>
681
683
  * <li>
682
684
  * <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the
@@ -910,7 +912,7 @@ export interface OrganizationEventFilter {
910
912
  */
911
913
  awsAccountIds?: string[];
912
914
  /**
913
- * <p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
915
+ * <p>The Amazon Web Services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
914
916
  */
915
917
  services?: string[];
916
918
  /**
@@ -1007,7 +1009,7 @@ export interface OrganizationEvent {
1007
1009
  */
1008
1010
  arn?: string;
1009
1011
  /**
1010
- * <p>The Amazon Web Services service that is affected by the event, such as EC2 and RDS.</p>
1012
+ * <p>The Amazon Web Service that is affected by the event, such as EC2 and RDS.</p>
1011
1013
  */
1012
1014
  service?: string;
1013
1015
  /**
@@ -1023,7 +1025,7 @@ export interface OrganizationEvent {
1023
1025
  */
1024
1026
  eventTypeCategory?: EventTypeCategory | string;
1025
1027
  /**
1026
- * <p>This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.</p>
1028
+ * <p>This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.</p>
1027
1029
  * <ul>
1028
1030
  * <li>
1029
1031
  * <p>If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the
@@ -1093,7 +1095,7 @@ export interface EventTypeFilter {
1093
1095
  */
1094
1096
  eventTypeCodes?: string[];
1095
1097
  /**
1096
- * <p>The Amazon Web Services services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
1098
+ * <p>The Amazon Web Services associated with the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
1097
1099
  */
1098
1100
  services?: string[];
1099
1101
  /**
@@ -1124,6 +1126,10 @@ export interface DescribeEventTypesRequest {
1124
1126
  nextToken?: string;
1125
1127
  /**
1126
1128
  * <p>The maximum number of items to return in one batch, between 10 and 100, inclusive.</p>
1129
+ * <note>
1130
+ * <p>If you don't specify the <code>maxResults</code> parameter, this operation returns a
1131
+ * maximum of 30 items by default.</p>
1132
+ * </note>
1127
1133
  */
1128
1134
  maxResults?: number;
1129
1135
  }
@@ -1142,7 +1148,7 @@ export interface DescribeEventTypesRequest {
1142
1148
  */
1143
1149
  export interface EventType {
1144
1150
  /**
1145
- * <p>The Amazon Web Services service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
1151
+ * <p>The Amazon Web Service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.</p>
1146
1152
  */
1147
1153
  service?: string;
1148
1154
  /**
@@ -1,5 +1,5 @@
1
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { DescribeAffectedAccountsForOrganizationCommandInput, DescribeAffectedAccountsForOrganizationCommandOutput } from "../commands/DescribeAffectedAccountsForOrganizationCommand";
4
4
  import { DescribeAffectedEntitiesCommandInput, DescribeAffectedEntitiesCommandOutput } from "../commands/DescribeAffectedEntitiesCommand";
5
5
  import { DescribeAffectedEntitiesForOrganizationCommandInput, DescribeAffectedEntitiesForOrganizationCommandOutput } from "../commands/DescribeAffectedEntitiesForOrganizationCommand";
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
13
13
  region: string | import("@aws-sdk/types").Provider<any>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
18
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -7,26 +7,26 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
13
  region: string | import("@aws-sdk/types").Provider<string>;
14
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
- retryMode: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@aws-sdk/types").HashConstructor;
17
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
19
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  apiVersion: string;
21
21
  urlParser: import("@aws-sdk/types").UrlParser;
22
- base64Decoder: import("@aws-sdk/types").Decoder;
23
- base64Encoder: import("@aws-sdk/types").Encoder;
24
- utf8Decoder: import("@aws-sdk/types").Decoder;
25
- utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: import("@smithy/types").Encoder;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: import("@smithy/types").Encoder;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@aws-sdk/types").Logger;
29
- endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
30
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
31
  logger?: import("@aws-sdk/types").Logger | undefined;
32
32
  }) => import("@aws-sdk/types").EndpointV2;
@@ -5,27 +5,27 @@ import { HealthClientConfig } from "./HealthClient";
5
5
  export declare const getRuntimeConfig: (config: HealthClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@aws-sdk/types").HashConstructor;
8
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
11
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
- streamCollector: import("@aws-sdk/types").StreamCollector;
13
- base64Decoder: import("@aws-sdk/types").Decoder;
14
- base64Encoder: import("@aws-sdk/types").Encoder;
15
- utf8Decoder: import("@aws-sdk/types").Decoder;
16
- utf8Encoder: import("@aws-sdk/types").Encoder;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: import("@smithy/types").Encoder;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: import("@smithy/types").Encoder;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
20
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
21
21
  region: string | import("@aws-sdk/types").Provider<any>;
22
- credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
22
+ credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
23
23
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
24
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
24
+ maxAttempts: (number | import("@smithy/types").Provider<number>) & (number | import("@aws-sdk/types").Provider<number>);
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  logger: import("@aws-sdk/types").Logger;
27
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> | undefined;
27
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
28
+ endpoint?: string | import("@aws-sdk/types").EndpointV2 | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@smithy/types").Provider<import("@smithy/types").Endpoint>) | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>) | undefined;
29
29
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
30
  logger?: import("@aws-sdk/types").Logger | undefined;
31
31
  }) => import("@aws-sdk/types").EndpointV2;
@@ -4,8 +4,8 @@ import { HealthClientConfig } from "./HealthClient";
4
4
  */
5
5
  export declare const getRuntimeConfig: (config: HealthClientConfig) => {
6
6
  apiVersion: string;
7
- base64Decoder: import("@aws-sdk/types").Decoder;
8
- base64Encoder: import("@aws-sdk/types").Encoder;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: import("@smithy/types").Encoder;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@aws-sdk/types").Logger | undefined;
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
@@ -22,7 +22,6 @@ import {
22
22
  UserAgentInputConfig,
23
23
  UserAgentResolvedConfig,
24
24
  } from "@aws-sdk/middleware-user-agent";
25
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
25
  import {
27
26
  Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
@@ -33,17 +32,20 @@ import {
33
32
  BodyLengthCalculator as __BodyLengthCalculator,
34
33
  ChecksumConstructor as __ChecksumConstructor,
35
34
  Credentials as __Credentials,
36
- Decoder as __Decoder,
37
- Encoder as __Encoder,
38
35
  HashConstructor as __HashConstructor,
39
36
  HttpHandlerOptions as __HttpHandlerOptions,
40
37
  Logger as __Logger,
41
- Provider as __Provider,
42
38
  Provider,
43
- StreamCollector as __StreamCollector,
44
39
  UrlParser as __UrlParser,
45
40
  UserAgent as __UserAgent,
46
41
  } from "@aws-sdk/types";
42
+ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
43
+ import {
44
+ Decoder as __Decoder,
45
+ Encoder as __Encoder,
46
+ Provider as __Provider,
47
+ StreamCollector as __StreamCollector,
48
+ } from "@smithy/types";
47
49
  import {
48
50
  DescribeAffectedAccountsForOrganizationCommandInput,
49
51
  DescribeAffectedAccountsForOrganizationCommandOutput,
@@ -1,9 +1,8 @@
1
1
  import {
2
- Endpoint,
3
2
  EndpointParameters as __EndpointParameters,
4
3
  EndpointV2,
5
- Provider,
6
4
  } from "@aws-sdk/types";
5
+ import { Endpoint, Provider } from "@smithy/types";
7
6
  export interface ClientInputEndpointParameters {
8
7
  region?: string | Provider<string>;
9
8
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  HttpRequest as __HttpRequest,
3
3
  HttpResponse as __HttpResponse,
4
- } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
6
  import {
7
7
  DescribeAffectedAccountsForOrganizationCommandInput,
8
8
  DescribeAffectedAccountsForOrganizationCommandOutput,
@@ -8,11 +8,12 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
16
+ (number | import("@aws-sdk/types").Provider<number>);
16
17
  region: string | import("@aws-sdk/types").Provider<any>;
17
18
  requestHandler:
18
19
  | (import("@aws-sdk/types").RequestHandler<
@@ -20,19 +21,21 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
20
21
  any,
21
22
  import("@aws-sdk/types").HttpHandlerOptions
22
23
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
24
+ import("@smithy/protocol-http").HttpHandler)
24
25
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
26
27
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
+ streamCollector: import("@smithy/types").StreamCollector;
29
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
31
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
30
33
  apiVersion: string;
31
34
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
35
+ base64Decoder: import("@smithy/types").Decoder;
36
+ base64Encoder: import("@smithy/types").Encoder;
37
+ utf8Decoder: import("@smithy/types").Decoder;
38
+ utf8Encoder: import("@smithy/types").Encoder;
36
39
  disableHostPrefix: boolean;
37
40
  serviceId: string;
38
41
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +49,11 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
46
49
  ) &
47
50
  (
48
51
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
52
+ | import("@smithy/types").Provider<string>
53
+ | import("@smithy/types").Endpoint
54
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
55
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
56
+ | import("@smithy/types").Provider<
54
57
  import("@aws-sdk/types").EndpointV2
55
58
  >
56
59
  ))
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
8
8
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
13
  import("@aws-sdk/types").UserAgent
14
14
  >;
@@ -20,19 +20,19 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
20
20
  any,
21
21
  import("@aws-sdk/types").HttpHandlerOptions
22
22
  > &
23
- import("@aws-sdk/protocol-http").HttpHandler)
23
+ import("@smithy/protocol-http").HttpHandler)
24
24
  | RequestHandler;
25
- retryMode: string | import("@aws-sdk/types").Provider<string>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
26
  sha256: import("@aws-sdk/types").HashConstructor;
27
- streamCollector: import("@aws-sdk/types").StreamCollector;
27
+ streamCollector: import("@smithy/types").StreamCollector;
28
28
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
30
30
  apiVersion: string;
31
31
  urlParser: import("@aws-sdk/types").UrlParser;
32
- base64Decoder: import("@aws-sdk/types").Decoder;
33
- base64Encoder: import("@aws-sdk/types").Encoder;
34
- utf8Decoder: import("@aws-sdk/types").Decoder;
35
- utf8Encoder: import("@aws-sdk/types").Encoder;
32
+ base64Decoder: import("@smithy/types").Decoder;
33
+ base64Encoder: import("@smithy/types").Encoder;
34
+ utf8Decoder: import("@smithy/types").Decoder;
35
+ utf8Encoder: import("@smithy/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@aws-sdk/types").Logger;
@@ -46,11 +46,11 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
46
46
  ) &
47
47
  (
48
48
  | string
49
- | import("@aws-sdk/types").Provider<string>
50
- | import("@aws-sdk/types").Endpoint
51
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
49
+ | import("@smithy/types").Provider<string>
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
52
  | import("@aws-sdk/types").EndpointV2
53
- | import("@aws-sdk/types").Provider<
53
+ | import("@smithy/types").Provider<
54
54
  import("@aws-sdk/types").EndpointV2
55
55
  >
56
56
  ))
@@ -8,41 +8,46 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
8
8
  any,
9
9
  import("@aws-sdk/types").HttpHandlerOptions
10
10
  > &
11
- import("@aws-sdk/protocol-http").HttpHandler)
11
+ import("@smithy/protocol-http").HttpHandler)
12
12
  | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
14
  urlParser: import("@aws-sdk/types").UrlParser;
15
15
  bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
16
- streamCollector: import("@aws-sdk/types").StreamCollector;
17
- base64Decoder: import("@aws-sdk/types").Decoder;
18
- base64Encoder: import("@aws-sdk/types").Encoder;
19
- utf8Decoder: import("@aws-sdk/types").Decoder;
20
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ streamCollector: import("@smithy/types").StreamCollector;
17
+ base64Decoder: import("@smithy/types").Decoder;
18
+ base64Encoder: import("@smithy/types").Encoder;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
24
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
25
27
  region: string | import("@aws-sdk/types").Provider<any>;
26
28
  credentialDefaultProvider: (
27
29
  input: any
28
- ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
30
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
29
31
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
30
32
  import("@aws-sdk/types").UserAgent
31
33
  >;
32
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
33
- retryMode: string | import("@aws-sdk/types").Provider<string>;
34
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
35
+ (number | import("@aws-sdk/types").Provider<number>);
36
+ retryMode: string | import("@smithy/types").Provider<string>;
34
37
  logger: import("@aws-sdk/types").Logger;
35
38
  defaultsMode:
36
39
  | import("@aws-sdk/smithy-client").DefaultsMode
37
- | import("@aws-sdk/types").Provider<
40
+ | import("@smithy/types").Provider<
38
41
  import("@aws-sdk/smithy-client").DefaultsMode
39
42
  >;
40
43
  endpoint?:
41
44
  | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
45
  | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
47
+ import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
48
+ | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
49
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
50
+ import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
46
51
  | undefined;
47
52
  endpointProvider: (
48
53
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -1,8 +1,8 @@
1
1
  import { HealthClientConfig } from "./HealthClient";
2
2
  export declare const getRuntimeConfig: (config: HealthClientConfig) => {
3
3
  apiVersion: string;
4
- base64Decoder: import("@aws-sdk/types").Decoder;
5
- base64Encoder: import("@aws-sdk/types").Encoder;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -13,6 +13,6 @@ export declare const getRuntimeConfig: (config: HealthClientConfig) => {
13
13
  logger: import("@aws-sdk/types").Logger;
14
14
  serviceId: string;
15
15
  urlParser: import("@aws-sdk/types").UrlParser;
16
- utf8Decoder: import("@aws-sdk/types").Decoder;
17
- utf8Encoder: import("@aws-sdk/types").Encoder;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: import("@smithy/types").Encoder;
18
18
  };
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.329.0",
4
+ "version": "3.335.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,9 +21,9 @@
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.329.0",
24
+ "@aws-sdk/client-sts": "3.335.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.335.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.329.0",
28
28
  "@aws-sdk/hash-node": "3.329.0",
29
29
  "@aws-sdk/invalid-dependency": "3.329.0",
@@ -36,10 +36,9 @@
36
36
  "@aws-sdk/middleware-serde": "3.329.0",
37
37
  "@aws-sdk/middleware-signing": "3.329.0",
38
38
  "@aws-sdk/middleware-stack": "3.329.0",
39
- "@aws-sdk/middleware-user-agent": "3.329.0",
39
+ "@aws-sdk/middleware-user-agent": "3.332.0",
40
40
  "@aws-sdk/node-config-provider": "3.329.0",
41
41
  "@aws-sdk/node-http-handler": "3.329.0",
42
- "@aws-sdk/protocol-http": "3.329.0",
43
42
  "@aws-sdk/smithy-client": "3.329.0",
44
43
  "@aws-sdk/types": "3.329.0",
45
44
  "@aws-sdk/url-parser": "3.329.0",
@@ -48,11 +47,13 @@
48
47
  "@aws-sdk/util-body-length-node": "3.310.0",
49
48
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
50
49
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
51
- "@aws-sdk/util-endpoints": "3.329.0",
50
+ "@aws-sdk/util-endpoints": "3.332.0",
52
51
  "@aws-sdk/util-retry": "3.329.0",
53
52
  "@aws-sdk/util-user-agent-browser": "3.329.0",
54
53
  "@aws-sdk/util-user-agent-node": "3.329.0",
55
54
  "@aws-sdk/util-utf8": "3.310.0",
55
+ "@smithy/protocol-http": "^1.0.1",
56
+ "@smithy/types": "^1.0.0",
56
57
  "tslib": "^2.5.0"
57
58
  },
58
59
  "devDependencies": {