@aws-sdk/client-ssm 3.451.0 → 3.453.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 CHANGED
@@ -15,7 +15,7 @@ operations at scale.</p>
15
15
  </p>
16
16
  <ul>
17
17
  <li>
18
- <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
18
+ <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
19
19
  </li>
20
20
  <li>
21
21
  <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpsItemAlreadyExistsException = exports.OpsItemAccessDeniedException = exports.OpsItemDataType = exports.ResourceLimitExceededException = exports.IdempotentParameterMismatch = exports.MaxDocumentSizeExceeded = exports.InvalidDocumentSchemaVersion = exports.InvalidDocumentContent = exports.DocumentLimitExceeded = exports.DocumentAlreadyExists = exports.DocumentStatus = exports.ReviewStatus = exports.PlatformType = exports.DocumentParameterType = exports.DocumentHashType = exports.DocumentType = exports.DocumentFormat = exports.AttachmentsSourceKey = exports.Fault = exports.UnsupportedPlatformType = exports.InvalidTargetMaps = exports.InvalidTarget = exports.InvalidTag = exports.InvalidSchedule = exports.InvalidOutputLocation = exports.InvalidDocumentVersion = exports.InvalidDocument = exports.AssociationStatusName = exports.AssociationSyncCompliance = exports.AssociationComplianceSeverity = exports.AssociationLimitExceeded = exports.AssociationAlreadyExists = exports.InvalidParameters = exports.DoesNotExistException = exports.InvalidInstanceId = exports.InvalidCommandId = exports.DuplicateInstanceId = exports.OpsItemRelatedItemAlreadyExistsException = exports.OpsItemNotFoundException = exports.OpsItemLimitExceededException = exports.OpsItemInvalidParameterException = exports.OpsItemConflictException = exports.AlreadyExistsException = exports.ExternalAlarmState = exports.TooManyUpdates = exports.TooManyTagsError = exports.InvalidResourceType = exports.InvalidResourceId = exports.InternalServerError = exports.ResourceTypeForTagging = void 0;
4
4
  exports.UnsupportedOperatingSystem = exports.PatchDeploymentStatus = exports.InvalidPermissionType = exports.DocumentPermissionType = exports.StepExecutionFilterKey = exports.AutomationExecutionNotFoundException = exports.InvalidFilterValue = exports.InvalidFilterKey = exports.ExecutionMode = exports.AutomationType = exports.AutomationSubtype = exports.AutomationExecutionStatus = exports.AutomationExecutionFilterKey = exports.AssociationExecutionTargetsFilterKey = exports.AssociationExecutionDoesNotExist = exports.AssociationFilterOperatorType = exports.AssociationExecutionFilterKey = exports.InvalidAssociationVersion = exports.InvalidNextToken = exports.InvalidFilter = exports.DescribeActivationsFilterKeys = exports.TargetInUseException = exports.ResourcePolicyInvalidParameterException = exports.ResourcePolicyConflictException = exports.ResourceDataSyncNotFoundException = exports.ResourceInUseException = exports.ParameterNotFound = exports.OpsMetadataNotFoundException = exports.InvalidTypeNameException = exports.InvalidOptionException = exports.InvalidInventoryRequestException = exports.InvalidDeleteInventoryParametersException = exports.InventorySchemaDeleteOption = exports.InvalidDocumentOperation = exports.AssociatedInstances = exports.AssociationDoesNotExist = exports.InvalidActivationId = exports.InvalidActivation = exports.ResourceDataSyncInvalidConfigurationException = exports.ResourceDataSyncCountExceededException = exports.ResourceDataSyncAlreadyExistsException = exports.ResourceDataSyncS3Format = exports.PatchAction = exports.OperatingSystem = exports.PatchFilterKey = exports.PatchComplianceLevel = exports.OpsMetadataTooManyUpdatesException = exports.OpsMetadataLimitExceededException = exports.OpsMetadataInvalidArgumentException = exports.OpsMetadataAlreadyExistsException = void 0;
