@aws-sdk/client-ssm 3.40.0 → 3.44.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 (162) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +12 -6
  3. package/dist-cjs/commands/UpdateDocumentMetadataCommand.js +2 -1
  4. package/dist-cjs/commands/UpdateMaintenanceWindowCommand.js +1 -2
  5. package/dist-cjs/endpoints.js +16 -0
  6. package/dist-cjs/models/models_0.js +43 -24
  7. package/dist-cjs/models/models_1.js +35 -19
  8. package/dist-cjs/models/models_2.js +14 -1
  9. package/dist-cjs/protocols/Aws_json1_1.js +33 -0
  10. package/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -1
  11. package/dist-es/commands/UpdateMaintenanceWindowCommand.js +1 -2
  12. package/dist-es/endpoints.js +16 -0
  13. package/dist-es/models/models_0.js +32 -22
  14. package/dist-es/models/models_1.js +28 -20
  15. package/dist-es/models/models_2.js +8 -0
  16. package/dist-es/protocols/Aws_json1_1.js +43 -15
  17. package/dist-types/SSM.d.ts +87 -81
  18. package/dist-types/SSMClient.d.ts +12 -6
  19. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -6
  20. package/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +1 -1
  21. package/dist-types/commands/CancelCommandCommand.d.ts +1 -1
  22. package/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateActivationCommand.d.ts +7 -7
  24. package/dist-types/commands/CreateAssociationBatchCommand.d.ts +7 -7
  25. package/dist-types/commands/CreateAssociationCommand.d.ts +11 -11
  26. package/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
  27. package/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateOpsItemCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateOpsMetadataCommand.d.ts +1 -1
  30. package/dist-types/commands/CreatePatchBaselineCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteActivationCommand.d.ts +3 -4
  33. package/dist-types/commands/DeleteAssociationCommand.d.ts +5 -5
  34. package/dist-types/commands/DeleteDocumentCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteInventoryCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteOpsMetadataCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteParameterCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteParametersCommand.d.ts +1 -1
  40. package/dist-types/commands/DeletePatchBaselineCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +3 -3
  42. package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +2 -2
  43. package/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
  44. package/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +1 -1
  45. package/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeActivationsCommand.d.ts +2 -2
  47. package/dist-types/commands/DescribeAssociationCommand.d.ts +2 -2
  48. package/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +2 -2
  56. package/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +8 -7
  59. package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -2
  60. package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +2 -2
  61. package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +3 -3
  62. package/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +1 -1
  64. package/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +1 -1
  66. package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -1
  67. package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +1 -1
  69. package/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +2 -2
  71. package/dist-types/commands/DescribeOpsItemsCommand.d.ts +1 -1
  72. package/dist-types/commands/DescribeParametersCommand.d.ts +1 -1
  73. package/dist-types/commands/DescribePatchBaselinesCommand.d.ts +1 -1
  74. package/dist-types/commands/DescribePatchGroupStateCommand.d.ts +1 -1
  75. package/dist-types/commands/DescribePatchGroupsCommand.d.ts +1 -1
  76. package/dist-types/commands/DescribePatchPropertiesCommand.d.ts +1 -1
  77. package/dist-types/commands/DescribeSessionsCommand.d.ts +1 -1
  78. package/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +1 -1
  79. package/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
  80. package/dist-types/commands/GetCalendarStateCommand.d.ts +1 -1
  81. package/dist-types/commands/GetCommandInvocationCommand.d.ts +3 -3
  82. package/dist-types/commands/GetConnectionStatusCommand.d.ts +2 -2
  83. package/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +1 -1
  84. package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -3
  85. package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
  86. package/dist-types/commands/GetInventoryCommand.d.ts +2 -2
  87. package/dist-types/commands/GetInventorySchemaCommand.d.ts +1 -1
  88. package/dist-types/commands/GetMaintenanceWindowCommand.d.ts +1 -1
  89. package/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +1 -1
  90. package/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +1 -1
  91. package/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +1 -1
  92. package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +1 -1
  93. package/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
  94. package/dist-types/commands/GetOpsMetadataCommand.d.ts +1 -1
  95. package/dist-types/commands/GetOpsSummaryCommand.d.ts +1 -1
  96. package/dist-types/commands/GetParameterCommand.d.ts +1 -1
  97. package/dist-types/commands/GetParameterHistoryCommand.d.ts +1 -1
  98. package/dist-types/commands/GetParametersByPathCommand.d.ts +1 -1
  99. package/dist-types/commands/GetParametersCommand.d.ts +1 -1
  100. package/dist-types/commands/GetPatchBaselineCommand.d.ts +1 -1
  101. package/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +1 -1
  102. package/dist-types/commands/GetServiceSettingCommand.d.ts +1 -1
  103. package/dist-types/commands/LabelParameterVersionCommand.d.ts +1 -1
  104. package/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -1
  105. package/dist-types/commands/ListAssociationsCommand.d.ts +2 -2
  106. package/dist-types/commands/ListCommandInvocationsCommand.d.ts +5 -5
  107. package/dist-types/commands/ListCommandsCommand.d.ts +1 -1
  108. package/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
  109. package/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
  110. package/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +1 -1
  111. package/dist-types/commands/ListDocumentVersionsCommand.d.ts +1 -1
  112. package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
  113. package/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
  114. package/dist-types/commands/ListOpsItemEventsCommand.d.ts +1 -1
  115. package/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +1 -1
  116. package/dist-types/commands/ListOpsMetadataCommand.d.ts +1 -1
  117. package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
  118. package/dist-types/commands/ListResourceDataSyncCommand.d.ts +1 -1
  119. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  120. package/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +1 -1
  121. package/dist-types/commands/PutComplianceItemsCommand.d.ts +2 -2
  122. package/dist-types/commands/PutInventoryCommand.d.ts +2 -2
  123. package/dist-types/commands/PutParameterCommand.d.ts +1 -1
  124. package/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +1 -1
  125. package/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
  126. package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
  127. package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
  128. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
  129. package/dist-types/commands/ResetServiceSettingCommand.d.ts +1 -1
  130. package/dist-types/commands/ResumeSessionCommand.d.ts +2 -2
  131. package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  132. package/dist-types/commands/SendCommandCommand.d.ts +2 -2
  133. package/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
  134. package/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
  135. package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
  136. package/dist-types/commands/StartSessionCommand.d.ts +2 -2
  137. package/dist-types/commands/StopAutomationExecutionCommand.d.ts +1 -1
  138. package/dist-types/commands/TerminateSessionCommand.d.ts +2 -2
  139. package/dist-types/commands/UnlabelParameterVersionCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateAssociationCommand.d.ts +1 -1
  141. package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +2 -2
  142. package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
  143. package/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +1 -1
  144. package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -2
  145. package/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -3
  146. package/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +1 -1
  147. package/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +1 -1
  148. package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +3 -3
  149. package/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
  150. package/dist-types/commands/UpdateOpsMetadataCommand.d.ts +1 -1
  151. package/dist-types/commands/UpdatePatchBaselineCommand.d.ts +1 -1
  152. package/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +1 -1
  153. package/dist-types/commands/UpdateServiceSettingCommand.d.ts +1 -1
  154. package/dist-types/models/models_0.d.ts +240 -273
  155. package/dist-types/models/models_1.d.ts +271 -280
  156. package/dist-types/models/models_2.d.ts +100 -13
  157. package/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
  158. package/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +1 -2
  159. package/dist-types/ts3.4/models/models_0.d.ts +34 -44
  160. package/dist-types/ts3.4/models/models_1.d.ts +41 -39
  161. package/dist-types/ts3.4/models/models_2.d.ts +38 -0
  162. package/package.json +4 -4
