@aws-sdk/client-health 3.1168.0 → 3.1170.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/README.md +86 -2
- package/dist-cjs/index.js +392 -40
- package/dist-es/Health.js +28 -0
- package/dist-es/commands/ConfigureTagsCommand.js +4 -0
- package/dist-es/commands/ConfigureTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagKeysCommand.js +4 -0
- package/dist-es/commands/DescribeTagKeysForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagsCommand.js +4 -0
- package/dist-es/commands/DescribeTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/DescribeTagsOnboardingStatusCommand.js +4 -0
- package/dist-es/commands/DescribeTagsOnboardingStatusForOrganizationCommand.js +4 -0
- package/dist-es/commands/DisableTagsCommand.js +4 -0
- package/dist-es/commands/DisableTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/EnableTagsCommand.js +4 -0
- package/dist-es/commands/EnableTagsForOrganizationCommand.js +4 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/pagination/DescribeTagsForOrganizationPaginator.js +4 -0
- package/dist-es/pagination/DescribeTagsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +295 -41
- package/dist-types/Health.d.ts +111 -3
- package/dist-types/HealthClient.d.ts +17 -5
- package/dist-types/commands/ConfigureTagsCommand.d.ts +83 -0
- package/dist-types/commands/ConfigureTagsForOrganizationCommand.d.ts +81 -0
- package/dist-types/commands/DescribeAffectedAccountsForOrganizationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAffectedEntitiesCommand.d.ts +11 -5
- package/dist-types/commands/DescribeAffectedEntitiesForOrganizationCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEntityAggregatesCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEntityAggregatesForOrganizationCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEventAggregatesCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEventsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeEventsForOrganizationCommand.d.ts +5 -0
- package/dist-types/commands/DescribeTagKeysCommand.d.ts +75 -0
- package/dist-types/commands/DescribeTagKeysForOrganizationCommand.d.ts +75 -0
- package/dist-types/commands/DescribeTagsCommand.d.ts +82 -0
- package/dist-types/commands/DescribeTagsForOrganizationCommand.d.ts +87 -0
- package/dist-types/commands/DescribeTagsOnboardingStatusCommand.d.ts +69 -0
- package/dist-types/commands/DescribeTagsOnboardingStatusForOrganizationCommand.d.ts +69 -0
- package/dist-types/commands/DisableTagsCommand.d.ts +66 -0
- package/dist-types/commands/DisableTagsForOrganizationCommand.d.ts +66 -0
- package/dist-types/commands/EnableHealthServiceAccessForOrganizationCommand.d.ts +2 -2
- package/dist-types/commands/EnableTagsCommand.d.ts +66 -0
- package/dist-types/commands/EnableTagsForOrganizationCommand.d.ts +66 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/enums.d.ts +59 -0
- package/dist-types/models/models_0.d.ts +382 -8
- package/dist-types/pagination/DescribeTagsForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTagsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +34 -0
- package/dist-types/ts3.4/Health.d.ts +222 -0
- package/dist-types/ts3.4/HealthClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/ConfigureTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ConfigureTagsForOrganizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTagKeysCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTagKeysForOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTagsForOrganizationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTagsOnboardingStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeTagsOnboardingStatusForOrganizationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisableTagsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DisableTagsForOrganizationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/EnableTagsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/EnableTagsForOrganizationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/enums.d.ts +25 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -2
- package/dist-types/ts3.4/pagination/DescribeTagsForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTagsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +34 -0
- package/package.json +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type { __MetadataBearer };
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link EnableTagsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface EnableTagsCommandInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link EnableTagsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface EnableTagsCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
declare const EnableTagsCommand_base: {
|
|
21
|
+
new (input: EnableTagsCommandInput): import("@smithy/core/client").CommandImpl<EnableTagsCommandInput, EnableTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
22
|
+
new (...[input]: [] | [EnableTagsCommandInput]): import("@smithy/core/client").CommandImpl<EnableTagsCommandInput, EnableTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* <p>Enables the Health tags feature for your account. Once enabled, Health events will include resource tag information for affected entities. If the feature is already enabled, this operation has no effect.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { HealthClient, EnableTagsCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
31
|
+
* // const { HealthClient, EnableTagsCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
32
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
33
|
+
* const config = {}; // type is HealthClientConfig
|
|
34
|
+
* const client = new HealthClient(config);
|
|
35
|
+
* const input = {};
|
|
36
|
+
* const command = new EnableTagsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param EnableTagsCommandInput - {@link EnableTagsCommandInput}
|
|
43
|
+
* @returns {@link EnableTagsCommandOutput}
|
|
44
|
+
* @see {@link EnableTagsCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link EnableTagsCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link HealthServiceException}
|
|
49
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export declare class EnableTagsCommand extends EnableTagsCommand_base {
|
|
55
|
+
/** @internal type navigation helper, not in runtime. */
|
|
56
|
+
protected static __types: {
|
|
57
|
+
api: {
|
|
58
|
+
input: {};
|
|
59
|
+
output: {};
|
|
60
|
+
};
|
|
61
|
+
sdk: {
|
|
62
|
+
input: EnableTagsCommandInput;
|
|
63
|
+
output: EnableTagsCommandOutput;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type { __MetadataBearer };
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link EnableTagsForOrganizationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface EnableTagsForOrganizationCommandInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link EnableTagsForOrganizationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface EnableTagsForOrganizationCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
declare const EnableTagsForOrganizationCommand_base: {
|
|
21
|
+
new (input: EnableTagsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<EnableTagsForOrganizationCommandInput, EnableTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
22
|
+
new (...[input]: [] | [EnableTagsForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<EnableTagsForOrganizationCommandInput, EnableTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* <p>Enables the Health tags feature for all accounts in your organization. Once enabled, Health events will include resource tag information for affected entities across your organization.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { HealthClient, EnableTagsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
31
|
+
* // const { HealthClient, EnableTagsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
32
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
33
|
+
* const config = {}; // type is HealthClientConfig
|
|
34
|
+
* const client = new HealthClient(config);
|
|
35
|
+
* const input = {};
|
|
36
|
+
* const command = new EnableTagsForOrganizationCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param EnableTagsForOrganizationCommandInput - {@link EnableTagsForOrganizationCommandInput}
|
|
43
|
+
* @returns {@link EnableTagsForOrganizationCommandOutput}
|
|
44
|
+
* @see {@link EnableTagsForOrganizationCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link EnableTagsForOrganizationCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link HealthServiceException}
|
|
49
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export declare class EnableTagsForOrganizationCommand extends EnableTagsForOrganizationCommand_base {
|
|
55
|
+
/** @internal type navigation helper, not in runtime. */
|
|
56
|
+
protected static __types: {
|
|
57
|
+
api: {
|
|
58
|
+
input: {};
|
|
59
|
+
output: {};
|
|
60
|
+
};
|
|
61
|
+
sdk: {
|
|
62
|
+
input: EnableTagsForOrganizationCommandInput;
|
|
63
|
+
output: EnableTagsForOrganizationCommandOutput;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from "./ConfigureTagsCommand";
|
|
2
|
+
export * from "./ConfigureTagsForOrganizationCommand";
|
|
1
3
|
export * from "./DescribeAffectedAccountsForOrganizationCommand";
|
|
2
4
|
export * from "./DescribeAffectedEntitiesCommand";
|
|
3
5
|
export * from "./DescribeAffectedEntitiesForOrganizationCommand";
|
|
@@ -11,5 +13,15 @@ export * from "./DescribeEventsCommand";
|
|
|
11
13
|
export * from "./DescribeEventsForOrganizationCommand";
|
|
12
14
|
export * from "./DescribeHealthServiceStatusForOrganizationCommand";
|
|
13
15
|
export * from "./DescribeServiceLifecycleCommand";
|
|
16
|
+
export * from "./DescribeTagKeysCommand";
|
|
17
|
+
export * from "./DescribeTagKeysForOrganizationCommand";
|
|
18
|
+
export * from "./DescribeTagsCommand";
|
|
19
|
+
export * from "./DescribeTagsForOrganizationCommand";
|
|
20
|
+
export * from "./DescribeTagsOnboardingStatusCommand";
|
|
21
|
+
export * from "./DescribeTagsOnboardingStatusForOrganizationCommand";
|
|
14
22
|
export * from "./DisableHealthServiceAccessForOrganizationCommand";
|
|
23
|
+
export * from "./DisableTagsCommand";
|
|
24
|
+
export * from "./DisableTagsForOrganizationCommand";
|
|
15
25
|
export * from "./EnableHealthServiceAccessForOrganizationCommand";
|
|
26
|
+
export * from "./EnableTagsCommand";
|
|
27
|
+
export * from "./EnableTagsForOrganizationCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* <p>The Health API provides access to the Health information that appears in the
|
|
4
4
|
* <a href="https://health.aws.amazon.com/health/home">Health Dashboard</a>. You can use
|
|
5
5
|
* the API operations to get information about events that might affect your Amazon Web Services services and resources.</p>
|
|
6
|
-
* <p>You must have
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* <p>You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan from <a href="http://aws.amazon.com/premiumsupport/">Amazon Web Services Support</a> to use the Health API. If you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you haven't transitioned to one of these plans, you can use the Health API with a Business, Enterprise On-Ramp, or Enterprise Support plan. If you call the Health API from an
|
|
7
|
+
* Amazon Web Services account that isn't enrolled in one of these plans, then you receive a
|
|
8
|
+
* <code>SubscriptionRequiredException</code> error.</p>
|
|
9
9
|
* <p>For API access, you need an access key ID and a secret access key. Use temporary
|
|
10
10
|
* credentials instead of long-term access keys when possible. Temporary credentials include
|
|
11
11
|
* an access key ID, a secret access key, and a security token that indicates when the
|
|
@@ -13,6 +13,29 @@ export declare const EntityStatusCode: {
|
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
15
|
export type EntityStatusCode = (typeof EntityStatusCode)[keyof typeof EntityStatusCode];
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @enum
|
|
19
|
+
*/
|
|
20
|
+
export declare const AccountTagType: {
|
|
21
|
+
readonly ACCOUNT_RESOURCE_TAG: "ACCOUNT_RESOURCE_TAG";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type AccountTagType = (typeof AccountTagType)[keyof typeof AccountTagType];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const TagKeyStatus: {
|
|
32
|
+
readonly ACTIVE: "ACTIVE";
|
|
33
|
+
readonly PENDING: "PENDING";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type TagKeyStatus = (typeof TagKeyStatus)[keyof typeof TagKeyStatus];
|
|
16
39
|
/**
|
|
17
40
|
* @public
|
|
18
41
|
* @enum
|
|
@@ -116,3 +139,39 @@ export declare const EventTypePersona: {
|
|
|
116
139
|
* @public
|
|
117
140
|
*/
|
|
118
141
|
export type EventTypePersona = (typeof EventTypePersona)[keyof typeof EventTypePersona];
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @enum
|
|
145
|
+
*/
|
|
146
|
+
export declare const OrganizationTagType: {
|
|
147
|
+
readonly ORGANIZATION_ACCOUNT_TAG: "ORGANIZATION_ACCOUNT_TAG";
|
|
148
|
+
readonly ORGANIZATION_RESOURCE_TAG: "ORGANIZATION_RESOURCE_TAG";
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export type OrganizationTagType = (typeof OrganizationTagType)[keyof typeof OrganizationTagType];
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @enum
|
|
157
|
+
*/
|
|
158
|
+
export declare const TagsOnboardingStatus: {
|
|
159
|
+
readonly DISABLED: "DISABLED";
|
|
160
|
+
readonly ENABLED: "ENABLED";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export type TagsOnboardingStatus = (typeof TagsOnboardingStatus)[keyof typeof TagsOnboardingStatus];
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @enum
|
|
169
|
+
*/
|
|
170
|
+
export declare const TagsOnboardingStatusForOrganization: {
|
|
171
|
+
readonly DISABLED: "DISABLED";
|
|
172
|
+
readonly ENABLED: "ENABLED";
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export type TagsOnboardingStatusForOrganization = (typeof TagsOnboardingStatusForOrganization)[keyof typeof TagsOnboardingStatusForOrganization];
|