Skip to content

Commit

Permalink
feat(client-workspaces-thin-client): Mark type in MaintenanceWindow a…
Browse files Browse the repository at this point in the history
…s required.
  • Loading branch information
awstools committed Jan 15, 2025
1 parent 07be2a0 commit 660165d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
* desktopEndpoint: "STRING_VALUE",
* softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* maintenanceWindow: { // MaintenanceWindow
* type: "SYSTEM" || "CUSTOM",
* type: "SYSTEM" || "CUSTOM", // required
* startTimeHour: Number("int"),
* startTimeMinute: Number("int"),
* endTimeHour: Number("int"),
Expand Down Expand Up @@ -83,7 +83,7 @@ export interface CreateEnvironmentCommandOutput extends CreateEnvironmentRespons
* // activationCode: "STRING_VALUE",
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* // maintenanceWindow: { // MaintenanceWindow
* // type: "SYSTEM" || "CUSTOM",
* // type: "SYSTEM" || "CUSTOM", // required
* // startTimeHour: Number("int"),
* // startTimeMinute: Number("int"),
* // endTimeHour: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface GetEnvironmentCommandOutput extends GetEnvironmentResponse, __M
* // registeredDevicesCount: Number("int"),
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* // maintenanceWindow: { // MaintenanceWindow
* // type: "SYSTEM" || "CUSTOM",
* // type: "SYSTEM" || "CUSTOM", // required
* // startTimeHour: Number("int"),
* // startTimeMinute: Number("int"),
* // endTimeHour: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse,
* // activationCode: "STRING_VALUE",
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* // maintenanceWindow: { // MaintenanceWindow
* // type: "SYSTEM" || "CUSTOM",
* // type: "SYSTEM" || "CUSTOM", // required
* // startTimeHour: Number("int"),
* // startTimeMinute: Number("int"),
* // endTimeHour: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
* desktopEndpoint: "STRING_VALUE",
* softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* maintenanceWindow: { // MaintenanceWindow
* type: "SYSTEM" || "CUSTOM",
* type: "SYSTEM" || "CUSTOM", // required
* startTimeHour: Number("int"),
* startTimeMinute: Number("int"),
* endTimeHour: Number("int"),
Expand Down Expand Up @@ -79,7 +79,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
* // activationCode: "STRING_VALUE",
* // softwareSetUpdateSchedule: "USE_MAINTENANCE_WINDOW" || "APPLY_IMMEDIATELY",
* // maintenanceWindow: { // MaintenanceWindow
* // type: "SYSTEM" || "CUSTOM",
* // type: "SYSTEM" || "CUSTOM", // required
* // startTimeHour: Number("int"),
* // startTimeMinute: Number("int"),
* // endTimeHour: Number("int"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export interface MaintenanceWindow {
* <p>An option to select the default or custom maintenance window.</p>
* @public
*/
type?: MaintenanceWindowType | undefined;
type: MaintenanceWindowType | undefined;

/**
* <p>The hour for the maintenance window start (<code>00</code>-<code>23</code>).</p>
Expand Down
3 changes: 2 additions & 1 deletion codegen/sdk-codegen/aws-models/workspaces-thin-client.json
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,8 @@
"type": {
"target": "com.amazonaws.workspacesthinclient#MaintenanceWindowType",
"traits": {
"smithy.api#documentation": "<p>An option to select the default or custom maintenance window.</p>"
"smithy.api#documentation": "<p>An option to select the default or custom maintenance window.</p>",
"smithy.api#required": {}
}
},
"startTimeHour": {
Expand Down

0 comments on commit 660165d

Please sign in to comment.