@aws-sdk/client-ssm 3.696.0 → 3.699.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.
Files changed (67) hide show
  1. package/README.md +39 -7
  2. package/dist-cjs/index.js +834 -437
  3. package/dist-es/SSM.js +8 -0
  4. package/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
  5. package/dist-es/commands/ListNodesCommand.js +23 -0
  6. package/dist-es/commands/ListNodesSummaryCommand.js +22 -0
  7. package/dist-es/commands/SendCommandCommand.js +1 -1
  8. package/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/models_1.js +99 -144
  11. package/dist-es/models/models_2.js +167 -1
  12. package/dist-es/pagination/ListNodesPaginator.js +4 -0
  13. package/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +2 -0
  15. package/dist-es/protocols/Aws_json1_1.js +159 -3
  16. package/dist-types/SSM.d.ts +29 -0
  17. package/dist-types/SSMClient.d.ts +6 -2
  18. package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
  24. package/dist-types/commands/GetExecutionPreviewCommand.d.ts +127 -0
  25. package/dist-types/commands/GetInventoryCommand.d.ts +3 -4
  26. package/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
  27. package/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListNodesCommand.d.ts +175 -0
  31. package/dist-types/commands/ListNodesSummaryCommand.d.ts +166 -0
  32. package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
  33. package/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
  34. package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
  35. package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  36. package/dist-types/commands/SendCommandCommand.d.ts +1 -1
  37. package/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
  38. package/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
  39. package/dist-types/commands/StartExecutionPreviewCommand.d.ts +157 -0
  40. package/dist-types/commands/index.d.ts +4 -0
  41. package/dist-types/models/models_0.d.ts +9 -4
  42. package/dist-types/models/models_1.d.ts +955 -989
  43. package/dist-types/models/models_2.d.ts +770 -5
  44. package/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  48. package/dist-types/ts3.4/SSM.d.ts +69 -0
  49. package/dist-types/ts3.4/SSMClient.d.ts +24 -0
  50. package/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
  51. package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
  52. package/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
  53. package/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  61. package/dist-types/ts3.4/models/models_1.d.ts +176 -170
  62. package/dist-types/ts3.4/models/models_2.d.ts +236 -0
  63. package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  67. package/package.json +4 -4