5
- exports.MaintenanceWindowTaskFilterSensitiveLog = exports.MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = exports.DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = exports.MaintenanceWindowTargetFilterSensitiveLog = exports.DescribeMaintenanceWindowsResultFilterSensitiveLog = exports.MaintenanceWindowIdentityFilterSensitiveLog = exports.DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = exports.MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = exports.DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = exports.DescribeInstancePatchStatesResultFilterSensitiveLog = exports.InstancePatchStateFilterSensitiveLog = exports.DescribeAssociationResultFilterSensitiveLog = exports.CreatePatchBaselineRequestFilterSensitiveLog = exports.PatchSourceFilterSensitiveLog = exports.CreateMaintenanceWindowRequestFilterSensitiveLog = exports.CreateAssociationBatchResultFilterSensitiveLog = exports.FailedCreateAssociationFilterSensitiveLog = exports.CreateAssociationBatchRequestFilterSensitiveLog = exports.CreateAssociationBatchRequestEntryFilterSensitiveLog = exports.CreateAssociationResultFilterSensitiveLog = exports.AssociationDescriptionFilterSensitiveLog = exports.CreateAssociationRequestFilterSensitiveLog = exports.MaintenanceWindowTaskCutoffBehavior = exports.MaintenanceWindowResourceType = exports.MaintenanceWindowTaskType = exports.MaintenanceWindowExecutionStatus = exports.InvalidDeletionIdException = exports.InventoryDeletionStatus = exports.InstancePatchStateOperatorType = exports.RebootOption = exports.PatchOperationType = exports.PatchComplianceDataState = exports.InvalidInstanceInformationFilterValue = exports.SourceType = exports.ResourceType = exports.PingStatus = exports.InstanceInformationFilterKey = void 0;
5
+ exports.MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = exports.DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = exports.MaintenanceWindowTargetFilterSensitiveLog = exports.DescribeMaintenanceWindowsResultFilterSensitiveLog = exports.MaintenanceWindowIdentityFilterSensitiveLog = exports.DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = exports.MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = exports.DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = exports.DescribeInstancePatchStatesResultFilterSensitiveLog = exports.InstancePatchStateFilterSensitiveLog = exports.DescribeAssociationResultFilterSensitiveLog = exports.CreatePatchBaselineRequestFilterSensitiveLog = exports.PatchSourceFilterSensitiveLog = exports.CreateMaintenanceWindowRequestFilterSensitiveLog = exports.CreateAssociationBatchResultFilterSensitiveLog = exports.FailedCreateAssociationFilterSensitiveLog = exports.CreateAssociationBatchRequestFilterSensitiveLog = exports.CreateAssociationBatchRequestEntryFilterSensitiveLog = exports.CreateAssociationResultFilterSensitiveLog = exports.AssociationDescriptionFilterSensitiveLog = exports.CreateAssociationRequestFilterSensitiveLog = exports.MaintenanceWindowTaskCutoffBehavior = exports.MaintenanceWindowResourceType = exports.MaintenanceWindowTaskType = exports.MaintenanceWindowExecutionStatus = exports.InvalidDeletionIdException = exports.InventoryDeletionStatus = exports.InstancePatchStateOperatorType = exports.RebootOption = exports.PatchOperationType = exports.PatchComplianceDataState = exports.InvalidInstanceInformationFilterValue = exports.SourceType = exports.ResourceType = exports.PingStatus = exports.InstanceInformationFilterKey = void 0;
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const SSMServiceException_1 = require("./SSMServiceException");
8
8
  exports.ResourceTypeForTagging = {
@@ -1060,6 +1060,7 @@ exports.AutomationExecutionStatus = {
1060
1060
  CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected",
1061
1061
  COMPLETED_WITH_FAILURE: "CompletedWithFailure",
1062
1062
  COMPLETED_WITH_SUCCESS: "CompletedWithSuccess",
1063
+ EXITED: "Exited",
1063
1064
  FAILED: "Failed",
1064
1065
  INPROGRESS: "InProgress",
1065
1066
  PENDING: "Pending",
@@ -1126,6 +1127,9 @@ class AutomationExecutionNotFoundException extends SSMServiceException_1.SSMServ
1126
1127
  exports.AutomationExecutionNotFoundException = AutomationExecutionNotFoundException;
1127
1128
  exports.StepExecutionFilterKey = {
1128
1129
  ACTION: "Action",
1130
+ PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId",
1131
+ PARENT_STEP_ITERATION: "ParentStepIteration",
1132
+ PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue",
1129
1133
  START_TIME_AFTER: "StartTimeAfter",
1130
1134
  START_TIME_BEFORE: "StartTimeBefore",
1131
1135
  STEP_EXECUTION_ID: "StepExecutionId",
@@ -1393,9 +1397,3 @@ const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (obj) =>
1393
1397
  ...(obj.Values && { Values: smithy_client_1.SENSITIVE_STRING }),
1394
1398
  });
1395
1399
  exports.MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog;
1396
- const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({
1397
- ...obj,
1398
- ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }),
1399
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
1400
- });
1401
- exports.MaintenanceWindowTaskFilterSensitiveLog = MaintenanceWindowTaskFilterSensitiveLog;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DocumentPermissionLimit = exports.LastResourceDataSyncStatus = exports.OpsItemRelatedItemsFilterOperator = exports.OpsItemRelatedItemsFilterKey = exports.OpsItemEventFilterOperator = exports.OpsItemEventFilterKey = exports.DocumentFilterKey = exports.DocumentReviewCommentType = exports.DocumentMetadataEnum = exports.ComplianceStatus = exports.ComplianceSeverity = exports.ComplianceQueryOperatorType = exports.CommandStatus = exports.CommandPluginStatus = exports.CommandFilterKey = exports.AssociationFilterKey = exports.ParameterVersionLabelLimitExceeded = exports.ServiceSettingNotFound = exports.ParameterVersionNotFound = exports.InvalidKeyId = exports.OpsFilterOperatorType = exports.NotificationType = exports.NotificationEvent = exports.InventoryAttributeDataType = exports.InvalidResultAttributeException = exports.InvalidInventoryGroupException = exports.InvalidAggregatorException = exports.InventoryQueryOperatorType = exports.AttachmentHashType = exports.UnsupportedFeatureRequiredException = exports.ConnectionStatus = exports.InvocationDoesNotExist = exports.InvalidPluginName = exports.CommandInvocationStatus = exports.UnsupportedCalendarException = exports.InvalidDocumentType = exports.CalendarState = exports.OpsItemRelatedItemAssociationNotFoundException = exports.SessionStatus = exports.SessionState = exports.SessionFilterKey = exports.PatchProperty = exports.PatchSet = exports.InvalidFilterOption = exports.ParameterType = exports.ParameterTier = exports.ParametersFilterKey = exports.OpsItemStatus = exports.OpsItemFilterOperator = exports.OpsItemFilterKey = void 0;
4
- exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = exports.MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = exports.MaintenanceWindowRunCommandParametersFilterSensitiveLog = exports.MaintenanceWindowLambdaParametersFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = exports.GetMaintenanceWindowResultFilterSensitiveLog = exports.GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = exports.BaselineOverrideFilterSensitiveLog = exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = exports.StopType = exports.InvalidAutomationStatusUpdateException = exports.TargetNotConnected = exports.AutomationDefinitionNotApprovedException = exports.InvalidAutomationExecutionParametersException = exports.AutomationExecutionLimitExceededException = exports.AutomationDefinitionVersionNotFoundException = exports.AutomationDefinitionNotFoundException = exports.InvalidAssociation = exports.InvalidRole = exports.InvalidOutputFolder = exports.InvalidNotificationConfig = exports.SignalType = exports.InvalidAutomationSignalException = exports.AutomationStepNotFoundException = exports.FeatureNotAvailableException = exports.ResourcePolicyLimitExceededException = exports.UnsupportedParameterType = exports.PoliciesLimitExceededException = exports.ParameterPatternMismatchException = exports.ParameterMaxVersionLimitExceeded = exports.ParameterLimitExceeded = exports.ParameterAlreadyExists = exports.InvalidPolicyTypeException = exports.InvalidPolicyAttributeException = exports.InvalidAllowedPatternException = exports.IncompatiblePolicyException = exports.HierarchyTypeMismatchException = exports.HierarchyLevelLimitExceededException = exports.UnsupportedInventorySchemaVersionException = exports.UnsupportedInventoryItemContextException = exports.SubTypeCountLimitExceededException = exports.ItemContentMismatchException = exports.InvalidInventoryItemContextException = exports.CustomSchemaCountLimitExceededException = exports.TotalSizeLimitExceededException = exports.ComplianceUploadType = exports.ItemSizeLimitExceededException = exports.InvalidItemContentException = exports.ComplianceTypeCountLimitExceededException = void 0;
5
- exports.SendCommandResultFilterSensitiveLog = exports.SendCommandRequestFilterSensitiveLog = exports.RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = exports.RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = exports.PutParameterRequestFilterSensitiveLog = exports.ListCommandsResultFilterSensitiveLog = exports.CommandFilterSensitiveLog = exports.ListAssociationVersionsResultFilterSensitiveLog = exports.AssociationVersionInfoFilterSensitiveLog = exports.GetPatchBaselineResultFilterSensitiveLog = exports.GetParametersByPathResultFilterSensitiveLog = exports.GetParametersResultFilterSensitiveLog = exports.GetParameterHistoryResultFilterSensitiveLog = exports.ParameterHistoryFilterSensitiveLog = exports.GetParameterResultFilterSensitiveLog = exports.ParameterFilterSensitiveLog = exports.GetMaintenanceWindowTaskResultFilterSensitiveLog = void 0;
4
+ exports.MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = exports.MaintenanceWindowRunCommandParametersFilterSensitiveLog = exports.MaintenanceWindowLambdaParametersFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = exports.GetMaintenanceWindowResultFilterSensitiveLog = exports.GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = exports.BaselineOverrideFilterSensitiveLog = exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = exports.MaintenanceWindowTaskFilterSensitiveLog = exports.StopType = exports.InvalidAutomationStatusUpdateException = exports.TargetNotConnected = exports.AutomationDefinitionNotApprovedException = exports.InvalidAutomationExecutionParametersException = exports.AutomationExecutionLimitExceededException = exports.AutomationDefinitionVersionNotFoundException = exports.AutomationDefinitionNotFoundException = exports.InvalidAssociation = exports.InvalidRole = exports.InvalidOutputFolder = exports.InvalidNotificationConfig = exports.SignalType = exports.InvalidAutomationSignalException = exports.AutomationStepNotFoundException = exports.FeatureNotAvailableException = exports.ResourcePolicyLimitExceededException = exports.UnsupportedParameterType = exports.PoliciesLimitExceededException = exports.ParameterPatternMismatchException = exports.ParameterMaxVersionLimitExceeded = exports.ParameterLimitExceeded = exports.ParameterAlreadyExists = exports.InvalidPolicyTypeException = exports.InvalidPolicyAttributeException = exports.InvalidAllowedPatternException = exports.IncompatiblePolicyException = exports.HierarchyTypeMismatchException = exports.HierarchyLevelLimitExceededException = exports.UnsupportedInventorySchemaVersionException = exports.UnsupportedInventoryItemContextException = exports.SubTypeCountLimitExceededException = exports.ItemContentMismatchException = exports.InvalidInventoryItemContextException = exports.CustomSchemaCountLimitExceededException = exports.TotalSizeLimitExceededException = exports.ComplianceUploadType = exports.ItemSizeLimitExceededException = exports.InvalidItemContentException = exports.ComplianceTypeCountLimitExceededException = void 0;
5
+ exports.SendCommandResultFilterSensitiveLog = exports.SendCommandRequestFilterSensitiveLog = exports.RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = exports.RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = exports.PutParameterRequestFilterSensitiveLog = exports.ListCommandsResultFilterSensitiveLog = exports.CommandFilterSensitiveLog = exports.ListAssociationVersionsResultFilterSensitiveLog = exports.AssociationVersionInfoFilterSensitiveLog = exports.GetPatchBaselineResultFilterSensitiveLog = exports.GetParametersByPathResultFilterSensitiveLog = exports.GetParametersResultFilterSensitiveLog = exports.GetParameterHistoryResultFilterSensitiveLog = exports.ParameterHistoryFilterSensitiveLog = exports.GetParameterResultFilterSensitiveLog = exports.ParameterFilterSensitiveLog = exports.GetMaintenanceWindowTaskResultFilterSensitiveLog = exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = void 0;
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const models_0_1 = require("./models_0");
8
8
  const SSMServiceException_1 = require("./SSMServiceException");
