@aws-sdk/client-ssm 3.503.1 → 3.507.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.
@@ -98,6 +98,7 @@ declare const CreateAssociationBatchCommand_base: {
98
98
  * },
99
99
  * ],
100
100
  * ScheduleOffset: Number("int"),
101
+ * Duration: Number("int"),
101
102
  * TargetMaps: [ // TargetMaps
102
103
  * { // TargetMap
103
104
  * "<keys>": [ // TargetMapValueList
@@ -196,6 +197,7 @@ declare const CreateAssociationBatchCommand_base: {
196
197
  * // },
197
198
  * // ],
198
199
  * // ScheduleOffset: Number("int"),
200
+ * // Duration: Number("int"),
199
201
  * // TargetMaps: [ // TargetMaps
200
202
  * // { // TargetMap
201
203
  * // "<keys>": [ // TargetMapValueList
@@ -271,6 +273,7 @@ declare const CreateAssociationBatchCommand_base: {
271
273
  * // },
272
274
  * // ],
273
275
  * // ScheduleOffset: Number("int"),
276
+ * // Duration: Number("int"),
274
277
  * // TargetMaps: [
275
278
  * // {
276
279
  * // "<keys>": [
@@ -99,6 +99,7 @@ declare const CreateAssociationCommand_base: {
99
99
  * },
100
100
  * ],
101
101
  * ScheduleOffset: Number("int"),
102
+ * Duration: Number("int"),
102
103
  * TargetMaps: [ // TargetMaps
103
104
  * { // TargetMap
104
105
  * "<keys>": [ // TargetMapValueList
@@ -200,6 +201,7 @@ declare const CreateAssociationCommand_base: {
200
201
  * // },
201
202
  * // ],
202
203
  * // ScheduleOffset: Number("int"),
204
+ * // Duration: Number("int"),
203
205
  * // TargetMaps: [ // TargetMaps
204
206
  * // { // TargetMap
205
207
  * // "<keys>": [ // TargetMapValueList
@@ -120,6 +120,7 @@ declare const DescribeAssociationCommand_base: {
120
120
  * // },
121
121
  * // ],
122
122
  * // ScheduleOffset: Number("int"),
123
+ * // Duration: Number("int"),
123
124
  * // TargetMaps: [ // TargetMaps
124
125
  * // { // TargetMap
125
126
  * // "<keys>": [ // TargetMapValueList
@@ -27,6 +27,10 @@ declare const DescribeAvailablePatchesCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Lists all patches eligible to be included in a patch baseline.</p>
30
+ * <note>
31
+ * <p>Currently, <code>DescribeAvailablePatches</code> supports only the Amazon Linux 1, Amazon
32
+ * Linux 2, and Windows Server operating systems.</p>
33
+ * </note>
30
34
  * @example
31
35
  * Use a bare-bones client and the command you need to make an API call.
32
36
  * ```javascript
@@ -100,6 +100,7 @@ declare const ListAssociationVersionsCommand_base: {
100
100
  * // },
101
101
  * // ],
102
102
  * // ScheduleOffset: Number("int"),
103
+ * // Duration: Number("int"),
103
104
  * // TargetMaps: [ // TargetMaps
104
105
  * // { // TargetMap
105
106
  * // "<keys>": [ // TargetMapValueList
@@ -74,6 +74,7 @@ declare const ListAssociationsCommand_base: {
74
74
  * // ScheduleExpression: "STRING_VALUE",
75
75
  * // AssociationName: "STRING_VALUE",
76
76
  * // ScheduleOffset: Number("int"),
77
+ * // Duration: Number("int"),
77
78
  * // TargetMaps: [ // TargetMaps
78
79
  * // { // TargetMap
79
80
  * // "<keys>": [ // TargetMapValueList
@@ -110,6 +110,7 @@ declare const UpdateAssociationCommand_base: {
110
110
  * },
111
111
  * ],
112
112
  * ScheduleOffset: Number("int"),
113
+ * Duration: Number("int"),
113
114
  * TargetMaps: [ // TargetMaps
114
115
  * { // TargetMap
115
116
  * "<keys>": [ // TargetMapValueList
@@ -205,6 +206,7 @@ declare const UpdateAssociationCommand_base: {
205
206
  * // },
206
207
  * // ],
207
208
  * // ScheduleOffset: Number("int"),
209
+ * // Duration: Number("int"),
208
210
  * // TargetMaps: [ // TargetMaps
209
211
  * // { // TargetMap
210
212
  * // "<keys>": [ // TargetMapValueList
@@ -127,6 +127,7 @@ declare const UpdateAssociationStatusCommand_base: {
127
127
  * // },
128
128
  * // ],
129
129
  * // ScheduleOffset: Number("int"),
130
+ * // Duration: Number("int"),
130
131
  * // TargetMaps: [ // TargetMaps
131
132
  * // { // TargetMap
132
133
  * // "<keys>": [ // TargetMapValueList
@@ -1085,6 +1085,27 @@ export interface CreateAssociationRequest {
1085
1085
  * </note>
1086
1086
  */
1087
1087
  ScheduleOffset?: number;
1088
+ /**
1089
+ * @public
1090
+ * <p>The number of hours the association can run before it is canceled. Duration applies to
1091
+ * associations that are currently running, and any pending and in progress commands on all targets.
1092
+ * If a target was taken offline for the association to run, it is made available again immediately,
1093
+ * without a reboot. </p>
1094
+ * <p>The <code>Duration</code> parameter applies only when both these conditions are true:</p>
1095
+ * <ul>
1096
+ * <li>
1097
+ * <p>The association for which you specify a duration is cancelable according to the parameters
1098
+ * of the SSM command document or Automation runbook associated with this execution. </p>
1099
+ * </li>
1100
+ * <li>
1101
+ * <p>The command specifies the <code>
1102
+ * <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociation.html#systemsmanager-CreateAssociation-request-ApplyOnlyAtCronInterval">ApplyOnlyAtCronInterval</a>
1103
+ * </code> parameter, which means that the association doesn't
1104
+ * run immediately after it is created, but only according to the specified schedule.</p>
1105
+ * </li>
1106
+ * </ul>
1107
+ */
1108
+ Duration?: number;
1088
1109
  /**
1089
1110
  * @public
1090
1111
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -1332,6 +1353,13 @@ export interface AssociationDescription {
1332
1353
  * <p>Number of days to wait after the scheduled day to run an association.</p>
1333
1354
  */
1334
1355
  ScheduleOffset?: number;
1356
+ /**
1357
+ * @public
1358
+ * <p>The number of hours that an association can run on specified targets. After the resulting
1359
+ * cutoff time passes, associations that are currently running are cancelled, and no pending
1360
+ * executions are started on remaining targets.</p>
1361
+ */
1362
+ Duration?: number;
1335
1363
  /**
1336
1364
  * @public
1337
1365
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -1620,6 +1648,27 @@ export interface CreateAssociationBatchRequestEntry {
1620
1648
  * <p>Number of days to wait after the scheduled day to run an association.</p>
1621
1649
  */
1622
1650
  ScheduleOffset?: number;
1651
+ /**
1652
+ * @public
1653
+ * <p>The number of hours the association can run before it is canceled. Duration applies to
1654
+ * associations that are currently running, and any pending and in progress commands on all targets.
1655
+ * If a target was taken offline for the association to run, it is made available again immediately,
1656
+ * without a reboot. </p>
1657
+ * <p>The <code>Duration</code> parameter applies only when both these conditions are true:</p>
1658
+ * <ul>
1659
+ * <li>
1660
+ * <p>The association for which you specify a duration is cancelable according to the parameters
1661
+ * of the SSM command document or Automation runbook associated with this execution. </p>
1662
+ * </li>
1663
+ * <li>
1664
+ * <p>The command specifies the <code>
1665
+ * <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateAssociationBatchRequestEntry.html#systemsmanager-Type-CreateAssociationBatchRequestEntry-ApplyOnlyAtCronInterval">ApplyOnlyAtCronInterval</a>
1666
+ * </code> parameter, which means that the association doesn't
1667
+ * run immediately after it is created, but only according to the specified schedule.</p>
1668
+ * </li>
1669
+ * </ul>
1670
+ */
1671
+ Duration?: number;
1623
1672
  /**
1624
1673
  * @public
1625
1674
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -1822,7 +1871,7 @@ export interface DocumentRequires {
1822
1871
  /**
1823
1872
  * @public
1824
1873
  * <p>An optional field specifying the version of the artifact associated with the document. For
1825
- * example, "Release 12, Update 6". This value is unique across all versions of a document, and
1874
+ * example, 12.6. This value is unique across all versions of a document, and
1826
1875
  * can't be changed.</p>
1827
1876
  */
1828
1877
  VersionName?: string;
@@ -5661,7 +5710,7 @@ export interface DescribeDocumentRequest {
5661
5710
  /**
5662
5711
  * @public
5663
5712
  * <p>An optional field specifying the version of the artifact associated with the document. For
5664
- * example, "Release 12, Update 6". This value is unique across all versions of a document, and
5713
+ * example, 12.6. This value is unique across all versions of a document, and
5665
5714
  * can't be changed.</p>
5666
5715
  */
5667
5716
  VersionName?: string;
@@ -6514,6 +6563,10 @@ export interface PatchComplianceData {
6514
6563
  * @public
6515
6564
  * <p>The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by
6516
6565
  * the patch.</p>
6566
+ * <note>
6567
+ * <p>Currently, CVE ID values are reported only for patches with a status of
6568
+ * <code>Missing</code> or <code>Failed</code>.</p>
6569
+ * </note>
6517
6570
  */
6518
6571
  CVEIds?: string;
6519
6572
  }
@@ -622,7 +622,8 @@ export interface ParameterMetadata {
622
622
  Type?: ParameterType;
623
623
  /**
624
624
  * @public
625
- * <p>The ID of the query key used for this parameter.</p>
625
+ * <p>The alias of the Key Management Service (KMS) key used to encrypt the
626
+ * parameter. Applies to <code>SecureString</code> parameters only.</p>
626
627
  */
627
628
  KeyId?: string;
628
629
  /**
@@ -1937,8 +1938,7 @@ export interface GetConnectionStatusResponse {
1937
1938
  Target?: string;
1938
1939
  /**
1939
1940
  * @public
1940
- * <p>The status of the connection to the managed node. For example, 'Connected' or 'Not
1941
- * Connected'.</p>
1941
+ * <p>The status of the connection to the managed node.</p>
1942
1942
  */
1943
1943
  Status?: ConnectionStatus;
1944
1944
  }
@@ -2106,7 +2106,7 @@ export interface GetDocumentRequest {
2106
2106
  /**
2107
2107
  * @public
2108
2108
  * <p>An optional field specifying the version of the artifact associated with the document. For
2109
- * example, "Release 12, Update 6". This value is unique across all versions of a document and can't
2109
+ * example, 12.6. This value is unique across all versions of a document and can't
2110
2110
  * be changed.</p>
2111
2111
  */
2112
2112
  VersionName?: string;
@@ -2186,8 +2186,7 @@ export interface GetDocumentResult {
2186
2186
  DisplayName?: string;
2187
2187
  /**
2188
2188
  * @public
2189
- * <p>The version of the artifact associated with the document. For example, "Release 12, Update
2190
- * 6". This value is unique across all versions of a document, and can't be changed.</p>
2189
+ * <p>The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.</p>
2191
2190
  */
2192
2191
  VersionName?: string;
2193
2192
  /**
@@ -3818,7 +3817,8 @@ export interface ParameterHistory {
3818
3817
  Type?: ParameterType;
3819
3818
  /**
3820
3819
  * @public
3821
- * <p>The ID of the query key used for this parameter.</p>
3820
+ * <p>The alias of the Key Management Service (KMS) key used to encrypt the
3821
+ * parameter. Applies to <code>SecureString</code> parameters only</p>
3822
3822
  */
3823
3823
  KeyId?: string;
3824
3824
  /**
@@ -4536,6 +4536,13 @@ export interface Association {
4536
4536
  * <p>Number of days to wait after the scheduled day to run an association.</p>
4537
4537
  */
4538
4538
  ScheduleOffset?: number;
4539
+ /**
4540
+ * @public
4541
+ * <p>The number of hours that an association can run on specified targets. After the resulting
4542
+ * cutoff time passes, associations that are currently running are cancelled, and no pending
4543
+ * executions are started on remaining targets.</p>
4544
+ */
4545
+ Duration?: number;
4539
4546
  /**
4540
4547
  * @public
4541
4548
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -4711,6 +4718,13 @@ export interface AssociationVersionInfo {
4711
4718
  * <p>Number of days to wait after the scheduled day to run an association.</p>
4712
4719
  */
4713
4720
  ScheduleOffset?: number;
4721
+ /**
4722
+ * @public
4723
+ * <p>The number of hours that an association can run on specified targets. After the resulting
4724
+ * cutoff time passes, associations that are currently running are cancelled, and no pending
4725
+ * executions are started on remaining targets.</p>
4726
+ */
4727
+ Duration?: number;
4714
4728
  /**
4715
4729
  * @public
4716
4730
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -6320,7 +6334,7 @@ export interface DocumentIdentifier {
6320
6334
  /**
6321
6335
  * @public
6322
6336
  * <p>An optional field specifying the version of the artifact associated with the document. For
6323
- * example, "Release 12, Update 6". This value is unique across all versions of a document, and
6337
+ * example, 12.6. This value is unique across all versions of a document, and
6324
6338
  * can't be changed.</p>
6325
6339
  */
6326
6340
  VersionName?: string;
@@ -6440,8 +6454,7 @@ export interface DocumentVersionInfo {
6440
6454
  DocumentVersion?: string;
6441
6455
  /**
6442
6456
  * @public
6443
- * <p>The version of the artifact associated with the document. For example, "Release 12, Update
6444
- * 6". This value is unique across all versions of a document, and can't be changed.</p>
6457
+ * <p>The version of the artifact associated with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.</p>
6445
6458
  */
6446
6459
  VersionName?: string;
6447
6460
  /**
@@ -250,6 +250,27 @@ export interface UpdateAssociationRequest {
250
250
  * </note>
251
251
  */
252
252
  ScheduleOffset?: number;
253
+ /**
254
+ * @public
255
+ * <p>The number of hours the association can run before it is canceled. Duration applies to
256
+ * associations that are currently running, and any pending and in progress commands on all targets.
257
+ * If a target was taken offline for the association to run, it is made available again immediately,
258
+ * without a reboot. </p>
259
+ * <p>The <code>Duration</code> parameter applies only when both these conditions are true:</p>
260
+ * <ul>
261
+ * <li>
262
+ * <p>The association for which you specify a duration is cancelable according to the parameters
263
+ * of the SSM command document or Automation runbook associated with this execution. </p>
264
+ * </li>
265
+ * <li>
266
+ * <p>The command specifies the <code>
267
+ * <a href="https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_UpdateAssociation.html#systemsmanager-UpdateAssociation-request-ApplyOnlyAtCronInterval">ApplyOnlyAtCronInterval</a>
268
+ * </code> parameter, which means that the association doesn't
269
+ * run immediately after it is updated, but only according to the specified schedule.</p>
270
+ * </li>
271
+ * </ul>
272
+ */
273
+ Duration?: number;
253
274
  /**
254
275
  * @public
255
276
  * <p>A key-value mapping of document parameters to target resources. Both Targets and TargetMaps
@@ -386,7 +407,7 @@ export interface UpdateDocumentRequest {
386
407
  /**
387
408
  * @public
388
409
  * <p>An optional field specifying the version of the artifact you are updating with the document.
389
- * For example, "Release 12, Update 6". This value is unique across all versions of a document, and
410
+ * For example, 12.6. This value is unique across all versions of a document, and
390
411
  * can't be changed.</p>
391
412
  */
392
413
  VersionName?: string;
@@ -283,6 +283,7 @@ export interface CreateAssociationRequest {
283
283
  CalendarNames?: string[];
284
284
  TargetLocations?: TargetLocation[];
285
285
  ScheduleOffset?: number;
286
+ Duration?: number;
286
287
  TargetMaps?: Record<string, string[]>[];
287
288
  Tags?: Tag[];
288
289
  AlarmConfiguration?: AlarmConfiguration;
@@ -331,6 +332,7 @@ export interface AssociationDescription {
331
332
  CalendarNames?: string[];
332
333
  TargetLocations?: TargetLocation[];
333
334
  ScheduleOffset?: number;
335
+ Duration?: number;
334
336
  TargetMaps?: Record<string, string[]>[];
335
337
  AlarmConfiguration?: AlarmConfiguration;
336
338
  TriggeredAlarms?: AlarmStateInformation[];
@@ -409,6 +411,7 @@ export interface CreateAssociationBatchRequestEntry {
409
411
  CalendarNames?: string[];
410
412
  TargetLocations?: TargetLocation[];
411
413
  ScheduleOffset?: number;
414
+ Duration?: number;
412
415
  TargetMaps?: Record<string, string[]>[];
413
416
  AlarmConfiguration?: AlarmConfiguration;
414
417
  }
@@ -1092,6 +1092,7 @@ export interface Association {
1092
1092
  ScheduleExpression?: string;
1093
1093
  AssociationName?: string;
1094
1094
  ScheduleOffset?: number;
1095
+ Duration?: number;
1095
1096
  TargetMaps?: Record<string, string[]>[];
1096
1097
  }
1097
1098
  export interface ListAssociationsResult {
@@ -1122,6 +1123,7 @@ export interface AssociationVersionInfo {
1122
1123
  CalendarNames?: string[];
1123
1124
  TargetLocations?: TargetLocation[];
1124
1125
  ScheduleOffset?: number;
1126
+ Duration?: number;
1125
1127
  TargetMaps?: Record<string, string[]>[];
1126
1128
  }
1127
1129
  export interface ListAssociationVersionsResult {
@@ -85,6 +85,7 @@ export interface UpdateAssociationRequest {
85
85
  CalendarNames?: string[];
86
86
  TargetLocations?: TargetLocation[];
87
87
  ScheduleOffset?: number;
88
+ Duration?: number;
88
89
  TargetMaps?: Record<string, string[]>[];
89
90
  AlarmConfiguration?: AlarmConfiguration;
90
91
  }
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.503.1",
4
+ "version": "3.507.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ssm",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.502.0",
23
+ "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.503.1",
25
+ "@aws-sdk/credential-provider-node": "3.507.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",