Skip to content

Commit

Permalink
feat(client-dataexchange): Removed Required trait for DataSet.OriginD…
Browse files Browse the repository at this point in the history
…etails.ProductId.
  • Loading branch information
awstools committed Nov 13, 2023
1 parent 2cbe655 commit de1396a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __Met
* // Name: "STRING_VALUE",
* // Origin: "STRING_VALUE",
* // OriginDetails: { // OriginDetails
* // ProductId: "STRING_VALUE", // required
* // ProductId: "STRING_VALUE",
* // },
* // SourceId: "STRING_VALUE",
* // Tags: { // MapOf__string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface GetDataSetCommandOutput extends GetDataSetResponse, __MetadataB
* // Name: "STRING_VALUE",
* // Origin: "STRING_VALUE",
* // OriginDetails: { // OriginDetails
* // ProductId: "STRING_VALUE", // required
* // ProductId: "STRING_VALUE",
* // },
* // SourceId: "STRING_VALUE",
* // Tags: { // MapOf__string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
* // Name: "STRING_VALUE", // required
* // Origin: "STRING_VALUE", // required
* // OriginDetails: { // OriginDetails
* // ProductId: "STRING_VALUE", // required
* // ProductId: "STRING_VALUE",
* // },
* // SourceId: "STRING_VALUE",
* // UpdatedAt: new Date("TIMESTAMP"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
* // Name: "STRING_VALUE",
* // Origin: "STRING_VALUE",
* // OriginDetails: { // OriginDetails
* // ProductId: "STRING_VALUE", // required
* // ProductId: "STRING_VALUE",
* // },
* // SourceId: "STRING_VALUE",
* // UpdatedAt: new Date("TIMESTAMP"),
Expand Down
2 changes: 1 addition & 1 deletion clients/client-dataexchange/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ export interface OriginDetails {
* @public
* <p>The product ID of the origin of the data set.</p>
*/
ProductId: string | undefined;
ProductId?: string;
}

/**
Expand Down
3 changes: 1 addition & 2 deletions codegen/sdk-codegen/aws-models/dataexchange.json
Original file line number Diff line number Diff line change
Expand Up @@ -4792,8 +4792,7 @@
"ProductId": {
"target": "com.amazonaws.dataexchange#__string",
"traits": {
"smithy.api#documentation": "<p>The product ID of the origin of the data set.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>The product ID of the origin of the data set.</p>"
}
}
},
Expand Down

0 comments on commit de1396a

Please sign in to comment.