@@ -977,9 +977,15 @@ exports.StopType = {
977
977
  CANCEL: "Cancel",
978
978
  COMPLETE: "Complete",
979
979
  };
980
+ const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({
981
+ ...obj,
982
+ ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }),
983
+ ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
984
+ });
985
+ exports.MaintenanceWindowTaskFilterSensitiveLog = MaintenanceWindowTaskFilterSensitiveLog;
980
986
  const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => ({
981
987
  ...obj,
982
- ...(obj.Tasks && { Tasks: obj.Tasks.map((item) => (0, models_0_1.MaintenanceWindowTaskFilterSensitiveLog)(item)) }),
988
+ ...(obj.Tasks && { Tasks: obj.Tasks.map((item) => (0, exports.MaintenanceWindowTaskFilterSensitiveLog)(item)) }),
983
989
  });
984
990
  exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = DescribeMaintenanceWindowTasksResultFilterSensitiveLog;
985
991
  const BaselineOverrideFilterSensitiveLog = (obj) => ({
@@ -8330,6 +8330,7 @@ const de_AutomationExecution = (output, context) => {
8330
8330
  TargetParameterName: smithy_client_1.expectString,
8331
8331
  Targets: smithy_client_1._json,
8332
8332
  TriggeredAlarms: smithy_client_1._json,
8333
+ Variables: smithy_client_1._json,
8333
8334
  });
8334
8335
  };
