@aws-sdk/client-health 3.36.0 → 3.39.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 +42 -0
- package/dist-cjs/Health.js +0 -52
- package/dist-cjs/HealthClient.js +0 -57
- package/dist-cjs/commands/DescribeAffectedAccountsForOrganizationCommand.js +0 -32
- package/dist-cjs/commands/DescribeAffectedEntitiesCommand.js +0 -42
- package/dist-cjs/commands/DescribeAffectedEntitiesForOrganizationCommand.js +0 -45
- package/dist-cjs/commands/DescribeEntityAggregatesCommand.js +0 -25
- package/dist-cjs/commands/DescribeEventAggregatesCommand.js +0 -29
- package/dist-cjs/commands/DescribeEventDetailsCommand.js +0 -33
- package/dist-cjs/commands/DescribeEventDetailsForOrganizationCommand.js +0 -56
- package/dist-cjs/commands/DescribeEventTypesCommand.js +0 -31
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -46
- package/dist-cjs/commands/DescribeEventsForOrganizationCommand.js +0 -55
- package/dist-cjs/commands/DescribeHealthServiceStatusForOrganizationCommand.js +0 -27
- package/dist-cjs/commands/DisableHealthServiceAccessForOrganizationCommand.js +0 -38
- package/dist-cjs/commands/EnableHealthServiceAccessForOrganizationCommand.js +0 -46
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -23
- package/dist-cjs/models/models_0.js +0 -126
- package/dist-cjs/pagination/DescribeAffectedAccountsForOrganizationPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeAffectedEntitiesForOrganizationPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeAffectedEntitiesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEventAggregatesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEventTypesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEventsForOrganizationPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -23
- package/dist-es/pagination/index.js +8 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/index.d.ts +4 -23
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/Health.d.ts +14 -284
- package/dist-types/ts3.4/HealthClient.d.ts +24 -138
- package/dist-types/ts3.4/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DescribeEntityAggregatesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventAggregatesCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeEventDetailsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/DescribeEventDetailsForOrganizationCommand.d.ts +2 -52
- package/dist-types/ts3.4/commands/DescribeEventTypesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DescribeEventsForOrganizationCommand.d.ts +2 -51
- package/dist-types/ts3.4/commands/DescribeHealthServiceStatusForOrganizationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DisableHealthServiceAccessForOrganizationCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/index.d.ts +4 -23
- package/dist-types/ts3.4/models/models_0.d.ts +209 -927
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -6,60 +6,11 @@ export interface DescribeEventsForOrganizationCommandInput extends DescribeEvent
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeEventsForOrganizationCommandOutput extends DescribeEventsForOrganizationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns information about events across your organization in AWS Organizations. You can use
|
|
11
|
-
* the<code>filters</code> parameter to specify the events that you want to return. Events
|
|
12
|
-
* are returned in a summary form and don't include the affected accounts, detailed
|
|
13
|
-
* description, any additional metadata that depends on the event type, or any affected
|
|
14
|
-
* resources. To retrieve that information, use the following operations:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html">DescribeAffectedAccountsForOrganization</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html">DescribeEventDetailsForOrganization</a>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html">DescribeAffectedEntitiesForOrganization</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* <p>If you don't specify a <code>filter</code>, the
|
|
33
|
-
* <code>DescribeEventsForOrganizations</code> returns all events across your organization.
|
|
34
|
-
* Results are sorted by <code>lastModifiedTime</code>, starting with the most recent event. </p>
|
|
35
|
-
* <p>For more information about the different types of AWS Health events, see <a href="https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html">Event</a>.</p>
|
|
36
|
-
* <p>Before you can call this operation, you must first enable AWS Health to work with
|
|
37
|
-
* AWS 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
|
|
38
|
-
* management account.</p>
|
|
39
|
-
* <note>
|
|
40
|
-
* <p>This API operation uses pagination. Specify the <code>nextToken</code> parameter in the next request to return more results.</p>
|
|
41
|
-
* </note>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { HealthClient, DescribeEventsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
46
|
-
* // const { HealthClient, DescribeEventsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
47
|
-
* const client = new HealthClient(config);
|
|
48
|
-
* const command = new DescribeEventsForOrganizationCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link DescribeEventsForOrganizationCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link DescribeEventsForOrganizationCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link HealthClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
9
|
+
|
|
57
10
|
export declare class DescribeEventsForOrganizationCommand extends $Command<DescribeEventsForOrganizationCommandInput, DescribeEventsForOrganizationCommandOutput, HealthClientResolvedConfig> {
|
|
58
11
|
readonly input: DescribeEventsForOrganizationCommandInput;
|
|
59
12
|
constructor(input: DescribeEventsForOrganizationCommandInput);
|
|
60
|
-
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
13
|
+
|
|
63
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEventsForOrganizationCommandInput, DescribeEventsForOrganizationCommandOutput>;
|
|
64
15
|
private serialize;
|
|
65
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface DescribeHealthServiceStatusForOrganizationCommandInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeHealthServiceStatusForOrganizationCommandOutput extends DescribeHealthServiceStatusForOrganizationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>This operation provides status information on enabling or disabling AWS Health to work
|
|
11
|
-
* with your organization. To call this operation, you must sign in as an IAM user, assume
|
|
12
|
-
* an IAM role, or sign in as the root user (not recommended) in the organization's
|
|
13
|
-
* management account.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { HealthClient, DescribeHealthServiceStatusForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
18
|
-
* // const { HealthClient, DescribeHealthServiceStatusForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
19
|
-
* const client = new HealthClient(config);
|
|
20
|
-
* const command = new DescribeHealthServiceStatusForOrganizationCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DescribeHealthServiceStatusForOrganizationCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DescribeHealthServiceStatusForOrganizationCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link HealthClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class DescribeHealthServiceStatusForOrganizationCommand extends $Command<DescribeHealthServiceStatusForOrganizationCommandInput, DescribeHealthServiceStatusForOrganizationCommandOutput, HealthClientResolvedConfig> {
|
|
30
11
|
readonly input: DescribeHealthServiceStatusForOrganizationCommandInput;
|
|
31
12
|
constructor(input: DescribeHealthServiceStatusForOrganizationCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeHealthServiceStatusForOrganizationCommandInput, DescribeHealthServiceStatusForOrganizationCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -5,43 +5,11 @@ export interface DisableHealthServiceAccessForOrganizationCommandInput {
|
|
|
5
5
|
}
|
|
6
6
|
export interface DisableHealthServiceAccessForOrganizationCommandOutput extends __MetadataBearer {
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
* <p>Disables AWS Health from working with AWS Organizations. To call this operation, you must sign
|
|
10
|
-
* in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not
|
|
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
|
-
* AWS Health events</a> in the
|
|
13
|
-
* <i>AWS Health User Guide</i>.</p>
|
|
14
|
-
* <p>This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to
|
|
15
|
-
* remove the 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
|
-
* <i>IAM User Guide</i>.</p>
|
|
17
|
-
* <note>
|
|
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
|
-
* AWS Health stops aggregating events for all other AWS accounts in your organization.
|
|
20
|
-
* If you call the AWS Health API operations for organizational view, AWS Health returns
|
|
21
|
-
* an error. AWS Health continues to aggregate health events for your AWS
|
|
22
|
-
* account.</p>
|
|
23
|
-
* </note>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { HealthClient, DisableHealthServiceAccessForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
28
|
-
* // const { HealthClient, DisableHealthServiceAccessForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
29
|
-
* const client = new HealthClient(config);
|
|
30
|
-
* const command = new DisableHealthServiceAccessForOrganizationCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link DisableHealthServiceAccessForOrganizationCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link DisableHealthServiceAccessForOrganizationCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link HealthClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
8
|
+
|
|
39
9
|
export declare class DisableHealthServiceAccessForOrganizationCommand extends $Command<DisableHealthServiceAccessForOrganizationCommandInput, DisableHealthServiceAccessForOrganizationCommandOutput, HealthClientResolvedConfig> {
|
|
40
10
|
readonly input: DisableHealthServiceAccessForOrganizationCommandInput;
|
|
41
11
|
constructor(input: DisableHealthServiceAccessForOrganizationCommandInput);
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
12
|
+
|
|
45
13
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableHealthServiceAccessForOrganizationCommandInput, DisableHealthServiceAccessForOrganizationCommandOutput>;
|
|
46
14
|
private serialize;
|
|
47
15
|
private deserialize;
|
|
@@ -5,51 +5,11 @@ export interface EnableHealthServiceAccessForOrganizationCommandInput {
|
|
|
5
5
|
}
|
|
6
6
|
export interface EnableHealthServiceAccessForOrganizationCommandOutput extends __MetadataBearer {
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
* <p>Enables AWS Health to work with AWS Organizations. You can use the organizational view feature
|
|
10
|
-
* to aggregate events from all AWS accounts in your organization in a centralized location. </p>
|
|
11
|
-
* <p>This operation also creates a service-linked role for the management account in the
|
|
12
|
-
* organization. </p>
|
|
13
|
-
* <note>
|
|
14
|
-
* <p>To call this operation, you must meet the following requirements:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>You must have a Business or Enterprise Support plan from <a href="http://aws.amazon.com/premiumsupport/">AWS Support</a> to use the AWS Health
|
|
18
|
-
* API. If you call the AWS Health API from an AWS account that doesn't have a
|
|
19
|
-
* Business or Enterprise Support plan, you receive a
|
|
20
|
-
* <code>SubscriptionRequiredException</code> error.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>You must have permission to call this operation from the organization's
|
|
24
|
-
* management account. For example IAM policies, see <a href="https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html">AWS Health
|
|
25
|
-
* identity-based policy examples</a>.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* </note>
|
|
29
|
-
* <p>If you don't have the required support plan, you can instead use the AWS Health console
|
|
30
|
-
* to enable the organizational view feature. For more information, see <a href="https://docs.aws.amazon.com/health/latest/ug/aggregate-events.html">Aggregating
|
|
31
|
-
* AWS Health events</a> in the <i>AWS Health User Guide</i>.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { HealthClient, EnableHealthServiceAccessForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
36
|
-
* // const { HealthClient, EnableHealthServiceAccessForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
37
|
-
* const client = new HealthClient(config);
|
|
38
|
-
* const command = new EnableHealthServiceAccessForOrganizationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link EnableHealthServiceAccessForOrganizationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link EnableHealthServiceAccessForOrganizationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link HealthClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
8
|
+
|
|
47
9
|
export declare class EnableHealthServiceAccessForOrganizationCommand extends $Command<EnableHealthServiceAccessForOrganizationCommandInput, EnableHealthServiceAccessForOrganizationCommandOutput, HealthClientResolvedConfig> {
|
|
48
10
|
readonly input: EnableHealthServiceAccessForOrganizationCommandInput;
|
|
49
11
|
constructor(input: EnableHealthServiceAccessForOrganizationCommandInput);
|
|
50
|
-
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
12
|
+
|
|
53
13
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableHealthServiceAccessForOrganizationCommandInput, EnableHealthServiceAccessForOrganizationCommandOutput>;
|
|
54
14
|
private serialize;
|
|
55
15
|
private deserialize;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./DescribeAffectedAccountsForOrganizationCommand";
|
|
2
|
+
export * from "./DescribeAffectedEntitiesCommand";
|
|
3
|
+
export * from "./DescribeAffectedEntitiesForOrganizationCommand";
|
|
4
|
+
export * from "./DescribeEntityAggregatesCommand";
|
|
5
|
+
export * from "./DescribeEventAggregatesCommand";
|
|
6
|
+
export * from "./DescribeEventDetailsCommand";
|
|
7
|
+
export * from "./DescribeEventDetailsForOrganizationCommand";
|
|
8
|
+
export * from "./DescribeEventTypesCommand";
|
|
9
|
+
export * from "./DescribeEventsCommand";
|
|
10
|
+
export * from "./DescribeEventsForOrganizationCommand";
|
|
11
|
+
export * from "./DescribeHealthServiceStatusForOrganizationCommand";
|
|
12
|
+
export * from "./DisableHealthServiceAccessForOrganizationCommand";
|
|
13
|
+
export * from "./EnableHealthServiceAccessForOrganizationCommand";
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
export * from "./HealthClient";
|
|
2
1
|
export * from "./Health";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./pagination
|
|
7
|
-
export * from "./commands/DescribeAffectedEntitiesForOrganizationCommand";
|
|
8
|
-
export * from "./pagination/DescribeAffectedEntitiesForOrganizationPaginator";
|
|
9
|
-
export * from "./commands/DescribeEntityAggregatesCommand";
|
|
10
|
-
export * from "./commands/DescribeEventAggregatesCommand";
|
|
11
|
-
export * from "./pagination/DescribeEventAggregatesPaginator";
|
|
12
|
-
export * from "./commands/DescribeEventDetailsCommand";
|
|
13
|
-
export * from "./commands/DescribeEventDetailsForOrganizationCommand";
|
|
14
|
-
export * from "./commands/DescribeEventsCommand";
|
|
15
|
-
export * from "./pagination/DescribeEventsPaginator";
|
|
16
|
-
export * from "./commands/DescribeEventsForOrganizationCommand";
|
|
17
|
-
export * from "./pagination/DescribeEventsForOrganizationPaginator";
|
|
18
|
-
export * from "./commands/DescribeEventTypesCommand";
|
|
19
|
-
export * from "./pagination/DescribeEventTypesPaginator";
|
|
20
|
-
export * from "./commands/DescribeHealthServiceStatusForOrganizationCommand";
|
|
21
|
-
export * from "./commands/DisableHealthServiceAccessForOrganizationCommand";
|
|
22
|
-
export * from "./commands/EnableHealthServiceAccessForOrganizationCommand";
|
|
23
|
-
export * from "./pagination/Interfaces";
|
|
24
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./HealthClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|