@aws-sdk/client-ssm 3.67.0 → 3.74.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-ssm
9
+
10
+
11
+
12
+
13
+
14
+ # [3.73.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.72.0...v3.73.0) (2022-04-19)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-ssm:** Added offset support for specifying the number of days to wait after the date and time specified by a CRON expression when creating SSM association. ([e8b6d98](https://github.com/aws/aws-sdk-js-v3/commit/e8b6d9840c9163373a387547d9fcd45164d136fd))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-ssm
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-ssm
@@ -8823,6 +8823,8 @@ const serializeAws_json1_1CreateAssociationBatchRequestEntry = (input, context)
8823
8823
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) }),
8824
8824
  ...(input.ScheduleExpression !== undefined &&
8825
8825
  input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
8826
+ ...(input.ScheduleOffset !== undefined &&
8827
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset }),
8826
8828
  ...(input.SyncCompliance !== undefined &&
8827
8829
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance }),
8828
8830
  ...(input.TargetLocations !== undefined &&
@@ -8864,6 +8866,8 @@ const serializeAws_json1_1CreateAssociationRequest = (input, context) => {
8864
8866
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) }),
8865
8867
  ...(input.ScheduleExpression !== undefined &&
8866
8868
  input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
8869
+ ...(input.ScheduleOffset !== undefined &&
8870
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset }),
8867
8871
  ...(input.SyncCompliance !== undefined &&
8868
8872
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance }),
8869
8873
  ...(input.TargetLocations !== undefined &&
@@ -11348,6 +11352,8 @@ const serializeAws_json1_1UpdateAssociationRequest = (input, context) => {
11348
11352
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) }),
11349
11353
  ...(input.ScheduleExpression !== undefined &&
11350
11354
  input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression }),
