Skip to content

Commit

Permalink
feat(client-ssm): This release updates the enum values for ResourceTy…
Browse files Browse the repository at this point in the history
…pe in SSM DescribeInstanceInformation input and ConnectionStatus in GetConnectionStatus output.
  • Loading branch information
awstools committed Sep 25, 2023
1 parent c591b7c commit c1d80c2
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 30 deletions.
2 changes: 1 addition & 1 deletion clients/client-ssm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ operations at scale.</p>
</p>
<ul>
<li>
<p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
<p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
</li>
<li>
<p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
Expand Down
2 changes: 1 addition & 1 deletion clients/client-ssm/src/SSM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3065,7 +3065,7 @@ export interface SSM {
* </p>
* <ul>
* <li>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* </li>
* <li>
* <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
Expand Down
2 changes: 1 addition & 1 deletion clients/client-ssm/src/SSMClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {}
* </p>
* <ul>
* <li>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* </li>
* <li>
* <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export interface DescribeInstanceInformationCommandOutput extends DescribeInstan
* // ActivationId: "STRING_VALUE",
* // IamRole: "STRING_VALUE",
* // RegistrationDate: new Date("TIMESTAMP"),
* // ResourceType: "ManagedInstance" || "Document" || "EC2Instance",
* // ResourceType: "ManagedInstance" || "EC2Instance",
* // Name: "STRING_VALUE",
* // IPAddress: "STRING_VALUE",
* // ComputerName: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface GetConnectionStatusCommandOutput extends GetConnectionStatusRes
* const response = await client.send(command);
* // { // GetConnectionStatusResponse
* // Target: "STRING_VALUE",
* // Status: "Connected" || "NotConnected",
* // Status: "connected" || "notconnected",
* // };
*
* ```
Expand Down
2 changes: 1 addition & 1 deletion clients/client-ssm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* </p>
* <ul>
* <li>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* <p>For information about each of the capabilities that comprise Systems Manager, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
* </li>
* <li>
* <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the
Expand Down
10 changes: 7 additions & 3 deletions clients/client-ssm/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3064,7 +3064,12 @@ export interface RelatedOpsItem {
export interface CreateOpsItemRequest {
/**
* @public
* <p>Information about the OpsItem. </p>
* <p>User-defined text that contains information about the OpsItem, in Markdown format.
* </p>
* <note>
* <p>Provide enough information so that users viewing this OpsItem for the first time
* understand the issue. </p>
* </note>
*/
Description: string | undefined;

Expand All @@ -3087,7 +3092,7 @@ export interface CreateOpsItemRequest {
* </li>
* <li>
* <p>
* <code>/aws/insights</code>
* <code>/aws/insight</code>
* </p>
* <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
* OpsItems. </p>
Expand Down Expand Up @@ -7353,7 +7358,6 @@ export type PingStatus = (typeof PingStatus)[keyof typeof PingStatus];
* @enum
*/
export const ResourceType = {
DOCUMENT: "Document",
EC2_INSTANCE: "EC2Instance",
MANAGED_INSTANCE: "ManagedInstance",
} as const;
Expand Down
8 changes: 4 additions & 4 deletions clients/client-ssm/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export interface OpsItemSummary {
* </li>
* <li>
* <p>
* <code>/aws/insights</code>
* <code>/aws/insight</code>
* </p>
* <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
* OpsItems. </p>
Expand Down Expand Up @@ -2028,8 +2028,8 @@ export interface GetConnectionStatusRequest {
* @enum
*/
export const ConnectionStatus = {
CONNECTED: "Connected",
NOT_CONNECTED: "NotConnected",
CONNECTED: "connected",
NOT_CONNECTED: "notconnected",
} as const;

/**
Expand Down Expand Up @@ -3696,7 +3696,7 @@ export interface OpsItem {
* </li>
* <li>
* <p>
* <code>/aws/insights</code>
* <code>/aws/insight</code>
* </p>
* <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
* OpsItems. </p>
Expand Down
3 changes: 1 addition & 2 deletions clients/client-ssm/src/models/models_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,7 @@ export interface UpdateManagedInstanceRoleResult {}
export interface UpdateOpsItemRequest {
/**
* @public
* <p>Update the information about the OpsItem. Provide enough information so that users reading
* this OpsItem for the first time understand the issue. </p>
* <p>User-defined text that contains information about the OpsItem, in Markdown format. </p>
*/
Description?: string;

Expand Down
24 changes: 9 additions & 15 deletions codegen/sdk-codegen/aws-models/ssm.json
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
"name": "ssm"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure\n end-to-end management solution for hybrid cloud environments that enables safe and secure\n operations at scale.</p>\n <p>This reference is intended to be used with the <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/\">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html\">Setting up Amazon Web Services Systems Manager</a>.</p>\n <p class=\"title\">\n <b>Related resources</b>\n </p>\n <ul>\n <li>\n <p>For information about each of the capabilities that comprise Systems Manager, see <a href=\"https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html\">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>\n </li>\n <li>\n <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the\n <i>\n <a href=\"https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-runbook-reference.html\">Systems Manager Automation runbook reference</a>\n </i>.</p>\n </li>\n <li>\n <p>For information about AppConfig, a capability of Systems Manager, see the <i>\n <a href=\"https://docs.aws.amazon.com/appconfig/latest/userguide/\">AppConfig User Guide</a>\n </i>\n and the <i>\n <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/\">AppConfig\n API Reference</a>\n </i>.</p>\n </li>\n <li>\n <p>For information about Incident Manager, a capability of Systems Manager, see the <i>\n <a href=\"https://docs.aws.amazon.com/incident-manager/latest/userguide/\">Systems Manager Incident Manager User\n Guide</a>\n </i> and the <i>\n <a href=\"https://docs.aws.amazon.com/incident-manager/latest/APIReference/\">Systems Manager Incident Manager API\n Reference</a>\n </i>.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure\n end-to-end management solution for hybrid cloud environments that enables safe and secure\n operations at scale.</p>\n <p>This reference is intended to be used with the <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/\">Amazon Web Services Systems Manager User Guide</a>. To get started, see <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html\">Setting up Amazon Web Services Systems Manager</a>.</p>\n <p class=\"title\">\n <b>Related resources</b>\n </p>\n <ul>\n <li>\n <p>For information about each of the capabilities that comprise Systems Manager, see <a href=\"https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities\">Systems Manager capabilities</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>\n </li>\n <li>\n <p>For details about predefined runbooks for Automation, a capability of Amazon Web Services Systems Manager, see the\n <i>\n <a href=\"https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-runbook-reference.html\">Systems Manager Automation runbook reference</a>\n </i>.</p>\n </li>\n <li>\n <p>For information about AppConfig, a capability of Systems Manager, see the <i>\n <a href=\"https://docs.aws.amazon.com/appconfig/latest/userguide/\">AppConfig User Guide</a>\n </i>\n and the <i>\n <a href=\"https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/\">AppConfig\n API Reference</a>\n </i>.</p>\n </li>\n <li>\n <p>For information about Incident Manager, a capability of Systems Manager, see the <i>\n <a href=\"https://docs.aws.amazon.com/incident-manager/latest/userguide/\">Systems Manager Incident Manager User\n Guide</a>\n </i> and the <i>\n <a href=\"https://docs.aws.amazon.com/incident-manager/latest/APIReference/\">Systems Manager Incident Manager API\n Reference</a>\n </i>.</p>\n </li>\n </ul>",
"smithy.api#title": "Amazon Simple Systems Manager (SSM)",
"smithy.api#xmlNamespace": {
"uri": "http://ssm.amazonaws.com/doc/2014-11-06/"
Expand Down Expand Up @@ -5566,13 +5566,13 @@
"CONNECTED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "Connected"
"smithy.api#enumValue": "connected"
}
},
"NOT_CONNECTED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NotConnected"
"smithy.api#enumValue": "notconnected"
}
}
}
Expand Down Expand Up @@ -6369,14 +6369,14 @@
"Description": {
"target": "com.amazonaws.ssm#OpsItemDescription",
"traits": {
"smithy.api#documentation": "<p>Information about the OpsItem. </p>",
"smithy.api#documentation": "<p>User-defined text that contains information about the OpsItem, in Markdown format.\n </p>\n <note>\n <p>Provide enough information so that users viewing this OpsItem for the first time \n understand the issue. </p>\n </note>",
"smithy.api#required": {}
}
},
"OpsItemType": {
"target": "com.amazonaws.ssm#OpsItemType",
"traits": {
"smithy.api#documentation": "<p>The type of OpsItem to create. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insights</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The type of OpsItem to create. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insight</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
}
},
"OperationalData": {
Expand Down Expand Up @@ -20113,7 +20113,7 @@
"OpsItemType": {
"target": "com.amazonaws.ssm#OpsItemType",
"traits": {
"smithy.api#documentation": "<p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insights</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insight</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
}
},
"CreatedTime": {
Expand Down Expand Up @@ -21313,7 +21313,7 @@
"OpsItemType": {
"target": "com.amazonaws.ssm#OpsItemType",
"traits": {
"smithy.api#documentation": "<p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insights</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The type of OpsItem. Systems Manager supports the following types of OpsItems:</p>\n <ul>\n <li>\n <p>\n <code>/aws/issue</code>\n </p>\n <p>This type of OpsItem is used for default OpsItems created by OpsCenter. </p>\n </li>\n <li>\n <p>\n <code>/aws/changerequest</code>\n </p>\n <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change\n requests. </p>\n </li>\n <li>\n <p>\n <code>/aws/insight</code>\n </p>\n <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate\n OpsItems. </p>\n </li>\n </ul>"
}
},
"ActualStartTime": {
Expand Down Expand Up @@ -25409,12 +25409,6 @@
"smithy.api#enumValue": "ManagedInstance"
}
},
"DOCUMENT": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "Document"
}
},
"EC2_INSTANCE": {
"target": "smithy.api#Unit",
"traits": {
Expand Down Expand Up @@ -29188,7 +29182,7 @@
"Description": {
"target": "com.amazonaws.ssm#OpsItemDescription",
"traits": {
"smithy.api#documentation": "<p>Update the information about the OpsItem. Provide enough information so that users reading\n this OpsItem for the first time understand the issue. </p>"
"smithy.api#documentation": "<p>User-defined text that contains information about the OpsItem, in Markdown format. </p>"
}
},
"OperationalData": {
Expand Down Expand Up @@ -29701,4 +29695,4 @@
}
}
}
}
}

0 comments on commit c1d80c2

Please sign in to comment.