8335
8336
  const de_AutomationExecutionMetadata = (output, context) => {
@@ -9544,6 +9545,7 @@ const de_StepExecution = (output, context) => {
9544
9545
  OnFailure: smithy_client_1.expectString,
9545
9546
  Outputs: smithy_client_1._json,
9546
9547
  OverriddenParameters: smithy_client_1._json,
9548
+ ParentStepDetails: smithy_client_1._json,
9547
9549
  Response: smithy_client_1.expectString,
9548
9550
  ResponseCode: smithy_client_1.expectString,
9549
9551
  StepExecutionId: smithy_client_1.expectString,
@@ -993,6 +993,7 @@ export const AutomationExecutionStatus = {
993
993
  CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected",
994
994
  COMPLETED_WITH_FAILURE: "CompletedWithFailure",
995
995
  COMPLETED_WITH_SUCCESS: "CompletedWithSuccess",
996
+ EXITED: "Exited",
996
997
  FAILED: "Failed",
997
998
  INPROGRESS: "InProgress",
998
999
  PENDING: "Pending",
@@ -1056,6 +1057,9 @@ export class AutomationExecutionNotFoundException extends __BaseException {
1056
1057
  }
1057
1058
  export const StepExecutionFilterKey = {
1058
1059
  ACTION: "Action",
1060
+ PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId",
1061
+ PARENT_STEP_ITERATION: "ParentStepIteration",
1062
+ PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue",
1059
1063
  START_TIME_AFTER: "StartTimeAfter",
1060
1064
  START_TIME_BEFORE: "StartTimeBefore",
1061
1065
  STEP_EXECUTION_ID: "StepExecutionId",
@@ -1298,8 +1302,3 @@ export const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (
1298
1302
  ...obj,
1299
1303
  ...(obj.Values && { Values: SENSITIVE_STRING }),
1300
1304
  });
1301
- export const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({
1302
- ...obj,
1303
- ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
1304
- ...(obj.Description && { Description: SENSITIVE_STRING }),
1305
- });
@@ -1,5 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { MaintenanceWindowTaskFilterSensitiveLog, PatchSourceFilterSensitiveLog, } from "./models_0";
2
+ import { PatchSourceFilterSensitiveLog, } from "./models_0";
3
3
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
4
4
  export const OpsItemFilterKey = {
5
5
  ACCOUNT_ID: "AccountId",
@@ -920,6 +920,11 @@ export const StopType = {
920
920
  CANCEL: "Cancel",
921
921
  COMPLETE: "Complete",
922
922
  };
923
+ export const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({
924
+ ...obj,
925
+ ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
926
+ ...(obj.Description && { Description: SENSITIVE_STRING }),
927
+ });
923
928
  export const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => ({
924
929
  ...obj,
925
930
  ...(obj.Tasks && { Tasks: obj.Tasks.map((item) => MaintenanceWindowTaskFilterSensitiveLog(item)) }),
@@ -8044,6 +8044,7 @@ const de_AutomationExecution = (output, context) => {
8044
8044
  TargetParameterName: __expectString,
8045
8045
  Targets: _json,
8046
8046
  TriggeredAlarms: _json,
8047
+ Variables: _json,
8047
8048
  });
8048
8049
  };
8049
8050
  const de_AutomationExecutionMetadata = (output, context) => {
@@ -9258,6 +9259,7 @@ const de_StepExecution = (output, context) => {
9258
9259
  OnFailure: __expectString,
9259
9260
  Outputs: _json,
9260
9261
  OverriddenParameters: _json,
9262
+ ParentStepDetails: _json,
9261
9263
  Response: __expectString,
9262
9264
  ResponseCode: __expectString,
9263
9265
  StepExecutionId: __expectString,
@@ -986,7 +986,7 @@ export interface SSM {
986
986
  * </p>
987
987
  * <ul>
988
988
  * <li>
989
- * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
989
+ * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
990
990
  * </li>
991
991
  * <li>
992
992
  * <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
@@ -300,7 +300,7 @@ export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {
300
300
  * </p>
301
301
  * <ul>
302
302
  * <li>
303
- * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
303
+ * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
304
304
  * </li>
305
305
  * <li>
306
306
  * <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
@@ -50,7 +50,7 @@ export interface DescribeAutomationExecutionsCommandOutput extends DescribeAutom
50
50
  * // AutomationExecutionId: "STRING_VALUE",
51
51
  * // DocumentName: "STRING_VALUE",
52
52
  * // DocumentVersion: "STRING_VALUE",
53
- * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure",
53
+ * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited",
54
54
  * // ExecutionStartTime: new Date("TIMESTAMP"),
55
55
  * // ExecutionEndTime: new Date("TIMESTAMP"),
56
56
  * // ExecutedBy: "STRING_VALUE",
@@ -35,7 +35,7 @@ export interface DescribeAutomationStepExecutionsCommandOutput extends DescribeA
35
35
  * AutomationExecutionId: "STRING_VALUE", // required
36
36
  * Filters: [ // StepExecutionFilterList
37
37
  * { // StepExecutionFilter
38
- * Key: "StartTimeBefore" || "StartTimeAfter" || "StepExecutionStatus" || "StepExecutionId" || "StepName" || "Action", // required
38
+ * Key: "StartTimeBefore" || "StartTimeAfter" || "StepExecutionStatus" || "StepExecutionId" || "StepName" || "Action" || "ParentStepExecutionId" || "ParentStepIteration" || "ParentStepIteratorValue", // required
39
39
  * Values: [ // StepExecutionFilterValueList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
@@ -57,7 +57,7 @@ export interface DescribeAutomationStepExecutionsCommandOutput extends DescribeA
57
57
  * // MaxAttempts: Number("int"),
58
58
  * // ExecutionStartTime: new Date("TIMESTAMP"),
59
59
  * // ExecutionEndTime: new Date("TIMESTAMP"),
60
- * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure",
60
+ * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited",
61
61
  * // ResponseCode: "STRING_VALUE",
62
62
  * // Inputs: { // NormalStringMap
63
63
  * // "<keys>": "STRING_VALUE",
@@ -123,6 +123,13 @@ export interface DescribeAutomationStepExecutionsCommandOutput extends DescribeA
123
123
  * // State: "UNKNOWN" || "ALARM", // required
124
124
  * // },
125
125
  * // ],
126
+ * // ParentStepDetails: { // ParentStepDetails
127
+ * // StepExecutionId: "STRING_VALUE",
128
+ * // StepName: "STRING_VALUE",
129
+ * // Action: "STRING_VALUE",
130
+ * // Iteration: Number("int"),
131
+ * // IteratorValue: "STRING_VALUE",
132
+ * // },
126
133
  * // },
127
134
  * // ],
128
135
  * // NextToken: "STRING_VALUE",
@@ -42,7 +42,7 @@ export interface GetAutomationExecutionCommandOutput extends GetAutomationExecut
42
42
  * // DocumentVersion: "STRING_VALUE",
43
43
  * // ExecutionStartTime: new Date("TIMESTAMP"),
44
44
  * // ExecutionEndTime: new Date("TIMESTAMP"),
45
- * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure",
45
+ * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited",
46
46
  * // StepExecutions: [ // StepExecutionList
47
47
  * // { // StepExecution
48
48
  * // StepName: "STRING_VALUE",
@@ -52,7 +52,7 @@ export interface GetAutomationExecutionCommandOutput extends GetAutomationExecut
52
52
  * // MaxAttempts: Number("int"),
53
53
  * // ExecutionStartTime: new Date("TIMESTAMP"),
54
54
  * // ExecutionEndTime: new Date("TIMESTAMP"),
55
- * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure",
55
+ * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited",
56
56
  * // ResponseCode: "STRING_VALUE",
57
57
  * // Inputs: { // NormalStringMap
58
58
  * // "<keys>": "STRING_VALUE",
@@ -118,6 +118,13 @@ export interface GetAutomationExecutionCommandOutput extends GetAutomationExecut
118
118
  * // State: "UNKNOWN" || "ALARM", // required
119
119
  * // },
120
120
  * // ],
121
+ * // ParentStepDetails: { // ParentStepDetails
122
+ * // StepExecutionId: "STRING_VALUE",
123
+ * // StepName: "STRING_VALUE",
124
+ * // Action: "STRING_VALUE",
125
+ * // Iteration: Number("int"),
126
+ * // IteratorValue: "STRING_VALUE",
127
+ * // },
121
128
  * // },
122
129
  * // ],
123
130
  * // StepExecutionsTruncated: true || false,
@@ -222,6 +229,7 @@ export interface GetAutomationExecutionCommandOutput extends GetAutomationExecut
222
229
  * // OpsItemId: "STRING_VALUE",
223
230
  * // AssociationId: "STRING_VALUE",
224
231
  * // ChangeRequestName: "STRING_VALUE",
232
+ * // Variables: "<AutomationParameterMap>",
225
233
  * // },
226
234
  * // };
227
235
  *
@@ -1,7 +1,8 @@
1
1
  import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { TerminateSessionRequest, TerminateSessionResponse } from "../models/models_1";
4
+ import { TerminateSessionRequest } from "../models/models_1";
5
+ import { TerminateSessionResponse } from "../models/models_2";
5
6
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
6
7
  /**
7
8
  * @public
@@ -8,7 +8,7 @@
8
8
  * </p>
9
9
  * <ul>
10
10
  * <li>
11
- * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
11
+ * <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
12
12
  * </li>
13
13
  * <li>
14
14
  * <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
@@ -2575,7 +2575,7 @@ export interface CreateOpsItemRequest {
2575
2575
  * </li>
2576
2576
  * <li>
2577
2577
  * <p>
2578
- * <code>/aws/insights</code>
2578
+ * <code>/aws/insight</code>
2579
2579
  * </p>
2580
2580
  * <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
2581
2581
  * OpsItems. </p>
@@ -4613,6 +4613,7 @@ export declare const AutomationExecutionStatus: {
4613
4613
  readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected";
4614
4614
  readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure";
4615
4615
  readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess";
4616
+ readonly EXITED: "Exited";
4616
4617
  readonly FAILED: "Failed";
4617
4618
  readonly INPROGRESS: "InProgress";
4618
4619
  readonly PENDING: "Pending";
@@ -4974,6 +4975,9 @@ export declare class AutomationExecutionNotFoundException extends __BaseExceptio
4974
4975
  */
4975
4976
  export declare const StepExecutionFilterKey: {
4976
4977
  readonly ACTION: "Action";
4978
+ readonly PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId";
4979
+ readonly PARENT_STEP_ITERATION: "ParentStepIteration";
4980
+ readonly PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue";
4977
4981
  readonly START_TIME_AFTER: "StartTimeAfter";
4978
4982
  readonly START_TIME_BEFORE: "StartTimeBefore";
4979
4983
  readonly STEP_EXECUTION_ID: "StepExecutionId";
@@ -4991,8 +4995,7 @@ export type StepExecutionFilterKey = (typeof StepExecutionFilterKey)[keyof typeo
4991
4995
  export interface StepExecutionFilter {
4992
4996
  /**
4993
4997
  * @public
4994
- * <p>One or more keys to limit the results. Valid filter keys include the following: StepName,
4995
- * Action, StepExecutionId, StepExecutionStatus, StartTimeBefore, StartTimeAfter.</p>
4998
+ * <p>One or more keys to limit the results.</p>
4996
4999
  */
4997
5000
  Key: StepExecutionFilterKey | undefined;
4998
5001
  /**
@@ -5057,6 +5060,37 @@ export interface FailureDetails {
5057
5060
  */
5058
5061
  Details?: Record<string, string[]>;
5059
5062
  }
5063
+ /**
5064
+ * @public
5065
+ * <p>A detailed status of the parent step.</p>
5066
+ */
5067
+ export interface ParentStepDetails {
5068
+ /**
5069
+ * @public
5070
+ * <p>The unique ID of a step execution.</p>
5071
+ */
5072
+ StepExecutionId?: string;
5073
+ /**
5074
+ * @public
5075
+ * <p>The name of the step.</p>
5076
+ */
5077
+ StepName?: string;
5078
+ /**
5079
+ * @public
5080
+ * <p>The name of the automation action.</p>
5081
+ */
5082
+ Action?: string;
5083
+ /**
5084
+ * @public
5085
+ * <p>The current repetition of the loop represented by an integer.</p>
5086
+ */
5087
+ Iteration?: number;
5088
+ /**
5089
+ * @public
5090
+ * <p>The current value of the specified iterator in the loop.</p>
5091
+ */
5092
+ IteratorValue?: string;
5093
+ }
5060
5094
  /**
5061
5095
  * @public
5062
5096
  * <p>Detailed information about an the execution state of an Automation step.</p>
@@ -5186,6 +5220,11 @@ export interface StepExecution {
5186
5220
  * <p>The CloudWatch alarms that were invoked by the automation.</p>
5187
5221
  */
5188
5222
  TriggeredAlarms?: AlarmStateInformation[];
5223
+ /**
5224
+ * @public
5225
+ * <p>Information about the parent step.</p>
5226
+ */
5227
+ ParentStepDetails?: ParentStepDetails;
5189
5228
  }
5190
5229
  /**
5191
5230
  * @public
@@ -6396,6 +6435,8 @@ export interface DescribeInstancePatchesRequest {
6396
6435
  * <p>Sample values: <code>Installed</code> | <code>InstalledOther</code> |
6397
6436
  * <code>InstalledPendingReboot</code>
6398
6437
  * </p>
6438
+ * <p>For lists of all <code>State</code> values, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-compliance-states.html">Understanding
6439
+ * patch compliance state values</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
6399
6440
  * </li>
6400
6441
  * </ul>
6401
6442
  */
@@ -7849,125 +7890,6 @@ export interface MaintenanceWindowTaskParameterValueExpression {
7849
7890
  */
7850
7891
  Values?: string[];
7851
7892
  }
7852
- /**
7853
- * @public
7854
- * <p>Information about a task defined for a maintenance window.</p>
7855
- */
7856
- export interface MaintenanceWindowTask {
7857
- /**
7858
- * @public
7859
- * <p>The ID of the maintenance window where the task is registered.</p>
7860
- */
7861
- WindowId?: string;
7862
- /**
7863
- * @public
7864
- * <p>The task ID.</p>
7865
- */
7866
- WindowTaskId?: string;
7867
- /**
7868
- * @public
7869
- * <p>The resource that the task uses during execution. For <code>RUN_COMMAND</code> and
7870
- * <code>AUTOMATION</code> task types, <code>TaskArn</code> is the Amazon Web Services Systems Manager (SSM document) name or
7871
- * ARN. For <code>LAMBDA</code> tasks, it's the function name or ARN. For
7872
- * <code>STEP_FUNCTIONS</code> tasks, it's the state machine ARN.</p>
7873
- */
7874
- TaskArn?: string;
7875
- /**
7876
- * @public
7877
- * <p>The type of task.</p>
7878
- */
7879
- Type?: MaintenanceWindowTaskType;
7880
- /**
7881
- * @public
7882
- * <p>The targets (either managed nodes or tags). Managed nodes are specified using
7883
- * <code>Key=instanceids,Values=<instanceid1>,<instanceid2></code>. Tags are specified
7884
- * using <code>Key=<tag name>,Values=<tag value></code>.</p>
7885
- */
7886
- Targets?: Target[];
7887
- /**
7888
- * @public
7889
- * <p>The parameters that should be passed to the task when it is run.</p>
7890
- * <note>
7891
- * <p>
7892
- * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
7893
- * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
7894
- * about how Systems Manager handles these options for the supported maintenance window task
7895
- * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
7896
- * </note>
7897
- */
7898
- TaskParameters?: Record<string, MaintenanceWindowTaskParameterValueExpression>;
7899
- /**
7900
- * @public
7901
- * <p>The priority of the task in the maintenance window. The lower the number, the higher the
7902
- * priority. Tasks that have the same priority are scheduled in parallel.</p>
7903
- */
7904
- Priority?: number;
7905
- /**
7906
- * @public
7907
- * <p>Information about an S3 bucket to write task-level logs to.</p>
7908
- * <note>
7909
- * <p>
7910
- * <code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
7911
- * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
7912
- * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
7913
- * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
7914
- * </note>
7915
- */
7916
- LoggingInfo?: LoggingInfo;
7917
- /**
7918
- * @public
7919
- * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service
7920
- * (Amazon SNS) notifications for maintenance window Run Command tasks.</p>
7921
- */
7922
- ServiceRoleArn?: string;
7923
- /**
7924
- * @public
7925
- * <p>The maximum number of targets this task can be run for, in parallel.</p>
7926
- * <note>
7927
- * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
7928
- * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
7929
- * task</a> You must provide a value in all other cases.</p>
7930
- * <p>For maintenance window tasks without a target specified, you can't supply a value for this
7931
- * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
7932
- * affect the running of your task.</p>
7933
- * </note>
7934
- */
7935
- MaxConcurrency?: string;
7936
- /**
7937
- * @public
7938
- * <p>The maximum number of errors allowed before this task stops being scheduled.</p>
7939
- * <note>
7940
- * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
7941
- * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
7942
- * task</a> You must provide a value in all other cases.</p>
7943
- * <p>For maintenance window tasks without a target specified, you can't supply a value for this
7944
- * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
7945
- * affect the running of your task.</p>
7946
- * </note>
7947
- */
7948
- MaxErrors?: string;
7949
- /**
7950
- * @public
7951
- * <p>The task name.</p>
7952
- */
7953
- Name?: string;
7954
- /**
7955
- * @public
7956
- * <p>A description of the task.</p>
7957
- */
7958
- Description?: string;
7959
- /**
7960
- * @public
7961
- * <p>The specification for whether tasks should continue to run after the cutoff time specified
7962
- * in the maintenance windows is reached. </p>
7963
- */
7964
- CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior;
7965
- /**
7966
- * @public
7967
- * <p>The details for the CloudWatch alarm applied to your maintenance window task.</p>
7968
- */
7969
- AlarmConfiguration?: AlarmConfiguration;
7970
- }
7971
7893
  /**
7972
7894
  * @internal
7973
7895
  */
@@ -8052,7 +7974,3 @@ export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (
8052
7974
  * @internal
8053
7975
  */
8054
7976
  export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (obj: MaintenanceWindowTaskParameterValueExpression) => any;
8055
- /**
8056
- * @internal
8057
- */
8058
- export declare const MaintenanceWindowTaskFilterSensitiveLog: (obj: MaintenanceWindowTask) => any;
@@ -1,6 +1,125 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTask, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
2
+ import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
3
3
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
4
+ /**
5
+ * @public
6
+ * <p>Information about a task defined for a maintenance window.</p>
7
+ */
8
+ export interface MaintenanceWindowTask {
9
+ /**
10
+ * @public
11
+ * <p>The ID of the maintenance window where the task is registered.</p>
12
+ */
13
+ WindowId?: string;
14
+ /**
15
+ * @public
16
+ * <p>The task ID.</p>
17
+ */
18
+ WindowTaskId?: string;
19
+ /**
20
+ * @public
21
+ * <p>The resource that the task uses during execution. For <code>RUN_COMMAND</code> and
22
+ * <code>AUTOMATION</code> task types, <code>TaskArn</code> is the Amazon Web Services Systems Manager (SSM document) name or
23
+ * ARN. For <code>LAMBDA</code> tasks, it's the function name or ARN. For
24
+ * <code>STEP_FUNCTIONS</code> tasks, it's the state machine ARN.</p>
25
+ */
26
+ TaskArn?: string;
27
+ /**
28
+ * @public
29
+ * <p>The type of task.</p>
30
+ */
31
+ Type?: MaintenanceWindowTaskType;
32
+ /**
33
+ * @public
34
+ * <p>The targets (either managed nodes or tags). Managed nodes are specified using
35
+ * <code>Key=instanceids,Values=<instanceid1>,<instanceid2></code>. Tags are specified
36
+ * using <code>Key=<tag name>,Values=<tag value></code>.</p>
37
+ */
38
+ Targets?: Target[];
39
+ /**
40
+ * @public
41
+ * <p>The parameters that should be passed to the task when it is run.</p>
42
+ * <note>
43
+ * <p>
44
+ * <code>TaskParameters</code> has been deprecated. To specify parameters to pass to a task when it runs,
45
+ * instead use the <code>Parameters</code> option in the <code>TaskInvocationParameters</code> structure. For information
46
+ * about how Systems Manager handles these options for the supported maintenance window task
47
+ * types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
48
+ * </note>
49
+ */
50
+ TaskParameters?: Record<string, MaintenanceWindowTaskParameterValueExpression>;
51
+ /**
52
+ * @public
53
+ * <p>The priority of the task in the maintenance window. The lower the number, the higher the
54
+ * priority. Tasks that have the same priority are scheduled in parallel.</p>
55
+ */
56
+ Priority?: number;
57
+ /**
58
+ * @public
59
+ * <p>Information about an S3 bucket to write task-level logs to.</p>
60
+ * <note>
61
+ * <p>
62
+ * <code>LoggingInfo</code> has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the
63
+ * <code>OutputS3BucketName</code> and <code>OutputS3KeyPrefix</code> options in the <code>TaskInvocationParameters</code> structure.
64
+ * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance
65
+ * window task types, see <a>MaintenanceWindowTaskInvocationParameters</a>.</p>
66
+ * </note>
67
+ */
68
+ LoggingInfo?: LoggingInfo;
69
+ /**
70
+ * @public
71
+ * <p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service
72
+ * (Amazon SNS) notifications for maintenance window Run Command tasks.</p>
73
+ */
74
+ ServiceRoleArn?: string;
75
+ /**
76
+ * @public
77
+ * <p>The maximum number of targets this task can be run for, in parallel.</p>
78
+ * <note>
79
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
80
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
81
+ * task</a> You must provide a value in all other cases.</p>
82
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
83
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
84
+ * affect the running of your task.</p>
85
+ * </note>
86
+ */
87
+ MaxConcurrency?: string;
88
+ /**
89
+ * @public
90
+ * <p>The maximum number of errors allowed before this task stops being scheduled.</p>
91
+ * <note>
92
+ * <p>Although this element is listed as "Required: No", a value can be omitted only when you are
93
+ * registering or updating a <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/maintenance-windows-targetless-tasks.html">targetless
94
+ * task</a> You must provide a value in all other cases.</p>
95
+ * <p>For maintenance window tasks without a target specified, you can't supply a value for this
96
+ * option. Instead, the system inserts a placeholder value of <code>1</code>. This value doesn't
97
+ * affect the running of your task.</p>
98
+ * </note>
99
+ */
100
+ MaxErrors?: string;
101
+ /**
102
+ * @public
103
+ * <p>The task name.</p>
104
+ */
105
+ Name?: string;
106
+ /**
107
+ * @public
108
+ * <p>A description of the task.</p>
109
+ */
110
+ Description?: string;
111
+ /**
112
+ * @public
113
+ * <p>The specification for whether tasks should continue to run after the cutoff time specified
114
+ * in the maintenance windows is reached. </p>
115
+ */
116
+ CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior;
117
+ /**
118
+ * @public
119
+ * <p>The details for the CloudWatch alarm applied to your maintenance window task.</p>
120
+ */
121
+ AlarmConfiguration?: AlarmConfiguration;
122
+ }
4
123
  /**
5
124
  * @public
6
125
  */
@@ -291,7 +410,7 @@ export interface OpsItemSummary {
291
410
  * </li>
292
411
  * <li>
293
412
  * <p>
294
- * <code>/aws/insights</code>
413
+ * <code>/aws/insight</code>
295
414
  * </p>
296
415
  * <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
297
416
  * OpsItems. </p>
@@ -1424,6 +1543,11 @@ export interface AutomationExecution {
1424
1543
  * <p>The name of the Change Manager change request.</p>
1425
1544
  */
1426
1545
  ChangeRequestName?: string;
1546
+ /**
1547
+ * @public
1548
+ * <p>Variables defined for the automation.</p>
1549
+ */
1550
+ Variables?: Record<string, string[]>;
1427
1551
  }
1428
1552
  /**
1429
1553
  * @public
@@ -3243,7 +3367,7 @@ export interface OpsItem {
3243
3367
  * </li>
3244
3368
  * <li>
3245
3369
  * <p>
3246
- * <code>/aws/insights</code>
3370
+ * <code>/aws/insight</code>
3247
3371
  * </p>
3248
3372
  * <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
3249
3373
  * OpsItems. </p>
@@ -9228,15 +9352,9 @@ export interface TerminateSessionRequest {
9228
9352
  SessionId: string | undefined;
9229
9353
  }
9230
9354
  /**
9231
- * @public
9355
+ * @internal
9232
9356
  */
9233
- export interface TerminateSessionResponse {
9234
- /**
9235
- * @public
9236
- * <p>The ID of the session that has been terminated.</p>
9237
- */
9238
- SessionId?: string;
9239
- }
9357
+ export declare const MaintenanceWindowTaskFilterSensitiveLog: (obj: MaintenanceWindowTask) => any;
9240
9358
  /**
9241
9359
  * @internal
9242
9360
  */
@@ -2,6 +2,16 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
2
2
  import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target, TargetLocation } from "./models_0";
3
3
  import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute } from "./models_1";
4
4
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface TerminateSessionResponse {
9
+ /**
10
+ * @public
11
+ * <p>The ID of the session that has been terminated.</p>
12
+ */
13
+ SessionId?: string;
14
+ }
5
15
  /**
6
16
  * @public
7
17
  */
@@ -1510,47 +1520,36 @@ export interface UpdateServiceSettingRequest {
1510
1520
  * values for each setting.</p>
1511
1521
  * <ul>
1512
1522
  * <li>
1513
- * <p>
1514
- * <code>/ssm/managed-instance/default-ec2-instance-management-role: The name of an IAM role</code>
1515
- * </p>
1523
+ * <p>For <code>/ssm/managed-instance/default-ec2-instance-management-role</code>, enter the
1524
+ * name of an IAM role. </p>
1516
1525
  * </li>
1517
1526
  * <li>
1518
- * <p>
1519
- * <code>/ssm/automation/customer-script-log-destination</code>: <code>CloudWatch</code>
1520
- * </p>
1527
+ * <p>For <code>/ssm/automation/customer-script-log-destination</code>, enter <code>CloudWatch</code>.</p>
1521
1528
  * </li>
1522
1529
  * <li>
1523
- * <p>
1524
- * <code>/ssm/automation/customer-script-log-group-name</code>: The name of an Amazon CloudWatch Logs log group</p>
1530
+ * <p>For <code>/ssm/automation/customer-script-log-group-name</code>, enter the name of an
1531
+ * Amazon CloudWatch Logs log group.</p>
1525
1532
  * </li>
1526
1533
  * <li>
1527
- * <p>
1528
- * <code>/ssm/documents/console/public-sharing-permission</code>: <code>Enable</code> or
1529
- * <code>Disable</code>
1530
- * </p>
1534
+ * <p>For <code>/ssm/documents/console/public-sharing-permission</code>, enter
1535
+ * <code>Enable</code> or <code>Disable</code>.</p>
1531
1536
  * </li>
1532
1537
  * <li>
1533
- * <p>
1534
- * <code>/ssm/managed-instance/activation-tier</code>: <code>standard</code> or
1535
- * <code>advanced</code>
1536
- * </p>
1538
+ * <p>For <code>/ssm/managed-instance/activation-tier</code>, enter <code>standard</code> or
1539
+ * <code>advanced</code>.</p>
1537
1540
  * </li>
1538
1541
  * <li>
1539
- * <p>
1540
- * <code>/ssm/opsinsights/opscenter</code>: <code>Enabled</code> or <code>Disabled</code>
1541
- * </p>
1542
+ * <p> For <code>/ssm/opsinsights/opscenter</code>, enter <code>Enabled</code> or
1543
+ * <code>Disabled</code>. </p>
1542
1544
  * </li>
1543
1545
  * <li>
1544
- * <p>
1545
- * <code>/ssm/parameter-store/default-parameter-tier</code>: <code>Standard</code>,
1546
- * <code>Advanced</code>, <code>Intelligent-Tiering</code>
1546
+ * <p>For <code>/ssm/parameter-store/default-parameter-tier</code>, enter <code>Standard</code>,
1547
+ * <code>Advanced</code>, or <code>Intelligent-Tiering</code>
1547
1548
  * </p>
1548
1549
  * </li>
1549
1550
  * <li>
1550
- * <p>
1551
- * <code>/ssm/parameter-store/high-throughput-enabled</code>: <code>true</code> or
1552
- * <code>false</code>
1553
- * </p>
1551
+ * <p>For <code>/ssm/parameter-store/high-throughput-enabled</code>, enter <code>true</code> or
1552
+ * <code>false</code>.</p>
1554
1553
  * </li>
1555
1554
  * </ul>
1556
1555
  */
@@ -6,10 +6,8 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@smithy/types";
9
- import {
10
- TerminateSessionRequest,
11
- TerminateSessionResponse,
12
- } from "../models/models_1";
9
+ import { TerminateSessionRequest } from "../models/models_1";
10
+ import { TerminateSessionResponse } from "../models/models_2";
13
11
  import {
14
12
  ServiceInputTypes,
15
13
  ServiceOutputTypes,
@@ -1339,6 +1339,7 @@ export declare const AutomationExecutionStatus: {
1339
1339
  readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected";
1340
1340
  readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure";
1341
1341
  readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess";
1342
+ readonly EXITED: "Exited";
1342
1343
  readonly FAILED: "Failed";
1343
1344
  readonly INPROGRESS: "InProgress";
1344
1345
  readonly PENDING: "Pending";
@@ -1444,6 +1445,9 @@ export declare class AutomationExecutionNotFoundException extends __BaseExceptio
1444
1445
  }
1445
1446
  export declare const StepExecutionFilterKey: {
1446
1447
  readonly ACTION: "Action";
1448
+ readonly PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId";
1449
+ readonly PARENT_STEP_ITERATION: "ParentStepIteration";
1450
+ readonly PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue";
1447
1451
  readonly START_TIME_AFTER: "StartTimeAfter";
1448
1452
  readonly START_TIME_BEFORE: "StartTimeBefore";
1449
1453
  readonly STEP_EXECUTION_ID: "StepExecutionId";
@@ -1468,6 +1472,13 @@ export interface FailureDetails {
1468
1472
  FailureType?: string;
1469
1473
  Details?: Record<string, string[]>;
1470
1474
  }
1475
+ export interface ParentStepDetails {
1476
+ StepExecutionId?: string;
1477
+ StepName?: string;
1478
+ Action?: string;
1479
+ Iteration?: number;
1480
+ IteratorValue?: string;
1481
+ }
1471
1482
  export interface StepExecution {
1472
1483
  StepName?: string;
1473
1484
  Action?: string;
@@ -1492,6 +1503,7 @@ export interface StepExecution {
1492
1503
  Targets?: Target[];
1493
1504
  TargetLocation?: TargetLocation;
1494
1505
  TriggeredAlarms?: AlarmStateInformation[];
1506
+ ParentStepDetails?: ParentStepDetails;
1495
1507
  }
1496
1508
  export interface DescribeAutomationStepExecutionsResult {
1497
1509
  StepExecutions?: StepExecution[];
@@ -2046,26 +2058,6 @@ export interface LoggingInfo {
2046
2058
  export interface MaintenanceWindowTaskParameterValueExpression {
2047
2059
  Values?: string[];
2048
2060
  }
2049
- export interface MaintenanceWindowTask {
2050
- WindowId?: string;
2051
- WindowTaskId?: string;
2052
- TaskArn?: string;
2053
- Type?: MaintenanceWindowTaskType;
2054
- Targets?: Target[];
2055
- TaskParameters?: Record<
2056
- string,
2057
- MaintenanceWindowTaskParameterValueExpression
2058
- >;
2059
- Priority?: number;
2060
- LoggingInfo?: LoggingInfo;
2061
- ServiceRoleArn?: string;
2062
- MaxConcurrency?: string;
2063
- MaxErrors?: string;
2064
- Name?: string;
2065
- Description?: string;
2066
- CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior;
2067
- AlarmConfiguration?: AlarmConfiguration;
2068
- }
2069
2061
  export declare const CreateAssociationRequestFilterSensitiveLog: (
2070
2062
  obj: CreateAssociationRequest
2071
2063
  ) => any;
@@ -2127,6 +2119,3 @@ export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (
2127
2119
  export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (
2128
2120
  obj: MaintenanceWindowTaskParameterValueExpression
2129
2121
  ) => any;
2130
- export declare const MaintenanceWindowTaskFilterSensitiveLog: (
2131
- obj: MaintenanceWindowTask
2132
- ) => any;
@@ -18,7 +18,6 @@ import {
18
18
  LoggingInfo,
19
19
  MaintenanceWindowExecutionStatus,
20
20
  MaintenanceWindowResourceType,
21
- MaintenanceWindowTask,
22
21
  MaintenanceWindowTaskCutoffBehavior,
23
22
  MaintenanceWindowTaskParameterValueExpression,
24
23
  MaintenanceWindowTaskType,
@@ -46,6 +45,26 @@ import {
46
45
  TargetLocation,
47
46
  } from "./models_0";
48
47
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
48
+ export interface MaintenanceWindowTask {
49
+ WindowId?: string;
50
+ WindowTaskId?: string;
51
+ TaskArn?: string;
52
+ Type?: MaintenanceWindowTaskType;
53
+ Targets?: Target[];
54
+ TaskParameters?: Record<
55
+ string,
56
+ MaintenanceWindowTaskParameterValueExpression
57
+ >;
58
+ Priority?: number;
59
+ LoggingInfo?: LoggingInfo;
60
+ ServiceRoleArn?: string;
61
+ MaxConcurrency?: string;
62
+ MaxErrors?: string;
63
+ Name?: string;
64
+ Description?: string;
65
+ CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior;
66
+ AlarmConfiguration?: AlarmConfiguration;
67
+ }
49
68
  export interface DescribeMaintenanceWindowTasksResult {
50
69
  Tasks?: MaintenanceWindowTask[];
51
70
  NextToken?: string;
@@ -394,6 +413,7 @@ export interface AutomationExecution {
394
413
  OpsItemId?: string;
395
414
  AssociationId?: string;
396
415
  ChangeRequestName?: string;
416
+ Variables?: Record<string, string[]>;
397
417
  }
398
418
  export interface GetAutomationExecutionResult {
399
419
  AutomationExecution?: AutomationExecution;
@@ -2177,9 +2197,9 @@ export interface StopAutomationExecutionResult {}
2177
2197
  export interface TerminateSessionRequest {
2178
2198
  SessionId: string | undefined;
2179
2199
  }
2180
- export interface TerminateSessionResponse {
2181
- SessionId?: string;
2182
- }
2200
+ export declare const MaintenanceWindowTaskFilterSensitiveLog: (
2201
+ obj: MaintenanceWindowTask
2202
+ ) => any;
2183
2203
  export declare const DescribeMaintenanceWindowTasksResultFilterSensitiveLog: (
2184
2204
  obj: DescribeMaintenanceWindowTasksResult
2185
2205
  ) => any;
@@ -37,6 +37,9 @@ import {
37
37
  ResultAttribute,
38
38
  } from "./models_1";
39
39
  import { SSMServiceException as __BaseException } from "./SSMServiceException";
40
+ export interface TerminateSessionResponse {
41
+ SessionId?: string;
42
+ }
40
43
  export interface UnlabelParameterVersionRequest {
41
44
  Name: string | undefined;
42
45
  ParameterVersion: number | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.453.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",