@@ -1,6 +1,93 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
3
3
  import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
4
+ export interface UpdateDocumentMetadataResponse {
5
+ }
6
+ export declare namespace UpdateDocumentMetadataResponse {
7
+ /**
8
+ * @internal
9
+ */
10
+ const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
11
+ }
12
+ export interface UpdateMaintenanceWindowRequest {
13
+ /**
14
+ * <p>The ID of the maintenance window to update.</p>
15
+ */
16
+ WindowId: string | undefined;
17
+ /**
18
+ * <p>The name of the maintenance window.</p>
19
+ */
20
+ Name?: string;
21
+ /**
22
+ * <p>An optional description for the update request.</p>
23
+ */
24
+ Description?: string;
25
+ /**
26
+ * <p>The time zone that the scheduled maintenance window executions are based on, in Internet
27
+ * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or
28
+ * "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time
29
+ * Zone Database</a> on the IANA website.</p>
30
+ */
31
+ StartDate?: string;
32
+ /**
33
+ * <p>The date and time, in ISO-8601 Extended format, for when you want the maintenance window to
34
+ * become inactive. <code>EndDate</code> allows you to set a date and time in the future when the
35
+ * maintenance window will no longer run.</p>
36
+ */
37
+ EndDate?: string;
38
+ /**
39
+ * <p>The schedule of the maintenance window in the form of a cron or rate expression.</p>
40
+ */
41
+ Schedule?: string;
42
+ /**
43
+ * <p>The time zone that the scheduled maintenance window executions are based on, in Internet
44
+ * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or
45
+ * "Asia/Seoul". For more information, see the <a href="https://www.iana.org/time-zones">Time
46
+ * Zone Database</a> on the IANA website.</p>
47
+ */
48
+ ScheduleTimezone?: string;
49
+ /**
50
+ * <p>The number of days to wait after the date and time specified by a cron expression before
51
+ * running the maintenance window.</p>
52
+ * <p>For example, the following cron expression schedules a maintenance window to run the third
53
+ * Tuesday of every month at 11:30 PM.</p>
54
+ * <p>
55
+ * <code>cron(30 23 ? * TUE#3 *)</code>
56
+ * </p>
57
+ * <p>If the schedule offset is <code>2</code>, the maintenance window won't run until two days
58
+ * later.</p>
59
+ */
60
+ ScheduleOffset?: number;
61
+ /**
62
+ * <p>The duration of the maintenance window in hours.</p>
63
+ */
64
+ Duration?: number;
65
+ /**
66
+ * <p>The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling
67
+ * new tasks for execution.</p>
68
+ */
69
+ Cutoff?: number;
70
+ /**
71
+ * <p>Whether targets must be registered with the maintenance window before tasks can be defined
72
+ * for those targets.</p>
73
+ */
74
+ AllowUnassociatedTargets?: boolean;
75
+ /**
76
+ * <p>Whether the maintenance window is enabled.</p>
77
+ */
78
+ Enabled?: boolean;
79
+ /**
80
+ * <p>If <code>True</code>, then all fields that are required by the <a>CreateMaintenanceWindow</a> operation are also required for this API request. Optional
81
+ * fields that aren't specified are set to null. </p>
82
+ */
83
+ Replace?: boolean;
84
+ }
85
+ export declare namespace UpdateMaintenanceWindowRequest {
86
+ /**
87
+ * @internal
88
+ */
89
+ const filterSensitiveLog: (obj: UpdateMaintenanceWindowRequest) => any;
90
+ }
4
91
  export interface UpdateMaintenanceWindowResult {
5
92
  /**
6
93
  * <p>The ID of the created maintenance window.</p>
@@ -145,9 +232,9 @@ export interface UpdateMaintenanceWindowTaskRequest {
145
232
  */
146
233
  WindowTaskId: string | undefined;
147
234
  /**
148
- * <p>The targets (either instances or tags) to modify. Instances are specified using the format
149
- * <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using the
150
- * format <code> Key=tag_name,Values=tag_value</code>. </p>
235
+ * <p>The targets (either managed nodes or tags) to modify. Managed nodes are specified using the
236
+ * format <code>Key=instanceids,Values=instanceID_1,instanceID_2</code>. Tags are specified using
237
+ * the format <code> Key=tag_name,Values=tag_value</code>. </p>
151
238
  * <note>
152
239
  * <p>One or more targets must be specified for maintenance window Run Command-type tasks.
153
240
  * Depending on the task, targets are optional for other maintenance window task types (Automation,
@@ -386,7 +473,7 @@ export declare namespace UpdateMaintenanceWindowTaskResult {
386
473
  }
387
474
  export interface UpdateManagedInstanceRoleRequest {
388
475
  /**
389
- * <p>The ID of the managed instance where you want to update the role.</p>
476
+ * <p>The ID of the managed node where you want to update the role.</p>
390
477
  */
391
478
  InstanceId: string | undefined;
392
479
  /**
@@ -593,8 +680,8 @@ export interface UpdatePatchBaselineRequest {
593
680
  ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
594
681
  /**
595
682
  * <p>Indicates whether the list of approved patches includes non-security updates that should be
596
- * applied to the instances. The default value is <code>false</code>. Applies to Linux instances
597
- * only.</p>
683
+ * applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
684
+ * nodes only.</p>
598
685
  */
599
686
  ApprovedPatchesEnableNonSecurity?: boolean;
600
687
  /**
@@ -635,8 +722,8 @@ export interface UpdatePatchBaselineRequest {
635
722
  */
636
723
  Description?: string;
637
724
  /**
638
- * <p>Information about the patches to use to update the instances, including target operating
639
- * systems and source repositories. Applies to Linux instances only.</p>
725
+ * <p>Information about the patches to use to update the managed nodes, including target operating
726
+ * systems and source repositories. Applies to Linux managed nodes only.</p>
640
727
  */
641
728
  Sources?: PatchSource[];
642
729
  /**
@@ -684,8 +771,8 @@ export interface UpdatePatchBaselineResult {
684
771
  ApprovedPatchesComplianceLevel?: PatchComplianceLevel | string;
685
772
  /**
686
773
  * <p>Indicates whether the list of approved patches includes non-security updates that should be
687
- * applied to the instances. The default value is <code>false</code>. Applies to Linux instances
688
- * only.</p>
774
+ * applied to the managed nodes. The default value is <code>false</code>. Applies to Linux managed
775
+ * nodes only.</p>
689
776
  */
690
777
  ApprovedPatchesEnableNonSecurity?: boolean;
691
778
  /**
@@ -711,8 +798,8 @@ export interface UpdatePatchBaselineResult {
711
798
  */
712
799
  Description?: string;
713
800
  /**
714
- * <p>Information about the patches to use to update the instances, including target operating
715
- * systems and source repositories. Applies to Linux instances only.</p>
801
+ * <p>Information about the patches to use to update the managed nodes, including target operating
802
+ * systems and source repositories. Applies to Linux managed nodes only.</p>
716
803
  */
717
804
  Sources?: PatchSource[];
718
805
  }