@@ -121,12 +121,11 @@ declare const GetOpsSummaryCommand_base: {
121
121
  * <p>An error occurred on the server side.</p>
122
122
  *
123
123
  * @throws {@link InvalidAggregatorException} (client fault)
124
- * <p>The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a
125
- * valid inventory type such as <code>AWS:Application</code> or
126
- * <code>AWS:InstanceInformation</code>.</p>
124
+ * <p>The specified aggregator isn't valid for the group type. Verify that the aggregator you
125
+ * provided is supported.</p>
127
126
  *
128
127
  * @throws {@link InvalidFilter} (client fault)
129
- * <p>The filter name isn't valid. Verify the you entered the correct name and try again.</p>
128
+ * <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
130
129
  *
131
130
  * @throws {@link InvalidNextToken} (client fault)
132
131
  * <p>The specified token isn't valid.</p>
@@ -92,7 +92,7 @@ declare const ListComplianceItemsCommand_base: {
92
92
  * <p>An error occurred on the server side.</p>
93
93
  *
94
94
  * @throws {@link InvalidFilter} (client fault)
95
- * <p>The filter name isn't valid. Verify the you entered the correct name and try again.</p>
95
+ * <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
96
96
  *
97
97
  * @throws {@link InvalidNextToken} (client fault)
98
98
  * <p>The specified token isn't valid.</p>
@@ -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 the you entered the correct name and try again.</p>
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 the you entered the correct name and try again.</p>
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,175 @@
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
+ * @example ListNodes
111
+ * ```javascript
112
+ * // This example illustrates one usage of ListNodes
113
+ * const input = {
114
+ * "Filters": [
115
+ * {
116
+ * "Key": "Region",
117
+ * "Type": "Equal",
118
+ * "Values": [
119
+ * "us-east-2"
120
+ * ]
121
+ * }
122
+ * ],
123
+ * "MaxResults": 1,
124
+ * "SyncName": "AWS-QuickSetup-ManagedNode"
125
+ * };
126
+ * const command = new ListNodesCommand(input);
127
+ * const response = await client.send(command);
128
+ * /* response ==
129
+ * {
130
+ * "NextToken": "A9lT8CAxj9aDFRi+MNAoFq08IEXAMPLE",
131
+ * "Nodes": [
132
+ * {
133
+ * "CaptureTime": "2024-11-19T22:01:18",
134
+ * "Id": "i-02573cafcfEXAMPLE",
135
+ * "NodeType": {
136
+ * "Instance": {
137
+ * "AgentType": "amazon-ssm-agent",
138
+ * "AgentVersion": "3.3.859.0",
139
+ * "ComputerName": "ip-192.0.2.0.ec2.internal",
140
+ * "InstanceStatus": "Active",
141
+ * "IpAddress": "192.0.2.0",
142
+ * "ManagedStatus": "Managed",
143
+ * "PlatformName": "Amazon Linux",
144
+ * "PlatformType": "Linux",
145
+ * "PlatformVersion": "2023",
146
+ * "ResourceType": "EC2Instance"
147
+ * }
148
+ * },
149
+ * "Owner": {
150
+ * "AccountId": "111122223333",
151
+ * "OrganizationalUnitId": "ou-b8dn-sasv9tfp",
152
+ * "OrganizationalUnitPath": "r-b8dn/ou-b8dn-sasv9tfp"
153
+ * },
154
+ * "Region": "us-east-2"
155
+ * }
156
+ * ]
157
+ * }
158
+ * *\/
159
+ * // example id: listnodes--ec13d561ee02
160
+ * ```
161
+ *
162
+ */
163
+ export declare class ListNodesCommand extends ListNodesCommand_base {
164
+ /** @internal type navigation helper, not in runtime. */
165
+ protected static __types: {
166
+ api: {
167
+ input: ListNodesRequest;
168
+ output: ListNodesResult;
169
+ };
170
+ sdk: {
171
+ input: ListNodesCommandInput;
172
+ output: ListNodesCommandOutput;
173
+ };
174
+ };
175
+ }
@@ -0,0 +1,166 @@
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
+ * @example ListNodesSummary
111
+ * ```javascript
112
+ * // This example illustrates one usage of ListNodesSummary
113
+ * const input = {
114
+ * "Aggregators": [
115
+ * {
116
+ * "AggregatorType": "Count",
117
+ * "AttributeName": "Region",
118
+ * "TypeName": "Instance"
119
+ * }
120
+ * ],
121
+ * "Filters": [
122
+ * {
123
+ * "Key": "InstanceStatus",
124
+ * "Type": "Equal",
125
+ * "Values": [
126
+ * "Active"
127
+ * ]
128
+ * }
129
+ * ],
130
+ * "MaxResults": 2,
131
+ * "NextToken": "A9lT8CAxj9aDFRi+MNAoFq08I---EXAMPLE",
132
+ * "SyncName": "AWS-QuickSetup-ManagedNode"
133
+ * };
134
+ * const command = new ListNodesSummaryCommand(input);
135
+ * const response = await client.send(command);
136
+ * /* response ==
137
+ * {
138
+ * "Summary": [
139
+ * {
140
+ * "Count": "26",
141
+ * "Region": "us-east-1"
142
+ * },
143
+ * {
144
+ * "Count": "7",
145
+ * "Region": "us-east-2"
146
+ * }
147
+ * ]
148
+ * }
149
+ * *\/
150
+ * // example id: listnodessummary-9a63f9e71ee0
151
+ * ```
152
+ *
153
+ */
154
+ export declare class ListNodesSummaryCommand extends ListNodesSummaryCommand_base {
155
+ /** @internal type navigation helper, not in runtime. */
156
+ protected static __types: {
157
+ api: {
158
+ input: ListNodesSummaryRequest;
159
+ output: ListNodesSummaryResult;
160
+ };
161
+ sdk: {
162
+ input: ListNodesSummaryCommandInput;
163
+ output: ListNodesSummaryCommandOutput;
164
+ };
165
+ };
166
+ }
@@ -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 the you entered the correct name and try again.</p>
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, ResetServiceSettingResult } from "../models/models_1";
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/models_1";
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/models_1";
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/models_1";
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/models_1";
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/models_1";
3
+ import { StartAutomationExecutionRequest, StartAutomationExecutionResult } from "../models/models_2";
4
4
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
5
5
  /**
6
6
  * @public
@@ -0,0 +1,157 @@
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
+ * @example StartExecutionPreview
129
+ * ```javascript
130
+ * // This example illustrates one usage of StartExecutionPreview
131
+ * const input = {
132
+ * "DocumentName": "AWS-StartEC2Instance"
133
+ * };
134
+ * const command = new StartExecutionPreviewCommand(input);
135
+ * const response = await client.send(command);
136
+ * /* response ==
137
+ * {
138
+ * "ExecutionPreviewId": "2f27d6e5-9676-4708-b8bd-aef0ab47bb26"
139
+ * }
140
+ * *\/
141
+ * // example id: startexecutionpreview-7a6b962646a9
142
+ * ```
143
+ *
144
+ */
145
+ export declare class StartExecutionPreviewCommand extends StartExecutionPreviewCommand_base {
146
+ /** @internal type navigation helper, not in runtime. */
147
+ protected static __types: {
148
+ api: {
149
+ input: StartExecutionPreviewRequest;
150
+ output: StartExecutionPreviewResponse;
151
+ };
152
+ sdk: {
153
+ input: StartExecutionPreviewCommandInput;
154
+ output: StartExecutionPreviewCommandOutput;
155
+ };
156
+ };
157
+ }
@@ -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";