@aws-sdk/client-ssm 3.300.0 → 3.303.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 (151) hide show
  1. package/dist-cjs/models/models_0.js +344 -392
  2. package/dist-cjs/models/models_1.js +220 -256
  3. package/dist-cjs/models/models_2.js +6 -7
  4. package/dist-es/models/models_0.js +344 -392
  5. package/dist-es/models/models_1.js +220 -256
  6. package/dist-es/models/models_2.js +6 -7
  7. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -3
  8. package/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +1 -1
  9. package/dist-types/commands/CancelCommandCommand.d.ts +2 -2
  10. package/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateActivationCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateAssociationBatchCommand.d.ts +21 -21
  13. package/dist-types/commands/CreateAssociationCommand.d.ts +21 -21
  14. package/dist-types/commands/CreateDocumentCommand.d.ts +8 -8
  15. package/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateOpsItemCommand.d.ts +9 -9
  17. package/dist-types/commands/CreateOpsMetadataCommand.d.ts +5 -5
  18. package/dist-types/commands/CreatePatchBaselineCommand.d.ts +14 -14
  19. package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +8 -8
  20. package/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteDocumentCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteInventoryCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteOpsMetadataCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteParameterCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteParametersCommand.d.ts +2 -2
  28. package/dist-types/commands/DeletePatchBaselineCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +1 -1
  32. package/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
  33. package/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +1 -1
  34. package/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeActivationsCommand.d.ts +4 -4
  36. package/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +3 -3
  39. package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +4 -4
  40. package/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +4 -4
  41. package/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +4 -4
  42. package/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +6 -6
  48. package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -2
  49. package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +4 -4
  50. package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +4 -4
  51. package/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +4 -4
  53. package/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +4 -4
  54. package/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +4 -4
  55. package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +7 -7
  56. package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +4 -4
  57. package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -4
  58. package/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +4 -4
  59. package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +4 -4
  60. package/dist-types/commands/DescribeOpsItemsCommand.d.ts +4 -4
  61. package/dist-types/commands/DescribeParametersCommand.d.ts +7 -7
  62. package/dist-types/commands/DescribePatchBaselinesCommand.d.ts +4 -4
  63. package/dist-types/commands/DescribePatchGroupStateCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribePatchGroupsCommand.d.ts +4 -4
  65. package/dist-types/commands/DescribePatchPropertiesCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeSessionsCommand.d.ts +3 -3
  67. package/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +1 -1
  68. package/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
  69. package/dist-types/commands/GetCalendarStateCommand.d.ts +2 -2
  70. package/dist-types/commands/GetCommandInvocationCommand.d.ts +1 -1
  71. package/dist-types/commands/GetConnectionStatusCommand.d.ts +1 -1
  72. package/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +1 -1
  73. package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +13 -13
  74. package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  75. package/dist-types/commands/GetInventoryCommand.d.ts +12 -16
  76. package/dist-types/commands/GetInventorySchemaCommand.d.ts +1 -1
  77. package/dist-types/commands/GetMaintenanceWindowCommand.d.ts +1 -1
  78. package/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +1 -1
  79. package/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +1 -1
  80. package/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +1 -1
  81. package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +1 -1
  82. package/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
  83. package/dist-types/commands/GetOpsMetadataCommand.d.ts +1 -1
  84. package/dist-types/commands/GetOpsSummaryCommand.d.ts +11 -15
  85. package/dist-types/commands/GetParameterCommand.d.ts +1 -1
  86. package/dist-types/commands/GetParameterHistoryCommand.d.ts +1 -1
  87. package/dist-types/commands/GetParametersByPathCommand.d.ts +4 -4
  88. package/dist-types/commands/GetParametersCommand.d.ts +2 -2
  89. package/dist-types/commands/GetPatchBaselineCommand.d.ts +1 -1
  90. package/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +1 -1
  91. package/dist-types/commands/GetResourcePoliciesCommand.d.ts +1 -1
  92. package/dist-types/commands/GetServiceSettingCommand.d.ts +1 -1
  93. package/dist-types/commands/LabelParameterVersionCommand.d.ts +2 -2
  94. package/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -1
  95. package/dist-types/commands/ListAssociationsCommand.d.ts +3 -3
  96. package/dist-types/commands/ListCommandInvocationsCommand.d.ts +3 -3
  97. package/dist-types/commands/ListCommandsCommand.d.ts +3 -3
  98. package/dist-types/commands/ListComplianceItemsCommand.d.ts +6 -6
  99. package/dist-types/commands/ListComplianceSummariesCommand.d.ts +4 -4
  100. package/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +1 -1
  101. package/dist-types/commands/ListDocumentVersionsCommand.d.ts +1 -1
  102. package/dist-types/commands/ListDocumentsCommand.d.ts +6 -6
  103. package/dist-types/commands/ListInventoryEntriesCommand.d.ts +4 -4
  104. package/dist-types/commands/ListOpsItemEventsCommand.d.ts +4 -4
  105. package/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +4 -4
  106. package/dist-types/commands/ListOpsMetadataCommand.d.ts +4 -4
  107. package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +4 -4
  108. package/dist-types/commands/ListResourceDataSyncCommand.d.ts +1 -1
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +2 -2
  111. package/dist-types/commands/PutComplianceItemsCommand.d.ts +5 -5
  112. package/dist-types/commands/PutInventoryCommand.d.ts +6 -6
  113. package/dist-types/commands/PutParameterCommand.d.ts +3 -3
  114. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
  115. package/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +1 -1
  116. package/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
  117. package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +4 -4
  118. package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +23 -23
  119. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -2
  120. package/dist-types/commands/ResetServiceSettingCommand.d.ts +1 -1
  121. package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
  122. package/dist-types/commands/SendAutomationSignalCommand.d.ts +3 -3
  123. package/dist-types/commands/SendCommandCommand.d.ts +13 -13
  124. package/dist-types/commands/StartAssociationsOnceCommand.d.ts +2 -2
  125. package/dist-types/commands/StartAutomationExecutionCommand.d.ts +18 -18
  126. package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +20 -20
  127. package/dist-types/commands/StartSessionCommand.d.ts +3 -3
  128. package/dist-types/commands/StopAutomationExecutionCommand.d.ts +1 -1
  129. package/dist-types/commands/TerminateSessionCommand.d.ts +1 -1
  130. package/dist-types/commands/UnlabelParameterVersionCommand.d.ts +2 -2
  131. package/dist-types/commands/UpdateAssociationCommand.d.ts +19 -19
  132. package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +2 -2
  133. package/dist-types/commands/UpdateDocumentCommand.d.ts +4 -4
  134. package/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +1 -1
  135. package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +4 -4
  136. package/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +1 -1
  137. package/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +4 -4
  138. package/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +23 -23
  139. package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateOpsItemCommand.d.ts +8 -8
  141. package/dist-types/commands/UpdateOpsMetadataCommand.d.ts +4 -4
  142. package/dist-types/commands/UpdatePatchBaselineCommand.d.ts +12 -12
  143. package/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +6 -6
  144. package/dist-types/commands/UpdateServiceSettingCommand.d.ts +1 -1
  145. package/dist-types/models/models_0.d.ts +587 -347
  146. package/dist-types/models/models_1.d.ts +401 -221
  147. package/dist-types/models/models_2.d.ts +11 -6
  148. package/dist-types/ts3.4/models/models_0.d.ts +430 -344
  149. package/dist-types/ts3.4/models/models_1.d.ts +281 -220
  150. package/dist-types/ts3.4/models/models_2.d.ts +8 -6
  151. package/package.json +35 -35
