Skip to content

Commit 70be2a3

Browse files
author
awstools
committed
feat(client-ssm): Provides NoLongerSupportedException error message
1 parent b83f5f9 commit 70be2a3

File tree

10 files changed

+242
-137
lines changed

10 files changed

+242
-137
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ export interface CreateDocumentCommandOutput extends CreateDocumentResult, __Met
170170
* @throws {@link MaxDocumentSizeExceeded} (client fault)
171171
* <p>The size limit of a document is 64 KB.</p>
172172
*
173+
* @throws {@link NoLongerSupportedException} (client fault)
174+
* <p>The requested operation is no longer supported by Systems Manager.</p>
175+
*
173176
* @throws {@link TooManyUpdates} (client fault)
174177
* <p>There are concurrent updates for a resource that supports one update at a time.</p>
175178
*

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ export interface ListDocumentMetadataHistoryCommandOutput
3030
__MetadataBearer {}
3131

3232
/**
33-
* <p>Information about approval reviews for a version of a change template in Change Manager.</p>
33+
* <important>
34+
* <p>Amazon Web Services Systems Manager Change Manager will no longer be open to new
35+
* customers starting November 7, 2025. If you would like to use Change Manager, sign up prior to that date. Existing customers can
36+
* continue to use the service as normal. For more information, see
37+
* <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/change-manager-availability-change.html">Amazon Web Services Systems Manager Change Manager availability change</a>.</p>
38+
* </important>
39+
* <p>Information about approval reviews for a version of a change template in Change Manager.</p>
3440
* @example
3541
* Use a bare-bones client and the command you need to make an API call.
3642
* ```javascript

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { RegisterPatchBaselineForPatchGroupRequest } from "../models/models_1";
9-
import { RegisterPatchBaselineForPatchGroupResult } from "../models/models_2";
8+
import {
9+
RegisterPatchBaselineForPatchGroupRequest,
10+
RegisterPatchBaselineForPatchGroupResult,
11+
} from "../models/models_2";
1012
import {
1113
de_RegisterPatchBaselineForPatchGroupCommand,
1214
se_RegisterPatchBaselineForPatchGroupCommand,

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ export interface StartChangeRequestExecutionCommandInput extends StartChangeRequ
2828
export interface StartChangeRequestExecutionCommandOutput extends StartChangeRequestExecutionResult, __MetadataBearer {}
2929

3030
/**
31-
* <p>Creates a change request for Change Manager. The Automation runbooks specified in the
31+
* <important>
32+
* <p>Amazon Web Services Systems Manager Change Manager will no longer be open to new
33+
* customers starting November 7, 2025. If you would like to use Change Manager, sign up prior to that date. Existing customers can
34+
* continue to use the service as normal. For more information, see
35+
* <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/change-manager-availability-change.html">Amazon Web Services Systems Manager Change Manager availability change</a>.</p>
36+
* </important>
37+
* <p>Creates a change request for Change Manager. The Automation runbooks specified in the
3238
* change request run only after all required approvals for the change request have been
3339
* received.</p>
3440
* @example
@@ -164,6 +170,9 @@ export interface StartChangeRequestExecutionCommandOutput extends StartChangeReq
164170
* example, they may not match the set of parameters permitted for the specified Automation
165171
* document.</p>
166172
*
173+
* @throws {@link NoLongerSupportedException} (client fault)
174+
* <p>The requested operation is no longer supported by Systems Manager.</p>
175+
*
167176
* @throws {@link SSMServiceException}
168177
* <p>Base exception class for all service exceptions from SSM service.</p>
169178
*

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetada
2828
export interface UpdateDocumentMetadataCommandOutput extends UpdateDocumentMetadataResponse, __MetadataBearer {}
2929

3030
/**
31-
* <p>Updates information related to approval reviews for a specific version of a change template
31+
* <important>
32+
* <p>Amazon Web Services Systems Manager Change Manager will no longer be open to new
33+
* customers starting November 7, 2025. If you would like to use Change Manager, sign up prior to that date. Existing customers can
34+
* continue to use the service as normal. For more information, see
35+
* <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/change-manager-availability-change.html">Amazon Web Services Systems Manager Change Manager availability change</a>.</p>
36+
* </important>
37+
* <p>Updates information related to approval reviews for a specific version of a change template
3238
* in Change Manager.</p>
3339
* @example
3440
* Use a bare-bones client and the command you need to make an API call.

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

Lines changed: 45 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,8 @@ export interface CreateAssociationRequest {
14281428
* association. Use this action to create an association in multiple Regions and multiple
14291429
* accounts.</p>
14301430
* <note>
1431-
* <p>The <code>IncludeChildOrganizationUnits</code> parameter is not supported by State Manager.</p>
1431+
* <p>The <code>IncludeChildOrganizationUnits</code> parameter is not supported by State
1432+
* Manager.</p>
14321433
* </note>
14331434
* @public
14341435
*/
@@ -3032,6 +3033,28 @@ export class MaxDocumentSizeExceeded extends __BaseException {
30323033
}
30333034
}
30343035

