@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
@@ -1,10 +1,10 @@
1
- import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
1
+ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { AlreadyExistsException, AssociatedInstances, AssociationAlreadyExists, AssociationDoesNotExist, AssociationExecutionDoesNotExist, AssociationLimitExceeded, AutomationExecutionNotFoundException, DocumentAlreadyExists, DocumentLimitExceeded, DoesNotExistException, DuplicateInstanceId, IdempotentParameterMismatch, InternalServerError, InvalidActivation, InvalidActivationId, InvalidAssociationVersion, InvalidCommandId, InvalidDeleteInventoryParametersException, InvalidDeletionIdException, InvalidDocument, InvalidDocumentContent, InvalidDocumentOperation, InvalidDocumentSchemaVersion, InvalidDocumentVersion, InvalidFilter, InvalidFilterKey, InvalidFilterValue, InvalidInstanceId, InvalidInstanceInformationFilterValue, InvalidInstancePropertyFilterValue, InvalidInventoryRequestException, InvalidNextToken, InvalidOptionException, InvalidOutputLocation, InvalidParameters, InvalidPermissionType, InvalidResourceId, InvalidResourceType, InvalidSchedule, InvalidTag, InvalidTarget, InvalidTargetMaps, InvalidTypeNameException, MalformedResourcePolicyDocumentException, MaxDocumentSizeExceeded, OpsItemAccessDeniedException, OpsItemAlreadyExistsException, OpsItemConflictException, OpsItemInvalidParameterException, OpsItemLimitExceededException, OpsItemNotFoundException, OpsItemRelatedItemAlreadyExistsException, OpsMetadataAlreadyExistsException, OpsMetadataInvalidArgumentException, OpsMetadataLimitExceededException, OpsMetadataNotFoundException, OpsMetadataTooManyUpdatesException, ParameterNotFound, ResourceDataSyncAlreadyExistsException, ResourceDataSyncCountExceededException, ResourceDataSyncInvalidConfigurationException, ResourceDataSyncNotFoundException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourcePolicyConflictException, ResourcePolicyInvalidParameterException, ResourcePolicyNotFoundException, TargetInUseException, TooManyTagsError, TooManyUpdates, UnsupportedOperatingSystem, UnsupportedPlatformType, } from "../models/models_0";
6
- import { AutomationDefinitionNotFoundException, AutomationDefinitionVersionNotFoundException, AutomationExecutionLimitExceededException, AutomationStepNotFoundException, ComplianceTypeCountLimitExceededException, CustomSchemaCountLimitExceededException, DocumentPermissionLimit, FeatureNotAvailableException, HierarchyLevelLimitExceededException, HierarchyTypeMismatchException, IncompatiblePolicyException, InvalidAggregatorException, InvalidAllowedPatternException, InvalidAssociation, InvalidAutomationExecutionParametersException, InvalidAutomationSignalException, InvalidDocumentType, InvalidFilterOption, InvalidInventoryGroupException, InvalidInventoryItemContextException, InvalidItemContentException, InvalidKeyId, InvalidNotificationConfig, InvalidOutputFolder, InvalidPluginName, InvalidPolicyAttributeException, InvalidPolicyTypeException, InvalidResultAttributeException, InvalidRole, InvocationDoesNotExist, ItemContentMismatchException, ItemSizeLimitExceededException, OpsItemRelatedItemAssociationNotFoundException, ParameterAlreadyExists, ParameterLimitExceeded, ParameterMaxVersionLimitExceeded, ParameterPatternMismatchException, ParameterVersionLabelLimitExceeded, ParameterVersionNotFound, PoliciesLimitExceededException, ResourcePolicyLimitExceededException, ServiceSettingNotFound, SubTypeCountLimitExceededException, TotalSizeLimitExceededException, UnsupportedCalendarException, UnsupportedFeatureRequiredException, UnsupportedInventoryItemContextException, UnsupportedInventorySchemaVersionException, UnsupportedParameterType, } from "../models/models_1";
7
- import { AssociationVersionLimitExceeded, AutomationDefinitionNotApprovedException, DocumentVersionLimitExceeded, DuplicateDocumentContent, DuplicateDocumentVersionName, InvalidAutomationStatusUpdateException, InvalidUpdate, OpsMetadataKeyLimitExceededException, ResourceDataSyncConflictException, StatusUnchanged, TargetNotConnected, } from "../models/models_2";
6
+ import { ComplianceTypeCountLimitExceededException, CustomSchemaCountLimitExceededException, DocumentPermissionLimit, FeatureNotAvailableException, HierarchyLevelLimitExceededException, HierarchyTypeMismatchException, IncompatiblePolicyException, InvalidAggregatorException, InvalidAllowedPatternException, InvalidDocumentType, InvalidFilterOption, InvalidInventoryGroupException, InvalidInventoryItemContextException, InvalidItemContentException, InvalidKeyId, InvalidPluginName, InvalidPolicyAttributeException, InvalidPolicyTypeException, InvalidResultAttributeException, InvocationDoesNotExist, ItemContentMismatchException, ItemSizeLimitExceededException, OpsItemRelatedItemAssociationNotFoundException, ParameterAlreadyExists, ParameterLimitExceeded, ParameterMaxVersionLimitExceeded, ParameterPatternMismatchException, ParameterVersionLabelLimitExceeded, ParameterVersionNotFound, PoliciesLimitExceededException, ResourcePolicyLimitExceededException, ServiceSettingNotFound, SubTypeCountLimitExceededException, TotalSizeLimitExceededException, UnsupportedCalendarException, UnsupportedFeatureRequiredException, UnsupportedInventoryItemContextException, UnsupportedInventorySchemaVersionException, UnsupportedOperationException, UnsupportedParameterType, } from "../models/models_1";
7
+ import { AssociationVersionLimitExceeded, AutomationDefinitionNotApprovedException, AutomationDefinitionNotFoundException, AutomationDefinitionVersionNotFoundException, AutomationExecutionLimitExceededException, AutomationStepNotFoundException, DocumentVersionLimitExceeded, DuplicateDocumentContent, DuplicateDocumentVersionName, InvalidAssociation, InvalidAutomationExecutionParametersException, InvalidAutomationSignalException, InvalidAutomationStatusUpdateException, InvalidNotificationConfig, InvalidOutputFolder, InvalidRole, InvalidUpdate, OpsMetadataKeyLimitExceededException, ResourceDataSyncConflictException, StatusUnchanged, TargetNotConnected, ValidationException, } from "../models/models_2";
8
8
  import { SSMServiceException as __BaseException } from "../models/SSMServiceException";