@@ -5,18 +5,17 @@ exports.InstanceInformationFilterKey = exports.UnsupportedOperatingSystem = expo
5
5
  exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = 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.OpsItemFilterOperator = exports.OpsItemFilterKey = 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 = void 0;
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const SSMServiceException_1 = require("./SSMServiceException");
8
- var ResourceTypeForTagging;
9
- (function (ResourceTypeForTagging) {
10
- ResourceTypeForTagging["ASSOCIATION"] = "Association";
11
- ResourceTypeForTagging["AUTOMATION"] = "Automation";
12
- ResourceTypeForTagging["DOCUMENT"] = "Document";
13
- ResourceTypeForTagging["MAINTENANCE_WINDOW"] = "MaintenanceWindow";
14
- ResourceTypeForTagging["MANAGED_INSTANCE"] = "ManagedInstance";
15
- ResourceTypeForTagging["OPSMETADATA"] = "OpsMetadata";
16
- ResourceTypeForTagging["OPS_ITEM"] = "OpsItem";
17
- ResourceTypeForTagging["PARAMETER"] = "Parameter";
18
- ResourceTypeForTagging["PATCH_BASELINE"] = "PatchBaseline";
19
- })(ResourceTypeForTagging = exports.ResourceTypeForTagging || (exports.ResourceTypeForTagging = {}));
8
+ exports.ResourceTypeForTagging = {
9
+ ASSOCIATION: "Association",
10
+ AUTOMATION: "Automation",
11
+ DOCUMENT: "Document",
12
+ MAINTENANCE_WINDOW: "MaintenanceWindow",
13
+ MANAGED_INSTANCE: "ManagedInstance",
14
+ OPSMETADATA: "OpsMetadata",
15
+ OPS_ITEM: "OpsItem",
16
+ PARAMETER: "Parameter",
17
+ PATCH_BASELINE: "PatchBaseline",
18
+ };
20
19
  class InternalServerError extends SSMServiceException_1.SSMServiceException {
21
20
  constructor(opts) {
22
21
  super({
@@ -84,11 +83,10 @@ class TooManyUpdates extends SSMServiceException_1.SSMServiceException {
84
83
  }
85
84
  }
86
85
  exports.TooManyUpdates = TooManyUpdates;
87
- var ExternalAlarmState;
88
- (function (ExternalAlarmState) {
89
- ExternalAlarmState["ALARM"] = "ALARM";
90
- ExternalAlarmState["UNKNOWN"] = "UNKNOWN";
91
- })(ExternalAlarmState = exports.ExternalAlarmState || (exports.ExternalAlarmState = {}));
86
+ exports.ExternalAlarmState = {
87
+ ALARM: "ALARM",
88
+ UNKNOWN: "UNKNOWN",
89
+ };
92
90
  class AlreadyExistsException extends SSMServiceException_1.SSMServiceException {
93
91
  constructor(opts) {
94
92
  super({
@@ -259,25 +257,22 @@ class AssociationLimitExceeded extends SSMServiceException_1.SSMServiceException
259
257
  }
260
258
  }
261
259
  exports.AssociationLimitExceeded = AssociationLimitExceeded;
262
- var AssociationComplianceSeverity;
263
- (function (AssociationComplianceSeverity) {
264
- AssociationComplianceSeverity["Critical"] = "CRITICAL";
265
- AssociationComplianceSeverity["High"] = "HIGH";
266
- AssociationComplianceSeverity["Low"] = "LOW";
267
- AssociationComplianceSeverity["Medium"] = "MEDIUM";
268
- AssociationComplianceSeverity["Unspecified"] = "UNSPECIFIED";
269
- })(AssociationComplianceSeverity = exports.AssociationComplianceSeverity || (exports.AssociationComplianceSeverity = {}));
270
- var AssociationSyncCompliance;
271
- (function (AssociationSyncCompliance) {
272
- AssociationSyncCompliance["Auto"] = "AUTO";
273
- AssociationSyncCompliance["Manual"] = "MANUAL";
274
- })(AssociationSyncCompliance = exports.AssociationSyncCompliance || (exports.AssociationSyncCompliance = {}));
275
- var AssociationStatusName;
276
- (function (AssociationStatusName) {
277
- AssociationStatusName["Failed"] = "Failed";
278
- AssociationStatusName["Pending"] = "Pending";
279
- AssociationStatusName["Success"] = "Success";
280
- })(AssociationStatusName = exports.AssociationStatusName || (exports.AssociationStatusName = {}));
260
+ exports.AssociationComplianceSeverity = {
261
+ Critical: "CRITICAL",
262
+ High: "HIGH",
263
+ Low: "LOW",
264
+ Medium: "MEDIUM",
265
+ Unspecified: "UNSPECIFIED",
266
+ };
267
+ exports.AssociationSyncCompliance = {
268
+ Auto: "AUTO",
269
+ Manual: "MANUAL",
270
+ };
271
+ exports.AssociationStatusName = {
272
+ Failed: "Failed",
273
+ Pending: "Pending",
274
+ Success: "Success",
275
+ };
281
276
  class InvalidDocument extends SSMServiceException_1.SSMServiceException {
282
277
  constructor(opts) {
283
278
  super({
@@ -389,73 +384,64 @@ class UnsupportedPlatformType extends SSMServiceException_1.SSMServiceException
389
384
  }
390
385
  }
391
386
  exports.UnsupportedPlatformType = UnsupportedPlatformType;
392
- var Fault;
393
- (function (Fault) {
394
- Fault["Client"] = "Client";
395
- Fault["Server"] = "Server";
396
- Fault["Unknown"] = "Unknown";
397
- })(Fault = exports.Fault || (exports.Fault = {}));
398
- var AttachmentsSourceKey;
399
- (function (AttachmentsSourceKey) {
400
- AttachmentsSourceKey["AttachmentReference"] = "AttachmentReference";
401
- AttachmentsSourceKey["S3FileUrl"] = "S3FileUrl";
402
- AttachmentsSourceKey["SourceUrl"] = "SourceUrl";
403
- })(AttachmentsSourceKey = exports.AttachmentsSourceKey || (exports.AttachmentsSourceKey = {}));
404
- var DocumentFormat;
405
- (function (DocumentFormat) {
406
- DocumentFormat["JSON"] = "JSON";
407
- DocumentFormat["TEXT"] = "TEXT";
408
- DocumentFormat["YAML"] = "YAML";
409
- })(DocumentFormat = exports.DocumentFormat || (exports.DocumentFormat = {}));
410
- var DocumentType;
411
- (function (DocumentType) {
412
- DocumentType["ApplicationConfiguration"] = "ApplicationConfiguration";
413
- DocumentType["ApplicationConfigurationSchema"] = "ApplicationConfigurationSchema";
414
- DocumentType["Automation"] = "Automation";
415
- DocumentType["ChangeCalendar"] = "ChangeCalendar";
416
- DocumentType["ChangeTemplate"] = "Automation.ChangeTemplate";
417
- DocumentType["CloudFormation"] = "CloudFormation";
418
- DocumentType["Command"] = "Command";
419
- DocumentType["ConformancePackTemplate"] = "ConformancePackTemplate";
420
- DocumentType["DeploymentStrategy"] = "DeploymentStrategy";
421
- DocumentType["Package"] = "Package";
422
- DocumentType["Policy"] = "Policy";
423
- DocumentType["ProblemAnalysis"] = "ProblemAnalysis";
424
- DocumentType["ProblemAnalysisTemplate"] = "ProblemAnalysisTemplate";
425
- DocumentType["QuickSetup"] = "QuickSetup";
426
- DocumentType["Session"] = "Session";
427
- })(DocumentType = exports.DocumentType || (exports.DocumentType = {}));
428
- var DocumentHashType;
429
- (function (DocumentHashType) {
430
- DocumentHashType["SHA1"] = "Sha1";
431
- DocumentHashType["SHA256"] = "Sha256";
432
- })(DocumentHashType = exports.DocumentHashType || (exports.DocumentHashType = {}));
433
- var DocumentParameterType;
434
- (function (DocumentParameterType) {
435
- DocumentParameterType["String"] = "String";
436
- DocumentParameterType["StringList"] = "StringList";
437
- })(DocumentParameterType = exports.DocumentParameterType || (exports.DocumentParameterType = {}));
438
- var PlatformType;
439
- (function (PlatformType) {
440
- PlatformType["LINUX"] = "Linux";
441
- PlatformType["MACOS"] = "MacOS";
442
- PlatformType["WINDOWS"] = "Windows";
443
- })(PlatformType = exports.PlatformType || (exports.PlatformType = {}));
444
- var ReviewStatus;
445
- (function (ReviewStatus) {
446
- ReviewStatus["APPROVED"] = "APPROVED";
447
- ReviewStatus["NOT_REVIEWED"] = "NOT_REVIEWED";
448
- ReviewStatus["PENDING"] = "PENDING";
449
- ReviewStatus["REJECTED"] = "REJECTED";
450
- })(ReviewStatus = exports.ReviewStatus || (exports.ReviewStatus = {}));
451
- var DocumentStatus;
452
- (function (DocumentStatus) {
453
- DocumentStatus["Active"] = "Active";
454
- DocumentStatus["Creating"] = "Creating";
455
- DocumentStatus["Deleting"] = "Deleting";
456
- DocumentStatus["Failed"] = "Failed";
457
- DocumentStatus["Updating"] = "Updating";
458
- })(DocumentStatus = exports.DocumentStatus || (exports.DocumentStatus = {}));
387
+ exports.Fault = {
388
+ Client: "Client",
389
+ Server: "Server",
390
+ Unknown: "Unknown",
391
+ };
392
+ exports.AttachmentsSourceKey = {
393
+ AttachmentReference: "AttachmentReference",
394
+ S3FileUrl: "S3FileUrl",
395
+ SourceUrl: "SourceUrl",
396
+ };
397
+ exports.DocumentFormat = {
398
+ JSON: "JSON",
399
+ TEXT: "TEXT",
400
+ YAML: "YAML",
401
+ };
402
+ exports.DocumentType = {
403
+ ApplicationConfiguration: "ApplicationConfiguration",
404
+ ApplicationConfigurationSchema: "ApplicationConfigurationSchema",
405
+ Automation: "Automation",
406
+ ChangeCalendar: "ChangeCalendar",
407
+ ChangeTemplate: "Automation.ChangeTemplate",
408
+ CloudFormation: "CloudFormation",
409
+ Command: "Command",
410
+ ConformancePackTemplate: "ConformancePackTemplate",
411
+ DeploymentStrategy: "DeploymentStrategy",
412
+ Package: "Package",
413
+ Policy: "Policy",
414
+ ProblemAnalysis: "ProblemAnalysis",
415
+ ProblemAnalysisTemplate: "ProblemAnalysisTemplate",
416
+ QuickSetup: "QuickSetup",
417
+ Session: "Session",
418
+ };
419
+ exports.DocumentHashType = {
420
+ SHA1: "Sha1",
421
+ SHA256: "Sha256",
422
+ };
423
+ exports.DocumentParameterType = {
424
+ String: "String",
425
+ StringList: "StringList",
426
+ };
427
+ exports.PlatformType = {
428
+ LINUX: "Linux",
429
+ MACOS: "MacOS",
430
+ WINDOWS: "Windows",
431
+ };
432
+ exports.ReviewStatus = {
433
+ APPROVED: "APPROVED",
434
+ NOT_REVIEWED: "NOT_REVIEWED",
435
+ PENDING: "PENDING",
436
+ REJECTED: "REJECTED",
437
+ };
438
+ exports.DocumentStatus = {
439
+ Active: "Active",
440
+ Creating: "Creating",
441
+ Deleting: "Deleting",
442
+ Failed: "Failed",
443
+ Updating: "Updating",
444
+ };
459
445
  class DocumentAlreadyExists extends SSMServiceException_1.SSMServiceException {
460
446
  constructor(opts) {
461
447
  super({
@@ -554,11 +540,10 @@ class ResourceLimitExceededException extends SSMServiceException_1.SSMServiceExc
554
540
  }
555
541
  }
556
542
  exports.ResourceLimitExceededException = ResourceLimitExceededException;
557
- var OpsItemDataType;
558
- (function (OpsItemDataType) {
559
- OpsItemDataType["SEARCHABLE_STRING"] = "SearchableString";
560
- OpsItemDataType["STRING"] = "String";
561
- })(OpsItemDataType = exports.OpsItemDataType || (exports.OpsItemDataType = {}));
543
+ exports.OpsItemDataType = {
544
+ SEARCHABLE_STRING: "SearchableString",
545
+ STRING: "String",
546
+ };
562
547
  class OpsItemAccessDeniedException extends SSMServiceException_1.SSMServiceException {
563
548
  constructor(opts) {
564
549
  super({
@@ -640,64 +625,59 @@ class OpsMetadataTooManyUpdatesException extends SSMServiceException_1.SSMServic
640
625
  }
641
626
  }
642
627
  exports.OpsMetadataTooManyUpdatesException = OpsMetadataTooManyUpdatesException;
643
- var PatchComplianceLevel;
644
- (function (PatchComplianceLevel) {
645
- PatchComplianceLevel["Critical"] = "CRITICAL";
646
- PatchComplianceLevel["High"] = "HIGH";
647
- PatchComplianceLevel["Informational"] = "INFORMATIONAL";
648
- PatchComplianceLevel["Low"] = "LOW";
649
- PatchComplianceLevel["Medium"] = "MEDIUM";
650
- PatchComplianceLevel["Unspecified"] = "UNSPECIFIED";
651
- })(PatchComplianceLevel = exports.PatchComplianceLevel || (exports.PatchComplianceLevel = {}));
652
- var PatchFilterKey;
653
- (function (PatchFilterKey) {
654
- PatchFilterKey["AdvisoryId"] = "ADVISORY_ID";
655
- PatchFilterKey["Arch"] = "ARCH";
656
- PatchFilterKey["BugzillaId"] = "BUGZILLA_ID";
657
- PatchFilterKey["CVEId"] = "CVE_ID";
658
- PatchFilterKey["Classification"] = "CLASSIFICATION";
659
- PatchFilterKey["Epoch"] = "EPOCH";
660
- PatchFilterKey["MsrcSeverity"] = "MSRC_SEVERITY";
661
- PatchFilterKey["Name"] = "NAME";
662
- PatchFilterKey["PatchId"] = "PATCH_ID";
663
- PatchFilterKey["PatchSet"] = "PATCH_SET";
664
- PatchFilterKey["Priority"] = "PRIORITY";
665
- PatchFilterKey["Product"] = "PRODUCT";
666
- PatchFilterKey["ProductFamily"] = "PRODUCT_FAMILY";
667
- PatchFilterKey["Release"] = "RELEASE";
668
- PatchFilterKey["Repository"] = "REPOSITORY";
669
- PatchFilterKey["Section"] = "SECTION";
670
- PatchFilterKey["Security"] = "SECURITY";
671
- PatchFilterKey["Severity"] = "SEVERITY";
672
- PatchFilterKey["Version"] = "VERSION";
673
- })(PatchFilterKey = exports.PatchFilterKey || (exports.PatchFilterKey = {}));
674
- var OperatingSystem;
675
- (function (OperatingSystem) {
676
- OperatingSystem["AlmaLinux"] = "ALMA_LINUX";
677
- OperatingSystem["AmazonLinux"] = "AMAZON_LINUX";
678
- OperatingSystem["AmazonLinux2"] = "AMAZON_LINUX_2";
679
- OperatingSystem["AmazonLinux2022"] = "AMAZON_LINUX_2022";
680
- OperatingSystem["AmazonLinux2023"] = "AMAZON_LINUX_2023";
681
- OperatingSystem["CentOS"] = "CENTOS";
682
- OperatingSystem["Debian"] = "DEBIAN";
683
- OperatingSystem["MacOS"] = "MACOS";
684
- OperatingSystem["OracleLinux"] = "ORACLE_LINUX";
685
- OperatingSystem["Raspbian"] = "RASPBIAN";
686
- OperatingSystem["RedhatEnterpriseLinux"] = "REDHAT_ENTERPRISE_LINUX";
687
- OperatingSystem["Rocky_Linux"] = "ROCKY_LINUX";
688
- OperatingSystem["Suse"] = "SUSE";
689
- OperatingSystem["Ubuntu"] = "UBUNTU";
690
- OperatingSystem["Windows"] = "WINDOWS";
691
- })(OperatingSystem = exports.OperatingSystem || (exports.OperatingSystem = {}));
692
- var PatchAction;
693
- (function (PatchAction) {
694
- PatchAction["AllowAsDependency"] = "ALLOW_AS_DEPENDENCY";
695
- PatchAction["Block"] = "BLOCK";
696
- })(PatchAction = exports.PatchAction || (exports.PatchAction = {}));
697
- var ResourceDataSyncS3Format;
698
- (function (ResourceDataSyncS3Format) {
699
- ResourceDataSyncS3Format["JSON_SERDE"] = "JsonSerDe";
700
- })(ResourceDataSyncS3Format = exports.ResourceDataSyncS3Format || (exports.ResourceDataSyncS3Format = {}));
628
+ exports.PatchComplianceLevel = {
629
+ Critical: "CRITICAL",
630
+ High: "HIGH",
631
+ Informational: "INFORMATIONAL",
632
+ Low: "LOW",
633
+ Medium: "MEDIUM",
634
+ Unspecified: "UNSPECIFIED",
635
+ };
636
+ exports.PatchFilterKey = {
637
+ AdvisoryId: "ADVISORY_ID",
638
+ Arch: "ARCH",
639
+ BugzillaId: "BUGZILLA_ID",
640
+ CVEId: "CVE_ID",
641
+ Classification: "CLASSIFICATION",
642
+ Epoch: "EPOCH",
643
+ MsrcSeverity: "MSRC_SEVERITY",
644
+ Name: "NAME",
645
+ PatchId: "PATCH_ID",
646
+ PatchSet: "PATCH_SET",
647
+ Priority: "PRIORITY",
648
+ Product: "PRODUCT",
649
+ ProductFamily: "PRODUCT_FAMILY",
650
+ Release: "RELEASE",
651
+ Repository: "REPOSITORY",
652
+ Section: "SECTION",
653
+ Security: "SECURITY",
654
+ Severity: "SEVERITY",
655
+ Version: "VERSION",
656
+ };
657
+ exports.OperatingSystem = {
658
+ AlmaLinux: "ALMA_LINUX",
659
+ AmazonLinux: "AMAZON_LINUX",
660
+ AmazonLinux2: "AMAZON_LINUX_2",
661
+ AmazonLinux2022: "AMAZON_LINUX_2022",
662
+ AmazonLinux2023: "AMAZON_LINUX_2023",
663
+ CentOS: "CENTOS",
664
+ Debian: "DEBIAN",
665
+ MacOS: "MACOS",
666
+ OracleLinux: "ORACLE_LINUX",
667
+ Raspbian: "RASPBIAN",
668
+ RedhatEnterpriseLinux: "REDHAT_ENTERPRISE_LINUX",
669
+ Rocky_Linux: "ROCKY_LINUX",
670
+ Suse: "SUSE",
671
+ Ubuntu: "UBUNTU",
672
+ Windows: "WINDOWS",
673
+ };
674
+ exports.PatchAction = {
675
+ AllowAsDependency: "ALLOW_AS_DEPENDENCY",
676
+ Block: "BLOCK",
677
+ };
678
+ exports.ResourceDataSyncS3Format = {
679
+ JSON_SERDE: "JsonSerDe",
680
+ };
701
681
  class ResourceDataSyncAlreadyExistsException extends SSMServiceException_1.SSMServiceException {
702
682
  constructor(opts) {
703
683
  super({
@@ -809,11 +789,10 @@ class InvalidDocumentOperation extends SSMServiceException_1.SSMServiceException
809
789
  }
810
790
  }
811
791
  exports.InvalidDocumentOperation = InvalidDocumentOperation;
812
- var InventorySchemaDeleteOption;
813
- (function (InventorySchemaDeleteOption) {
814
- InventorySchemaDeleteOption["DELETE_SCHEMA"] = "DeleteSchema";
815
- InventorySchemaDeleteOption["DISABLE_SCHEMA"] = "DisableSchema";
816
- })(InventorySchemaDeleteOption = exports.InventorySchemaDeleteOption || (exports.InventorySchemaDeleteOption = {}));
792
+ exports.InventorySchemaDeleteOption = {
793
+ DELETE_SCHEMA: "DeleteSchema",
794
+ DISABLE_SCHEMA: "DisableSchema",
795
+ };
817
796
  class InvalidDeleteInventoryParametersException extends SSMServiceException_1.SSMServiceException {
818
797
  constructor(opts) {
819
798
  super({
@@ -969,12 +948,11 @@ class TargetInUseException extends SSMServiceException_1.SSMServiceException {
969
948
  }
970
949
  }
971
950
  exports.TargetInUseException = TargetInUseException;
972
- var DescribeActivationsFilterKeys;
973
- (function (DescribeActivationsFilterKeys) {
974
- DescribeActivationsFilterKeys["ACTIVATION_IDS"] = "ActivationIds";
975
- DescribeActivationsFilterKeys["DEFAULT_INSTANCE_NAME"] = "DefaultInstanceName";
976
- DescribeActivationsFilterKeys["IAM_ROLE"] = "IamRole";
977
- })(DescribeActivationsFilterKeys = exports.DescribeActivationsFilterKeys || (exports.DescribeActivationsFilterKeys = {}));
951
+ exports.DescribeActivationsFilterKeys = {
952
+ ACTIVATION_IDS: "ActivationIds",
953
+ DEFAULT_INSTANCE_NAME: "DefaultInstanceName",
954
+ IAM_ROLE: "IamRole",
955
+ };
978
956
  class InvalidFilter extends SSMServiceException_1.SSMServiceException {
979
957
  constructor(opts) {
980
958
  super({
@@ -1017,18 +995,16 @@ class InvalidAssociationVersion extends SSMServiceException_1.SSMServiceExceptio
1017
995
  }
1018
996
  }
1019
997
  exports.InvalidAssociationVersion = InvalidAssociationVersion;
1020
- var AssociationExecutionFilterKey;
1021
- (function (AssociationExecutionFilterKey) {
1022
- AssociationExecutionFilterKey["CreatedTime"] = "CreatedTime";
1023
- AssociationExecutionFilterKey["ExecutionId"] = "ExecutionId";
1024
- AssociationExecutionFilterKey["Status"] = "Status";
1025
- })(AssociationExecutionFilterKey = exports.AssociationExecutionFilterKey || (exports.AssociationExecutionFilterKey = {}));
1026
- var AssociationFilterOperatorType;
1027
- (function (AssociationFilterOperatorType) {
1028
- AssociationFilterOperatorType["Equal"] = "EQUAL";
1029
- AssociationFilterOperatorType["GreaterThan"] = "GREATER_THAN";
1030
- AssociationFilterOperatorType["LessThan"] = "LESS_THAN";
1031
- })(AssociationFilterOperatorType = exports.AssociationFilterOperatorType || (exports.AssociationFilterOperatorType = {}));
998
+ exports.AssociationExecutionFilterKey = {
999
+ CreatedTime: "CreatedTime",
1000
+ ExecutionId: "ExecutionId",
1001
+ Status: "Status",
1002
+ };
1003
+ exports.AssociationFilterOperatorType = {
1004
+ Equal: "EQUAL",
1005
+ GreaterThan: "GREATER_THAN",
1006
+ LessThan: "LESS_THAN",
1007
+ };
1032
1008
  class AssociationExecutionDoesNotExist extends SSMServiceException_1.SSMServiceException {
1033
1009
  constructor(opts) {
1034
1010
  super({
@@ -1043,62 +1019,56 @@ class AssociationExecutionDoesNotExist extends SSMServiceException_1.SSMServiceE
1043
1019
  }
1044
1020
  }
1045
1021
  exports.AssociationExecutionDoesNotExist = AssociationExecutionDoesNotExist;
1046
- var AssociationExecutionTargetsFilterKey;
1047
- (function (AssociationExecutionTargetsFilterKey) {
1048
- AssociationExecutionTargetsFilterKey["ResourceId"] = "ResourceId";
1049
- AssociationExecutionTargetsFilterKey["ResourceType"] = "ResourceType";
1050
- AssociationExecutionTargetsFilterKey["Status"] = "Status";
1051
- })(AssociationExecutionTargetsFilterKey = exports.AssociationExecutionTargetsFilterKey || (exports.AssociationExecutionTargetsFilterKey = {}));
1052
- var AutomationExecutionFilterKey;
1053
- (function (AutomationExecutionFilterKey) {
1054
- AutomationExecutionFilterKey["AUTOMATION_SUBTYPE"] = "AutomationSubtype";
1055
- AutomationExecutionFilterKey["AUTOMATION_TYPE"] = "AutomationType";
1056
- AutomationExecutionFilterKey["CURRENT_ACTION"] = "CurrentAction";
1057
- AutomationExecutionFilterKey["DOCUMENT_NAME_PREFIX"] = "DocumentNamePrefix";
1058
- AutomationExecutionFilterKey["EXECUTION_ID"] = "ExecutionId";
1059
- AutomationExecutionFilterKey["EXECUTION_STATUS"] = "ExecutionStatus";
1060
- AutomationExecutionFilterKey["OPS_ITEM_ID"] = "OpsItemId";
1061
- AutomationExecutionFilterKey["PARENT_EXECUTION_ID"] = "ParentExecutionId";
1062
- AutomationExecutionFilterKey["START_TIME_AFTER"] = "StartTimeAfter";
1063
- AutomationExecutionFilterKey["START_TIME_BEFORE"] = "StartTimeBefore";
1064
- AutomationExecutionFilterKey["TAG_KEY"] = "TagKey";
1065
- AutomationExecutionFilterKey["TARGET_RESOURCE_GROUP"] = "TargetResourceGroup";
1066
- })(AutomationExecutionFilterKey = exports.AutomationExecutionFilterKey || (exports.AutomationExecutionFilterKey = {}));
1067
- var AutomationExecutionStatus;
1068
- (function (AutomationExecutionStatus) {
1069
- AutomationExecutionStatus["APPROVED"] = "Approved";
1070
- AutomationExecutionStatus["CANCELLED"] = "Cancelled";
1071
- AutomationExecutionStatus["CANCELLING"] = "Cancelling";
1072
- AutomationExecutionStatus["CHANGE_CALENDAR_OVERRIDE_APPROVED"] = "ChangeCalendarOverrideApproved";
1073
- AutomationExecutionStatus["CHANGE_CALENDAR_OVERRIDE_REJECTED"] = "ChangeCalendarOverrideRejected";
1074
- AutomationExecutionStatus["COMPLETED_WITH_FAILURE"] = "CompletedWithFailure";
1075
- AutomationExecutionStatus["COMPLETED_WITH_SUCCESS"] = "CompletedWithSuccess";
1076
- AutomationExecutionStatus["FAILED"] = "Failed";
1077
- AutomationExecutionStatus["INPROGRESS"] = "InProgress";
1078
- AutomationExecutionStatus["PENDING"] = "Pending";
1079
- AutomationExecutionStatus["PENDING_APPROVAL"] = "PendingApproval";
1080
- AutomationExecutionStatus["PENDING_CHANGE_CALENDAR_OVERRIDE"] = "PendingChangeCalendarOverride";
1081
- AutomationExecutionStatus["REJECTED"] = "Rejected";
1082
- AutomationExecutionStatus["RUNBOOK_INPROGRESS"] = "RunbookInProgress";
1083
- AutomationExecutionStatus["SCHEDULED"] = "Scheduled";
1084
- AutomationExecutionStatus["SUCCESS"] = "Success";
1085
- AutomationExecutionStatus["TIMEDOUT"] = "TimedOut";
1086
- AutomationExecutionStatus["WAITING"] = "Waiting";
1087
- })(AutomationExecutionStatus = exports.AutomationExecutionStatus || (exports.AutomationExecutionStatus = {}));
1088
- var AutomationSubtype;
1089
- (function (AutomationSubtype) {
1090
- AutomationSubtype["ChangeRequest"] = "ChangeRequest";
1091
- })(AutomationSubtype = exports.AutomationSubtype || (exports.AutomationSubtype = {}));
1092
- var AutomationType;
1093
- (function (AutomationType) {
1094
- AutomationType["CrossAccount"] = "CrossAccount";
1095
- AutomationType["Local"] = "Local";
1096
- })(AutomationType = exports.AutomationType || (exports.AutomationType = {}));
1097
- var ExecutionMode;
1098
- (function (ExecutionMode) {
1099
- ExecutionMode["Auto"] = "Auto";
1100
- ExecutionMode["Interactive"] = "Interactive";
1101
- })(ExecutionMode = exports.ExecutionMode || (exports.ExecutionMode = {}));
1022
+ exports.AssociationExecutionTargetsFilterKey = {
1023
+ ResourceId: "ResourceId",
1024
+ ResourceType: "ResourceType",
1025
+ Status: "Status",
1026
+ };
1027
+ exports.AutomationExecutionFilterKey = {
1028
+ AUTOMATION_SUBTYPE: "AutomationSubtype",
1029
+ AUTOMATION_TYPE: "AutomationType",
1030
+ CURRENT_ACTION: "CurrentAction",
1031
+ DOCUMENT_NAME_PREFIX: "DocumentNamePrefix",
1032
+ EXECUTION_ID: "ExecutionId",
1033
+ EXECUTION_STATUS: "ExecutionStatus",
1034
+ OPS_ITEM_ID: "OpsItemId",
1035
+ PARENT_EXECUTION_ID: "ParentExecutionId",
1036
+ START_TIME_AFTER: "StartTimeAfter",
1037
+ START_TIME_BEFORE: "StartTimeBefore",
1038
+ TAG_KEY: "TagKey",
1039
+ TARGET_RESOURCE_GROUP: "TargetResourceGroup",
1040
+ };
1041
+ exports.AutomationExecutionStatus = {
1042
+ APPROVED: "Approved",
1043
+ CANCELLED: "Cancelled",
1044
+ CANCELLING: "Cancelling",
1045
+ CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved",
1046
+ CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected",
1047
+ COMPLETED_WITH_FAILURE: "CompletedWithFailure",
1048
+ COMPLETED_WITH_SUCCESS: "CompletedWithSuccess",
1049
+ FAILED: "Failed",
1050
+ INPROGRESS: "InProgress",
1051
+ PENDING: "Pending",
1052
+ PENDING_APPROVAL: "PendingApproval",
1053
+ PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride",
1054
+ REJECTED: "Rejected",
1055
+ RUNBOOK_INPROGRESS: "RunbookInProgress",
1056
+ SCHEDULED: "Scheduled",
1057
+ SUCCESS: "Success",
1058
+ TIMEDOUT: "TimedOut",
1059
+ WAITING: "Waiting",
1060
+ };
1061
+ exports.AutomationSubtype = {
1062
+ ChangeRequest: "ChangeRequest",
1063
+ };
1064
+ exports.AutomationType = {
1065
+ CrossAccount: "CrossAccount",
1066
+ Local: "Local",
1067
+ };
1068
+ exports.ExecutionMode = {
1069
+ Auto: "Auto",
1070
+ Interactive: "Interactive",
1071
+ };
1102
1072
  class InvalidFilterKey extends SSMServiceException_1.SSMServiceException {
1103
1073
  constructor(opts) {
1104
1074
  super({
@@ -1140,19 +1110,17 @@ class AutomationExecutionNotFoundException extends SSMServiceException_1.SSMServ
1140
1110
  }
1141
1111
  }
1142
1112
  exports.AutomationExecutionNotFoundException = AutomationExecutionNotFoundException;
1143
- var StepExecutionFilterKey;
1144
- (function (StepExecutionFilterKey) {
1145
- StepExecutionFilterKey["ACTION"] = "Action";
1146
- StepExecutionFilterKey["START_TIME_AFTER"] = "StartTimeAfter";
1147
- StepExecutionFilterKey["START_TIME_BEFORE"] = "StartTimeBefore";
1148
- StepExecutionFilterKey["STEP_EXECUTION_ID"] = "StepExecutionId";
1149
- StepExecutionFilterKey["STEP_EXECUTION_STATUS"] = "StepExecutionStatus";
1150
- StepExecutionFilterKey["STEP_NAME"] = "StepName";
1151
- })(StepExecutionFilterKey = exports.StepExecutionFilterKey || (exports.StepExecutionFilterKey = {}));
1152
- var DocumentPermissionType;
1153
- (function (DocumentPermissionType) {
1154
- DocumentPermissionType["SHARE"] = "Share";
1155
- })(DocumentPermissionType = exports.DocumentPermissionType || (exports.DocumentPermissionType = {}));
1113
+ exports.StepExecutionFilterKey = {
1114
+ ACTION: "Action",
1115
+ START_TIME_AFTER: "StartTimeAfter",
1116
+ START_TIME_BEFORE: "StartTimeBefore",
1117
+ STEP_EXECUTION_ID: "StepExecutionId",
1118
+ STEP_EXECUTION_STATUS: "StepExecutionStatus",
1119
+ STEP_NAME: "StepName",
1120
+ };
1121
+ exports.DocumentPermissionType = {
1122
+ SHARE: "Share",
1123
+ };
1156
1124
  class InvalidPermissionType extends SSMServiceException_1.SSMServiceException {
1157
1125
  constructor(opts) {
1158
1126
  super({
@@ -1167,13 +1135,12 @@ class InvalidPermissionType extends SSMServiceException_1.SSMServiceException {
1167
1135
  }
1168
1136
  }
1169
1137
  exports.InvalidPermissionType = InvalidPermissionType;
1170
- var PatchDeploymentStatus;
1171
- (function (PatchDeploymentStatus) {
1172
- PatchDeploymentStatus["Approved"] = "APPROVED";
1173
- PatchDeploymentStatus["ExplicitApproved"] = "EXPLICIT_APPROVED";
1174
- PatchDeploymentStatus["ExplicitRejected"] = "EXPLICIT_REJECTED";
1175
- PatchDeploymentStatus["PendingApproval"] = "PENDING_APPROVAL";
1176
- })(PatchDeploymentStatus = exports.PatchDeploymentStatus || (exports.PatchDeploymentStatus = {}));
1138
+ exports.PatchDeploymentStatus = {
1139
+ Approved: "APPROVED",
1140
+ ExplicitApproved: "EXPLICIT_APPROVED",
1141
+ ExplicitRejected: "EXPLICIT_REJECTED",
1142
+ PendingApproval: "PENDING_APPROVAL",
1143
+ };
1177
1144
  class UnsupportedOperatingSystem extends SSMServiceException_1.SSMServiceException {
1178
1145
  constructor(opts) {
1179
1146
  super({
@@ -1188,35 +1155,31 @@ class UnsupportedOperatingSystem extends SSMServiceException_1.SSMServiceExcepti
1188
1155
  }
1189
1156
  }
1190
1157
  exports.UnsupportedOperatingSystem = UnsupportedOperatingSystem;
1191
- var InstanceInformationFilterKey;
1192
- (function (InstanceInformationFilterKey) {
1193
- InstanceInformationFilterKey["ACTIVATION_IDS"] = "ActivationIds";
1194
- InstanceInformationFilterKey["AGENT_VERSION"] = "AgentVersion";
1195
- InstanceInformationFilterKey["ASSOCIATION_STATUS"] = "AssociationStatus";
1196
- InstanceInformationFilterKey["IAM_ROLE"] = "IamRole";
1197
- InstanceInformationFilterKey["INSTANCE_IDS"] = "InstanceIds";
1198
- InstanceInformationFilterKey["PING_STATUS"] = "PingStatus";
1199
- InstanceInformationFilterKey["PLATFORM_TYPES"] = "PlatformTypes";
1200
- InstanceInformationFilterKey["RESOURCE_TYPE"] = "ResourceType";
1201
- })(InstanceInformationFilterKey = exports.InstanceInformationFilterKey || (exports.InstanceInformationFilterKey = {}));
1202
- var PingStatus;
1203
- (function (PingStatus) {
1204
- PingStatus["CONNECTION_LOST"] = "ConnectionLost";
1205
- PingStatus["INACTIVE"] = "Inactive";
1206
- PingStatus["ONLINE"] = "Online";
1207
- })(PingStatus = exports.PingStatus || (exports.PingStatus = {}));
1208
- var ResourceType;
1209
- (function (ResourceType) {
1210
- ResourceType["DOCUMENT"] = "Document";
1211
- ResourceType["EC2_INSTANCE"] = "EC2Instance";
1212
- ResourceType["MANAGED_INSTANCE"] = "ManagedInstance";
1213
- })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
1214
- var SourceType;
1215
- (function (SourceType) {
1216
- SourceType["AWS_EC2_INSTANCE"] = "AWS::EC2::Instance";
1217
- SourceType["AWS_IOT_THING"] = "AWS::IoT::Thing";
1218
- SourceType["AWS_SSM_MANAGEDINSTANCE"] = "AWS::SSM::ManagedInstance";
1219
- })(SourceType = exports.SourceType || (exports.SourceType = {}));
1158
+ exports.InstanceInformationFilterKey = {
1159
+ ACTIVATION_IDS: "ActivationIds",
1160
+ AGENT_VERSION: "AgentVersion",
1161
+ ASSOCIATION_STATUS: "AssociationStatus",
1162
+ IAM_ROLE: "IamRole",
1163
+ INSTANCE_IDS: "InstanceIds",
1164
+ PING_STATUS: "PingStatus",
1165
+ PLATFORM_TYPES: "PlatformTypes",
1166
+ RESOURCE_TYPE: "ResourceType",
1167
+ };
1168
+ exports.PingStatus = {
1169
+ CONNECTION_LOST: "ConnectionLost",
1170
+ INACTIVE: "Inactive",
1171
+ ONLINE: "Online",
1172
+ };
1173
+ exports.ResourceType = {
1174
+ DOCUMENT: "Document",
1175
+ EC2_INSTANCE: "EC2Instance",
1176
+ MANAGED_INSTANCE: "ManagedInstance",
1177
+ };
1178
+ exports.SourceType = {
1179
+ AWS_EC2_INSTANCE: "AWS::EC2::Instance",
1180
+ AWS_IOT_THING: "AWS::IoT::Thing",
1181
+ AWS_SSM_MANAGEDINSTANCE: "AWS::SSM::ManagedInstance",
1182
+ };
1220
1183
  class InvalidInstanceInformationFilterValue extends SSMServiceException_1.SSMServiceException {
1221
1184
  constructor(opts) {
1222
1185
  super({
@@ -1230,38 +1193,33 @@ class InvalidInstanceInformationFilterValue extends SSMServiceException_1.SSMSer
1230
1193
  }
1231
1194
  }
1232
1195
  exports.InvalidInstanceInformationFilterValue = InvalidInstanceInformationFilterValue;
1233
- var PatchComplianceDataState;
1234
- (function (PatchComplianceDataState) {
1235
- PatchComplianceDataState["Failed"] = "FAILED";
1236
- PatchComplianceDataState["Installed"] = "INSTALLED";
1237
- PatchComplianceDataState["InstalledOther"] = "INSTALLED_OTHER";
1238
- PatchComplianceDataState["InstalledPendingReboot"] = "INSTALLED_PENDING_REBOOT";
1239
- PatchComplianceDataState["InstalledRejected"] = "INSTALLED_REJECTED";
1240
- PatchComplianceDataState["Missing"] = "MISSING";
1241
- PatchComplianceDataState["NotApplicable"] = "NOT_APPLICABLE";
1242
- })(PatchComplianceDataState = exports.PatchComplianceDataState || (exports.PatchComplianceDataState = {}));
1243
- var PatchOperationType;
1244
- (function (PatchOperationType) {
1245
- PatchOperationType["INSTALL"] = "Install";
1246
- PatchOperationType["SCAN"] = "Scan";
1247
- })(PatchOperationType = exports.PatchOperationType || (exports.PatchOperationType = {}));
1248
- var RebootOption;
1249
- (function (RebootOption) {
1250
- RebootOption["NO_REBOOT"] = "NoReboot";
1251
- RebootOption["REBOOT_IF_NEEDED"] = "RebootIfNeeded";
1252
- })(RebootOption = exports.RebootOption || (exports.RebootOption = {}));
1253
- var InstancePatchStateOperatorType;
1254
- (function (InstancePatchStateOperatorType) {
1255
- InstancePatchStateOperatorType["EQUAL"] = "Equal";
1256
- InstancePatchStateOperatorType["GREATER_THAN"] = "GreaterThan";
1257
- InstancePatchStateOperatorType["LESS_THAN"] = "LessThan";
1258
- InstancePatchStateOperatorType["NOT_EQUAL"] = "NotEqual";
1259
- })(InstancePatchStateOperatorType = exports.InstancePatchStateOperatorType || (exports.InstancePatchStateOperatorType = {}));
1260
- var InventoryDeletionStatus;
1261
- (function (InventoryDeletionStatus) {
1262
- InventoryDeletionStatus["COMPLETE"] = "Complete";
1263
- InventoryDeletionStatus["IN_PROGRESS"] = "InProgress";
1264
- })(InventoryDeletionStatus = exports.InventoryDeletionStatus || (exports.InventoryDeletionStatus = {}));
1196
+ exports.PatchComplianceDataState = {
1197
+ Failed: "FAILED",
1198
+ Installed: "INSTALLED",
1199
+ InstalledOther: "INSTALLED_OTHER",
1200
+ InstalledPendingReboot: "INSTALLED_PENDING_REBOOT",
1201
+ InstalledRejected: "INSTALLED_REJECTED",
1202
+ Missing: "MISSING",
1203
+ NotApplicable: "NOT_APPLICABLE",
1204
+ };
1205
+ exports.PatchOperationType = {
1206
+ INSTALL: "Install",
1207
+ SCAN: "Scan",
1208
+ };
1209
+ exports.RebootOption = {
1210
+ NO_REBOOT: "NoReboot",
1211
+ REBOOT_IF_NEEDED: "RebootIfNeeded",
1212
+ };
1213
+ exports.InstancePatchStateOperatorType = {
1214
+ EQUAL: "Equal",
1215
+ GREATER_THAN: "GreaterThan",
1216
+ LESS_THAN: "LessThan",
1217
+ NOT_EQUAL: "NotEqual",
1218
+ };
1219
+ exports.InventoryDeletionStatus = {
1220
+ COMPLETE: "Complete",
1221
+ IN_PROGRESS: "InProgress",
1222
+ };
1265
1223
  class InvalidDeletionIdException extends SSMServiceException_1.SSMServiceException {
1266
1224
  constructor(opts) {
1267
1225
  super({
@@ -1276,72 +1234,66 @@ class InvalidDeletionIdException extends SSMServiceException_1.SSMServiceExcepti
1276
1234
  }
1277
1235
  }
1278
1236
  exports.InvalidDeletionIdException = InvalidDeletionIdException;
1279
- var MaintenanceWindowExecutionStatus;
1280
- (function (MaintenanceWindowExecutionStatus) {
1281
- MaintenanceWindowExecutionStatus["Cancelled"] = "CANCELLED";
1282
- MaintenanceWindowExecutionStatus["Cancelling"] = "CANCELLING";
1283
- MaintenanceWindowExecutionStatus["Failed"] = "FAILED";
1284
- MaintenanceWindowExecutionStatus["InProgress"] = "IN_PROGRESS";
1285
- MaintenanceWindowExecutionStatus["Pending"] = "PENDING";
1286
- MaintenanceWindowExecutionStatus["SkippedOverlapping"] = "SKIPPED_OVERLAPPING";
1287
- MaintenanceWindowExecutionStatus["Success"] = "SUCCESS";
1288
- MaintenanceWindowExecutionStatus["TimedOut"] = "TIMED_OUT";
1289
- })(MaintenanceWindowExecutionStatus = exports.MaintenanceWindowExecutionStatus || (exports.MaintenanceWindowExecutionStatus = {}));
1290
- var MaintenanceWindowTaskType;
1291
- (function (MaintenanceWindowTaskType) {
1292
- MaintenanceWindowTaskType["Automation"] = "AUTOMATION";
1293
- MaintenanceWindowTaskType["Lambda"] = "LAMBDA";
1294
- MaintenanceWindowTaskType["RunCommand"] = "RUN_COMMAND";
1295
- MaintenanceWindowTaskType["StepFunctions"] = "STEP_FUNCTIONS";
1296
- })(MaintenanceWindowTaskType = exports.MaintenanceWindowTaskType || (exports.MaintenanceWindowTaskType = {}));
1297
- var MaintenanceWindowResourceType;
1298
- (function (MaintenanceWindowResourceType) {
1299
- MaintenanceWindowResourceType["Instance"] = "INSTANCE";
1300
- MaintenanceWindowResourceType["ResourceGroup"] = "RESOURCE_GROUP";
1301
- })(MaintenanceWindowResourceType = exports.MaintenanceWindowResourceType || (exports.MaintenanceWindowResourceType = {}));
1302
- var MaintenanceWindowTaskCutoffBehavior;
1303
- (function (MaintenanceWindowTaskCutoffBehavior) {
1304
- MaintenanceWindowTaskCutoffBehavior["CancelTask"] = "CANCEL_TASK";
1305
- MaintenanceWindowTaskCutoffBehavior["ContinueTask"] = "CONTINUE_TASK";
1306
- })(MaintenanceWindowTaskCutoffBehavior = exports.MaintenanceWindowTaskCutoffBehavior || (exports.MaintenanceWindowTaskCutoffBehavior = {}));
1307
- var OpsItemFilterKey;
1308
- (function (OpsItemFilterKey) {
1309
- OpsItemFilterKey["ACCOUNT_ID"] = "AccountId";
1310
- OpsItemFilterKey["ACTUAL_END_TIME"] = "ActualEndTime";
1311
- OpsItemFilterKey["ACTUAL_START_TIME"] = "ActualStartTime";
1312
- OpsItemFilterKey["AUTOMATION_ID"] = "AutomationId";
1313
- OpsItemFilterKey["CATEGORY"] = "Category";
1314
- OpsItemFilterKey["CHANGE_REQUEST_APPROVER_ARN"] = "ChangeRequestByApproverArn";
1315
- OpsItemFilterKey["CHANGE_REQUEST_APPROVER_NAME"] = "ChangeRequestByApproverName";
1316
- OpsItemFilterKey["CHANGE_REQUEST_REQUESTER_ARN"] = "ChangeRequestByRequesterArn";
1317
- OpsItemFilterKey["CHANGE_REQUEST_REQUESTER_NAME"] = "ChangeRequestByRequesterName";
1318
- OpsItemFilterKey["CHANGE_REQUEST_TARGETS_RESOURCE_GROUP"] = "ChangeRequestByTargetsResourceGroup";
1319
- OpsItemFilterKey["CHANGE_REQUEST_TEMPLATE"] = "ChangeRequestByTemplate";
1320
- OpsItemFilterKey["CREATED_BY"] = "CreatedBy";
1321
- OpsItemFilterKey["CREATED_TIME"] = "CreatedTime";
1322
- OpsItemFilterKey["INSIGHT_TYPE"] = "InsightByType";
1323
- OpsItemFilterKey["LAST_MODIFIED_TIME"] = "LastModifiedTime";
1324
- OpsItemFilterKey["OPERATIONAL_DATA"] = "OperationalData";
1325
- OpsItemFilterKey["OPERATIONAL_DATA_KEY"] = "OperationalDataKey";
1326
- OpsItemFilterKey["OPERATIONAL_DATA_VALUE"] = "OperationalDataValue";
1327
- OpsItemFilterKey["OPSITEM_ID"] = "OpsItemId";
1328
- OpsItemFilterKey["OPSITEM_TYPE"] = "OpsItemType";
1329
- OpsItemFilterKey["PLANNED_END_TIME"] = "PlannedEndTime";
1330
- OpsItemFilterKey["PLANNED_START_TIME"] = "PlannedStartTime";
1331
- OpsItemFilterKey["PRIORITY"] = "Priority";
1332
- OpsItemFilterKey["RESOURCE_ID"] = "ResourceId";
1333
- OpsItemFilterKey["SEVERITY"] = "Severity";
1334
- OpsItemFilterKey["SOURCE"] = "Source";
1335
- OpsItemFilterKey["STATUS"] = "Status";
1336
- OpsItemFilterKey["TITLE"] = "Title";
1337
- })(OpsItemFilterKey = exports.OpsItemFilterKey || (exports.OpsItemFilterKey = {}));
1338
- var OpsItemFilterOperator;
1339
- (function (OpsItemFilterOperator) {
1340
- OpsItemFilterOperator["CONTAINS"] = "Contains";
1341
- OpsItemFilterOperator["EQUAL"] = "Equal";
1342
- OpsItemFilterOperator["GREATER_THAN"] = "GreaterThan";
1343
- OpsItemFilterOperator["LESS_THAN"] = "LessThan";
1344
- })(OpsItemFilterOperator = exports.OpsItemFilterOperator || (exports.OpsItemFilterOperator = {}));
1237
+ exports.MaintenanceWindowExecutionStatus = {
1238
+ Cancelled: "CANCELLED",
1239
+ Cancelling: "CANCELLING",
1240
+ Failed: "FAILED",
1241
+ InProgress: "IN_PROGRESS",
1242
+ Pending: "PENDING",
1243
+ SkippedOverlapping: "SKIPPED_OVERLAPPING",
1244
+ Success: "SUCCESS",
1245
+ TimedOut: "TIMED_OUT",
1246
+ };
1247
+ exports.MaintenanceWindowTaskType = {
1248
+ Automation: "AUTOMATION",
1249
+ Lambda: "LAMBDA",
1250
+ RunCommand: "RUN_COMMAND",
1251
+ StepFunctions: "STEP_FUNCTIONS",
1252
+ };
1253
+ exports.MaintenanceWindowResourceType = {
1254
+ Instance: "INSTANCE",
1255
+ ResourceGroup: "RESOURCE_GROUP",
1256
+ };
1257
+ exports.MaintenanceWindowTaskCutoffBehavior = {
1258
+ CancelTask: "CANCEL_TASK",
1259
+ ContinueTask: "CONTINUE_TASK",
1260
+ };
1261
+ exports.OpsItemFilterKey = {
1262
+ ACCOUNT_ID: "AccountId",
1263
+ ACTUAL_END_TIME: "ActualEndTime",
1264
+ ACTUAL_START_TIME: "ActualStartTime",
1265
+ AUTOMATION_ID: "AutomationId",
1266
+ CATEGORY: "Category",
1267
+ CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn",
1268
+ CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName",
1269
+ CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn",
1270
+ CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName",
1271
+ CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup",
1272
+ CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate",
1273
+ CREATED_BY: "CreatedBy",
1274
+ CREATED_TIME: "CreatedTime",
1275
+ INSIGHT_TYPE: "InsightByType",
1276
+ LAST_MODIFIED_TIME: "LastModifiedTime",
1277
+ OPERATIONAL_DATA: "OperationalData",
1278
+ OPERATIONAL_DATA_KEY: "OperationalDataKey",
1279
+ OPERATIONAL_DATA_VALUE: "OperationalDataValue",
1280
+ OPSITEM_ID: "OpsItemId",
1281
+ OPSITEM_TYPE: "OpsItemType",
1282
+ PLANNED_END_TIME: "PlannedEndTime",
1283
+ PLANNED_START_TIME: "PlannedStartTime",
1284
+ PRIORITY: "Priority",
1285
+ RESOURCE_ID: "ResourceId",
1286
+ SEVERITY: "Severity",
1287
+ SOURCE: "Source",
1288
+ STATUS: "Status",
1289
+ TITLE: "Title",
1290
+ };
1291
+ exports.OpsItemFilterOperator = {
1292
+ CONTAINS: "Contains",
1293
+ EQUAL: "Equal",
1294
+ GREATER_THAN: "GreaterThan",
1295
+ LESS_THAN: "LessThan",
1296
+ };
1345
1297
  const CreateAssociationRequestFilterSensitiveLog = (obj) => ({
1346
1298
  ...obj,
1347
1299
  ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }),