@aws-sdk/client-ssm 3.696.0 → 3.698.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 +39 -7
- package/dist-cjs/index.js +834 -437
- package/dist-es/SSM.js +8 -0
- package/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
- package/dist-es/commands/ListNodesCommand.js +23 -0
- package/dist-es/commands/ListNodesSummaryCommand.js +22 -0
- package/dist-es/commands/SendCommandCommand.js +1 -1
- package/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_1.js +99 -144
- package/dist-es/models/models_2.js +167 -1
- package/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +159 -3
- package/dist-types/SSM.d.ts +29 -0
- package/dist-types/SSMClient.d.ts +6 -2
- package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
- package/dist-types/commands/GetExecutionPreviewCommand.d.ts +98 -0
- package/dist-types/commands/GetInventoryCommand.d.ts +3 -4
- package/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
- package/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/dist-types/commands/ListNodesCommand.d.ts +123 -0
- package/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -0
- package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartExecutionPreviewCommand.d.ts +141 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/models/models_1.d.ts +955 -989
- package/dist-types/models/models_2.d.ts +770 -5
- package/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/SSM.d.ts +69 -0
- package/dist-types/ts3.4/SSMClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +176 -170
- package/dist-types/ts3.4/models/models_2.d.ts +236 -0
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +1 -1
|
@@ -94,7 +94,7 @@ declare const ListComplianceSummariesCommand_base: {
|
|
|
94
94
|
* <p>An error occurred on the server side.</p>
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link InvalidFilter} (client fault)
|
|
97
|
-
* <p>The filter name isn't valid. Verify
|
|
97
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link InvalidNextToken} (client fault)
|
|
100
100
|
* <p>The specified token isn't valid.</p>
|
|
@@ -76,7 +76,7 @@ declare const ListInventoryEntriesCommand_base: {
|
|
|
76
76
|
* <p>An error occurred on the server side.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link InvalidFilter} (client fault)
|
|
79
|
-
* <p>The filter name isn't valid. Verify
|
|
79
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link InvalidInstanceId} (client fault)
|
|
82
82
|
* <p>The following problems can cause this exception:</p>
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListNodesRequest, ListNodesResult } from "../models/models_1";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNodesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNodesCommandInput extends ListNodesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNodesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNodesCommandOutput extends ListNodesResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNodesCommand_base: {
|
|
25
|
+
new (input: ListNodesCommandInput): import("@smithy/smithy-client").CommandImpl<ListNodesCommandInput, ListNodesCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListNodesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListNodesCommandInput, ListNodesCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Takes in filters and returns a list of managed nodes matching the filter criteria.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SSMClient, ListNodesCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
35
|
+
* // const { SSMClient, ListNodesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
36
|
+
* const client = new SSMClient(config);
|
|
37
|
+
* const input = { // ListNodesRequest
|
|
38
|
+
* SyncName: "STRING_VALUE",
|
|
39
|
+
* Filters: [ // NodeFilterList
|
|
40
|
+
* { // NodeFilter
|
|
41
|
+
* Key: "AgentType" || "AgentVersion" || "ComputerName" || "InstanceId" || "InstanceStatus" || "IpAddress" || "ManagedStatus" || "PlatformName" || "PlatformType" || "PlatformVersion" || "ResourceType" || "OrganizationalUnitId" || "OrganizationalUnitPath" || "Region" || "AccountId", // required
|
|
42
|
+
* Values: [ // NodeFilterValueList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* Type: "Equal" || "NotEqual" || "BeginWith",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* NextToken: "STRING_VALUE",
|
|
49
|
+
* MaxResults: Number("int"),
|
|
50
|
+
* };
|
|
51
|
+
* const command = new ListNodesCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // ListNodesResult
|
|
54
|
+
* // Nodes: [ // NodeList
|
|
55
|
+
* // { // Node
|
|
56
|
+
* // CaptureTime: new Date("TIMESTAMP"),
|
|
57
|
+
* // Id: "STRING_VALUE",
|
|
58
|
+
* // Owner: { // NodeOwnerInfo
|
|
59
|
+
* // AccountId: "STRING_VALUE",
|
|
60
|
+
* // OrganizationalUnitId: "STRING_VALUE",
|
|
61
|
+
* // OrganizationalUnitPath: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // Region: "STRING_VALUE",
|
|
64
|
+
* // NodeType: { // NodeType Union: only one key present
|
|
65
|
+
* // Instance: { // InstanceInfo
|
|
66
|
+
* // AgentType: "STRING_VALUE",
|
|
67
|
+
* // AgentVersion: "STRING_VALUE",
|
|
68
|
+
* // ComputerName: "STRING_VALUE",
|
|
69
|
+
* // InstanceStatus: "STRING_VALUE",
|
|
70
|
+
* // IpAddress: "STRING_VALUE",
|
|
71
|
+
* // ManagedStatus: "All" || "Managed" || "Unmanaged",
|
|
72
|
+
* // PlatformType: "Windows" || "Linux" || "MacOS",
|
|
73
|
+
* // PlatformName: "STRING_VALUE",
|
|
74
|
+
* // PlatformVersion: "STRING_VALUE",
|
|
75
|
+
* // ResourceType: "ManagedInstance" || "EC2Instance",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // NextToken: "STRING_VALUE",
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param ListNodesCommandInput - {@link ListNodesCommandInput}
|
|
86
|
+
* @returns {@link ListNodesCommandOutput}
|
|
87
|
+
* @see {@link ListNodesCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link ListNodesCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InternalServerError} (server fault)
|
|
92
|
+
* <p>An error occurred on the server side.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InvalidFilter} (client fault)
|
|
95
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
98
|
+
* <p>The specified token isn't valid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceDataSyncNotFoundException} (client fault)
|
|
101
|
+
* <p>The specified sync name wasn't found.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
104
|
+
* <p>This operation is not supported for the current account. You must first enable the Systems Manager integrated experience in your account.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link SSMServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from SSM service.</p>
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ListNodesCommand extends ListNodesCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: ListNodesRequest;
|
|
116
|
+
output: ListNodesResult;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: ListNodesCommandInput;
|
|
120
|
+
output: ListNodesCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListNodesSummaryResult } from "../models/models_1";
|
|
4
|
+
import { ListNodesSummaryRequest } from "../models/models_2";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link ListNodesSummaryCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface ListNodesSummaryCommandInput extends ListNodesSummaryRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*
|
|
21
|
+
* The output of {@link ListNodesSummaryCommand}.
|
|
22
|
+
*/
|
|
23
|
+
export interface ListNodesSummaryCommandOutput extends ListNodesSummaryResult, __MetadataBearer {
|
|
24
|
+
}
|
|
25
|
+
declare const ListNodesSummaryCommand_base: {
|
|
26
|
+
new (input: ListNodesSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<ListNodesSummaryCommandInput, ListNodesSummaryCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (__0_0: ListNodesSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<ListNodesSummaryCommandInput, ListNodesSummaryCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* <p>Generates a summary of managed instance/node metadata based on the filters and aggregators
|
|
32
|
+
* you specify. Results are grouped by the input aggregator you specify.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SSMClient, ListNodesSummaryCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
37
|
+
* // const { SSMClient, ListNodesSummaryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
38
|
+
* const client = new SSMClient(config);
|
|
39
|
+
* const input = { // ListNodesSummaryRequest
|
|
40
|
+
* SyncName: "STRING_VALUE",
|
|
41
|
+
* Filters: [ // NodeFilterList
|
|
42
|
+
* { // NodeFilter
|
|
43
|
+
* Key: "AgentType" || "AgentVersion" || "ComputerName" || "InstanceId" || "InstanceStatus" || "IpAddress" || "ManagedStatus" || "PlatformName" || "PlatformType" || "PlatformVersion" || "ResourceType" || "OrganizationalUnitId" || "OrganizationalUnitPath" || "Region" || "AccountId", // required
|
|
44
|
+
* Values: [ // NodeFilterValueList // required
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* Type: "Equal" || "NotEqual" || "BeginWith",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* Aggregators: [ // NodeAggregatorList // required
|
|
51
|
+
* { // NodeAggregator
|
|
52
|
+
* AggregatorType: "Count", // required
|
|
53
|
+
* TypeName: "Instance", // required
|
|
54
|
+
* AttributeName: "AgentVersion" || "PlatformName" || "PlatformType" || "PlatformVersion" || "Region" || "ResourceType", // required
|
|
55
|
+
* Aggregators: [
|
|
56
|
+
* {
|
|
57
|
+
* AggregatorType: "Count", // required
|
|
58
|
+
* TypeName: "Instance", // required
|
|
59
|
+
* AttributeName: "AgentVersion" || "PlatformName" || "PlatformType" || "PlatformVersion" || "Region" || "ResourceType", // required
|
|
60
|
+
* Aggregators: "<NodeAggregatorList>",
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* NextToken: "STRING_VALUE",
|
|
66
|
+
* MaxResults: Number("int"),
|
|
67
|
+
* };
|
|
68
|
+
* const command = new ListNodesSummaryCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // ListNodesSummaryResult
|
|
71
|
+
* // Summary: [ // NodeSummaryList
|
|
72
|
+
* // { // NodeSummary
|
|
73
|
+
* // "<keys>": "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // NextToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param ListNodesSummaryCommandInput - {@link ListNodesSummaryCommandInput}
|
|
82
|
+
* @returns {@link ListNodesSummaryCommandOutput}
|
|
83
|
+
* @see {@link ListNodesSummaryCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link ListNodesSummaryCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerError} (server fault)
|
|
88
|
+
* <p>An error occurred on the server side.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidAggregatorException} (client fault)
|
|
91
|
+
* <p>The specified aggregator isn't valid for the group type. Verify that the aggregator you
|
|
92
|
+
* provided is supported.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InvalidFilter} (client fault)
|
|
95
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InvalidNextToken} (client fault)
|
|
98
|
+
* <p>The specified token isn't valid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceDataSyncNotFoundException} (client fault)
|
|
101
|
+
* <p>The specified sync name wasn't found.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
104
|
+
* <p>This operation is not supported for the current account. You must first enable the Systems Manager integrated experience in your account.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link SSMServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from SSM service.</p>
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class ListNodesSummaryCommand extends ListNodesSummaryCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: ListNodesSummaryRequest;
|
|
116
|
+
output: ListNodesSummaryResult;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: ListNodesSummaryCommandInput;
|
|
120
|
+
output: ListNodesSummaryCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -103,7 +103,7 @@ declare const ListResourceComplianceSummariesCommand_base: {
|
|
|
103
103
|
* <p>An error occurred on the server side.</p>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link InvalidFilter} (client fault)
|
|
106
|
-
* <p>The filter name isn't valid. Verify
|
|
106
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link InvalidNextToken} (client fault)
|
|
109
109
|
* <p>The specified token isn't valid.</p>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ResetServiceSettingRequest
|
|
3
|
+
import { ResetServiceSettingRequest } from "../models/models_1";
|
|
4
|
+
import { ResetServiceSettingResult } from "../models/models_2";
|
|
4
5
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ResumeSessionRequest, ResumeSessionResponse } from "../models/
|
|
3
|
+
import { ResumeSessionRequest, ResumeSessionResponse } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { SendAutomationSignalRequest, SendAutomationSignalResult } from "../models/
|
|
3
|
+
import { SendAutomationSignalRequest, SendAutomationSignalResult } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { SendCommandRequest, SendCommandResult } from "../models/
|
|
3
|
+
import { SendCommandRequest, SendCommandResult } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartAssociationsOnceRequest, StartAssociationsOnceResult } from "../models/
|
|
3
|
+
import { StartAssociationsOnceRequest, StartAssociationsOnceResult } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StartAutomationExecutionRequest, StartAutomationExecutionResult } from "../models/
|
|
3
|
+
import { StartAutomationExecutionRequest, StartAutomationExecutionResult } from "../models/models_2";
|
|
4
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartExecutionPreviewRequest, StartExecutionPreviewResponse } from "../models/models_2";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartExecutionPreviewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartExecutionPreviewCommandInput extends StartExecutionPreviewRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartExecutionPreviewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartExecutionPreviewCommandOutput extends StartExecutionPreviewResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartExecutionPreviewCommand_base: {
|
|
25
|
+
new (input: StartExecutionPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<StartExecutionPreviewCommandInput, StartExecutionPreviewCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartExecutionPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<StartExecutionPreviewCommandInput, StartExecutionPreviewCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Initiates the process of creating a preview showing the effects that running a specified
|
|
31
|
+
* Automation runbook would have on the targeted resources.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { SSMClient, StartExecutionPreviewCommand } from "@aws-sdk/client-ssm"; // ES Modules import
|
|
36
|
+
* // const { SSMClient, StartExecutionPreviewCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
|
|
37
|
+
* const client = new SSMClient(config);
|
|
38
|
+
* const input = { // StartExecutionPreviewRequest
|
|
39
|
+
* DocumentName: "STRING_VALUE", // required
|
|
40
|
+
* DocumentVersion: "STRING_VALUE",
|
|
41
|
+
* ExecutionInputs: { // ExecutionInputs Union: only one key present
|
|
42
|
+
* Automation: { // AutomationExecutionInputs
|
|
43
|
+
* Parameters: { // AutomationParameterMap
|
|
44
|
+
* "<keys>": [ // AutomationParameterValueList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* TargetParameterName: "STRING_VALUE",
|
|
49
|
+
* Targets: [ // Targets
|
|
50
|
+
* { // Target
|
|
51
|
+
* Key: "STRING_VALUE",
|
|
52
|
+
* Values: [ // TargetValues
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* TargetMaps: [ // TargetMaps
|
|
58
|
+
* { // TargetMap
|
|
59
|
+
* "<keys>": [ // TargetMapValueList
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* TargetLocations: [ // TargetLocations
|
|
65
|
+
* { // TargetLocation
|
|
66
|
+
* Accounts: [ // Accounts
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* Regions: [ // Regions
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* TargetLocationMaxConcurrency: "STRING_VALUE",
|
|
73
|
+
* TargetLocationMaxErrors: "STRING_VALUE",
|
|
74
|
+
* ExecutionRoleName: "STRING_VALUE",
|
|
75
|
+
* TargetLocationAlarmConfiguration: { // AlarmConfiguration
|
|
76
|
+
* IgnorePollAlarmFailure: true || false,
|
|
77
|
+
* Alarms: [ // AlarmList // required
|
|
78
|
+
* { // Alarm
|
|
79
|
+
* Name: "STRING_VALUE", // required
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* IncludeChildOrganizationUnits: true || false,
|
|
84
|
+
* ExcludeAccounts: [ // ExcludeAccounts
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* Targets: [
|
|
88
|
+
* {
|
|
89
|
+
* Key: "STRING_VALUE",
|
|
90
|
+
* Values: [
|
|
91
|
+
* "STRING_VALUE",
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* TargetsMaxConcurrency: "STRING_VALUE",
|
|
96
|
+
* TargetsMaxErrors: "STRING_VALUE",
|
|
97
|
+
* },
|
|
98
|
+
* ],
|
|
99
|
+
* TargetLocationsURL: "STRING_VALUE",
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* };
|
|
103
|
+
* const command = new StartExecutionPreviewCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* // { // StartExecutionPreviewResponse
|
|
106
|
+
* // ExecutionPreviewId: "STRING_VALUE",
|
|
107
|
+
* // };
|
|
108
|
+
*
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @param StartExecutionPreviewCommandInput - {@link StartExecutionPreviewCommandInput}
|
|
112
|
+
* @returns {@link StartExecutionPreviewCommandOutput}
|
|
113
|
+
* @see {@link StartExecutionPreviewCommandInput} for command's `input` shape.
|
|
114
|
+
* @see {@link StartExecutionPreviewCommandOutput} for command's `response` shape.
|
|
115
|
+
* @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link InternalServerError} (server fault)
|
|
118
|
+
* <p>An error occurred on the server side.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ValidationException} (client fault)
|
|
121
|
+
* <p>The request isn't valid. Verify that you entered valid contents for the command and try
|
|
122
|
+
* again.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link SSMServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from SSM service.</p>
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare class StartExecutionPreviewCommand extends StartExecutionPreviewCommand_base {
|
|
130
|
+
/** @internal type navigation helper, not in runtime. */
|
|
131
|
+
protected static __types: {
|
|
132
|
+
api: {
|
|
133
|
+
input: StartExecutionPreviewRequest;
|
|
134
|
+
output: StartExecutionPreviewResponse;
|
|
135
|
+
};
|
|
136
|
+
sdk: {
|
|
137
|
+
input: StartExecutionPreviewCommandInput;
|
|
138
|
+
output: StartExecutionPreviewCommandOutput;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}
|
|
@@ -68,6 +68,7 @@ export * from "./GetConnectionStatusCommand";
|
|
|
68
68
|
export * from "./GetDefaultPatchBaselineCommand";
|
|
69
69
|
export * from "./GetDeployablePatchSnapshotForInstanceCommand";
|
|
70
70
|
export * from "./GetDocumentCommand";
|
|
71
|
+
export * from "./GetExecutionPreviewCommand";
|
|
71
72
|
export * from "./GetInventoryCommand";
|
|
72
73
|
export * from "./GetInventorySchemaCommand";
|
|
73
74
|
export * from "./GetMaintenanceWindowCommand";
|
|
@@ -97,6 +98,8 @@ export * from "./ListDocumentMetadataHistoryCommand";
|
|
|
97
98
|
export * from "./ListDocumentVersionsCommand";
|
|
98
99
|
export * from "./ListDocumentsCommand";
|
|
99
100
|
export * from "./ListInventoryEntriesCommand";
|
|
101
|
+
export * from "./ListNodesCommand";
|
|
102
|
+
export * from "./ListNodesSummaryCommand";
|
|
100
103
|
export * from "./ListOpsItemEventsCommand";
|
|
101
104
|
export * from "./ListOpsItemRelatedItemsCommand";
|
|
102
105
|
export * from "./ListOpsMetadataCommand";
|
|
@@ -120,6 +123,7 @@ export * from "./SendCommandCommand";
|
|
|
120
123
|
export * from "./StartAssociationsOnceCommand";
|
|
121
124
|
export * from "./StartAutomationExecutionCommand";
|
|
122
125
|
export * from "./StartChangeRequestExecutionCommand";
|
|
126
|
+
export * from "./StartExecutionPreviewCommand";
|
|
123
127
|
export * from "./StartSessionCommand";
|
|
124
128
|
export * from "./StopAutomationExecutionCommand";
|
|
125
129
|
export * from "./TerminateSessionCommand";
|
|
@@ -3218,6 +3218,10 @@ export interface CreatePatchBaselineRequest {
|
|
|
3218
3218
|
Name: string | undefined;
|
|
3219
3219
|
/**
|
|
3220
3220
|
* <p>A set of global filters used to include patches in the baseline.</p>
|
|
3221
|
+
* <important>
|
|
3222
|
+
* <p>The <code>GlobalFilters</code> parameter can be configured only by using the CLI or an Amazon Web Services SDK. It can't be configured from the Patch Manager
|
|
3223
|
+
* console, and its value isn't displayed in the console.</p>
|
|
3224
|
+
* </important>
|
|
3221
3225
|
* @public
|
|
3222
3226
|
*/
|
|
3223
3227
|
GlobalFilters?: PatchFilterGroup | undefined;
|
|
@@ -3575,7 +3579,7 @@ export declare class InvalidActivation extends __BaseException {
|
|
|
3575
3579
|
constructor(opts: __ExceptionOptionType<InvalidActivation, __BaseException>);
|
|
3576
3580
|
}
|
|
3577
3581
|
/**
|
|
3578
|
-
* <p>The activation ID isn't valid. Verify
|
|
3582
|
+
* <p>The activation ID isn't valid. Verify that you entered the correct ActivationId or
|
|
3579
3583
|
* ActivationCode and try again.</p>
|
|
3580
3584
|
* @public
|
|
3581
3585
|
*/
|
|
@@ -4346,7 +4350,7 @@ export interface DescribeActivationsResult {
|
|
|
4346
4350
|
NextToken?: string | undefined;
|
|
4347
4351
|
}
|
|
4348
4352
|
/**
|
|
4349
|
-
* <p>The filter name isn't valid. Verify
|
|
4353
|
+
* <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
|
|
4350
4354
|
* @public
|
|
4351
4355
|
*/
|
|
4352
4356
|
export declare class InvalidFilter extends __BaseException {
|
|
@@ -6462,7 +6466,7 @@ export interface InstanceInformation {
|
|
|
6462
6466
|
*/
|
|
6463
6467
|
IsLatestVersion?: boolean | undefined;
|
|
6464
6468
|
/**
|
|
6465
|
-
* <p>The operating system platform type
|
|
6469
|
+
* <p>The operating system platform type.</p>
|
|
6466
6470
|
* @public
|
|
6467
6471
|
*/
|
|
6468
6472
|
PlatformType?: PlatformType | undefined;
|
|
@@ -7325,7 +7329,8 @@ export interface InstanceProperty {
|
|
|
7325
7329
|
*/
|
|
7326
7330
|
AgentVersion?: string | undefined;
|
|
7327
7331
|
/**
|
|
7328
|
-
* <p>The operating system platform type of the managed node. For example, Windows
|
|
7332
|
+
* <p>The operating system platform type of the managed node. For example, Windows Server or
|
|
7333
|
+
* Amazon Linux 2.</p>
|
|
7329
7334
|
* @public
|
|
7330
7335
|
*/
|
|
7331
7336
|
PlatformType?: PlatformType | undefined;
|