Skip to content

Commit 28ef4d2

Browse files
author
awstools
committed
feat(client-ssm): This Patch Manager release supports creating, updating, and deleting Patch Baselines for Rocky Linux OS.
1 parent 62b49fc commit 28ef4d2

File tree

5 files changed

+57
-28
lines changed

5 files changed

+57
-28
lines changed

clients/client-ssm/src/SSM.ts

+13-7
Original file line numberDiff line numberDiff line change
@@ -3321,13 +3321,14 @@ export class SSM extends SSMClient {
33213321
}
33223322

33233323
/**
3324-
* <p>Lists the tasks in a maintenance window.</p>
3325-
* <note>
3326-
* <p>For maintenance window tasks without a specified target, you can't supply values for
3327-
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
3328-
* placeholder value of <code>1</code>, which may be reported in the response to this command.
3329-
* These values don't affect the running of your task and can be ignored.</p>
3330-
* </note>
3324+
* <p>Retrieves the details of a maintenance window task.</p>
3325+
* <note>
3326+
* <p>For maintenance window tasks without a specified target, you can't supply values for
3327+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
3328+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
3329+
* These values don't affect the running of your task and can be ignored.</p>
3330+
* </note>
3331+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
33313332
*/
33323333
public getMaintenanceWindowTask(
33333334
args: GetMaintenanceWindowTaskCommandInput,
@@ -5157,6 +5158,11 @@ export class SSM extends SSMClient {
51575158

51585159
/**
51595160
* <p>Set the default version of a document. </p>
5161+
* <note>
5162+
* <p>If you change a document version for a State Manager association, Systems Manager immediately runs
5163+
* the association unless you previously specifed the <code>apply-only-at-cron-interval</code>
5164+
* parameter.</p>
5165+
* </note>
51605166
*/
51615167
public updateDocumentDefaultVersion(
51625168
args: UpdateDocumentDefaultVersionCommandInput,

clients/client-ssm/src/commands/GetMaintenanceWindowTaskCommand.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ export interface GetMaintenanceWindowTaskCommandInput extends GetMaintenanceWind
2222
export interface GetMaintenanceWindowTaskCommandOutput extends GetMaintenanceWindowTaskResult, __MetadataBearer {}
2323

2424
/**
25-
* <p>Lists the tasks in a maintenance window.</p>
26-
* <note>
27-
* <p>For maintenance window tasks without a specified target, you can't supply values for
28-
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
29-
* placeholder value of <code>1</code>, which may be reported in the response to this command.
30-
* These values don't affect the running of your task and can be ignored.</p>
31-
* </note>
25+
* <p>Retrieves the details of a maintenance window task.</p>
26+
* <note>
27+
* <p>For maintenance window tasks without a specified target, you can't supply values for
28+
* <code>--max-errors</code> and <code>--max-concurrency</code>. Instead, the system inserts a
29+
* placeholder value of <code>1</code>, which may be reported in the response to this command.
30+
* These values don't affect the running of your task and can be ignored.</p>
31+
* </note>
32+
* <p>To retrieve a list of tasks in a maintenance window, instead use the <a>DescribeMaintenanceWindowTasks</a> command.</p>
3233
* @example
3334
* Use a bare-bones client and the command you need to make an API call.
3435
* ```javascript

clients/client-ssm/src/commands/UpdateDocumentDefaultVersionCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ export interface UpdateDocumentDefaultVersionCommandOutput
2525

2626
/**
2727
* <p>Set the default version of a document. </p>
28+
* <note>
29+
* <p>If you change a document version for a State Manager association, Systems Manager immediately runs
30+
* the association unless you previously specifed the <code>apply-only-at-cron-interval</code>
31+
* parameter.</p>
32+
* </note>
2833
* @example
2934
* Use a bare-bones client and the command you need to make an API call.
3035
* ```javascript

clients/client-ssm/src/models/models_0.ts

+2
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export namespace Activation {
122122
}
123123

124124
export enum ResourceTypeForTagging {
125+
AUTOMATION = "Automation",
125126
DOCUMENT = "Document",
126127
MAINTENANCE_WINDOW = "MaintenanceWindow",
127128
MANAGED_INSTANCE = "ManagedInstance",
@@ -3265,6 +3266,7 @@ export enum OperatingSystem {
32653266
OracleLinux = "ORACLE_LINUX",
32663267
Raspbian = "RASPBIAN",
32673268
RedhatEnterpriseLinux = "REDHAT_ENTERPRISE_LINUX",
3269+
Rocky_Linux = "ROCKY_LINUX",
32683270
Suse = "SUSE",
32693271
Ubuntu = "UBUNTU",
32703272
Windows = "WINDOWS",

clients/client-ssm/src/models/models_1.ts

+29-14
Original file line numberDiff line numberDiff line change
@@ -4104,7 +4104,8 @@ export interface GetPatchBaselineForPatchGroupRequest {
41044104
PatchGroup: string | undefined;
41054105

41064106
/**
4107-
* <p>Returns he operating system rule specified for patch groups using the patch baseline.</p>
4107+
* <p>Returns the operating system rule specified for patch groups using the patch
4108+
* baseline.</p>
41084109
*/
41094110
OperatingSystem?: OperatingSystem | string;
41104111
}
@@ -4476,7 +4477,10 @@ export interface Association {
44764477
AssociationVersion?: string;
44774478

44784479
/**
4479-
* <p>The version of the document used in the association.</p>
4480+
* <p>The version of the document used in the association. If you change a document version for a
4481+
* State Manager association, Systems Manager immediately runs the association unless you previously specifed
4482+
* the <code>apply-only-at-cron-interval</code> parameter.</p>
4483+
*
44804484
* <important>
44814485
* <p>State Manager doesn't support running associations that use a new version of a document if
44824486
* that document is shared from another account. State Manager always runs the <code>default</code>
@@ -8268,13 +8272,10 @@ export interface PutParameterRequest {
82688272
* </ul>
82698273
* <p>For additional information about valid values for parameter names, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html">Creating Systems Manager parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
82708274
* <note>
8271-
* <p>The maximum length constraint listed below includes capacity for additional system
8272-
* attributes that aren't part of the name. The maximum length for a parameter name, including the
8273-
* full length of the parameter ARN, is 1011 characters. For example, the length of the following
8274-
* parameter name is 65 characters, not 20 characters:</p>
8275-
* <p>
8276-
* <code>arn:aws:ssm:us-east-2:111122223333:parameter/ExampleParameterName</code>
8277-
* </p>
8275+
* <p>The maximum length constraint of 2048 characters listed below includes 1037 characters
8276+
* reserved for internal use by Systems Manager. The maximum length for a parameter name that you create is
8277+
* 1011 characters. This includes the characters in the ARN that precede the name you specify, such
8278+
* as <code>arn:aws:ssm:us-east-2:111122223333:parameter/</code>.</p>
82788279
* </note>
82798280
*/
82808281
Name: string | undefined;
@@ -9895,7 +9896,8 @@ export interface StartSessionRequest {
98959896
Reason?: string;
98969897

98979898
/**
9898-
* <p>Reserved for future use.</p>
9899+
* <p>The values you want to specify for the parameters defined in the Session
9900+
* document.</p>
98999901
*/
99009902
Parameters?: { [key: string]: string[] };
99019903
}
@@ -10283,10 +10285,18 @@ export interface UpdateAssociationRequest {
1028310285
* updated and then according to the schedule you specified. Specify this option if you don't want
1028410286
* an association to run immediately after you update it. This parameter isn't supported for rate
1028510287
* expressions.</p>
10286-
* <p>Also, if you specified this option when you created the association, you can reset it. To do
10287-
* so, specify the <code>no-apply-only-at-cron-interval</code> parameter when you update the
10288-
* association from the command line. This parameter forces the association to run immediately after
10289-
* updating it and according to the interval specified.</p>
10288+
*
10289+
* <p>If you chose this option when you created an association and later you edit that association
10290+
* or you make changes to the SSM document on which that association is based (by using the
10291+
* Documents page in the console), State Manager applies the association at the next specified cron
10292+
* interval. For example, if you chose the <code>Latest</code> version of an SSM document when you
10293+
* created an association and you edit the association by choosing a different document version on
10294+
* the Documents page, State Manager applies the association at the next specified cron interval if
10295+
* you previously selected this option. If this option wasn't selected, State Manager immediately
10296+
* runs the association.</p>
10297+
* <p>You can reset this option. To do so, specify the <code>no-apply-only-at-cron-interval</code>
10298+
* parameter when you update the association from the command line. This parameter forces the
10299+
* association to run immediately after updating it and according to the interval specified.</p>
1029010300
*/
1029110301
ApplyOnlyAtCronInterval?: boolean;
1029210302

@@ -10499,6 +10509,11 @@ export interface UpdateDocumentRequest {
1049910509
* <p>The version of the document that you want to update. Currently, Systems Manager supports updating only
1050010510
* the latest version of the document. You can specify the version number of the latest version or
1050110511
* use the <code>$LATEST</code> variable.</p>
10512+
* <note>
10513+
* <p>If you change a document version for a State Manager association, Systems Manager immediately runs
10514+
* the association unless you previously specifed the <code>apply-only-at-cron-interval</code>
10515+
* parameter.</p>
10516+
* </note>
1050210517
*/
1050310518
DocumentVersion?: string;
1050410519

0 commit comments

Comments
 (0)