11355
+ ...(input.ScheduleOffset !== undefined &&
11356
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset }),
11351
11357
  ...(input.SyncCompliance !== undefined &&
11352
11358
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance }),
11353
11359
  ...(input.TargetLocations !== undefined &&
@@ -11675,6 +11681,7 @@ const deserializeAws_json1_1Association = (output, context) => {
11675
11681
  ? deserializeAws_json1_1AssociationOverview(output.Overview, context)
11676
11682
  : undefined,
11677
11683
  ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
11684
+ ScheduleOffset: (0, smithy_client_1.expectInt32)(output.ScheduleOffset),
11678
11685
  Targets: output.Targets !== undefined && output.Targets !== null
11679
11686
  ? deserializeAws_json1_1Targets(output.Targets, context)
11680
11687
  : undefined,
@@ -11721,6 +11728,7 @@ const deserializeAws_json1_1AssociationDescription = (output, context) => {
11721
11728
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
11722
11729
  : undefined,
11723
11730
  ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
11731
+ ScheduleOffset: (0, smithy_client_1.expectInt32)(output.ScheduleOffset),
11724
11732
  Status: output.Status !== undefined && output.Status !== null
11725
11733
  ? deserializeAws_json1_1AssociationStatus(output.Status, context)
11726
11734
  : undefined,
@@ -11877,6 +11885,7 @@ const deserializeAws_json1_1AssociationVersionInfo = (output, context) => {
11877
11885
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
11878
11886
  : undefined,
11879
11887
  ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
11888
+ ScheduleOffset: (0, smithy_client_1.expectInt32)(output.ScheduleOffset),
11880
11889
  SyncCompliance: (0, smithy_client_1.expectString)(output.SyncCompliance),
11881
11890
  TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
11882
11891
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
@@ -12388,6 +12397,7 @@ const deserializeAws_json1_1CreateAssociationBatchRequestEntry = (output, contex
12388
12397
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
12389
12398
  : undefined,
12390
12399
  ScheduleExpression: (0, smithy_client_1.expectString)(output.ScheduleExpression),
12400
+ ScheduleOffset: (0, smithy_client_1.expectInt32)(output.ScheduleOffset),
12391
12401
  SyncCompliance: (0, smithy_client_1.expectString)(output.SyncCompliance),
12392
12402
  TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
12393
12403
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
@@ -11095,7 +11095,7 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntries = function (input,
11095
11095
  });
11096
11096
  };
11097
11097
  var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, context) {
11098
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11098
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11099
11099
  input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
11100
11100
  input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
11101
11101
  input.AutomationTargetParameterName !== null && {
@@ -11111,7 +11111,8 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, co
11111
11111
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
11112
11112
  })), (input.Parameters !== undefined &&
11113
11113
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
11114
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.SyncCompliance !== undefined &&
11114
+ input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
11115
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
11115
11116
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
11116
11117
  input.TargetLocations !== null && {
11117
11118
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
@@ -11119,7 +11120,7 @@ var serializeAws_json1_1CreateAssociationBatchRequestEntry = function (input, co
11119
11120
  input.Targets !== null && { Targets: serializeAws_json1_1Targets(input.Targets, context) }));
11120
11121
  };
11121
11122
  var serializeAws_json1_1CreateAssociationRequest = function (input, context) {
11122
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11123
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
11123
11124
  input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationName !== undefined &&
11124
11125
  input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AutomationTargetParameterName !== undefined &&
11125
11126
  input.AutomationTargetParameterName !== null && {
@@ -11135,7 +11136,8 @@ var serializeAws_json1_1CreateAssociationRequest = function (input, context) {
11135
11136
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
11136
11137
  })), (input.Parameters !== undefined &&
11137
11138
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
11138
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.SyncCompliance !== undefined &&
11139
+ input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
11140
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
11139
11141
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
11140
11142
  input.TargetLocations !== null && {
11141
11143
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
@@ -12815,7 +12817,7 @@ var serializeAws_json1_1UnlabelParameterVersionRequest = function (input, contex
12815
12817
  input.ParameterVersion !== null && { ParameterVersion: input.ParameterVersion }));
12816
12818
  };
12817
12819
  var serializeAws_json1_1UpdateAssociationRequest = function (input, context) {
12818
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
12820
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplyOnlyAtCronInterval !== undefined &&
12819
12821
  input.ApplyOnlyAtCronInterval !== null && { ApplyOnlyAtCronInterval: input.ApplyOnlyAtCronInterval })), (input.AssociationId !== undefined && input.AssociationId !== null && { AssociationId: input.AssociationId })), (input.AssociationName !== undefined &&
12820
12822
  input.AssociationName !== null && { AssociationName: input.AssociationName })), (input.AssociationVersion !== undefined &&
12821
12823
  input.AssociationVersion !== null && { AssociationVersion: input.AssociationVersion })), (input.AutomationTargetParameterName !== undefined &&
@@ -12832,7 +12834,8 @@ var serializeAws_json1_1UpdateAssociationRequest = function (input, context) {
12832
12834
  OutputLocation: serializeAws_json1_1InstanceAssociationOutputLocation(input.OutputLocation, context),
12833
12835
  })), (input.Parameters !== undefined &&
12834
12836
  input.Parameters !== null && { Parameters: serializeAws_json1_1Parameters(input.Parameters, context) })), (input.ScheduleExpression !== undefined &&
12835
- input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.SyncCompliance !== undefined &&
12837
+ input.ScheduleExpression !== null && { ScheduleExpression: input.ScheduleExpression })), (input.ScheduleOffset !== undefined &&
12838
+ input.ScheduleOffset !== null && { ScheduleOffset: input.ScheduleOffset })), (input.SyncCompliance !== undefined &&
12836
12839
  input.SyncCompliance !== null && { SyncCompliance: input.SyncCompliance })), (input.TargetLocations !== undefined &&
12837
12840
  input.TargetLocations !== null && {
12838
12841
  TargetLocations: serializeAws_json1_1TargetLocations(input.TargetLocations, context),
@@ -13055,6 +13058,7 @@ var deserializeAws_json1_1Association = function (output, context) {
13055
13058
  ? deserializeAws_json1_1AssociationOverview(output.Overview, context)
13056
13059
  : undefined,
13057
13060
  ScheduleExpression: __expectString(output.ScheduleExpression),
13061
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
13058
13062
  Targets: output.Targets !== undefined && output.Targets !== null
13059
13063
  ? deserializeAws_json1_1Targets(output.Targets, context)
13060
13064
  : undefined,
@@ -13101,6 +13105,7 @@ var deserializeAws_json1_1AssociationDescription = function (output, context) {
13101
13105
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
13102
13106
  : undefined,
13103
13107
  ScheduleExpression: __expectString(output.ScheduleExpression),
13108
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
13104
13109
  Status: output.Status !== undefined && output.Status !== null
13105
13110
  ? deserializeAws_json1_1AssociationStatus(output.Status, context)
13106
13111
  : undefined,
@@ -13256,6 +13261,7 @@ var deserializeAws_json1_1AssociationVersionInfo = function (output, context) {
13256
13261
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
13257
13262
  : undefined,
13258
13263
  ScheduleExpression: __expectString(output.ScheduleExpression),
13264
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
13259
13265
  SyncCompliance: __expectString(output.SyncCompliance),
13260
13266
  TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
13261
13267
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
@@ -13765,6 +13771,7 @@ var deserializeAws_json1_1CreateAssociationBatchRequestEntry = function (output,
13765
13771
  ? deserializeAws_json1_1Parameters(output.Parameters, context)
13766
13772
  : undefined,
13767
13773
  ScheduleExpression: __expectString(output.ScheduleExpression),
13774
+ ScheduleOffset: __expectInt32(output.ScheduleOffset),
13768
13775
  SyncCompliance: __expectString(output.SyncCompliance),
13769
13776
  TargetLocations: output.TargetLocations !== undefined && output.TargetLocations !== null
13770
13777
  ? deserializeAws_json1_1TargetLocations(output.TargetLocations, context)
@@ -177,7 +177,7 @@ import { SSMClient } from "./SSMClient";
177
177
  export declare class SSM extends SSMClient {
178
178
  /**
179
179
  * <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
180
- * can assign to your documents, managed nodes, maintenance windows, Parameter Store parameters, and
180
+ * can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and
181
181
  * patch baselines. Tags enable you to categorize your resources in different ways, for example, by
182
182
  * purpose, owner, or environment. Each tag consists of a key and an optional value, both of which
183
183
  * you define. For example, you could define a set of tags for your account's managed nodes that
@@ -214,11 +214,11 @@ export declare class SSM extends SSMClient {
214
214
  * </p>
215
215
  * </li>
216
216
  * </ul>
217
- * <p>Each resource can have a maximum of 50 tags.</p>
217
+ * <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags.</p>
218
218
  * <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
219
219
  * Using a consistent set of tag keys makes it easier for you to manage your resources. You can
220
220
  * search and filter the resources based on the tags you add. Tags don't have any semantic meaning
221
- * to and are interpreted strictly as a string of characters. </p>
221
+ * to and are interpreted strictly as a string of characters.</p>
222
222
  * <p>For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging your Amazon EC2
223
223
  * resources</a> in the <i>Amazon EC2 User Guide</i>.</p>
224
224
  */
@@ -8,7 +8,7 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
8
8
  }
9
9
  /**
10
10
  * <p>Adds or overwrites one or more tags for the specified resource. Tags are metadata that you
11
- * can assign to your documents, managed nodes, maintenance windows, Parameter Store parameters, and
11
+ * can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and
12
12
  * patch baselines. Tags enable you to categorize your resources in different ways, for example, by
13
13
  * purpose, owner, or environment. Each tag consists of a key and an optional value, both of which
14
14
  * you define. For example, you could define a set of tags for your account's managed nodes that
@@ -45,11 +45,11 @@ export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult,
45
45
  * </p>
46
46
  * </li>
47
47
  * </ul>
48
- * <p>Each resource can have a maximum of 50 tags.</p>
48
+ * <p>Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags.</p>
49
49
  * <p>We recommend that you devise a set of tag keys that meets your needs for each resource type.
50
50
  * Using a consistent set of tag keys makes it easier for you to manage your resources. You can
51
51
  * search and filter the resources based on the tags you add. Tags don't have any semantic meaning
52
- * to and are interpreted strictly as a string of characters. </p>
52
+ * to and are interpreted strictly as a string of characters.</p>
53
53
  * <p>For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html">Tagging your Amazon EC2
54
54
  * resources</a> in the <i>Amazon EC2 User Guide</i>.</p>
55
55
  * @example
@@ -127,6 +127,9 @@ export interface AddTagsToResourceRequest {
127
127
  * <code>PatchBaseline</code>: <code>pb-012345abcde</code>
128
128
  * </p>
129
129
  * <p>
130
+ * <code>Automation</code>: <code>example-c160-4567-8519-012345abcde</code>
131
+ * </p>
132
+ * <p>
130
133
  * <code>OpsMetadata</code> object: <code>ResourceID</code> for tagging is created from the
131
134
  * Amazon Resource Name (ARN) for the object. Specifically, <code>ResourceID</code> is created from
132
135
  * the strings that come after the word <code>opsmetadata</code> in the ARN. For example, an
@@ -955,6 +958,16 @@ export interface CreateAssociationRequest {
955
958
  * accounts.</p>
956
959
  */
957
960
  TargetLocations?: TargetLocation[];
961
+ /**
962
+ * <p>Number of days to wait after the scheduled day to run an association. For example, if you
963
+ * specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
964
+ * to run the association each Sunday after the second Thursday of the month. For more information about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
965
+ * <note>
966
+ * <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
967
+ * option tells the system not to run an association immediately after you create it. </p>
968
+ * </note>
969
+ */
970
+ ScheduleOffset?: number;
958
971
  }
959
972
  export declare namespace CreateAssociationRequest {
960
973
  /**
@@ -1157,6 +1170,10 @@ export interface AssociationDescription {
1157
1170
  * association.</p>
1158
1171
  */
1159
1172
  TargetLocations?: TargetLocation[];
1173
+ /**
1174
+ * <p>Number of days to wait after the scheduled day to run an association.</p>
1175
+ */
1176
+ ScheduleOffset?: number;
1160
1177
  }
1161
1178
  export declare namespace AssociationDescription {
1162
1179
  /**
@@ -1383,6 +1400,10 @@ export interface CreateAssociationBatchRequestEntry {
1383
1400
  * <p>Use this action to create an association in multiple Regions and multiple accounts.</p>
1384
1401
  */
1385
1402
  TargetLocations?: TargetLocation[];
1403
+ /**
1404
+ * <p>Number of days to wait after the scheduled day to run an association.</p>
1405
+ */
1406
+ ScheduleOffset?: number;
1386
1407
  }
1387
1408
  export declare namespace CreateAssociationBatchRequestEntry {
1388
1409
  /**
@@ -3610,6 +3610,10 @@ export interface Association {
3610
3610
  * <p>The association name.</p>
3611
3611
  */
3612
3612
  AssociationName?: string;
3613
+ /**
3614
+ * <p>Number of days to wait after the scheduled day to run an association.</p>
3615
+ */
3616
+ ScheduleOffset?: number;
3613
3617
  }
3614
3618
  export declare namespace Association {
3615
3619
  /**
@@ -3765,6 +3769,10 @@ export interface AssociationVersionInfo {
3765
3769
  * when this association version was created.</p>
3766
3770
  */
3767
3771
  TargetLocations?: TargetLocation[];
3772
+ /**
3773
+ * <p>Number of days to wait after the scheduled day to run an association.</p>
3774
+ */
3775
+ ScheduleOffset?: number;
3768
3776
  }
3769
3777
  export declare namespace AssociationVersionInfo {
3770
3778
  /**
@@ -7247,6 +7255,9 @@ export interface RemoveTagsFromResourceRequest {
7247
7255
  * <p>The ID of the resource from which you want to remove tags. For example:</p>
7248
7256
  * <p>ManagedInstance: mi-012345abcde</p>
7249
7257
  * <p>MaintenanceWindow: mw-012345abcde</p>
7258
+ * <p>
7259
+ * <code>Automation</code>: <code>example-c160-4567-8519-012345abcde</code>
7260
+ * </p>
7250
7261
  * <p>PatchBaseline: pb-012345abcde</p>
7251
7262
  * <p>OpsMetadata object: <code>ResourceID</code> for tagging is created from the Amazon Resource
7252
7263
  * Name (ARN) for the object. Specifically, <code>ResourceID</code> is created from the strings that
@@ -7815,7 +7826,7 @@ export interface StartAutomationExecutionRequest {
7815
7826
  * </li>
7816
7827
  * </ul>
7817
7828
  * <note>
7818
- * <p>To add tags to an existing patch baseline, use the <a>AddTagsToResource</a>
7829
+ * <p>To add tags to an existing automation, use the <a>AddTagsToResource</a>
7819
7830
  * operation.</p>
7820
7831
  * </note>
7821
7832
  */
@@ -8307,6 +8318,16 @@ export interface UpdateAssociationRequest {
8307
8318
  * accounts.</p>
8308
8319
  */
8309
8320
  TargetLocations?: TargetLocation[];
8321
+ /**
8322
+ * <p>Number of days to wait after the scheduled day to run an association. For example, if you
8323
+ * specified a cron schedule of <code>cron(0 0 ? * THU#2 *)</code>, you could specify an offset of 3
8324
+ * to run the association each Sunday after the second Thursday of the month. For more information about cron schedules for associations, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html">Reference: Cron and rate expressions for Systems Manager</a> in the <i>Amazon Web Services Systems Manager User Guide</i>. </p>
8325
+ * <note>
8326
+ * <p>To use offsets, you must specify the <code>ApplyOnlyAtCronInterval</code> parameter. This
8327
+ * option tells the system not to run an association immediately after you create it. </p>
8328
+ * </note>
8329
+ */
8330
+ ScheduleOffset?: number;
8310
8331
  }
8311
8332
  export declare namespace UpdateAssociationRequest {
8312
8333
  /**
@@ -405,6 +405,8 @@ export interface CreateAssociationRequest {
405
405
  CalendarNames?: string[];
406
406
 
407
407
  TargetLocations?: TargetLocation[];
408
+
409
+ ScheduleOffset?: number;
408
410
  }
409
411
  export declare namespace CreateAssociationRequest {
410
412
 
@@ -497,6 +499,8 @@ export interface AssociationDescription {
497
499
  CalendarNames?: string[];
498
500
 
499
501
  TargetLocations?: TargetLocation[];
502
+
503
+ ScheduleOffset?: number;
500
504
  }
501
505
  export declare namespace AssociationDescription {
502
506
 
@@ -594,6 +598,8 @@ export interface CreateAssociationBatchRequestEntry {
594
598
  CalendarNames?: string[];
595
599
 
596
600
  TargetLocations?: TargetLocation[];
601
+
602
+ ScheduleOffset?: number;
597
603
  }
598
604
  export declare namespace CreateAssociationBatchRequestEntry {
599
605
 
@@ -1714,6 +1714,8 @@ export interface Association {
1714
1714
  ScheduleExpression?: string;
1715
1715
 
1716
1716
  AssociationName?: string;
1717
+
1718
+ ScheduleOffset?: number;
1717
1719
  }
1718
1720
  export declare namespace Association {
1719
1721
 
@@ -1779,6 +1781,8 @@ export interface AssociationVersionInfo {
1779
1781
  CalendarNames?: string[];
1780
1782
 
1781
1783
  TargetLocations?: TargetLocation[];
1784
+
1785
+ ScheduleOffset?: number;
1782
1786
  }
1783
1787
  export declare namespace AssociationVersionInfo {
1784
1788
 
@@ -3673,6 +3677,8 @@ export interface UpdateAssociationRequest {
3673
3677
  CalendarNames?: string[];
3674
3678
 
3675
3679
  TargetLocations?: TargetLocation[];
3680
+
3681
+ ScheduleOffset?: number;
3676
3682
  }
3677
3683
  export declare namespace UpdateAssociationRequest {
3678
3684
 
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.67.0",
4
+ "version": "3.74.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.67.0",
21
+ "@aws-sdk/client-sts": "3.74.0",
22
22
  "@aws-sdk/config-resolver": "3.58.0",
23
- "@aws-sdk/credential-provider-node": "3.67.0",
23
+ "@aws-sdk/credential-provider-node": "3.74.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.58.0",
25
25
  "@aws-sdk/hash-node": "3.55.0",
26
26
  "@aws-sdk/invalid-dependency": "3.55.0",
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/middleware-stack": "3.55.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.58.0",
35
35
  "@aws-sdk/node-config-provider": "3.58.0",
36
- "@aws-sdk/node-http-handler": "3.58.0",
36
+ "@aws-sdk/node-http-handler": "3.74.0",
37
37
  "@aws-sdk/protocol-http": "3.58.0",
38
- "@aws-sdk/smithy-client": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.72.0",
39
39
  "@aws-sdk/types": "3.55.0",
40
40
  "@aws-sdk/url-parser": "3.55.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.58.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.72.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.72.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.58.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.58.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",