@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,75 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagKeysResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagKeysCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagKeysCommandInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagKeysCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagKeysCommandOutput extends DescribeTagKeysResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagKeysCommand_base: {
|
|
22
|
+
new (input: DescribeTagKeysCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagKeysCommandInput, DescribeTagKeysCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagKeysCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagKeysCommandInput, DescribeTagKeysCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the list of resource tag keys configured for Health event tracking in your account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagKeysCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagKeysCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new DescribeTagKeysCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeTagKeysResponse
|
|
40
|
+
* // keys: [ // ResourceTagKeyList
|
|
41
|
+
* // { // ResourceTagKey
|
|
42
|
+
* // key: "STRING_VALUE",
|
|
43
|
+
* // enabledForEventBridge: true || false,
|
|
44
|
+
* // status: "PENDING" || "ACTIVE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DescribeTagKeysCommandInput - {@link DescribeTagKeysCommandInput}
|
|
52
|
+
* @returns {@link DescribeTagKeysCommandOutput}
|
|
53
|
+
* @see {@link DescribeTagKeysCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DescribeTagKeysCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link HealthServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class DescribeTagKeysCommand extends DescribeTagKeysCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: {};
|
|
68
|
+
output: DescribeTagKeysResponse;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: DescribeTagKeysCommandInput;
|
|
72
|
+
output: DescribeTagKeysCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagKeysForOrganizationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagKeysForOrganizationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagKeysForOrganizationCommandInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagKeysForOrganizationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagKeysForOrganizationCommandOutput extends DescribeTagKeysForOrganizationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagKeysForOrganizationCommand_base: {
|
|
22
|
+
new (input: DescribeTagKeysForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagKeysForOrganizationCommandInput, DescribeTagKeysForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagKeysForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagKeysForOrganizationCommandInput, DescribeTagKeysForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the list of tag keys configured for Health event tracking across your organization.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagKeysForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagKeysForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new DescribeTagKeysForOrganizationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeTagKeysForOrganizationResponse
|
|
40
|
+
* // keys: [ // OrganizationTagKeyList
|
|
41
|
+
* // { // OrganizationTagKey
|
|
42
|
+
* // key: "STRING_VALUE",
|
|
43
|
+
* // enabledForEventBridge: true || false,
|
|
44
|
+
* // status: "PENDING" || "ACTIVE",
|
|
45
|
+
* // },
|
|
46
|
+
* // ],
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DescribeTagKeysForOrganizationCommandInput - {@link DescribeTagKeysForOrganizationCommandInput}
|
|
52
|
+
* @returns {@link DescribeTagKeysForOrganizationCommandOutput}
|
|
53
|
+
* @see {@link DescribeTagKeysForOrganizationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DescribeTagKeysForOrganizationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link HealthServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class DescribeTagKeysForOrganizationCommand extends DescribeTagKeysForOrganizationCommand_base {
|
|
64
|
+
/** @internal type navigation helper, not in runtime. */
|
|
65
|
+
protected static __types: {
|
|
66
|
+
api: {
|
|
67
|
+
input: {};
|
|
68
|
+
output: DescribeTagKeysForOrganizationResponse;
|
|
69
|
+
};
|
|
70
|
+
sdk: {
|
|
71
|
+
input: DescribeTagKeysForOrganizationCommandInput;
|
|
72
|
+
output: DescribeTagKeysForOrganizationCommandOutput;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagsRequest, DescribeTagsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagsCommandInput extends DescribeTagsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagsCommandOutput extends DescribeTagsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagsCommand_base: {
|
|
22
|
+
new (input: DescribeTagsCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagsCommandInput, DescribeTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagsCommandInput, DescribeTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the resource tags associated with Health events for your account. Use this operation to retrieve the actual tag key-value pairs attached to affected entities.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagsCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagsCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = { // DescribeTagsRequest
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeTagsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeTagsResponse
|
|
43
|
+
* // tags: [ // AccountTagList
|
|
44
|
+
* // { // AccountTag
|
|
45
|
+
* // key: "STRING_VALUE",
|
|
46
|
+
* // value: "STRING_VALUE",
|
|
47
|
+
* // type: "ACCOUNT_RESOURCE_TAG",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // nextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DescribeTagsCommandInput - {@link DescribeTagsCommandInput}
|
|
56
|
+
* @returns {@link DescribeTagsCommandOutput}
|
|
57
|
+
* @see {@link DescribeTagsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DescribeTagsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidPaginationToken} (client fault)
|
|
62
|
+
* <p>The specified pagination token (<code>nextToken</code>) is not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link HealthServiceException}
|
|
65
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class DescribeTagsCommand extends DescribeTagsCommand_base {
|
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
|
72
|
+
protected static __types: {
|
|
73
|
+
api: {
|
|
74
|
+
input: DescribeTagsRequest;
|
|
75
|
+
output: DescribeTagsResponse;
|
|
76
|
+
};
|
|
77
|
+
sdk: {
|
|
78
|
+
input: DescribeTagsCommandInput;
|
|
79
|
+
output: DescribeTagsCommandOutput;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagsForOrganizationRequest, DescribeTagsForOrganizationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagsForOrganizationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagsForOrganizationCommandInput extends DescribeTagsForOrganizationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagsForOrganizationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagsForOrganizationCommandOutput extends DescribeTagsForOrganizationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagsForOrganizationCommand_base: {
|
|
22
|
+
new (input: DescribeTagsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagsForOrganizationCommandInput, DescribeTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagsForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagsForOrganizationCommandInput, DescribeTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the tags associated with Health events across all accounts in your organization.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagsForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = { // DescribeTagsForOrganizationRequest
|
|
37
|
+
* filter: { // DescribeTagsForOrganizationFilter
|
|
38
|
+
* tagTypes: [ // OrganizationTagTypeFilter
|
|
39
|
+
* "ORGANIZATION_RESOURCE_TAG" || "ORGANIZATION_ACCOUNT_TAG",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeTagsForOrganizationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeTagsForOrganizationResponse
|
|
48
|
+
* // tags: [ // OrganizationTagList
|
|
49
|
+
* // { // OrganizationTag
|
|
50
|
+
* // key: "STRING_VALUE",
|
|
51
|
+
* // value: "STRING_VALUE",
|
|
52
|
+
* // type: "ORGANIZATION_RESOURCE_TAG" || "ORGANIZATION_ACCOUNT_TAG",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeTagsForOrganizationCommandInput - {@link DescribeTagsForOrganizationCommandInput}
|
|
61
|
+
* @returns {@link DescribeTagsForOrganizationCommandOutput}
|
|
62
|
+
* @see {@link DescribeTagsForOrganizationCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeTagsForOrganizationCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidPaginationToken} (client fault)
|
|
67
|
+
* <p>The specified pagination token (<code>nextToken</code>) is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link HealthServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class DescribeTagsForOrganizationCommand extends DescribeTagsForOrganizationCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: DescribeTagsForOrganizationRequest;
|
|
80
|
+
output: DescribeTagsForOrganizationResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: DescribeTagsForOrganizationCommandInput;
|
|
84
|
+
output: DescribeTagsForOrganizationCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagsOnboardingStatusResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagsOnboardingStatusCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagsOnboardingStatusCommandInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagsOnboardingStatusCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagsOnboardingStatusCommandOutput extends DescribeTagsOnboardingStatusResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagsOnboardingStatusCommand_base: {
|
|
22
|
+
new (input: DescribeTagsOnboardingStatusCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagsOnboardingStatusCommandInput, DescribeTagsOnboardingStatusCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagsOnboardingStatusCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagsOnboardingStatusCommandInput, DescribeTagsOnboardingStatusCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the current onboarding status of the Health tags feature for your account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagsOnboardingStatusCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagsOnboardingStatusCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new DescribeTagsOnboardingStatusCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeTagsOnboardingStatusResponse
|
|
40
|
+
* // status: "ENABLED" || "DISABLED",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DescribeTagsOnboardingStatusCommandInput - {@link DescribeTagsOnboardingStatusCommandInput}
|
|
46
|
+
* @returns {@link DescribeTagsOnboardingStatusCommandOutput}
|
|
47
|
+
* @see {@link DescribeTagsOnboardingStatusCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DescribeTagsOnboardingStatusCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link HealthServiceException}
|
|
52
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class DescribeTagsOnboardingStatusCommand extends DescribeTagsOnboardingStatusCommand_base {
|
|
58
|
+
/** @internal type navigation helper, not in runtime. */
|
|
59
|
+
protected static __types: {
|
|
60
|
+
api: {
|
|
61
|
+
input: {};
|
|
62
|
+
output: DescribeTagsOnboardingStatusResponse;
|
|
63
|
+
};
|
|
64
|
+
sdk: {
|
|
65
|
+
input: DescribeTagsOnboardingStatusCommandInput;
|
|
66
|
+
output: DescribeTagsOnboardingStatusCommandOutput;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTagsOnboardingStatusForOrganizationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTagsOnboardingStatusForOrganizationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTagsOnboardingStatusForOrganizationCommandInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTagsOnboardingStatusForOrganizationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTagsOnboardingStatusForOrganizationCommandOutput extends DescribeTagsOnboardingStatusForOrganizationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTagsOnboardingStatusForOrganizationCommand_base: {
|
|
22
|
+
new (input: DescribeTagsOnboardingStatusForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DescribeTagsOnboardingStatusForOrganizationCommandInput, DescribeTagsOnboardingStatusForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeTagsOnboardingStatusForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeTagsOnboardingStatusForOrganizationCommandInput, DescribeTagsOnboardingStatusForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the current onboarding status of the Health tags feature for your organization.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { HealthClient, DescribeTagsOnboardingStatusForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
32
|
+
* // const { HealthClient, DescribeTagsOnboardingStatusForOrganizationCommand } = require("@aws-sdk/client-health"); // CommonJS import
|
|
33
|
+
* // import type { HealthClientConfig } from "@aws-sdk/client-health";
|
|
34
|
+
* const config = {}; // type is HealthClientConfig
|
|
35
|
+
* const client = new HealthClient(config);
|
|
36
|
+
* const input = {};
|
|
37
|
+
* const command = new DescribeTagsOnboardingStatusForOrganizationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeTagsOnboardingStatusForOrganizationResponse
|
|
40
|
+
* // status: "ENABLED" || "DISABLED",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DescribeTagsOnboardingStatusForOrganizationCommandInput - {@link DescribeTagsOnboardingStatusForOrganizationCommandInput}
|
|
46
|
+
* @returns {@link DescribeTagsOnboardingStatusForOrganizationCommandOutput}
|
|
47
|
+
* @see {@link DescribeTagsOnboardingStatusForOrganizationCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DescribeTagsOnboardingStatusForOrganizationCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link HealthClientResolvedConfig | config} for HealthClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link HealthServiceException}
|
|
52
|
+
* <p>Base exception class for all service exceptions from Health service.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
export declare class DescribeTagsOnboardingStatusForOrganizationCommand extends DescribeTagsOnboardingStatusForOrganizationCommand_base {
|
|
58
|
+
/** @internal type navigation helper, not in runtime. */
|
|
59
|
+
protected static __types: {
|
|
60
|
+
api: {
|
|
61
|
+
input: {};
|
|
62
|
+
output: DescribeTagsOnboardingStatusForOrganizationResponse;
|
|
63
|
+
};
|
|
64
|
+
sdk: {
|
|
65
|
+
input: DescribeTagsOnboardingStatusForOrganizationCommandInput;
|
|
66
|
+
output: DescribeTagsOnboardingStatusForOrganizationCommandOutput;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -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 DisableTagsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DisableTagsCommandInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DisableTagsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DisableTagsCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
declare const DisableTagsCommand_base: {
|
|
21
|
+
new (input: DisableTagsCommandInput): import("@smithy/core/client").CommandImpl<DisableTagsCommandInput, DisableTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
22
|
+
new (...[input]: [] | [DisableTagsCommandInput]): import("@smithy/core/client").CommandImpl<DisableTagsCommandInput, DisableTagsCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* <p>Disables the Health tags feature for your account. After disabling, Health events will no longer include resource tag information. Previously configured tag keys are discarded.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { HealthClient, DisableTagsCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
31
|
+
* // const { HealthClient, DisableTagsCommand } = 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 DisableTagsCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DisableTagsCommandInput - {@link DisableTagsCommandInput}
|
|
43
|
+
* @returns {@link DisableTagsCommandOutput}
|
|
44
|
+
* @see {@link DisableTagsCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DisableTagsCommandOutput} 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 DisableTagsCommand extends DisableTagsCommand_base {
|
|
55
|
+
/** @internal type navigation helper, not in runtime. */
|
|
56
|
+
protected static __types: {
|
|
57
|
+
api: {
|
|
58
|
+
input: {};
|
|
59
|
+
output: {};
|
|
60
|
+
};
|
|
61
|
+
sdk: {
|
|
62
|
+
input: DisableTagsCommandInput;
|
|
63
|
+
output: DisableTagsCommandOutput;
|
|
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 DisableTagsForOrganizationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DisableTagsForOrganizationCommandInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DisableTagsForOrganizationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DisableTagsForOrganizationCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
declare const DisableTagsForOrganizationCommand_base: {
|
|
21
|
+
new (input: DisableTagsForOrganizationCommandInput): import("@smithy/core/client").CommandImpl<DisableTagsForOrganizationCommandInput, DisableTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
22
|
+
new (...[input]: [] | [DisableTagsForOrganizationCommandInput]): import("@smithy/core/client").CommandImpl<DisableTagsForOrganizationCommandInput, DisableTagsForOrganizationCommandOutput, import("..").HealthClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* <p>Disables the Health tags feature for all accounts in 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, DisableTagsForOrganizationCommand } from "@aws-sdk/client-health"; // ES Modules import
|
|
31
|
+
* // const { HealthClient, DisableTagsForOrganizationCommand } = 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 DisableTagsForOrganizationCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DisableTagsForOrganizationCommandInput - {@link DisableTagsForOrganizationCommandInput}
|
|
43
|
+
* @returns {@link DisableTagsForOrganizationCommandOutput}
|
|
44
|
+
* @see {@link DisableTagsForOrganizationCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DisableTagsForOrganizationCommandOutput} 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 DisableTagsForOrganizationCommand extends DisableTagsForOrganizationCommand_base {
|
|
55
|
+
/** @internal type navigation helper, not in runtime. */
|
|
56
|
+
protected static __types: {
|
|
57
|
+
api: {
|
|
58
|
+
input: {};
|
|
59
|
+
output: {};
|
|
60
|
+
};
|
|
61
|
+
sdk: {
|
|
62
|
+
input: DisableTagsForOrganizationCommandInput;
|
|
63
|
+
output: DisableTagsForOrganizationCommandOutput;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -31,9 +31,9 @@ declare const EnableHealthServiceAccessForOrganizationCommand_base: {
|
|
|
31
31
|
* <p>To call this operation, you must meet the following requirements:</p>
|
|
32
32
|
* <ul>
|
|
33
33
|
* <li>
|
|
34
|
-
* <p>You must have a Business
|
|
34
|
+
* <p>You must have a 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 call
|
|
35
35
|
* the Health API from an Amazon Web Services account that doesn't have a
|
|
36
|
-
* Business
|
|
36
|
+
* Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, you receive a <code>SubscriptionRequiredException</code>
|
|
37
37
|
* error.</p>
|
|
38
38
|
* </li>
|
|
39
39
|
* <li>
|