Skip to content

Commit

Permalink
feat(client-artifact): This release adds an acceptanceType field to t…
Browse files Browse the repository at this point in the history
…he ReportSummary structure (used in the ListReports API response).
  • Loading branch information
awstools committed Jun 19, 2024
1 parent 8f6aed8 commit 1d233bf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions clients/client-artifact/src/commands/ListReportsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface ListReportsCommandOutput extends ListReportsResponse, __Metadat
* // companyName: "STRING_VALUE",
* // productName: "STRING_VALUE",
* // statusMessage: "STRING_VALUE",
* // acceptanceType: "STRING_VALUE",
* // },
* // ],
* // nextToken: "STRING_VALUE",
Expand Down
6 changes: 6 additions & 0 deletions clients/client-artifact/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,12 @@ export interface ReportSummary {
* @public
*/
statusMessage?: string;

/**
* <p>Acceptance type for report.</p>
* @public
*/
acceptanceType?: AcceptanceType;
}

/**
Expand Down
1 change: 1 addition & 0 deletions clients/client-artifact/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ const de_ReportsList = (output: any, context: __SerdeContext): ReportSummary[] =
*/
const de_ReportSummary = (output: any, context: __SerdeContext): ReportSummary => {
return take(output, {
acceptanceType: __expectString,
arn: __expectString,
category: __expectString,
companyName: __expectString,
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/artifact.json
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,12 @@
"traits": {
"smithy.api#documentation": "<p>The message associated with the current upload state.</p>"
}
},
"acceptanceType": {
"target": "com.amazonaws.artifact#AcceptanceType",
"traits": {
"smithy.api#documentation": "<p>Acceptance type for report.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit 1d233bf

Please sign in to comment.