@aws-sdk/client-ssm 3.693.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.
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 +98 -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 +123 -0
  31. package/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -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 +141 -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 +36 -36
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 `ListAssociationsCommand`:
61
+ the commands you need, for example `ListNodesCommand`:
62
62
 
63
63
  ```js
64
64
  // ES5 example
65
- const { SSMClient, ListAssociationsCommand } = require("@aws-sdk/client-ssm");
65
+ const { SSMClient, ListNodesCommand } = require("@aws-sdk/client-ssm");
66
66
  ```
67
67
 
68
68
  ```ts
69
69
  // ES6+ example
70
- import { SSMClient, ListAssociationsCommand } from "@aws-sdk/client-ssm";
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 ListAssociationsCommand(params);
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.listAssociations(params);
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
- .listAssociations(params)
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.listAssociations(params, (err, data) => {
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>