Skip to content

Commit 5f08c96

Browse files
author
awstools
committed
feat(client-ssm): Support of AmazonLinux2022 by Patch Manager
1 parent f64188c commit 5f08c96

File tree

3 files changed

+62
-31
lines changed

3 files changed

+62
-31
lines changed

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

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,8 +1136,10 @@ export interface CreateAssociationRequest {
11361136
TargetMaps?: Record<string, string[]>[];
11371137

11381138
/**
1139-
* <p>Optional metadata that you assign to a resource. Tags enable you to categorize a resource in
1140-
* different ways, such as by purpose, owner, or environment. For example, you might want to tag an association to identify the type of resource to which it applies, the environment, or the purpose of the association.</p>
1139+
* <p>Adds or overwrites one or more tags for a State Manager association. <i>Tags</i>
1140+
* are metadata that you can assign to your Amazon Web Services resources. Tags enable you to categorize your
1141+
* resources in different ways, for example, by purpose, owner, or environment. Each tag consists of
1142+
* a key and an optional value, both of which you define. </p>
11411143
*/
11421144
Tags?: Tag[];
11431145

@@ -1474,7 +1476,7 @@ export class InvalidSchedule extends __BaseException {
14741476
}
14751477

14761478
/**
1477-
* <p>The tag key or value isn't valid.</p>
1479+
* <p>The specified tag key or value isn't valid.</p>
14781480
*/
14791481
export class InvalidTag extends __BaseException {
14801482
readonly name: "InvalidTag" = "InvalidTag";
@@ -2971,6 +2973,7 @@ export interface PatchRuleGroup {
29712973
export enum OperatingSystem {
29722974
AmazonLinux = "AMAZON_LINUX",
29732975
AmazonLinux2 = "AMAZON_LINUX_2",
2976+
AmazonLinux2022 = "AMAZON_LINUX_2022",
29742977
CentOS = "CENTOS",
29752978
Debian = "DEBIAN",
29762979
MacOS = "MACOS",
@@ -5821,18 +5824,36 @@ export interface DescribeInstanceAssociationsStatusResult {
58215824
*/
58225825
export interface InstanceInformationStringFilter {
58235826
/**
5824-
* <p>The filter key name to describe your managed nodes. For example:</p>
5825-
* <p>"InstanceIds" | "AgentVersion" | "PingStatus" | "PlatformTypes" | "ActivationIds" |
5826-
* "IamRole" | "ResourceType" | "AssociationStatus" | "tag-key" | "tag:<code>{keyname}</code>
5827+
* <p>The filter key name to describe your managed nodes.</p>
5828+
* <p>Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole |
5829+
* InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" |
5830+
* "tag:<code>{keyname}</code>
58275831
* </p>
5828-
* <important>
5829-
* <p>
5830-
* <code>Tag Key</code> isn't a valid filter. You must specify either <code>tag-key</code> or
5831-
* <code>tag:{keyname}</code> and a string. Here are some valid examples: <code>tag-key</code>,
5832-
* <code>tag:123</code>, <code>tag:al!</code>, <code>tag:Windows</code>. Here are some
5833-
* <i>invalid</i> examples: <code>tag-keys</code>, <code>Tag Key</code>,
5834-
* <code>tag:</code>, <code>tagKey</code>, <code>abc:keyname</code>.</p>
5835-
* </important>
5832+
* <ul>
5833+
* <li>
5834+
* <p>Valid values for the <code>AssociationStatus</code> filter key: Success | Pending |
5835+
* Failed</p>
5836+
* </li>
5837+
* <li>
5838+
* <p>Valid values for the <code>PingStatus</code> filter key: Online | ConnectionLost |
5839+
* Inactive (deprecated)</p>
5840+
* </li>
5841+
* <li>
5842+
* <p>Valid values for the <code>PlatformType</code> filter key: Windows | Linux | MacOS</p>
5843+
* </li>
5844+
* <li>
5845+
* <p>Valid values for the <code>ResourceType</code> filter key: EC2Instance |
5846+
* ManagedInstance</p>
5847+
* </li>
5848+
* <li>
5849+
* <p>Valid values for the <code>SourceType</code> filter key: AWS::EC2::Instance |
5850+
* AWS::SSM::ManagedInstance | AWS::IoT::Thing</p>
5851+
* </li>
5852+
* <li>
5853+
* <p>Valid tag examples: <code>Key=tag-key,Values=Purpose</code> |
5854+
* <code>Key=tag:Purpose,Values=Test</code>.</p>
5855+
* </li>
5856+
* </ul>
58365857
*/
58375858
Key: string | undefined;
58385859

@@ -6440,23 +6461,23 @@ export interface InstancePatchState {
64406461
RebootOption?: RebootOption | string;
64416462

64426463
/**
6443-
* <p>The number of managed nodes where patches that are specified as <code>Critical</code> for
6464+
* <p>The number of patches per node that are specified as <code>Critical</code> for
64446465
* compliance reporting in the patch baseline aren't installed. These patches might be missing, have
64456466
* failed installation, were rejected, or were installed but awaiting a required managed node
64466467
* reboot. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
64476468
*/
64486469
CriticalNonCompliantCount?: number;
64496470

64506471
/**
6451-
* <p>The number of managed nodes where patches that are specified as <code>Security</code> in a
6472+
* <p>The number of patches per node that are specified as <code>Security</code> in a
64526473
* patch advisory aren't installed. These patches might be missing, have failed installation, were
64536474
* rejected, or were installed but awaiting a required managed node reboot. The status of these
64546475
* managed nodes is <code>NON_COMPLIANT</code>.</p>
64556476
*/
64566477
SecurityNonCompliantCount?: number;
64576478

64586479
/**
6459-
* <p>The number of managed nodes with patches installed that are specified as other than
6480+
* <p>The number of patches per node that are specified as other than
64606481
* <code>Critical</code> or <code>Security</code> but aren't compliant with the patch baseline. The
64616482
* status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
64626483
*/
@@ -7439,7 +7460,7 @@ export enum MaintenanceWindowTaskCutoffBehavior {
74397460
*/
74407461
export interface LoggingInfo {
74417462
/**
7442-
* <p>The name of an S3 bucket where execution logs are stored .</p>
7463+
* <p>The name of an S3 bucket where execution logs are stored.</p>
74437464
*/
74447465
S3BucketName: string | undefined;
74457466

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6243,9 +6243,11 @@ export interface ListTagsForResourceResult {
62436243
}
62446244

62456245
/**
6246-
* <p>The document can't be shared with more Amazon Web Services user accounts. You can share a document
6247-
* with a maximum of 20 accounts. You can publicly share up to five documents. If you need to
6248-
* increase this limit, contact Amazon Web Services Support.</p>
6246+
* <p>The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of 20 accounts per API operation to share a private document.</p>
6247+
*
6248+
* <p>By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.</p>
6249+
*
6250+
* <p>If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.</p>
62496251
*/
62506252
export class DocumentPermissionLimit extends __BaseException {
62516253
readonly name: "DocumentPermissionLimit" = "DocumentPermissionLimit";
@@ -8368,7 +8370,9 @@ export interface StartSessionResponse {
83688370
SessionId?: string;
83698371

83708372
/**
8371-
* <p>An encrypted token value containing session and caller information. This token is used to authenticate the connection to the managed node, and is valid only long enough to ensure the connection is successful. Never share your session's token.</p>
8373+
* <p>An encrypted token value containing session and caller information. This token is used to
8374+
* authenticate the connection to the managed node, and is valid only long enough to ensure the
8375+
* connection is successful. Never share your session's token.</p>
83728376
*/
83738377
TokenValue?: string;
83748378

codegen/sdk-codegen/aws-models/ssm.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5008,7 +5008,7 @@
50085008
"Tags": {
50095009
"target": "com.amazonaws.ssm#TagList",
50105010
"traits": {
5011-
"smithy.api#documentation": "<p>Optional metadata that you assign to a resource. Tags enable you to categorize a resource in\n different ways, such as by purpose, owner, or environment. For example, you might want to tag an association to identify the type of resource to which it applies, the environment, or the purpose of the association.</p>"
5011+
"smithy.api#documentation": "<p>Adds or overwrites one or more tags for a State Manager association. <i>Tags</i>\n are metadata that you can assign to your Amazon Web Services resources. Tags enable you to categorize your\n resources in different ways, for example, by purpose, owner, or environment. Each tag consists of\n a key and an optional value, both of which you define. </p>"
50125012
}
50135013
},
50145014
"AlarmConfiguration": {
@@ -9567,7 +9567,7 @@
95679567
"code": "DocumentPermissionLimit",
95689568
"httpResponseCode": 400
95699569
},
9570-
"smithy.api#documentation": "<p>The document can't be shared with more Amazon Web Services user accounts. You can share a document\n with a maximum of 20 accounts. You can publicly share up to five documents. If you need to\n increase this limit, contact Amazon Web Services Support.</p>",
9570+
"smithy.api#documentation": "<p>The document can't be shared with more Amazon Web Services user accounts. You can specify a maximum of 20 accounts per API operation to share a private document.</p>\n\n <p>By default, you can share a private document with a maximum of 1,000 accounts and publicly share up to five documents.</p>\n \n <p>If you need to increase the quota for privately or publicly shared Systems Manager documents, contact Amazon Web Services Support.</p>",
95719571
"smithy.api#error": "client"
95729572
}
95739573
},
@@ -13087,7 +13087,7 @@
1308713087
"Key": {
1308813088
"target": "com.amazonaws.ssm#InstanceInformationStringFilterKey",
1308913089
"traits": {
13090-
"smithy.api#documentation": "<p>The filter key name to describe your managed nodes. For example:</p>\n <p>\"InstanceIds\" | \"AgentVersion\" | \"PingStatus\" | \"PlatformTypes\" | \"ActivationIds\" |\n \"IamRole\" | \"ResourceType\" | \"AssociationStatus\" | \"tag-key\" | \"tag:<code>{keyname}</code>\n </p>\n <important>\n <p>\n <code>Tag Key</code> isn't a valid filter. You must specify either <code>tag-key</code> or\n <code>tag:{keyname}</code> and a string. Here are some valid examples: <code>tag-key</code>,\n <code>tag:123</code>, <code>tag:al!</code>, <code>tag:Windows</code>. Here are some\n <i>invalid</i> examples: <code>tag-keys</code>, <code>Tag Key</code>,\n <code>tag:</code>, <code>tagKey</code>, <code>abc:keyname</code>.</p>\n </important>",
13090+
"smithy.api#documentation": "<p>The filter key name to describe your managed nodes.</p>\n <p>Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole |\n InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | \"tag-key\" |\n \"tag:<code>{keyname}</code>\n </p>\n <ul>\n <li>\n <p>Valid values for the <code>AssociationStatus</code> filter key: Success | Pending |\n Failed</p>\n </li>\n <li>\n <p>Valid values for the <code>PingStatus</code> filter key: Online | ConnectionLost |\n Inactive (deprecated)</p>\n </li>\n <li>\n <p>Valid values for the <code>PlatformType</code> filter key: Windows | Linux | MacOS</p>\n </li>\n <li>\n <p>Valid values for the <code>ResourceType</code> filter key: EC2Instance |\n ManagedInstance</p>\n </li>\n <li>\n <p>Valid values for the <code>SourceType</code> filter key: AWS::EC2::Instance |\n AWS::SSM::ManagedInstance | AWS::IoT::Thing</p>\n </li>\n <li>\n <p>Valid tag examples: <code>Key=tag-key,Values=Purpose</code> |\n <code>Key=tag:Purpose,Values=Test</code>.</p>\n </li>\n </ul>",
1309113091
"smithy.api#required": {}
1309213092
}
1309313093
},
@@ -13260,21 +13260,21 @@
1326013260
"target": "com.amazonaws.ssm#PatchCriticalNonCompliantCount",
1326113261
"traits": {
1326213262
"smithy.api#default": null,
13263-
"smithy.api#documentation": "<p>The number of managed nodes where patches that are specified as <code>Critical</code> for\n compliance reporting in the patch baseline aren't installed. These patches might be missing, have\n failed installation, were rejected, or were installed but awaiting a required managed node\n reboot. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>"
13263+
"smithy.api#documentation": "<p>The number of patches per node that are specified as <code>Critical</code> for\n compliance reporting in the patch baseline aren't installed. These patches might be missing, have\n failed installation, were rejected, or were installed but awaiting a required managed node\n reboot. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>"
1326413264
}
1326513265
},
1326613266
"SecurityNonCompliantCount": {
1326713267
"target": "com.amazonaws.ssm#PatchSecurityNonCompliantCount",
1326813268
"traits": {
1326913269
"smithy.api#default": null,
13270-
"smithy.api#documentation": "<p>The number of managed nodes where patches that are specified as <code>Security</code> in a\n patch advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required managed node reboot. The status of these\n managed nodes is <code>NON_COMPLIANT</code>.</p>"
13270+
"smithy.api#documentation": "<p>The number of patches per node that are specified as <code>Security</code> in a\n patch advisory aren't installed. These patches might be missing, have failed installation, were\n rejected, or were installed but awaiting a required managed node reboot. The status of these\n managed nodes is <code>NON_COMPLIANT</code>.</p>"
1327113271
}
1327213272
},
1327313273
"OtherNonCompliantCount": {
1327413274
"target": "com.amazonaws.ssm#PatchOtherNonCompliantCount",
1327513275
"traits": {
1327613276
"smithy.api#default": null,
13277-
"smithy.api#documentation": "<p>The number of managed nodes with patches installed that are specified as other than\n <code>Critical</code> or <code>Security</code> but aren't compliant with the patch baseline. The\n status of these managed nodes is <code>NON_COMPLIANT</code>.</p>"
13277+
"smithy.api#documentation": "<p>The number of patches per node that are specified as other than\n <code>Critical</code> or <code>Security</code> but aren't compliant with the patch baseline. The\n status of these managed nodes is <code>NON_COMPLIANT</code>.</p>"
1327813278
}
1327913279
}
1328013280
},
@@ -14134,7 +14134,7 @@
1413414134
"code": "InvalidTag",
1413514135
"httpResponseCode": 400
1413614136
},
14137-
"smithy.api#documentation": "<p>The tag key or value isn't valid.</p>",
14137+
"smithy.api#documentation": "<p>The specified tag key or value isn't valid.</p>",
1413814138
"smithy.api#error": "client"
1413914139
}
1414014140
},
@@ -16328,7 +16328,7 @@
1632816328
"S3BucketName": {
1632916329
"target": "com.amazonaws.ssm#S3BucketName",
1633016330
"traits": {
16331-
"smithy.api#documentation": "<p>The name of an S3 bucket where execution logs are stored .</p>",
16331+
"smithy.api#documentation": "<p>The name of an S3 bucket where execution logs are stored.</p>",
1633216332
"smithy.api#required": {}
1633316333
}
1633416334
},
@@ -17856,6 +17856,12 @@
1785617856
"smithy.api#enumValue": "AMAZON_LINUX_2"
1785717857
}
1785817858
},
17859+
"AmazonLinux2022": {
17860+
"target": "smithy.api#Unit",
17861+
"traits": {
17862+
"smithy.api#enumValue": "AMAZON_LINUX_2022"
17863+
}
17864+
},
1785917865
"Ubuntu": {
1786017866
"target": "smithy.api#Unit",
1786117867
"traits": {
@@ -24880,7 +24886,7 @@
2488024886
"TokenValue": {
2488124887
"target": "com.amazonaws.ssm#TokenValue",
2488224888
"traits": {
24883-
"smithy.api#documentation": "<p>An encrypted token value containing session and caller information. This token is used to authenticate the connection to the managed node, and is valid only long enough to ensure the connection is successful. Never share your session's token.</p>"
24889+
"smithy.api#documentation": "<p>An encrypted token value containing session and caller information. This token is used to\n authenticate the connection to the managed node, and is valid only long enough to ensure the\n connection is successful. Never share your session's token.</p>"
2488424890
}
2488524891
},
2488624892
"StreamUrl": {

0 commit comments

Comments
 (0)