9
9
  export const se_AddTagsToResourceCommand = async (input, context) => {
10
10
  const headers = sharedHeaders("AddTagsToResource");
@@ -426,6 +426,12 @@ export const se_GetDocumentCommand = async (input, context) => {
426
426
  body = JSON.stringify(_json(input));
427
427
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
428
428
  };
429
+ export const se_GetExecutionPreviewCommand = async (input, context) => {
430
+ const headers = sharedHeaders("GetExecutionPreview");
431
+ let body;
432
+ body = JSON.stringify(_json(input));
433
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
434
+ };
429
435
  export const se_GetInventoryCommand = async (input, context) => {
430
436
  const headers = sharedHeaders("GetInventory");
431
437
  let body;
@@ -600,6 +606,18 @@ export const se_ListInventoryEntriesCommand = async (input, context) => {
600
606
  body = JSON.stringify(_json(input));
601
607
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
602
608
  };
609
+ export const se_ListNodesCommand = async (input, context) => {
610
+ const headers = sharedHeaders("ListNodes");
611
+ let body;
612
+ body = JSON.stringify(_json(input));
613
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
614
+ };
615
+ export const se_ListNodesSummaryCommand = async (input, context) => {
616
+ const headers = sharedHeaders("ListNodesSummary");
617
+ let body;
618
+ body = JSON.stringify(se_ListNodesSummaryRequest(input, context));
619
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
620
+ };
603
621
  export const se_ListOpsItemEventsCommand = async (input, context) => {
604
622
  const headers = sharedHeaders("ListOpsItemEvents");
605
623
  let body;
@@ -738,6 +756,12 @@ export const se_StartChangeRequestExecutionCommand = async (input, context) => {
738
756
  body = JSON.stringify(se_StartChangeRequestExecutionRequest(input, context));
739
757
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
740
758
  };
759
+ export const se_StartExecutionPreviewCommand = async (input, context) => {
760
+ const headers = sharedHeaders("StartExecutionPreview");
761
+ let body;
762
+ body = JSON.stringify(_json(input));
763
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
764
+ };
741
765
  export const se_StartSessionCommand = async (input, context) => {
742
766
  const headers = sharedHeaders("StartSession");
743
767
  let body;
@@ -1756,6 +1780,19 @@ export const de_GetDocumentCommand = async (output, context) => {
1756
1780
  };
1757
1781
  return response;
1758
1782
  };
1783
+ export const de_GetExecutionPreviewCommand = async (output, context) => {
1784
+ if (output.statusCode >= 300) {
1785
+ return de_CommandError(output, context);
1786
+ }
1787
+ const data = await parseBody(output.body, context);
1788
+ let contents = {};
1789
+ contents = de_GetExecutionPreviewResponse(data, context);
1790
+ const response = {
1791
+ $metadata: deserializeMetadata(output),
1792
+ ...contents,
1793
+ };
1794
+ return response;
1795
+ };
1759
1796
  export const de_GetInventoryCommand = async (output, context) => {
1760
1797
  if (output.statusCode >= 300) {
1761
1798
  return de_CommandError(output, context);
@@ -2133,6 +2170,32 @@ export const de_ListInventoryEntriesCommand = async (output, context) => {
2133
2170
  };
2134
2171
  return response;
2135
2172
  };
2173
+ export const de_ListNodesCommand = async (output, context) => {
2174
+ if (output.statusCode >= 300) {
2175
+ return de_CommandError(output, context);
2176
+ }
2177
+ const data = await parseBody(output.body, context);
2178
+ let contents = {};
2179
+ contents = de_ListNodesResult(data, context);
2180
+ const response = {
2181
+ $metadata: deserializeMetadata(output),
2182
+ ...contents,
2183
+ };
2184
+ return response;
2185
+ };
2186
+ export const de_ListNodesSummaryCommand = async (output, context) => {
2187
+ if (output.statusCode >= 300) {
2188
+ return de_CommandError(output, context);
2189
+ }
2190
+ const data = await parseBody(output.body, context);
2191
+ let contents = {};
2192
+ contents = _json(data);
2193
+ const response = {
2194
+ $metadata: deserializeMetadata(output),
2195
+ ...contents,
2196
+ };
2197
+ return response;
2198
+ };
2136
2199
  export const de_ListOpsItemEventsCommand = async (output, context) => {
2137
2200
  if (output.statusCode >= 300) {
2138
2201
  return de_CommandError(output, context);
@@ -2432,6 +2495,19 @@ export const de_StartChangeRequestExecutionCommand = async (output, context) =>
2432
2495
  };
2433
2496
  return response;
2434
2497
  };
2498
+ export const de_StartExecutionPreviewCommand = async (output, context) => {
2499
+ if (output.statusCode >= 300) {
2500
+ return de_CommandError(output, context);
2501
+ }
2502
+ const data = await parseBody(output.body, context);
2503
+ let contents = {};
2504
+ contents = _json(data);
2505
+ const response = {
2506
+ $metadata: deserializeMetadata(output),
2507
+ ...contents,
2508
+ };
2509
+ return response;
2510
+ };
2435
2511
  export const de_StartSessionCommand = async (output, context) => {
2436
2512
  if (output.statusCode >= 300) {
2437
2513
  return de_CommandError(output, context);
@@ -2931,6 +3007,9 @@ const de_CommandError = async (output, context) => {
2931
3007
  case "ParameterVersionLabelLimitExceeded":
2932
3008
  case "com.amazonaws.ssm#ParameterVersionLabelLimitExceeded":
2933
3009
  throw await de_ParameterVersionLabelLimitExceededRes(parsedOutput, context);
3010
+ case "UnsupportedOperationException":
3011
+ case "com.amazonaws.ssm#UnsupportedOperationException":
3012
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
2934
3013
  case "DocumentPermissionLimit":
2935
3014
  case "com.amazonaws.ssm#DocumentPermissionLimit":
2936
3015
  throw await de_DocumentPermissionLimitRes(parsedOutput, context);
@@ -3042,6 +3121,9 @@ const de_CommandError = async (output, context) => {
3042
3121
  case "AutomationDefinitionNotApprovedException":
3043
3122
  case "com.amazonaws.ssm#AutomationDefinitionNotApprovedException":
3044
3123
  throw await de_AutomationDefinitionNotApprovedExceptionRes(parsedOutput, context);
3124
+ case "ValidationException":
3125
+ case "com.amazonaws.ssm#ValidationException":
3126
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3045
3127
  case "TargetNotConnected":
3046
3128
  case "com.amazonaws.ssm#TargetNotConnected":
3047
3129
  throw await de_TargetNotConnectedRes(parsedOutput, context);
@@ -4260,6 +4342,15 @@ const de_UnsupportedOperatingSystemRes = async (parsedOutput, context) => {
4260
4342
  });
4261
4343
  return __decorateServiceException(exception, body);
4262
4344
  };
4345
+ const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
4346
+ const body = parsedOutput.body;
4347
+ const deserialized = _json(body);
4348
+ const exception = new UnsupportedOperationException({
4349
+ $metadata: deserializeMetadata(parsedOutput),
4350
+ ...deserialized,
4351
+ });
4352
+ return __decorateServiceException(exception, body);
4353
+ };
4263
4354
  const de_UnsupportedParameterTypeRes = async (parsedOutput, context) => {
4264
4355
  const body = parsedOutput.body;
4265
4356
  const deserialized = _json(body);
@@ -4278,6 +4369,15 @@ const de_UnsupportedPlatformTypeRes = async (parsedOutput, context) => {
4278
4369
  });
4279
4370
  return __decorateServiceException(exception, body);
4280
4371
  };
4372
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
4373
+ const body = parsedOutput.body;
4374
+ const deserialized = _json(body);
4375
+ const exception = new ValidationException({
4376
+ $metadata: deserializeMetadata(parsedOutput),
4377
+ ...deserialized,
4378
+ });
4379
+ return __decorateServiceException(exception, body);
4380
+ };
4281
4381
  const se_AssociationStatus = (input, context) => {
4282
4382
  return take(input, {
4283
4383
  AdditionalInfo: [],
@@ -4398,6 +4498,15 @@ const se_InventoryAggregatorList = (input, context) => {
4398
4498
  return se_InventoryAggregator(entry, context);
4399
4499
  });
4400
4500
  };
4501
+ const se_ListNodesSummaryRequest = (input, context) => {
4502
+ return take(input, {
4503
+ Aggregators: (_) => se_NodeAggregatorList(_, context),
4504
+ Filters: _json,
4505
+ MaxResults: [],
4506
+ NextToken: [],
4507
+ SyncName: [],
4508
+ });
4509
+ };
4401
4510
  const se_MaintenanceWindowLambdaParameters = (input, context) => {
4402
4511
  return take(input, {
4403
4512
  ClientContext: [],
@@ -4413,6 +4522,21 @@ const se_MaintenanceWindowTaskInvocationParameters = (input, context) => {
4413
4522
  StepFunctions: _json,
4414
4523
  });
4415
4524
  };
4525
+ const se_NodeAggregator = (input, context) => {
4526
+ return take(input, {
4527
+ AggregatorType: [],
4528
+ Aggregators: (_) => se_NodeAggregatorList(_, context),
4529
+ AttributeName: [],
4530
+ TypeName: [],
4531
+ });
4532
+ };
4533
+ const se_NodeAggregatorList = (input, context) => {
4534
+ return input
4535
+ .filter((e) => e != null)
4536
+ .map((entry) => {
4537
+ return se_NodeAggregator(entry, context);
4538
+ });
4539
+ };
4416
4540
  const se_OpsAggregator = (input, context) => {
4417
4541
  return take(input, {
4418
4542
  AggregatorType: [],
@@ -5192,6 +5316,15 @@ const de_GetDocumentResult = (output, context) => {
5192
5316
  VersionName: __expectString,
5193
5317
  });
5194
5318
  };
5319
+ const de_GetExecutionPreviewResponse = (output, context) => {
5320
+ return take(output, {
5321
+ EndedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5322
+ ExecutionPreview: (_) => _json(__expectUnion(_)),
5323
+ ExecutionPreviewId: __expectString,
5324
+ Status: __expectString,
5325
+ StatusMessage: __expectString,
5326
+ });
5327
+ };
5195
5328
  const de_GetMaintenanceWindowExecutionResult = (output, context) => {
5196
5329
  return take(output, {
5197
5330
  EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -5535,6 +5668,12 @@ const de_ListDocumentVersionsResult = (output, context) => {
5535
5668
  NextToken: __expectString,
5536
5669
  });
5537
5670
  };
5671
+ const de_ListNodesResult = (output, context) => {
5672
+ return take(output, {
5673
+ NextToken: __expectString,
5674
+ Nodes: (_) => de_NodeList(_, context),
5675
+ });
5676
+ };
5538
5677
  const de_ListOpsItemEventsResponse = (output, context) => {
5539
5678
  return take(output, {
5540
5679
  NextToken: __expectString,
@@ -5644,6 +5783,23 @@ const de_MaintenanceWindowTaskInvocationParameters = (output, context) => {
5644
5783
  StepFunctions: _json,
5645
5784
  });
5646
5785
  };
5786
+ const de_Node = (output, context) => {
5787
+ return take(output, {
5788
+ CaptureTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
5789
+ Id: __expectString,
5790
+ NodeType: (_) => _json(__expectUnion(_)),
5791
+ Owner: _json,
5792
+ Region: __expectString,
5793
+ });
5794
+ };
5795
+ const de_NodeList = (output, context) => {
5796
+ const retVal = (output || [])
5797
+ .filter((e) => e != null)
5798
+ .map((entry) => {
5799
+ return de_Node(entry, context);
5800
+ });
5801
+ return retVal;
5802
+ };
5647
5803
  const de_OpsItem = (output, context) => {
5648
5804
  return take(output, {
5649
5805
  ActualEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -69,6 +69,7 @@ import { GetConnectionStatusCommandInput, GetConnectionStatusCommandOutput } fro
69
69
  import { GetDefaultPatchBaselineCommandInput, GetDefaultPatchBaselineCommandOutput } from "./commands/GetDefaultPatchBaselineCommand";
70
70
  import { GetDeployablePatchSnapshotForInstanceCommandInput, GetDeployablePatchSnapshotForInstanceCommandOutput } from "./commands/GetDeployablePatchSnapshotForInstanceCommand";
71
71
  import { GetDocumentCommandInput, GetDocumentCommandOutput } from "./commands/GetDocumentCommand";
72
+ import { GetExecutionPreviewCommandInput, GetExecutionPreviewCommandOutput } from "./commands/GetExecutionPreviewCommand";
72
73
  import { GetInventoryCommandInput, GetInventoryCommandOutput } from "./commands/GetInventoryCommand";
73
74
  import { GetInventorySchemaCommandInput, GetInventorySchemaCommandOutput } from "./commands/GetInventorySchemaCommand";
74
75
  import { GetMaintenanceWindowCommandInput, GetMaintenanceWindowCommandOutput } from "./commands/GetMaintenanceWindowCommand";
@@ -98,6 +99,8 @@ import { ListDocumentMetadataHistoryCommandInput, ListDocumentMetadataHistoryCom
98
99
  import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand";
99
100
  import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "./commands/ListDocumentVersionsCommand";
100
101
  import { ListInventoryEntriesCommandInput, ListInventoryEntriesCommandOutput } from "./commands/ListInventoryEntriesCommand";
102
+ import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
103
+ import { ListNodesSummaryCommandInput, ListNodesSummaryCommandOutput } from "./commands/ListNodesSummaryCommand";
101
104
  import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "./commands/ListOpsItemEventsCommand";
102
105
  import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "./commands/ListOpsItemRelatedItemsCommand";
103
106
  import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "./commands/ListOpsMetadataCommand";
@@ -121,6 +124,7 @@ import { SendCommandCommandInput, SendCommandCommandOutput } from "./commands/Se
121
124
  import { StartAssociationsOnceCommandInput, StartAssociationsOnceCommandOutput } from "./commands/StartAssociationsOnceCommand";
122
125
  import { StartAutomationExecutionCommandInput, StartAutomationExecutionCommandOutput } from "./commands/StartAutomationExecutionCommand";
123
126
  import { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "./commands/StartChangeRequestExecutionCommand";
127
+ import { StartExecutionPreviewCommandInput, StartExecutionPreviewCommandOutput } from "./commands/StartExecutionPreviewCommand";
124
128
  import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
125
129
  import { StopAutomationExecutionCommandInput, StopAutomationExecutionCommandOutput } from "./commands/StopAutomationExecutionCommand";
126
130
  import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
@@ -576,6 +580,12 @@ export interface SSM {
576
580
  getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentCommandOutput>;
577
581
  getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
578
582
  getDocument(args: GetDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
583
+ /**
584
+ * @see {@link GetExecutionPreviewCommand}
585
+ */
586
+ getExecutionPreview(args: GetExecutionPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetExecutionPreviewCommandOutput>;
587
+ getExecutionPreview(args: GetExecutionPreviewCommandInput, cb: (err: any, data?: GetExecutionPreviewCommandOutput) => void): void;
588
+ getExecutionPreview(args: GetExecutionPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExecutionPreviewCommandOutput) => void): void;
579
589
  /**
580
590
  * @see {@link GetInventoryCommand}
581
591
  */
@@ -759,6 +769,19 @@ export interface SSM {
759
769
  listInventoryEntries(args: ListInventoryEntriesCommandInput, options?: __HttpHandlerOptions): Promise<ListInventoryEntriesCommandOutput>;
760
770
  listInventoryEntries(args: ListInventoryEntriesCommandInput, cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void): void;
761
771
  listInventoryEntries(args: ListInventoryEntriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void): void;
772
+ /**
773
+ * @see {@link ListNodesCommand}
774
+ */
775
+ listNodes(): Promise<ListNodesCommandOutput>;
776
+ listNodes(args: ListNodesCommandInput, options?: __HttpHandlerOptions): Promise<ListNodesCommandOutput>;
777
+ listNodes(args: ListNodesCommandInput, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
778
+ listNodes(args: ListNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
779
+ /**
780
+ * @see {@link ListNodesSummaryCommand}
781
+ */
782
+ listNodesSummary(args: ListNodesSummaryCommandInput, options?: __HttpHandlerOptions): Promise<ListNodesSummaryCommandOutput>;
783
+ listNodesSummary(args: ListNodesSummaryCommandInput, cb: (err: any, data?: ListNodesSummaryCommandOutput) => void): void;
784
+ listNodesSummary(args: ListNodesSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNodesSummaryCommandOutput) => void): void;
762
785
  /**
763
786
  * @see {@link ListOpsItemEventsCommand}
764
787
  */
@@ -902,6 +925,12 @@ export interface SSM {
902
925
  startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartChangeRequestExecutionCommandOutput>;
903
926
  startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void): void;
904
927
  startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void): void;
928
+ /**
929
+ * @see {@link StartExecutionPreviewCommand}
930
+ */
931
+ startExecutionPreview(args: StartExecutionPreviewCommandInput, options?: __HttpHandlerOptions): Promise<StartExecutionPreviewCommandOutput>;
932
+ startExecutionPreview(args: StartExecutionPreviewCommandInput, cb: (err: any, data?: StartExecutionPreviewCommandOutput) => void): void;
933
+ startExecutionPreview(args: StartExecutionPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExecutionPreviewCommandOutput) => void): void;
905
934
  /**
906
935
  * @see {@link StartSessionCommand}
907
936
  */
@@ -77,6 +77,7 @@ import { GetConnectionStatusCommandInput, GetConnectionStatusCommandOutput } fro
77
77
  import { GetDefaultPatchBaselineCommandInput, GetDefaultPatchBaselineCommandOutput } from "./commands/GetDefaultPatchBaselineCommand";
78
78
  import { GetDeployablePatchSnapshotForInstanceCommandInput, GetDeployablePatchSnapshotForInstanceCommandOutput } from "./commands/GetDeployablePatchSnapshotForInstanceCommand";
79
79
  import { GetDocumentCommandInput, GetDocumentCommandOutput } from "./commands/GetDocumentCommand";
80
+ import { GetExecutionPreviewCommandInput, GetExecutionPreviewCommandOutput } from "./commands/GetExecutionPreviewCommand";
80
81
  import { GetInventoryCommandInput, GetInventoryCommandOutput } from "./commands/GetInventoryCommand";
81
82
  import { GetInventorySchemaCommandInput, GetInventorySchemaCommandOutput } from "./commands/GetInventorySchemaCommand";
82
83
  import { GetMaintenanceWindowCommandInput, GetMaintenanceWindowCommandOutput } from "./commands/GetMaintenanceWindowCommand";
@@ -106,6 +107,8 @@ import { ListDocumentMetadataHistoryCommandInput, ListDocumentMetadataHistoryCom
106
107
  import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand";
107
108
  import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "./commands/ListDocumentVersionsCommand";
108
109
  import { ListInventoryEntriesCommandInput, ListInventoryEntriesCommandOutput } from "./commands/ListInventoryEntriesCommand";
110
+ import { ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
111
+ import { ListNodesSummaryCommandInput, ListNodesSummaryCommandOutput } from "./commands/ListNodesSummaryCommand";
109
112
  import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "./commands/ListOpsItemEventsCommand";
110
113
  import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "./commands/ListOpsItemRelatedItemsCommand";
111
114
  import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "./commands/ListOpsMetadataCommand";
@@ -129,6 +132,7 @@ import { SendCommandCommandInput, SendCommandCommandOutput } from "./commands/Se
129
132
  import { StartAssociationsOnceCommandInput, StartAssociationsOnceCommandOutput } from "./commands/StartAssociationsOnceCommand";
130
133
  import { StartAutomationExecutionCommandInput, StartAutomationExecutionCommandOutput } from "./commands/StartAutomationExecutionCommand";
131
134
  import { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "./commands/StartChangeRequestExecutionCommand";
135
+ import { StartExecutionPreviewCommandInput, StartExecutionPreviewCommandOutput } from "./commands/StartExecutionPreviewCommand";
132
136
  import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
133
137
  import { StopAutomationExecutionCommandInput, StopAutomationExecutionCommandOutput } from "./commands/StopAutomationExecutionCommand";
134
138
  import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
@@ -153,11 +157,11 @@ export { __Client };
153
157
  /**
154
158
  * @public
155
159
  */
156
- export type ServiceInputTypes = AddTagsToResourceCommandInput | AssociateOpsItemRelatedItemCommandInput | CancelCommandCommandInput | CancelMaintenanceWindowExecutionCommandInput | CreateActivationCommandInput | CreateAssociationBatchCommandInput | CreateAssociationCommandInput | CreateDocumentCommandInput | CreateMaintenanceWindowCommandInput | CreateOpsItemCommandInput | CreateOpsMetadataCommandInput | CreatePatchBaselineCommandInput | CreateResourceDataSyncCommandInput | DeleteActivationCommandInput | DeleteAssociationCommandInput | DeleteDocumentCommandInput | DeleteInventoryCommandInput | DeleteMaintenanceWindowCommandInput | DeleteOpsItemCommandInput | DeleteOpsMetadataCommandInput | DeleteParameterCommandInput | DeleteParametersCommandInput | DeletePatchBaselineCommandInput | DeleteResourceDataSyncCommandInput | DeleteResourcePolicyCommandInput | DeregisterManagedInstanceCommandInput | DeregisterPatchBaselineForPatchGroupCommandInput | DeregisterTargetFromMaintenanceWindowCommandInput | DeregisterTaskFromMaintenanceWindowCommandInput | DescribeActivationsCommandInput | DescribeAssociationCommandInput | DescribeAssociationExecutionTargetsCommandInput | DescribeAssociationExecutionsCommandInput | DescribeAutomationExecutionsCommandInput | DescribeAutomationStepExecutionsCommandInput | DescribeAvailablePatchesCommandInput | DescribeDocumentCommandInput | DescribeDocumentPermissionCommandInput | DescribeEffectiveInstanceAssociationsCommandInput | DescribeEffectivePatchesForPatchBaselineCommandInput | DescribeInstanceAssociationsStatusCommandInput | DescribeInstanceInformationCommandInput | DescribeInstancePatchStatesCommandInput | DescribeInstancePatchStatesForPatchGroupCommandInput | DescribeInstancePatchesCommandInput | DescribeInstancePropertiesCommandInput | DescribeInventoryDeletionsCommandInput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput | DescribeMaintenanceWindowExecutionTasksCommandInput | DescribeMaintenanceWindowExecutionsCommandInput | DescribeMaintenanceWindowScheduleCommandInput | DescribeMaintenanceWindowTargetsCommandInput | DescribeMaintenanceWindowTasksCommandInput | DescribeMaintenanceWindowsCommandInput | DescribeMaintenanceWindowsForTargetCommandInput | DescribeOpsItemsCommandInput | DescribeParametersCommandInput | DescribePatchBaselinesCommandInput | DescribePatchGroupStateCommandInput | DescribePatchGroupsCommandInput | DescribePatchPropertiesCommandInput | DescribeSessionsCommandInput | DisassociateOpsItemRelatedItemCommandInput | GetAutomationExecutionCommandInput | GetCalendarStateCommandInput | GetCommandInvocationCommandInput | GetConnectionStatusCommandInput | GetDefaultPatchBaselineCommandInput | GetDeployablePatchSnapshotForInstanceCommandInput | GetDocumentCommandInput | GetInventoryCommandInput | GetInventorySchemaCommandInput | GetMaintenanceWindowCommandInput | GetMaintenanceWindowExecutionCommandInput | GetMaintenanceWindowExecutionTaskCommandInput | GetMaintenanceWindowExecutionTaskInvocationCommandInput | GetMaintenanceWindowTaskCommandInput | GetOpsItemCommandInput | GetOpsMetadataCommandInput | GetOpsSummaryCommandInput | GetParameterCommandInput | GetParameterHistoryCommandInput | GetParametersByPathCommandInput | GetParametersCommandInput | GetPatchBaselineCommandInput | GetPatchBaselineForPatchGroupCommandInput | GetResourcePoliciesCommandInput | GetServiceSettingCommandInput | LabelParameterVersionCommandInput | ListAssociationVersionsCommandInput | ListAssociationsCommandInput | ListCommandInvocationsCommandInput | ListCommandsCommandInput | ListComplianceItemsCommandInput | ListComplianceSummariesCommandInput | ListDocumentMetadataHistoryCommandInput | ListDocumentVersionsCommandInput | ListDocumentsCommandInput | ListInventoryEntriesCommandInput | ListOpsItemEventsCommandInput | ListOpsItemRelatedItemsCommandInput | ListOpsMetadataCommandInput | ListResourceComplianceSummariesCommandInput | ListResourceDataSyncCommandInput | ListTagsForResourceCommandInput | ModifyDocumentPermissionCommandInput | PutComplianceItemsCommandInput | PutInventoryCommandInput | PutParameterCommandInput | PutResourcePolicyCommandInput | RegisterDefaultPatchBaselineCommandInput | RegisterPatchBaselineForPatchGroupCommandInput | RegisterTargetWithMaintenanceWindowCommandInput | RegisterTaskWithMaintenanceWindowCommandInput | RemoveTagsFromResourceCommandInput | ResetServiceSettingCommandInput | ResumeSessionCommandInput | SendAutomationSignalCommandInput | SendCommandCommandInput | StartAssociationsOnceCommandInput | StartAutomationExecutionCommandInput | StartChangeRequestExecutionCommandInput | StartSessionCommandInput | StopAutomationExecutionCommandInput | TerminateSessionCommandInput | UnlabelParameterVersionCommandInput | UpdateAssociationCommandInput | UpdateAssociationStatusCommandInput | UpdateDocumentCommandInput | UpdateDocumentDefaultVersionCommandInput | UpdateDocumentMetadataCommandInput | UpdateMaintenanceWindowCommandInput | UpdateMaintenanceWindowTargetCommandInput | UpdateMaintenanceWindowTaskCommandInput | UpdateManagedInstanceRoleCommandInput | UpdateOpsItemCommandInput | UpdateOpsMetadataCommandInput | UpdatePatchBaselineCommandInput | UpdateResourceDataSyncCommandInput | UpdateServiceSettingCommandInput;
160
+ export type ServiceInputTypes = AddTagsToResourceCommandInput | AssociateOpsItemRelatedItemCommandInput | CancelCommandCommandInput | CancelMaintenanceWindowExecutionCommandInput | CreateActivationCommandInput | CreateAssociationBatchCommandInput | CreateAssociationCommandInput | CreateDocumentCommandInput | CreateMaintenanceWindowCommandInput | CreateOpsItemCommandInput | CreateOpsMetadataCommandInput | CreatePatchBaselineCommandInput | CreateResourceDataSyncCommandInput | DeleteActivationCommandInput | DeleteAssociationCommandInput | DeleteDocumentCommandInput | DeleteInventoryCommandInput | DeleteMaintenanceWindowCommandInput | DeleteOpsItemCommandInput | DeleteOpsMetadataCommandInput | DeleteParameterCommandInput | DeleteParametersCommandInput | DeletePatchBaselineCommandInput | DeleteResourceDataSyncCommandInput | DeleteResourcePolicyCommandInput | DeregisterManagedInstanceCommandInput | DeregisterPatchBaselineForPatchGroupCommandInput | DeregisterTargetFromMaintenanceWindowCommandInput | DeregisterTaskFromMaintenanceWindowCommandInput | DescribeActivationsCommandInput | DescribeAssociationCommandInput | DescribeAssociationExecutionTargetsCommandInput | DescribeAssociationExecutionsCommandInput | DescribeAutomationExecutionsCommandInput | DescribeAutomationStepExecutionsCommandInput | DescribeAvailablePatchesCommandInput | DescribeDocumentCommandInput | DescribeDocumentPermissionCommandInput | DescribeEffectiveInstanceAssociationsCommandInput | DescribeEffectivePatchesForPatchBaselineCommandInput | DescribeInstanceAssociationsStatusCommandInput | DescribeInstanceInformationCommandInput | DescribeInstancePatchStatesCommandInput | DescribeInstancePatchStatesForPatchGroupCommandInput | DescribeInstancePatchesCommandInput | DescribeInstancePropertiesCommandInput | DescribeInventoryDeletionsCommandInput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput | DescribeMaintenanceWindowExecutionTasksCommandInput | DescribeMaintenanceWindowExecutionsCommandInput | DescribeMaintenanceWindowScheduleCommandInput | DescribeMaintenanceWindowTargetsCommandInput | DescribeMaintenanceWindowTasksCommandInput | DescribeMaintenanceWindowsCommandInput | DescribeMaintenanceWindowsForTargetCommandInput | DescribeOpsItemsCommandInput | DescribeParametersCommandInput | DescribePatchBaselinesCommandInput | DescribePatchGroupStateCommandInput | DescribePatchGroupsCommandInput | DescribePatchPropertiesCommandInput | DescribeSessionsCommandInput | DisassociateOpsItemRelatedItemCommandInput | GetAutomationExecutionCommandInput | GetCalendarStateCommandInput | GetCommandInvocationCommandInput | GetConnectionStatusCommandInput | GetDefaultPatchBaselineCommandInput | GetDeployablePatchSnapshotForInstanceCommandInput | GetDocumentCommandInput | GetExecutionPreviewCommandInput | GetInventoryCommandInput | GetInventorySchemaCommandInput | GetMaintenanceWindowCommandInput | GetMaintenanceWindowExecutionCommandInput | GetMaintenanceWindowExecutionTaskCommandInput | GetMaintenanceWindowExecutionTaskInvocationCommandInput | GetMaintenanceWindowTaskCommandInput | GetOpsItemCommandInput | GetOpsMetadataCommandInput | GetOpsSummaryCommandInput | GetParameterCommandInput | GetParameterHistoryCommandInput | GetParametersByPathCommandInput | GetParametersCommandInput | GetPatchBaselineCommandInput | GetPatchBaselineForPatchGroupCommandInput | GetResourcePoliciesCommandInput | GetServiceSettingCommandInput | LabelParameterVersionCommandInput | ListAssociationVersionsCommandInput | ListAssociationsCommandInput | ListCommandInvocationsCommandInput | ListCommandsCommandInput | ListComplianceItemsCommandInput | ListComplianceSummariesCommandInput | ListDocumentMetadataHistoryCommandInput | ListDocumentVersionsCommandInput | ListDocumentsCommandInput | ListInventoryEntriesCommandInput | ListNodesCommandInput | ListNodesSummaryCommandInput | ListOpsItemEventsCommandInput | ListOpsItemRelatedItemsCommandInput | ListOpsMetadataCommandInput | ListResourceComplianceSummariesCommandInput | ListResourceDataSyncCommandInput | ListTagsForResourceCommandInput | ModifyDocumentPermissionCommandInput | PutComplianceItemsCommandInput | PutInventoryCommandInput | PutParameterCommandInput | PutResourcePolicyCommandInput | RegisterDefaultPatchBaselineCommandInput | RegisterPatchBaselineForPatchGroupCommandInput | RegisterTargetWithMaintenanceWindowCommandInput | RegisterTaskWithMaintenanceWindowCommandInput | RemoveTagsFromResourceCommandInput | ResetServiceSettingCommandInput | ResumeSessionCommandInput | SendAutomationSignalCommandInput | SendCommandCommandInput | StartAssociationsOnceCommandInput | StartAutomationExecutionCommandInput | StartChangeRequestExecutionCommandInput | StartExecutionPreviewCommandInput | StartSessionCommandInput | StopAutomationExecutionCommandInput | TerminateSessionCommandInput | UnlabelParameterVersionCommandInput | UpdateAssociationCommandInput | UpdateAssociationStatusCommandInput | UpdateDocumentCommandInput | UpdateDocumentDefaultVersionCommandInput | UpdateDocumentMetadataCommandInput | UpdateMaintenanceWindowCommandInput | UpdateMaintenanceWindowTargetCommandInput | UpdateMaintenanceWindowTaskCommandInput | UpdateManagedInstanceRoleCommandInput | UpdateOpsItemCommandInput | UpdateOpsMetadataCommandInput | UpdatePatchBaselineCommandInput | UpdateResourceDataSyncCommandInput | UpdateServiceSettingCommandInput;
157
161
  /**
158
162
  * @public
159
163
  */
160
- export type ServiceOutputTypes = AddTagsToResourceCommandOutput | AssociateOpsItemRelatedItemCommandOutput | CancelCommandCommandOutput | CancelMaintenanceWindowExecutionCommandOutput | CreateActivationCommandOutput | CreateAssociationBatchCommandOutput | CreateAssociationCommandOutput | CreateDocumentCommandOutput | CreateMaintenanceWindowCommandOutput | CreateOpsItemCommandOutput | CreateOpsMetadataCommandOutput | CreatePatchBaselineCommandOutput | CreateResourceDataSyncCommandOutput | DeleteActivationCommandOutput | DeleteAssociationCommandOutput | DeleteDocumentCommandOutput | DeleteInventoryCommandOutput | DeleteMaintenanceWindowCommandOutput | DeleteOpsItemCommandOutput | DeleteOpsMetadataCommandOutput | DeleteParameterCommandOutput | DeleteParametersCommandOutput | DeletePatchBaselineCommandOutput | DeleteResourceDataSyncCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterManagedInstanceCommandOutput | DeregisterPatchBaselineForPatchGroupCommandOutput | DeregisterTargetFromMaintenanceWindowCommandOutput | DeregisterTaskFromMaintenanceWindowCommandOutput | DescribeActivationsCommandOutput | DescribeAssociationCommandOutput | DescribeAssociationExecutionTargetsCommandOutput | DescribeAssociationExecutionsCommandOutput | DescribeAutomationExecutionsCommandOutput | DescribeAutomationStepExecutionsCommandOutput | DescribeAvailablePatchesCommandOutput | DescribeDocumentCommandOutput | DescribeDocumentPermissionCommandOutput | DescribeEffectiveInstanceAssociationsCommandOutput | DescribeEffectivePatchesForPatchBaselineCommandOutput | DescribeInstanceAssociationsStatusCommandOutput | DescribeInstanceInformationCommandOutput | DescribeInstancePatchStatesCommandOutput | DescribeInstancePatchStatesForPatchGroupCommandOutput | DescribeInstancePatchesCommandOutput | DescribeInstancePropertiesCommandOutput | DescribeInventoryDeletionsCommandOutput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput | DescribeMaintenanceWindowExecutionTasksCommandOutput | DescribeMaintenanceWindowExecutionsCommandOutput | DescribeMaintenanceWindowScheduleCommandOutput | DescribeMaintenanceWindowTargetsCommandOutput | DescribeMaintenanceWindowTasksCommandOutput | DescribeMaintenanceWindowsCommandOutput | DescribeMaintenanceWindowsForTargetCommandOutput | DescribeOpsItemsCommandOutput | DescribeParametersCommandOutput | DescribePatchBaselinesCommandOutput | DescribePatchGroupStateCommandOutput | DescribePatchGroupsCommandOutput | DescribePatchPropertiesCommandOutput | DescribeSessionsCommandOutput | DisassociateOpsItemRelatedItemCommandOutput | GetAutomationExecutionCommandOutput | GetCalendarStateCommandOutput | GetCommandInvocationCommandOutput | GetConnectionStatusCommandOutput | GetDefaultPatchBaselineCommandOutput | GetDeployablePatchSnapshotForInstanceCommandOutput | GetDocumentCommandOutput | GetInventoryCommandOutput | GetInventorySchemaCommandOutput | GetMaintenanceWindowCommandOutput | GetMaintenanceWindowExecutionCommandOutput | GetMaintenanceWindowExecutionTaskCommandOutput | GetMaintenanceWindowExecutionTaskInvocationCommandOutput | GetMaintenanceWindowTaskCommandOutput | GetOpsItemCommandOutput | GetOpsMetadataCommandOutput | GetOpsSummaryCommandOutput | GetParameterCommandOutput | GetParameterHistoryCommandOutput | GetParametersByPathCommandOutput | GetParametersCommandOutput | GetPatchBaselineCommandOutput | GetPatchBaselineForPatchGroupCommandOutput | GetResourcePoliciesCommandOutput | GetServiceSettingCommandOutput | LabelParameterVersionCommandOutput | ListAssociationVersionsCommandOutput | ListAssociationsCommandOutput | ListCommandInvocationsCommandOutput | ListCommandsCommandOutput | ListComplianceItemsCommandOutput | ListComplianceSummariesCommandOutput | ListDocumentMetadataHistoryCommandOutput | ListDocumentVersionsCommandOutput | ListDocumentsCommandOutput | ListInventoryEntriesCommandOutput | ListOpsItemEventsCommandOutput | ListOpsItemRelatedItemsCommandOutput | ListOpsMetadataCommandOutput | ListResourceComplianceSummariesCommandOutput | ListResourceDataSyncCommandOutput | ListTagsForResourceCommandOutput | ModifyDocumentPermissionCommandOutput | PutComplianceItemsCommandOutput | PutInventoryCommandOutput | PutParameterCommandOutput | PutResourcePolicyCommandOutput | RegisterDefaultPatchBaselineCommandOutput | RegisterPatchBaselineForPatchGroupCommandOutput | RegisterTargetWithMaintenanceWindowCommandOutput | RegisterTaskWithMaintenanceWindowCommandOutput | RemoveTagsFromResourceCommandOutput | ResetServiceSettingCommandOutput | ResumeSessionCommandOutput | SendAutomationSignalCommandOutput | SendCommandCommandOutput | StartAssociationsOnceCommandOutput | StartAutomationExecutionCommandOutput | StartChangeRequestExecutionCommandOutput | StartSessionCommandOutput | StopAutomationExecutionCommandOutput | TerminateSessionCommandOutput | UnlabelParameterVersionCommandOutput | UpdateAssociationCommandOutput | UpdateAssociationStatusCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentDefaultVersionCommandOutput | UpdateDocumentMetadataCommandOutput | UpdateMaintenanceWindowCommandOutput | UpdateMaintenanceWindowTargetCommandOutput | UpdateMaintenanceWindowTaskCommandOutput | UpdateManagedInstanceRoleCommandOutput | UpdateOpsItemCommandOutput | UpdateOpsMetadataCommandOutput | UpdatePatchBaselineCommandOutput | UpdateResourceDataSyncCommandOutput | UpdateServiceSettingCommandOutput;
164
+ export type ServiceOutputTypes = AddTagsToResourceCommandOutput | AssociateOpsItemRelatedItemCommandOutput | CancelCommandCommandOutput | CancelMaintenanceWindowExecutionCommandOutput | CreateActivationCommandOutput | CreateAssociationBatchCommandOutput | CreateAssociationCommandOutput | CreateDocumentCommandOutput | CreateMaintenanceWindowCommandOutput | CreateOpsItemCommandOutput | CreateOpsMetadataCommandOutput | CreatePatchBaselineCommandOutput | CreateResourceDataSyncCommandOutput | DeleteActivationCommandOutput | DeleteAssociationCommandOutput | DeleteDocumentCommandOutput | DeleteInventoryCommandOutput | DeleteMaintenanceWindowCommandOutput | DeleteOpsItemCommandOutput | DeleteOpsMetadataCommandOutput | DeleteParameterCommandOutput | DeleteParametersCommandOutput | DeletePatchBaselineCommandOutput | DeleteResourceDataSyncCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterManagedInstanceCommandOutput | DeregisterPatchBaselineForPatchGroupCommandOutput | DeregisterTargetFromMaintenanceWindowCommandOutput | DeregisterTaskFromMaintenanceWindowCommandOutput | DescribeActivationsCommandOutput | DescribeAssociationCommandOutput | DescribeAssociationExecutionTargetsCommandOutput | DescribeAssociationExecutionsCommandOutput | DescribeAutomationExecutionsCommandOutput | DescribeAutomationStepExecutionsCommandOutput | DescribeAvailablePatchesCommandOutput | DescribeDocumentCommandOutput | DescribeDocumentPermissionCommandOutput | DescribeEffectiveInstanceAssociationsCommandOutput | DescribeEffectivePatchesForPatchBaselineCommandOutput | DescribeInstanceAssociationsStatusCommandOutput | DescribeInstanceInformationCommandOutput | DescribeInstancePatchStatesCommandOutput | DescribeInstancePatchStatesForPatchGroupCommandOutput | DescribeInstancePatchesCommandOutput | DescribeInstancePropertiesCommandOutput | DescribeInventoryDeletionsCommandOutput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput | DescribeMaintenanceWindowExecutionTasksCommandOutput | DescribeMaintenanceWindowExecutionsCommandOutput | DescribeMaintenanceWindowScheduleCommandOutput | DescribeMaintenanceWindowTargetsCommandOutput | DescribeMaintenanceWindowTasksCommandOutput | DescribeMaintenanceWindowsCommandOutput | DescribeMaintenanceWindowsForTargetCommandOutput | DescribeOpsItemsCommandOutput | DescribeParametersCommandOutput | DescribePatchBaselinesCommandOutput | DescribePatchGroupStateCommandOutput | DescribePatchGroupsCommandOutput | DescribePatchPropertiesCommandOutput | DescribeSessionsCommandOutput | DisassociateOpsItemRelatedItemCommandOutput | GetAutomationExecutionCommandOutput | GetCalendarStateCommandOutput | GetCommandInvocationCommandOutput | GetConnectionStatusCommandOutput | GetDefaultPatchBaselineCommandOutput | GetDeployablePatchSnapshotForInstanceCommandOutput | GetDocumentCommandOutput | GetExecutionPreviewCommandOutput | GetInventoryCommandOutput | GetInventorySchemaCommandOutput | GetMaintenanceWindowCommandOutput | GetMaintenanceWindowExecutionCommandOutput | GetMaintenanceWindowExecutionTaskCommandOutput | GetMaintenanceWindowExecutionTaskInvocationCommandOutput | GetMaintenanceWindowTaskCommandOutput | GetOpsItemCommandOutput | GetOpsMetadataCommandOutput | GetOpsSummaryCommandOutput | GetParameterCommandOutput | GetParameterHistoryCommandOutput | GetParametersByPathCommandOutput | GetParametersCommandOutput | GetPatchBaselineCommandOutput | GetPatchBaselineForPatchGroupCommandOutput | GetResourcePoliciesCommandOutput | GetServiceSettingCommandOutput | LabelParameterVersionCommandOutput | ListAssociationVersionsCommandOutput | ListAssociationsCommandOutput | ListCommandInvocationsCommandOutput | ListCommandsCommandOutput | ListComplianceItemsCommandOutput | ListComplianceSummariesCommandOutput | ListDocumentMetadataHistoryCommandOutput | ListDocumentVersionsCommandOutput | ListDocumentsCommandOutput | ListInventoryEntriesCommandOutput | ListNodesCommandOutput | ListNodesSummaryCommandOutput | ListOpsItemEventsCommandOutput | ListOpsItemRelatedItemsCommandOutput | ListOpsMetadataCommandOutput | ListResourceComplianceSummariesCommandOutput | ListResourceDataSyncCommandOutput | ListTagsForResourceCommandOutput | ModifyDocumentPermissionCommandOutput | PutComplianceItemsCommandOutput | PutInventoryCommandOutput | PutParameterCommandOutput | PutResourcePolicyCommandOutput | RegisterDefaultPatchBaselineCommandOutput | RegisterPatchBaselineForPatchGroupCommandOutput | RegisterTargetWithMaintenanceWindowCommandOutput | RegisterTaskWithMaintenanceWindowCommandOutput | RemoveTagsFromResourceCommandOutput | ResetServiceSettingCommandOutput | ResumeSessionCommandOutput | SendAutomationSignalCommandOutput | SendCommandCommandOutput | StartAssociationsOnceCommandOutput | StartAutomationExecutionCommandOutput | StartChangeRequestExecutionCommandOutput | StartExecutionPreviewCommandOutput | StartSessionCommandOutput | StopAutomationExecutionCommandOutput | TerminateSessionCommandOutput | UnlabelParameterVersionCommandOutput | UpdateAssociationCommandOutput | UpdateAssociationStatusCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentDefaultVersionCommandOutput | UpdateDocumentMetadataCommandOutput | UpdateMaintenanceWindowCommandOutput | UpdateMaintenanceWindowTargetCommandOutput | UpdateMaintenanceWindowTaskCommandOutput | UpdateManagedInstanceRoleCommandOutput | UpdateOpsItemCommandOutput | UpdateOpsMetadataCommandOutput | UpdatePatchBaselineCommandOutput | UpdateResourceDataSyncCommandOutput | UpdateServiceSettingCommandOutput;
161
165
  /**
162
166
  * @public
163
167
  */
@@ -31,7 +31,7 @@ declare const CreateResourceDataSyncCommand_base: {
31
31
  * Amazon Web Services Systems Manager offers two types of resource data sync: <code>SyncToDestination</code> and
32
32
  * <code>SyncFromSource</code>.</p>
33
33
  * <p>You can configure Systems Manager Inventory to use the <code>SyncToDestination</code> type to
34
- * synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-create-resource-data-sync.html">Creatinga a
34
+ * synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-create-resource-data-sync.html">Creating a
35
35
  * resource data sync for Inventory</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
36
36
  * <p>You can configure Systems Manager Explorer to use the <code>SyncFromSource</code> type to synchronize
37
37
  * operational work items (OpsItems) and operational data (OpsData) from multiple Amazon Web Services Regions to a
@@ -59,7 +59,7 @@ declare const DeleteActivationCommand_base: {
59
59
  * the ActivationCode don't match.</p>
60
60
  *
61
61
  * @throws {@link InvalidActivationId} (client fault)
62
- * <p>The activation ID isn't valid. Verify the you entered the correct ActivationId or
62
+ * <p>The activation ID isn't valid. Verify that you entered the correct ActivationId or
63
63
  * ActivationCode and try again.</p>
64
64
  *
65
65
  * @throws {@link TooManyUpdates} (client fault)
@@ -86,7 +86,7 @@ declare const DescribeActivationsCommand_base: {
86
86
  * <p>An error occurred on the server side.</p>
87
87
  *
88
88
  * @throws {@link InvalidFilter} (client fault)
89
- * <p>The filter name isn't valid. Verify the you entered the correct name and try again.</p>
89
+ * <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
90
90
  *
91
91
  * @throws {@link InvalidNextToken} (client fault)
92
92
  * <p>The specified token isn't valid.</p>
@@ -93,7 +93,7 @@ declare const DescribeInstancePatchStatesForPatchGroupCommand_base: {
93
93
  * <p>An error occurred on the server side.</p>
94
94
  *
95
95
  * @throws {@link InvalidFilter} (client fault)
96
- * <p>The filter name isn't valid. Verify the you entered the correct name and try again.</p>
96
+ * <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
97
97
  *
98
98
  * @throws {@link InvalidNextToken} (client fault)
99
99
  * <p>The specified token isn't valid.</p>
@@ -77,7 +77,7 @@ declare const DescribeInstancePatchesCommand_base: {
77
77
  * <p>An error occurred on the server side.</p>
78
78
  *
79
79
  * @throws {@link InvalidFilter} (client fault)
80
- * <p>The filter name isn't valid. Verify the you entered the correct name and try again.</p>
80
+ * <p>The filter name isn't valid. Verify that you entered the correct name and try again.</p>
81
81
  *
82
82
  * @throws {@link InvalidInstanceId} (client fault)
83
83
  * <p>The following problems can cause this exception:</p>
@@ -109,7 +109,7 @@ declare const DescribeInstancePropertiesCommand_base: {
109
109
  * <p>An error occurred on the server side.</p>
110
110
  *
111
111
  * @throws {@link InvalidActivationId} (client fault)
112
- * <p>The activation ID isn't valid. Verify the you entered the correct ActivationId or
112
+ * <p>The activation ID isn't valid. Verify that you entered the correct ActivationId or
113
113
  * ActivationCode and try again.</p>
114
114
  *
115
115
  * @throws {@link InvalidDocument} (client fault)
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetExecutionPreviewRequest, GetExecutionPreviewResponse } 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 GetExecutionPreviewCommand}.
14
+ */
15
+ export interface GetExecutionPreviewCommandInput extends GetExecutionPreviewRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetExecutionPreviewCommand}.
21
+ */
22
+ export interface GetExecutionPreviewCommandOutput extends GetExecutionPreviewResponse, __MetadataBearer {
23
+ }
24
+ declare const GetExecutionPreviewCommand_base: {
25
+ new (input: GetExecutionPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<GetExecutionPreviewCommandInput, GetExecutionPreviewCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetExecutionPreviewCommandInput): import("@smithy/smithy-client").CommandImpl<GetExecutionPreviewCommandInput, GetExecutionPreviewCommandOutput, SSMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates the process of retrieving an existing preview that shows the effects that running
31
+ * a specified 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, GetExecutionPreviewCommand } from "@aws-sdk/client-ssm"; // ES Modules import
36
+ * // const { SSMClient, GetExecutionPreviewCommand } = require("@aws-sdk/client-ssm"); // CommonJS import
37
+ * const client = new SSMClient(config);
38
+ * const input = { // GetExecutionPreviewRequest
39
+ * ExecutionPreviewId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetExecutionPreviewCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetExecutionPreviewResponse
44
+ * // ExecutionPreviewId: "STRING_VALUE",
45
+ * // EndedAt: new Date("TIMESTAMP"),
46
+ * // Status: "Pending" || "InProgress" || "Success" || "Failed",
47
+ * // StatusMessage: "STRING_VALUE",
48
+ * // ExecutionPreview: { // ExecutionPreview Union: only one key present
49
+ * // Automation: { // AutomationExecutionPreview
50
+ * // StepPreviews: { // StepPreviewMap
51
+ * // "<keys>": Number("int"),
52
+ * // },
53
+ * // Regions: [ // RegionList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // TargetPreviews: [ // TargetPreviewList
57
+ * // { // TargetPreview
58
+ * // Count: Number("int"),
59
+ * // TargetType: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // TotalAccounts: Number("int"),
63
+ * // },
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param GetExecutionPreviewCommandInput - {@link GetExecutionPreviewCommandInput}
70
+ * @returns {@link GetExecutionPreviewCommandOutput}
71
+ * @see {@link GetExecutionPreviewCommandInput} for command's `input` shape.
72
+ * @see {@link GetExecutionPreviewCommandOutput} for command's `response` shape.
73
+ * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape.
74
+ *
75
+ * @throws {@link InternalServerError} (server fault)
76
+ * <p>An error occurred on the server side.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The specified parameter to be shared could not be found.</p>
80
+ *
81
+ * @throws {@link SSMServiceException}
82
+ * <p>Base exception class for all service exceptions from SSM service.</p>
83
+ *
84
+ * @public
85
+ * @example GetExecutionPreview
86
+ * ```javascript
87
+ * // This example illustrates one usage of GetExecutionPreview
88
+ * const input = {
89
+ * "ExecutionPreviewId": "2f27d6e5-9676-4708-b8bd-aef0ab47bb26"
90
+ * };
91
+ * const command = new GetExecutionPreviewCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response ==
94
+ * {
95
+ * "EndedAt": "2024-11-13T01:50:39.424000+00:00",
96
+ * "ExecutionPreview": {
97
+ * "Automation": {
98
+ * "Regions": [
99
+ * "us-east-2"
100
+ * ],
101
+ * "StepPreviews": {
102
+ * "Undetermined": 1
103
+ * },
104
+ * "TotalAccounts": 1
105
+ * }
106
+ * },
107
+ * "ExecutionPreviewId": "2f27d6e5-9676-4708-b8bd-aef0ab47bb26",
108
+ * "Status": "Success"
109
+ * }
110
+ * *\/
111
+ * // example id: getexecutionpreview-f6ae6a7e734e
112
+ * ```
113
+ *
114
+ */
115
+ export declare class GetExecutionPreviewCommand extends GetExecutionPreviewCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: GetExecutionPreviewRequest;
120
+ output: GetExecutionPreviewResponse;
121
+ };
122
+ sdk: {
123
+ input: GetExecutionPreviewCommandInput;
124
+ output: GetExecutionPreviewCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -121,12 +121,11 @@ declare const GetInventoryCommand_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 InvalidInventoryGroupException} (client fault)
132
131
  * <p>The specified inventory group isn't valid.</p>