@aws-sdk/client-health 3.41.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +4 -5
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/endpoints.js +1 -0
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/Health.d.ts +18 -18
- package/dist-types/HealthClient.d.ts +4 -5
- package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/DescribeEventDetailsForOrganizationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeEventTypesCommand.d.ts +1 -1
- package/dist-types/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +6 -5
- package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +12 -11
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
35
|
+
|
|
36
|
+
**Note:** Version bump only for package @aws-sdk/client-health
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @aws-sdk/client-health
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
51
|
|
|
8
52
|
|
package/README.md
CHANGED
|
@@ -11,14 +11,13 @@ AWS SDK for JavaScript Health Client for Node.js, Browser and React Native.
|
|
|
11
11
|
|
|
12
12
|
<p>The Health API provides programmatic access to the Health information that
|
|
13
13
|
appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
|
|
14
|
-
can use the API operations to get information about events that might affect your Amazon Web Services
|
|
15
|
-
services and resources.</p>
|
|
14
|
+
can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
|
|
16
15
|
<note>
|
|
17
16
|
<ul>
|
|
18
17
|
<li>
|
|
19
|
-
<p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the
|
|
20
|
-
|
|
21
|
-
doesn't have a Business or Enterprise Support plan, you receive a
|
|
18
|
+
<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
|
|
19
|
+
API. If you call the Health API from an Amazon Web Services account that
|
|
20
|
+
doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
|
|
22
21
|
<code>SubscriptionRequiredException</code> error.</p>
|
|
23
22
|
</li>
|
|
24
23
|
<li>
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/endpoints.js
CHANGED
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
package/dist-types/Health.d.ts
CHANGED
|
@@ -18,14 +18,13 @@ import { HealthClient } from "./HealthClient";
|
|
|
18
18
|
*
|
|
19
19
|
* <p>The Health API provides programmatic access to the Health information that
|
|
20
20
|
* appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
|
|
21
|
-
* can use the API operations to get information about events that might affect your Amazon Web Services
|
|
22
|
-
* services and resources.</p>
|
|
21
|
+
* can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
|
|
23
22
|
* <note>
|
|
24
23
|
* <ul>
|
|
25
24
|
* <li>
|
|
26
|
-
* <p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the
|
|
27
|
-
*
|
|
28
|
-
* doesn't have a Business or Enterprise Support plan, you receive a
|
|
25
|
+
* <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
|
|
26
|
+
* API. If you call the Health API from an Amazon Web Services account that
|
|
27
|
+
* doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
|
|
29
28
|
* <code>SubscriptionRequiredException</code> error.</p>
|
|
30
29
|
* </li>
|
|
31
30
|
* <li>
|
|
@@ -110,8 +109,8 @@ export declare class Health extends HealthClient {
|
|
|
110
109
|
* depending on the Amazon Web Services service.</p>
|
|
111
110
|
* <p>At least one event Amazon Resource Name (ARN) and account ID are required.</p>
|
|
112
111
|
* <p>Before you can call this operation, you must first enable Health to work with
|
|
113
|
-
* Organizations. To do this, call the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html">EnableHealthServiceAccessForOrganization</a>
|
|
114
|
-
*
|
|
112
|
+
* 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
|
|
113
|
+
* management account.</p>
|
|
115
114
|
* <note>
|
|
116
115
|
* <ul>
|
|
117
116
|
* <li>
|
|
@@ -162,8 +161,8 @@ export declare class Health extends HealthClient {
|
|
|
162
161
|
describeEventDetails(args: DescribeEventDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventDetailsCommandOutput) => void): void;
|
|
163
162
|
/**
|
|
164
163
|
* <p>Returns detailed information about one or more specified events for one or more
|
|
165
|
-
* Amazon Web Services accounts in your organization. This information includes standard event data (such as
|
|
166
|
-
* Amazon Web Services Region and service), an event description, and (depending on the event) possible
|
|
164
|
+
* Amazon Web Services accounts in your organization. This information includes standard event data (such as
|
|
165
|
+
* the Amazon Web Services Region and service), an event description, and (depending on the event) possible
|
|
167
166
|
* metadata. This operation doesn't return affected entities, such as the resources related to
|
|
168
167
|
* the event. To return affected entities, use the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html">DescribeAffectedEntitiesForOrganization</a> operation.</p>
|
|
169
168
|
* <note>
|
|
@@ -183,7 +182,7 @@ export declare class Health extends HealthClient {
|
|
|
183
182
|
* </li>
|
|
184
183
|
* <li>
|
|
185
184
|
* <p>To return event details for an event that is specific to an account in your
|
|
186
|
-
* organization,
|
|
185
|
+
* organization, you must specify the <code>awsAccountId</code> parameter in the
|
|
187
186
|
* request. If you don't specify an account ID, Health returns an error message
|
|
188
187
|
* because the event is specific to an account in your organization. </p>
|
|
189
188
|
* </li>
|
|
@@ -268,7 +267,7 @@ export declare class Health extends HealthClient {
|
|
|
268
267
|
* operation to find information about the Health event, such as the category, Amazon Web Services
|
|
269
268
|
* 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>
|
|
270
269
|
* <p>If you don't specify a filter criteria, the API operation returns all event types, in no
|
|
271
|
-
* particular order.
|
|
270
|
+
* particular order. </p>
|
|
272
271
|
* <note>
|
|
273
272
|
* <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p>
|
|
274
273
|
* </note>
|
|
@@ -289,16 +288,17 @@ export declare class Health extends HealthClient {
|
|
|
289
288
|
* <p>Disables Health from working with Organizations. To call this operation, you must sign
|
|
290
289
|
* in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not
|
|
291
290
|
* 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
|
|
292
|
-
* Health events</a> in the
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
291
|
+
* Health events</a> in the <i>Health User Guide</i>.</p>
|
|
292
|
+
* <p>This operation doesn't remove the service-linked role from the management account in your
|
|
293
|
+
* organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the
|
|
294
|
+
* service-linked role. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role">Deleting a Service-Linked Role</a> in the
|
|
296
295
|
* <i>IAM User Guide</i>.</p>
|
|
297
296
|
* <note>
|
|
298
297
|
* <p>You can also disable the organizational feature by using the Organizations <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html">DisableAWSServiceAccess</a> API operation. After you call this operation,
|
|
299
298
|
* Health stops aggregating events for all other Amazon Web Services accounts in your organization.
|
|
300
299
|
* If you call the Health API operations for organizational view, Health returns
|
|
301
|
-
* an error. Health continues to aggregate health events for your
|
|
300
|
+
* an error. Health continues to aggregate health events for your
|
|
301
|
+
* Amazon Web Services account.</p>
|
|
302
302
|
* </note>
|
|
303
303
|
*/
|
|
304
304
|
disableHealthServiceAccessForOrganization(args: DisableHealthServiceAccessForOrganizationCommandInput, options?: __HttpHandlerOptions): Promise<DisableHealthServiceAccessForOrganizationCommandOutput>;
|
|
@@ -313,9 +313,9 @@ export declare class Health extends HealthClient {
|
|
|
313
313
|
* <p>To call this operation, you must meet the following requirements:</p>
|
|
314
314
|
* <ul>
|
|
315
315
|
* <li>
|
|
316
|
-
* <p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
|
|
316
|
+
* <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
|
|
317
317
|
* API. If you call the Health API from an Amazon Web Services account that doesn't have a
|
|
318
|
-
* Business or Enterprise Support plan, you receive a
|
|
318
|
+
* Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
|
|
319
319
|
* <code>SubscriptionRequiredException</code> error.</p>
|
|
320
320
|
* </li>
|
|
321
321
|
* <li>
|
|
@@ -139,14 +139,13 @@ export interface HealthClientResolvedConfig extends HealthClientResolvedConfigTy
|
|
|
139
139
|
*
|
|
140
140
|
* <p>The Health API provides programmatic access to the Health information that
|
|
141
141
|
* appears in the <a href="https://phd.aws.amazon.com/phd/home#/">Personal Health Dashboard</a>. You
|
|
142
|
-
* can use the API operations to get information about events that might affect your Amazon Web Services
|
|
143
|
-
* services and resources.</p>
|
|
142
|
+
* can use the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
|
|
144
143
|
* <note>
|
|
145
144
|
* <ul>
|
|
146
145
|
* <li>
|
|
147
|
-
* <p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the
|
|
148
|
-
*
|
|
149
|
-
* doesn't have a Business or Enterprise Support plan, you receive a
|
|
146
|
+
* <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
|
|
147
|
+
* API. If you call the Health API from an Amazon Web Services account that
|
|
148
|
+
* doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
|
|
150
149
|
* <code>SubscriptionRequiredException</code> error.</p>
|
|
151
150
|
* </li>
|
|
152
151
|
* <li>
|
|
@@ -13,8 +13,8 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput extends De
|
|
|
13
13
|
* depending on the Amazon Web Services service.</p>
|
|
14
14
|
* <p>At least one event Amazon Resource Name (ARN) and account ID are required.</p>
|
|
15
15
|
* <p>Before you can call this operation, you must first enable Health to work with
|
|
16
|
-
* Organizations. To do this, call the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html">EnableHealthServiceAccessForOrganization</a>
|
|
17
|
-
*
|
|
16
|
+
* 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
|
|
17
|
+
* management account.</p>
|
|
18
18
|
* <note>
|
|
19
19
|
* <ul>
|
|
20
20
|
* <li>
|
|
@@ -8,8 +8,8 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns detailed information about one or more specified events for one or more
|
|
11
|
-
* Amazon Web Services accounts in your organization. This information includes standard event data (such as
|
|
12
|
-
* Amazon Web Services Region and service), an event description, and (depending on the event) possible
|
|
11
|
+
* Amazon Web Services accounts in your organization. This information includes standard event data (such as
|
|
12
|
+
* the Amazon Web Services Region and service), an event description, and (depending on the event) possible
|
|
13
13
|
* metadata. This operation doesn't return affected entities, such as the resources related to
|
|
14
14
|
* the event. To return affected entities, use the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html">DescribeAffectedEntitiesForOrganization</a> operation.</p>
|
|
15
15
|
* <note>
|
|
@@ -29,7 +29,7 @@ export interface DescribeEventDetailsForOrganizationCommandOutput extends Descri
|
|
|
29
29
|
* </li>
|
|
30
30
|
* <li>
|
|
31
31
|
* <p>To return event details for an event that is specific to an account in your
|
|
32
|
-
* organization,
|
|
32
|
+
* organization, you must specify the <code>awsAccountId</code> parameter in the
|
|
33
33
|
* request. If you don't specify an account ID, Health returns an error message
|
|
34
34
|
* because the event is specific to an account in your organization. </p>
|
|
35
35
|
* </li>
|
|
@@ -11,7 +11,7 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo
|
|
|
11
11
|
* operation to find information about the Health event, such as the category, Amazon Web Services
|
|
12
12
|
* 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>
|
|
13
13
|
* <p>If you don't specify a filter criteria, the API operation returns all event types, in no
|
|
14
|
-
* particular order.
|
|
14
|
+
* particular order. </p>
|
|
15
15
|
* <note>
|
|
16
16
|
* <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p>
|
|
17
17
|
* </note>
|
|
@@ -9,16 +9,17 @@ export interface DisableHealthServiceAccessForOrganizationCommandOutput extends
|
|
|
9
9
|
* <p>Disables Health from working with Organizations. To call this operation, you must sign
|
|
10
10
|
* in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not
|
|
11
11
|
* 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
|
|
12
|
-
* Health events</a> in the
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* Health events</a> in the <i>Health User Guide</i>.</p>
|
|
13
|
+
* <p>This operation doesn't remove the service-linked role from the management account in your
|
|
14
|
+
* organization. You must use the IAM console, API, or Command Line Interface (CLI) to remove the
|
|
15
|
+
* service-linked role. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role">Deleting a Service-Linked Role</a> in the
|
|
16
16
|
* <i>IAM User Guide</i>.</p>
|
|
17
17
|
* <note>
|
|
18
18
|
* <p>You can also disable the organizational feature by using the Organizations <a href="https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html">DisableAWSServiceAccess</a> API operation. After you call this operation,
|
|
19
19
|
* Health stops aggregating events for all other Amazon Web Services accounts in your organization.
|
|
20
20
|
* If you call the Health API operations for organizational view, Health returns
|
|
21
|
-
* an error. Health continues to aggregate health events for your
|
|
21
|
+
* an error. Health continues to aggregate health events for your
|
|
22
|
+
* Amazon Web Services account.</p>
|
|
22
23
|
* </note>
|
|
23
24
|
* @example
|
|
24
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -14,9 +14,9 @@ export interface EnableHealthServiceAccessForOrganizationCommandOutput extends _
|
|
|
14
14
|
* <p>To call this operation, you must meet the following requirements:</p>
|
|
15
15
|
* <ul>
|
|
16
16
|
* <li>
|
|
17
|
-
* <p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health
|
|
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
18
|
* API. If you call the Health API from an Amazon Web Services account that doesn't have a
|
|
19
|
-
* Business or Enterprise Support plan, you receive a
|
|
19
|
+
* Business, Enterprise On-Ramp, or Enterprise Support plan, you receive a
|
|
20
20
|
* <code>SubscriptionRequiredException</code> error.</p>
|
|
21
21
|
* </li>
|
|
22
22
|
* <li>
|
|
@@ -178,8 +178,7 @@ export declare namespace DateTimeRange {
|
|
|
178
178
|
const filterSensitiveLog: (obj: DateTimeRange) => any;
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
-
* <p>The values to use to filter results from the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html">DescribeAffectedEntities</a>
|
|
182
|
-
* operation.</p>
|
|
181
|
+
* <p>The values to use to filter results from the <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntities.html">DescribeAffectedEntities</a> operation.</p>
|
|
183
182
|
*/
|
|
184
183
|
export interface EntityFilter {
|
|
185
184
|
/**
|
|
@@ -661,9 +660,10 @@ export declare namespace EventDetailsErrorItem {
|
|
|
661
660
|
* </li>
|
|
662
661
|
* <li>
|
|
663
662
|
* <p>
|
|
664
|
-
* <i>Account-specific</i> events are specific to either your
|
|
665
|
-
* Amazon
|
|
666
|
-
*
|
|
663
|
+
* <i>Account-specific</i> events are specific to either your
|
|
664
|
+
* Amazon Web Services account or an account in your organization. For example, if there's an issue
|
|
665
|
+
* with Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the
|
|
666
|
+
* event and the affected resources in the account.</p>
|
|
667
667
|
* </li>
|
|
668
668
|
* </ul>
|
|
669
669
|
* <p>You can determine if an event is public or account-specific by using the
|
|
@@ -861,7 +861,8 @@ export interface OrganizationEventDetailsErrorItem {
|
|
|
861
861
|
* <p>We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.</p>
|
|
862
862
|
* </li>
|
|
863
863
|
* <li>
|
|
864
|
-
* <p>Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the
|
|
864
|
+
* <p>Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the
|
|
865
|
+
* Health API. You must have either a Business, Enterprise On-Ramp, or Enterprise Support plan.</p>
|
|
865
866
|
* </li>
|
|
866
867
|
* </ul>
|
|
867
868
|
*/
|
|
@@ -895,9 +896,10 @@ export interface OrganizationEventDetails {
|
|
|
895
896
|
* </li>
|
|
896
897
|
* <li>
|
|
897
898
|
* <p>
|
|
898
|
-
* <i>Account-specific</i> events are specific to either your
|
|
899
|
-
* Amazon
|
|
900
|
-
*
|
|
899
|
+
* <i>Account-specific</i> events are specific to either your
|
|
900
|
+
* Amazon Web Services account or an account in your organization. For example, if there's an issue
|
|
901
|
+
* with Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the
|
|
902
|
+
* event and the affected resources in the account.</p>
|
|
901
903
|
* </li>
|
|
902
904
|
* </ul>
|
|
903
905
|
* <p>You can determine if an event is public or account-specific by using the
|
|
@@ -1303,8 +1305,7 @@ export declare namespace DescribeEventTypesResponse {
|
|
|
1303
1305
|
export interface DescribeHealthServiceStatusForOrganizationResponse {
|
|
1304
1306
|
/**
|
|
1305
1307
|
* <p>Information about the status of enabling or disabling the Health organizational
|
|
1306
|
-
* view feature in
|
|
1307
|
-
* your organization.</p>
|
|
1308
|
+
* view feature in your organization.</p>
|
|
1308
1309
|
* <p>Valid values are <code>ENABLED | DISABLED | PENDING</code>. </p>
|
|
1309
1310
|
*/
|
|
1310
1311
|
healthServiceAccessStatusForOrganization?: string;
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-health",
|
|
3
3
|
"description": "AWS SDK for JavaScript Health Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
12
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
-
"clean:dist": "rimraf ./dist",
|
|
13
|
-
"clean:docs": "rimraf ./docs"
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
13
|
+
"clean:dist": "rimraf ./dist-*",
|
|
14
|
+
"clean:docs": "rimraf ./docs"
|
|
16
15
|
},
|
|
17
16
|
"main": "./dist-cjs/index.js",
|
|
18
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +20,42 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.46.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.46.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.46.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.46.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.46.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.46.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.46.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.46.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.46.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.46.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.46.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.46.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.46.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.46.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.46.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.46.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.46.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.46.0",
|
|
41
|
+
"@aws-sdk/types": "3.46.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.46.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.46.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.46.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.46.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.46.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.46.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.46.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.46.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.46.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.46.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|