Skip to content

Commit

Permalink
feat(client-outposts): DeviceSerialNumber parameter is now optional i…
Browse files Browse the repository at this point in the history
…n StartConnection API
  • Loading branch information
awstools committed Jan 24, 2024
1 parent 408d925 commit 9e30002
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface StartConnectionCommandOutput extends StartConnectionResponse, _
* // const { OutpostsClient, StartConnectionCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
* const client = new OutpostsClient(config);
* const input = { // StartConnectionRequest
* DeviceSerialNumber: "STRING_VALUE", // required
* DeviceSerialNumber: "STRING_VALUE",
* AssetId: "STRING_VALUE", // required
* ClientPublicKey: "STRING_VALUE", // required
* NetworkInterfaceDeviceIndex: Number("int"), // required
Expand Down
2 changes: 1 addition & 1 deletion clients/client-outposts/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ export interface StartConnectionRequest {
* @public
* <p> The serial number of the dongle. </p>
*/
DeviceSerialNumber: string | undefined;
DeviceSerialNumber?: string;

/**
* @public
Expand Down
6 changes: 2 additions & 4 deletions codegen/sdk-codegen/aws-models/outposts.json
Original file line number Diff line number Diff line change
Expand Up @@ -1826,8 +1826,7 @@
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 20
"min": 1
}
}
},
Expand Down Expand Up @@ -4518,8 +4517,7 @@
"DeviceSerialNumber": {
"target": "com.amazonaws.outposts#DeviceSerialNumber",
"traits": {
"smithy.api#documentation": "<p> The serial number of the dongle. </p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p> The serial number of the dongle. </p>"
}
},
"AssetId": {
Expand Down

0 comments on commit 9e30002

Please sign in to comment.