Skip to content

Commit

Permalink
feat(client-workspaces): Fix create workspace bundle RootStorage/User…
Browse files Browse the repository at this point in the history
…Storage to accept non null values
  • Loading branch information
awstools committed Jul 3, 2024
1 parent 462567c commit 8698ba5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export interface CreateWorkspaceBundleCommandOutput extends CreateWorkspaceBundl
* Name: "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
* },
* UserStorage: { // UserStorage
* Capacity: "STRING_VALUE",
* Capacity: "STRING_VALUE", // required
* },
* RootStorage: { // RootStorage
* Capacity: "STRING_VALUE",
* Capacity: "STRING_VALUE", // required
* },
* Tags: [ // TagList
* { // Tag
Expand All @@ -67,10 +67,10 @@ export interface CreateWorkspaceBundleCommandOutput extends CreateWorkspaceBundl
* // Description: "STRING_VALUE",
* // ImageId: "STRING_VALUE",
* // RootStorage: { // RootStorage
* // Capacity: "STRING_VALUE",
* // Capacity: "STRING_VALUE", // required
* // },
* // UserStorage: { // UserStorage
* // Capacity: "STRING_VALUE",
* // Capacity: "STRING_VALUE", // required
* // },
* // ComputeType: { // ComputeType
* // Name: "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ export interface DescribeWorkspaceBundlesCommandOutput extends DescribeWorkspace
* // Description: "STRING_VALUE",
* // ImageId: "STRING_VALUE",
* // RootStorage: { // RootStorage
* // Capacity: "STRING_VALUE",
* // Capacity: "STRING_VALUE", // required
* // },
* // UserStorage: { // UserStorage
* // Capacity: "STRING_VALUE",
* // Capacity: "STRING_VALUE", // required
* // },
* // ComputeType: { // ComputeType
* // Name: "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-workspaces/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ export interface RootStorage {
* <p>The size of the root volume.</p>
* @public
*/
Capacity?: string;
Capacity: string | undefined;
}

/**
Expand All @@ -1031,7 +1031,7 @@ export interface UserStorage {
* <p>The size of the user volume.</p>
* @public
*/
Capacity?: string;
Capacity: string | undefined;
}

/**
Expand Down
6 changes: 4 additions & 2 deletions codegen/sdk-codegen/aws-models/workspaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -8012,7 +8012,8 @@
"Capacity": {
"target": "com.amazonaws.workspaces#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The size of the root volume.</p>"
"smithy.api#documentation": "<p>The size of the root volume.</p>",
"smithy.api#required": {}
}
}
},
Expand Down Expand Up @@ -9559,7 +9560,8 @@
"Capacity": {
"target": "com.amazonaws.workspaces#NonEmptyString",
"traits": {
"smithy.api#documentation": "<p>The size of the user volume.</p>"
"smithy.api#documentation": "<p>The size of the user volume.</p>",
"smithy.api#required": {}
}
}
},
Expand Down

0 comments on commit 8698ba5

Please sign in to comment.