Skip to content

Commit 9e30002

Browse files
author
awstools
committedJan 24, 2024
feat(client-outposts): DeviceSerialNumber parameter is now optional in StartConnection API
1 parent 408d925 commit 9e30002

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed
 

‎clients/client-outposts/src/commands/StartConnectionCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface StartConnectionCommandOutput extends StartConnectionResponse, _
4646
* // const { OutpostsClient, StartConnectionCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
4747
* const client = new OutpostsClient(config);
4848
* const input = { // StartConnectionRequest
49-
* DeviceSerialNumber: "STRING_VALUE", // required
49+
* DeviceSerialNumber: "STRING_VALUE",
5050
* AssetId: "STRING_VALUE", // required
5151
* ClientPublicKey: "STRING_VALUE", // required
5252
* NetworkInterfaceDeviceIndex: Number("int"), // required

‎clients/client-outposts/src/models/models_0.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ export interface StartConnectionRequest {
20062006
* @public
20072007
* <p> The serial number of the dongle. </p>
20082008
*/
2009-
DeviceSerialNumber: string | undefined;
2009+
DeviceSerialNumber?: string;
20102010

20112011
/**
20122012
* @public

‎codegen/sdk-codegen/aws-models/outposts.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -1826,8 +1826,7 @@
18261826
"type": "integer",
18271827
"traits": {
18281828
"smithy.api#range": {
1829-
"min": 1,
1830-
"max": 20
1829+
"min": 1
18311830
}
18321831
}
18331832
},
@@ -4518,8 +4517,7 @@
45184517
"DeviceSerialNumber": {
45194518
"target": "com.amazonaws.outposts#DeviceSerialNumber",
45204519
"traits": {
4521-
"smithy.api#documentation": "<p> The serial number of the dongle. </p>",
4522-
"smithy.api#required": {}
4520+
"smithy.api#documentation": "<p> The serial number of the dongle. </p>"
45234521
}
45244522
},
45254523
"AssetId": {

0 commit comments

Comments
 (0)
Please sign in to comment.