@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.
- 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 +127 -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 +175 -0
- package/dist-types/commands/ListNodesSummaryCommand.d.ts +166 -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 +157 -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 +4 -4
package/README.md
CHANGED
|
@@ -58,16 +58,16 @@ using your favorite package manager:
|
|
|
58
58
|
|
|
59
59
|
The AWS SDK is modulized by clients and commands.
|
|
60
60
|
To send a request, you only need to import the `SSMClient` and
|
|
61
|
-
the commands you need, for example `
|
|
61
|
+
the commands you need, for example `ListNodesCommand`:
|
|
62
62
|
|
|
63
63
|
```js
|
|
64
64
|
// ES5 example
|
|
65
|
-
const { SSMClient,
|
|
65
|
+
const { SSMClient, ListNodesCommand } = require("@aws-sdk/client-ssm");
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
```ts
|
|
69
69
|
// ES6+ example
|
|
70
|
-
import { SSMClient,
|
|
70
|
+
import { SSMClient, ListNodesCommand } from "@aws-sdk/client-ssm";
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Usage
|
|
@@ -86,7 +86,7 @@ const client = new SSMClient({ region: "REGION" });
|
|
|
86
86
|
const params = {
|
|
87
87
|
/** input parameters */
|
|
88
88
|
};
|
|
89
|
-
const command = new
|
|
89
|
+
const command = new ListNodesCommand(params);
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
#### Async/await
|
|
@@ -165,7 +165,7 @@ const client = new AWS.SSM({ region: "REGION" });
|
|
|
165
165
|
|
|
166
166
|
// async/await.
|
|
167
167
|
try {
|
|
168
|
-
const data = await client.
|
|
168
|
+
const data = await client.listNodes(params);
|
|
169
169
|
// process data.
|
|
170
170
|
} catch (error) {
|
|
171
171
|
// error handling.
|
|
@@ -173,7 +173,7 @@ try {
|
|
|
173
173
|
|
|
174
174
|
// Promises.
|
|
175
175
|
client
|
|
176
|
-
.
|
|
176
|
+
.listNodes(params)
|
|
177
177
|
.then((data) => {
|
|
178
178
|
// process data.
|
|
179
179
|
})
|
|
@@ -182,7 +182,7 @@ client
|
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
// callbacks.
|
|
185
|
-
client.
|
|
185
|
+
client.listNodes(params, (err, data) => {
|
|
186
186
|
// process err and data.
|
|
187
187
|
});
|
|
188
188
|
```
|
|
@@ -797,6 +797,14 @@ GetDocument
|
|
|
797
797
|
|
|
798
798
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/GetDocumentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetDocumentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetDocumentCommandOutput/)
|
|
799
799
|
|
|
800
|
+
</details>
|
|
801
|
+
<details>
|
|
802
|
+
<summary>
|
|
803
|
+
GetExecutionPreview
|
|
804
|
+
</summary>
|
|
805
|
+
|
|
806
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/GetExecutionPreviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetExecutionPreviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/GetExecutionPreviewCommandOutput/)
|
|
807
|
+
|
|
800
808
|
</details>
|
|
801
809
|
<details>
|
|
802
810
|
<summary>
|
|
@@ -1029,6 +1037,22 @@ ListInventoryEntries
|
|
|
1029
1037
|
|
|
1030
1038
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/ListInventoryEntriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListInventoryEntriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListInventoryEntriesCommandOutput/)
|
|
1031
1039
|
|
|
1040
|
+
</details>
|
|
1041
|
+
<details>
|
|
1042
|
+
<summary>
|
|
1043
|
+
ListNodes
|
|
1044
|
+
</summary>
|
|
1045
|
+
|
|
1046
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/ListNodesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListNodesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListNodesCommandOutput/)
|
|
1047
|
+
|
|
1048
|
+
</details>
|
|
1049
|
+
<details>
|
|
1050
|
+
<summary>
|
|
1051
|
+
ListNodesSummary
|
|
1052
|
+
</summary>
|
|
1053
|
+
|
|
1054
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/ListNodesSummaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListNodesSummaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/ListNodesSummaryCommandOutput/)
|
|
1055
|
+
|
|
1032
1056
|
</details>
|
|
1033
1057
|
<details>
|
|
1034
1058
|
<summary>
|
|
@@ -1213,6 +1237,14 @@ StartChangeRequestExecution
|
|
|
1213
1237
|
|
|
1214
1238
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/StartChangeRequestExecutionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartChangeRequestExecutionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartChangeRequestExecutionCommandOutput/)
|
|
1215
1239
|
|
|
1240
|
+
</details>
|
|
1241
|
+
<details>
|
|
1242
|
+
<summary>
|
|
1243
|
+
StartExecutionPreview
|
|
1244
|
+
</summary>
|
|
1245
|
+
|
|
1246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/StartExecutionPreviewCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartExecutionPreviewCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/StartExecutionPreviewCommandOutput/)
|
|
1247
|
+
|
|
1216
1248
|
</details>
|
|
1217
1249
|
<details>
|
|
1218
1250
|
<summary>
|