3036+
/**
3037+
* <p>The requested operation is no longer supported by Systems Manager.</p>
3038+
* @public
3039+
*/
3040+
export class NoLongerSupportedException extends __BaseException {
3041+
readonly name: "NoLongerSupportedException" = "NoLongerSupportedException";
3042+
readonly $fault: "client" = "client";
3043+
Message?: string | undefined;
3044+
/**
3045+
* @internal
3046+
*/
3047+
constructor(opts: __ExceptionOptionType<NoLongerSupportedException, __BaseException>) {
3048+
super({
3049+
name: "NoLongerSupportedException",
3050+
$fault: "client",
3051+
...opts,
3052+
});
3053+
Object.setPrototypeOf(this, NoLongerSupportedException.prototype);
3054+
this.Message = opts.Message;
3055+
}
3056+
}
3057+
30353058
/**
30363059
* @public
30373060
*/
@@ -3302,17 +3325,23 @@ export interface CreateOpsItemRequest {
33023325
* </li>
33033326
* <li>
33043327
* <p>
3305-
* <code>/aws/changerequest</code>
3328+
* <code>/aws/insight</code>
33063329
* </p>
3307-
* <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change
3308-
* requests. </p>
3330+
* <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
3331+
* OpsItems. </p>
33093332
* </li>
33103333
* <li>
33113334
* <p>
3312-
* <code>/aws/insight</code>
3335+
* <code>/aws/changerequest</code>
33133336
* </p>
3314-
* <p>This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate
3315-
* OpsItems. </p>
3337+
* <p>This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change
3338+
* requests. </p>
3339+
* <important>
3340+
* <p>Amazon Web Services Systems Manager Change Manager will no longer be open to new
3341+
* customers starting November 7, 2025. If you would like to use Change Manager, sign up prior to that date. Existing customers can
3342+
* continue to use the service as normal. For more information, see
3343+
* <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/change-manager-availability-change.html">Amazon Web Services Systems Manager Change Manager availability change</a>.</p>
3344+
* </important>
33163345
* </li>
33173346
* </ul>
33183347
* @public
@@ -3770,6 +3799,10 @@ export interface PatchRule {
37703799
* <p>The number of days after the release date of each patch matched by the rule that the patch
37713800
* is marked as approved in the patch baseline. For example, a value of <code>7</code> means that
37723801
* patches are approved seven days after they are released.</p>
3802+
* <p>Patch Manager evaluates patch release dates using Coordinated Universal Time (UTC). If the
3803+
* day represented by <code>7</code> is <code>2025-11-16</code>, patches released between
3804+
* <code>2025-11-16T00:00:00Z</code> and <code>2025-11-16T23:59:59Z</code> will be included in the
3805+
* approval.</p>
37733806
* <p>This parameter is marked as <code>Required: No</code>, but your request must include a value
37743807
* for either <code>ApproveAfterDays</code> or <code>ApproveUntilDate</code>.</p>
37753808
* <p>Not supported for Debian Server or Ubuntu Server.</p>
@@ -3788,7 +3821,11 @@ export interface PatchRule {
37883821
* <p>The cutoff date for auto approval of released patches. Any patches released on or before
37893822
* this date are installed automatically.</p>
37903823
* <p>Enter dates in the format <code>YYYY-MM-DD</code>. For example,
3791-
* <code>2024-12-31</code>.</p>
3824+
* <code>2025-11-16</code>.</p>
3825+
* <p>Patch Manager evaluates patch release dates using Coordinated Universal Time (UTC). If you
3826+
* enter the date <code>2025-11-16</code>, patches released between
3827+
* <code>2025-11-16T00:00:00Z</code> and <code>2025-11-16T23:59:59Z</code> will be included in the
3828+
* approval.</p>
37923829
* <p>This parameter is marked as <code>Required: No</code>, but your request must include a value
37933830
* for either <code>ApproveUntilDate</code> or <code>ApproveAfterDays</code>.</p>
37943831
* <p>Not supported for Debian Server or Ubuntu Server.</p>
@@ -9594,90 +9631,6 @@ export interface DescribeMaintenanceWindowsRequest {
95949631
NextToken?: string | undefined;
95959632
}
95969633

9597-
/**
9598-
* <p>Information about the maintenance window.</p>
9599-
* @public
9600-
*/
9601-
export interface MaintenanceWindowIdentity {
9602-
/**
9603-
* <p>The ID of the maintenance window.</p>
9604-
* @public
9605-
*/
9606-
WindowId?: string | undefined;
9607-
9608-
/**
9609-
* <p>The name of the maintenance window.</p>
9610-
* @public
9611-
*/
9612-
Name?: string | undefined;
9613-
9614-
/**
9615-
* <p>A description of the maintenance window.</p>
9616-
* @public
9617-
*/
9618-
Description?: string | undefined;
9619-
9620-
/**
9621-
* <p>Indicates whether the maintenance window is enabled.</p>
9622-
* @public
9623-
*/
9624-
Enabled?: boolean | undefined;
9625-
9626-
/**
9627-
* <p>The duration of the maintenance window in hours.</p>
9628-
* @public
9629-
*/
9630-
Duration?: number | undefined;
9631-
9632-
/**
9633-
* <p>The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling
9634-
* new tasks for execution.</p>
9635-
* @public
9636-
*/
9637-
Cutoff?: number | undefined;
9638-
9639-
/**
9640-
* <p>The schedule of the maintenance window in the form of a cron or rate expression.</p>
9641-
* @public
9642-
*/
9643-
Schedule?: string | undefined;
9644-
9645-
/**
9646-
* <p>The time zone that the scheduled maintenance window executions are based on, in Internet
9647-
* Assigned Numbers Authority (IANA) format.</p>
9648-
* @public
9649-
*/
9650-
ScheduleTimezone?: string | undefined;
9651-
9652-
/**
9653-
* <p>The number of days to wait to run a maintenance window after the scheduled cron expression
9654-
* date and time.</p>
9655-
* @public
9656-
*/
9657-
ScheduleOffset?: number | undefined;
9658-
9659-
/**
9660-
* <p>The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled
9661-
* to become inactive.</p>
9662-
* @public
9663-
*/
9664-
EndDate?: string | undefined;
9665-
9666-
/**
9667-
* <p>The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled
9668-
* to become active.</p>
9669-
* @public
9670-
*/
9671-
StartDate?: string | undefined;
9672-
9673-
/**
9674-
* <p>The next time the maintenance window will actually run, taking into account any specified
9675-
* times for the maintenance window to become active or inactive.</p>
9676-
* @public
9677-
*/
9678-
NextExecutionTime?: string | undefined;
9679-
}
9680-
96819634
/**
96829635
* @internal
96839636
*/
@@ -9863,11 +9816,3 @@ export const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensit
98639816
),
98649817
}),
98659818
});
9866-
9867-
/**
9868-
* @internal
9869-
*/
9870-
export const MaintenanceWindowIdentityFilterSensitiveLog = (obj: MaintenanceWindowIdentity): any => ({
9871-
...obj,
9872-
...(obj.Description && { Description: SENSITIVE_STRING }),
9873-
});

0 commit comments

Comments
 (0)