@@ -944,7 +1031,7 @@ export interface GetInventoryRequest {
944
1031
  /**
945
1032
  * <p>Returns counts of inventory types based on one or more expressions. For example, if you
946
1033
  * aggregate by using an expression that uses the <code>AWS:InstanceInformation.PlatformType</code>
947
- * type, you can see a count of how many Windows and Linux instances exist in your inventoried
1034
+ * type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried
948
1035
  * fleet.</p>
949
1036
  */
950
1037
  Aggregators?: InventoryAggregator[];
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { UpdateDocumentMetadataRequest, UpdateDocumentMetadataResponse } from "../models/models_1";
3
+ import { UpdateDocumentMetadataRequest } from "../models/models_1";
4
+ import { UpdateDocumentMetadataResponse } from "../models/models_2";
4
5
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
5
6
  export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest {
6
7
  }
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { UpdateMaintenanceWindowRequest } from "../models/models_1";
4
- import { UpdateMaintenanceWindowResult } from "../models/models_2";
3
+ import { UpdateMaintenanceWindowRequest, UpdateMaintenanceWindowResult } from "../models/models_2";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
6
5
  export interface UpdateMaintenanceWindowCommandInput extends UpdateMaintenanceWindowRequest {
7
6
  }
@@ -272,6 +272,17 @@ export declare namespace DoesNotExistException {
272
272
 
273
273
  const filterSensitiveLog: (obj: DoesNotExistException) => any;
274
274
  }
275
+
276
+ export interface RegistrationMetadataItem {
277
+
278
+ Key: string | undefined;
279
+
280
+ Value: string | undefined;
281
+ }
282
+ export declare namespace RegistrationMetadataItem {
283
+
284
+ const filterSensitiveLog: (obj: RegistrationMetadataItem) => any;
285
+ }
275
286
  export interface CreateActivationRequest {
276
287
 
277
288
  Description?: string;
@@ -285,6 +296,8 @@ export interface CreateActivationRequest {
285
296
  ExpirationDate?: Date;
286
297
 
287
298
  Tags?: Tag[];
299
+
300
+ RegistrationMetadata?: RegistrationMetadataItem[];
288
301
  }
289
302
  export declare namespace CreateActivationRequest {
290
303
 
@@ -301,6 +314,16 @@ export declare namespace CreateActivationResult {
301
314
  const filterSensitiveLog: (obj: CreateActivationResult) => any;
302
315
  }
303
316
 
317
+ export interface InvalidParameters extends __SmithyException, $MetadataBearer {
318
+ name: "InvalidParameters";
319
+ $fault: "client";
320
+ Message?: string;
321
+ }
322
+ export declare namespace InvalidParameters {
323
+
324
+ const filterSensitiveLog: (obj: InvalidParameters) => any;
325
+ }
326
+
304
327
  export interface AssociationAlreadyExists extends __SmithyException, $MetadataBearer {
305
328
  name: "AssociationAlreadyExists";
306
329
  $fault: "client";
@@ -550,16 +573,6 @@ export declare namespace InvalidOutputLocation {
550
573
  const filterSensitiveLog: (obj: InvalidOutputLocation) => any;
551
574
  }
552
575
 
553
- export interface InvalidParameters extends __SmithyException, $MetadataBearer {
554
- name: "InvalidParameters";
555
- $fault: "client";
556
- Message?: string;
557
- }
558
- export declare namespace InvalidParameters {
559
-
560
- const filterSensitiveLog: (obj: InvalidParameters) => any;
561
- }
562
-
563
576
  export interface InvalidSchedule extends __SmithyException, $MetadataBearer {
564
577
  name: "InvalidSchedule";
565
578
  $fault: "client";
@@ -767,6 +780,7 @@ export declare namespace DocumentParameter {
767
780
  }
768
781
  export declare enum PlatformType {
769
782
  LINUX = "Linux",
783
+ MACOS = "MacOS",
770
784
  WINDOWS = "Windows"
771
785
  }
772
786
  export declare enum ReviewStatus {
@@ -1218,6 +1232,7 @@ export declare enum OperatingSystem {
1218
1232
  Debian = "DEBIAN",
1219
1233
  MacOS = "MACOS",
1220
1234
  OracleLinux = "ORACLE_LINUX",
1235
+ Raspbian = "RASPBIAN",
1221
1236
  RedhatEnterpriseLinux = "REDHAT_ENTERPRISE_LINUX",
1222
1237
  Suse = "SUSE",
1223
1238
  Ubuntu = "UBUNTU",
@@ -2776,6 +2791,11 @@ export declare enum ResourceType {
2776
2791
  EC2_INSTANCE = "EC2Instance",
2777
2792
  MANAGED_INSTANCE = "ManagedInstance"
2778
2793
  }
2794
+ export declare enum SourceType {
2795
+ AWS_EC2_INSTANCE = "AWS::EC2::Instance",
2796
+ AWS_IOT_THING = "AWS::IoT::Thing",
2797
+ AWS_SSM_MANAGEDINSTANCE = "AWS::SSM::ManagedInstance"
2798
+ }
2779
2799
 
2780
2800
  export interface InstanceInformation {
2781
2801
 
@@ -2816,6 +2836,10 @@ export interface InstanceInformation {
2816
2836
  LastSuccessfulAssociationExecutionDate?: Date;
2817
2837
 
2818
2838
  AssociationOverview?: InstanceAggregatedAssociationOverview;
2839
+
2840
+ SourceId?: string;
2841
+
2842
+ SourceType?: SourceType | string;
2819
2843
  }
2820
2844
  export declare namespace InstanceInformation {
2821
2845
 
@@ -3710,37 +3734,3 @@ export declare enum ParameterTier {
3710
3734
  INTELLIGENT_TIERING = "Intelligent-Tiering",
3711
3735
  STANDARD = "Standard"
3712
3736
  }
3713
- export declare enum ParameterType {
3714
- SECURE_STRING = "SecureString",
3715
- STRING = "String",
3716
- STRING_LIST = "StringList"
3717
- }
3718
-
3719
- export interface ParameterMetadata {
3720
-
3721
- Name?: string;
3722
-
3723
- Type?: ParameterType | string;
3724
-
3725
- KeyId?: string;
3726
-
3727
- LastModifiedDate?: Date;
3728
-
3729
- LastModifiedUser?: string;
3730
-
3731
- Description?: string;
3732
-
3733
- AllowedPattern?: string;
3734
-
3735
- Version?: number;
3736
-
3737
- Tier?: ParameterTier | string;
3738
-
3739
- Policies?: ParameterInlinePolicy[];
3740
-
3741
- DataType?: string;
3742
- }
3743
- export declare namespace ParameterMetadata {
3744
-
3745
- const filterSensitiveLog: (obj: ParameterMetadata) => any;
3746
- }
@@ -1,5 +1,39 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterMetadata, ParameterStringFilter, ParameterTier, ParameterType, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
2
+ import { AssociationComplianceSeverity, AssociationDescription, AssociationOverview, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, AutomationExecutionStatus, AutomationSubtype, DocumentDescription, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, ParameterInlinePolicy, ParameterStringFilter, ParameterTier, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
3
+ export declare enum ParameterType {
4
+ SECURE_STRING = "SecureString",
5
+ STRING = "String",
6
+ STRING_LIST = "StringList"
7
+ }
8
+
9
+ export interface ParameterMetadata {
10
+
11
+ Name?: string;
12
+
13
+ Type?: ParameterType | string;
14
+
15
+ KeyId?: string;
16
+
17
+ LastModifiedDate?: Date;
18
+
19
+ LastModifiedUser?: string;
20
+
21
+ Description?: string;
22
+
23
+ AllowedPattern?: string;
24
+
25
+ Version?: number;
26
+
27
+ Tier?: ParameterTier | string;
28
+
29
+ Policies?: ParameterInlinePolicy[];
30
+
31
+ DataType?: string;
32
+ }
33
+ export declare namespace ParameterMetadata {
34
+
35
+ const filterSensitiveLog: (obj: ParameterMetadata) => any;
36
+ }
3
37
  export interface DescribeParametersResult {
4
38
 
5
39
  Parameters?: ParameterMetadata[];
@@ -244,9 +278,13 @@ export interface Session {
244
278
 
245
279
  Owner?: string;
246
280
 
281
+ Reason?: string;
282
+
247
283
  Details?: string;
248
284
 
249
285
  OutputUrl?: SessionManagerOutputUrl;
286
+
287
+ MaxSessionDuration?: string;
250
288
  }
251
289
  export declare namespace Session {
252
290
 
@@ -3604,6 +3642,8 @@ export interface StartSessionRequest {
3604
3642
 
3605
3643
  DocumentName?: string;
3606
3644
 
3645
+ Reason?: string;
3646
+
3607
3647
  Parameters?: {
3608
3648
  [key: string]: string[];
3609
3649
  };
@@ -3921,41 +3961,3 @@ export declare namespace UpdateDocumentMetadataRequest {
3921
3961
 
3922
3962
  const filterSensitiveLog: (obj: UpdateDocumentMetadataRequest) => any;
3923
3963
  }
3924
- export interface UpdateDocumentMetadataResponse {
3925
- }
3926
- export declare namespace UpdateDocumentMetadataResponse {
3927
-
3928
- const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
3929
- }
3930
- export interface UpdateMaintenanceWindowRequest {
3931
-
3932
- WindowId: string | undefined;
3933
-
3934
- Name?: string;
3935
-
3936
- Description?: string;
3937
-
3938
- StartDate?: string;
3939
-
3940
- EndDate?: string;
3941
-
3942
- Schedule?: string;
3943
-
3944
- ScheduleTimezone?: string;
3945
-
3946
- ScheduleOffset?: number;
3947
-
3948
- Duration?: number;
3949
-
3950
- Cutoff?: number;
3951
-
3952
- AllowUnassociatedTargets?: boolean;
3953
-
3954
- Enabled?: boolean;
3955
-
3956
- Replace?: boolean;
3957
- }
3958
- export declare namespace UpdateMaintenanceWindowRequest {
3959
-
3960
- const filterSensitiveLog: (obj: UpdateMaintenanceWindowRequest) => any;
3961
- }
@@ -1,6 +1,44 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
2
  import { LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, OpsItemStatus, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target } from "./models_0";
3
3
  import { InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsResultAttribute, ResultAttribute } from "./models_1";
4
+ export interface UpdateDocumentMetadataResponse {
5
+ }
6
+ export declare namespace UpdateDocumentMetadataResponse {
7
+
8
+ const filterSensitiveLog: (obj: UpdateDocumentMetadataResponse) => any;
9
+ }
10
+ export interface UpdateMaintenanceWindowRequest {
11
+
12
+ WindowId: string | undefined;
13
+
14
+ Name?: string;
15
+
16
+ Description?: string;
17
+
18
+ StartDate?: string;
19
+
20
+ EndDate?: string;
21
+
22
+ Schedule?: string;
23
+
24
+ ScheduleTimezone?: string;
25
+
26
+ ScheduleOffset?: number;
27
+
28
+ Duration?: number;
29
+
30
+ Cutoff?: number;
31
+
32
+ AllowUnassociatedTargets?: boolean;
33
+
34
+ Enabled?: boolean;
35
+
36
+ Replace?: boolean;
37
+ }
38
+ export declare namespace UpdateMaintenanceWindowRequest {
39
+
40
+ const filterSensitiveLog: (obj: UpdateMaintenanceWindowRequest) => any;
41
+ }
4
42
  export interface UpdateMaintenanceWindowResult {
5
43
 
6
44
  WindowId?: string;
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.40.0",
4
+ "version": "3.44.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.43.0",
25
25
  "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
26
+ "@aws-sdk/credential-provider-node": "3.41.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -38,7 +38,7 @@
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",