@aws-sdk/client-ssm 3.503.1 → 3.504.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/commands/CreateAssociationBatchCommand.d.ts +3 -0
- package/dist-types/commands/CreateAssociationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAssociationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +4 -0
- package/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAssociationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +55 -2
- package/dist-types/models/models_1.d.ts +23 -10
- package/dist-types/models/models_2.d.ts +22 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +1 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -11635,6 +11635,7 @@ var de_Association = /* @__PURE__ */ __name((output, context) => {
|
|
|
11635
11635
|
AssociationName: import_smithy_client.expectString,
|
|
11636
11636
|
AssociationVersion: import_smithy_client.expectString,
|
|
11637
11637
|
DocumentVersion: import_smithy_client.expectString,
|
|
11638
|
+
Duration: import_smithy_client.expectInt32,
|
|
11638
11639
|
InstanceId: import_smithy_client.expectString,
|
|
11639
11640
|
LastExecutionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11640
11641
|
Name: import_smithy_client.expectString,
|
|
@@ -11657,6 +11658,7 @@ var de_AssociationDescription = /* @__PURE__ */ __name((output, context) => {
|
|
|
11657
11658
|
ComplianceSeverity: import_smithy_client.expectString,
|
|
11658
11659
|
Date: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11659
11660
|
DocumentVersion: import_smithy_client.expectString,
|
|
11661
|
+
Duration: import_smithy_client.expectInt32,
|
|
11660
11662
|
InstanceId: import_smithy_client.expectString,
|
|
11661
11663
|
LastExecutionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11662
11664
|
LastSuccessfulExecutionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -11746,6 +11748,7 @@ var de_AssociationVersionInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
11746
11748
|
ComplianceSeverity: import_smithy_client.expectString,
|
|
11747
11749
|
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
11748
11750
|
DocumentVersion: import_smithy_client.expectString,
|
|
11751
|
+
Duration: import_smithy_client.expectInt32,
|
|
11749
11752
|
MaxConcurrency: import_smithy_client.expectString,
|
|
11750
11753
|
MaxErrors: import_smithy_client.expectString,
|
|
11751
11754
|
Name: import_smithy_client.expectString,
|
|
@@ -7869,6 +7869,7 @@ const de_Association = (output, context) => {
|
|
|
7869
7869
|
AssociationName: __expectString,
|
|
7870
7870
|
AssociationVersion: __expectString,
|
|
7871
7871
|
DocumentVersion: __expectString,
|
|
7872
|
+
Duration: __expectInt32,
|
|
7872
7873
|
InstanceId: __expectString,
|
|
7873
7874
|
LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7874
7875
|
Name: __expectString,
|
|
@@ -7891,6 +7892,7 @@ const de_AssociationDescription = (output, context) => {
|
|
|
7891
7892
|
ComplianceSeverity: __expectString,
|
|
7892
7893
|
Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7893
7894
|
DocumentVersion: __expectString,
|
|
7895
|
+
Duration: __expectInt32,
|
|
7894
7896
|
InstanceId: __expectString,
|
|
7895
7897
|
LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7896
7898
|
LastSuccessfulExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -7988,6 +7990,7 @@ const de_AssociationVersionInfo = (output, context) => {
|
|
|
7988
7990
|
ComplianceSeverity: __expectString,
|
|
7989
7991
|
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7990
7992
|
DocumentVersion: __expectString,
|
|
7993
|
+
Duration: __expectInt32,
|
|
7991
7994
|
MaxConcurrency: __expectString,
|
|
7992
7995
|
MaxErrors: __expectString,
|
|
7993
7996
|
Name: __expectString,
|
|
@@ -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
|
|
@@ -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,
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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,
|
|
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
|
|
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,
|
|
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,
|
|
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,
|
|
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 {
|
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.
|
|
4
|
+
"version": "3.504.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.
|
|
23
|
+
"@aws-sdk/client-sts": "3.504.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.504.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",
|