Skip to content

Commit 1d233bf

Browse files
author
awstools
committed
feat(client-artifact): This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response).
1 parent 8f6aed8 commit 1d233bf

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

clients/client-artifact/src/commands/ListReportsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export interface ListReportsCommandOutput extends ListReportsResponse, __Metadat
5858
* // companyName: "STRING_VALUE",
5959
* // productName: "STRING_VALUE",
6060
* // statusMessage: "STRING_VALUE",
61+
* // acceptanceType: "STRING_VALUE",
6162
* // },
6263
* // ],
6364
* // nextToken: "STRING_VALUE",

clients/client-artifact/src/models/models_0.ts

+6
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,12 @@ export interface ReportSummary {
737737
* @public
738738
*/
739739
statusMessage?: string;
740+
741+
/**
742+
* <p>Acceptance type for report.</p>
743+
* @public
744+
*/
745+
acceptanceType?: AcceptanceType;
740746
}
741747

742748
/**

clients/client-artifact/src/protocols/Aws_restJson1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ const de_ReportsList = (output: any, context: __SerdeContext): ReportSummary[] =
523523
*/
524524
const de_ReportSummary = (output: any, context: __SerdeContext): ReportSummary => {
525525
return take(output, {
526+
acceptanceType: __expectString,
526527
arn: __expectString,
527528
category: __expectString,
528529
companyName: __expectString,

codegen/sdk-codegen/aws-models/artifact.json

+6
Original file line numberDiff line numberDiff line change
@@ -1678,6 +1678,12 @@
16781678
"traits": {
16791679
"smithy.api#documentation": "<p>The message associated with the current upload state.</p>"
16801680
}
1681+
},
1682+
"acceptanceType": {
1683+
"target": "com.amazonaws.artifact#AcceptanceType",
1684+
"traits": {
1685+
"smithy.api#documentation": "<p>Acceptance type for report.</p>"
1686+
}
16811687
}
16821688
},
16831689
"traits": {

0 commit comments

Comments
 (0)