Skip to content

Commit b46ae7f

Browse files
author
awstools
committedJan 26, 2024
feat(client-inspector2): This release adds ECR container image scanning based on their lastRecordedPullTime.
1 parent be36543 commit b46ae7f

File tree

9 files changed

+289
-144
lines changed

9 files changed

+289
-144
lines changed
 

‎clients/client-inspector2/src/commands/GetConfigurationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
4444
* // rescanDuration: "STRING_VALUE",
4545
* // status: "STRING_VALUE",
4646
* // updatedAt: new Date("TIMESTAMP"),
47+
* // pullDateRescanDuration: "STRING_VALUE",
4748
* // },
4849
* // },
4950
* // };

‎clients/client-inspector2/src/commands/ListCoverageCommand.ts

+8-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
88
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
9-
import { ListCoverageRequest } from "../models/models_0";
10-
import { ListCoverageResponse } from "../models/models_1";
9+
import { ListCoverageRequest, ListCoverageResponse } from "../models/models_1";
1110
import { de_ListCoverageCommand, se_ListCoverageCommand } from "../protocols/Aws_restJson1";
1211

1312
/**
@@ -95,6 +94,12 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
9594
* endInclusive: new Date("TIMESTAMP"),
9695
* },
9796
* ],
97+
* imagePulledAt: [
98+
* {
99+
* startInclusive: new Date("TIMESTAMP"),
100+
* endInclusive: new Date("TIMESTAMP"),
101+
* },
102+
* ],
98103
* },
99104
* };
100105
* const command = new ListCoverageCommand(input);
@@ -120,6 +125,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
120125
* // tags: [ // TagList
121126
* // "STRING_VALUE",
122127
* // ],
128+
* // imagePulledAt: new Date("TIMESTAMP"),
123129
* // },
124130
* // ec2: { // Ec2Metadata
125131
* // tags: { // TagMap

‎clients/client-inspector2/src/commands/ListCoverageStatisticsCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
9292
* endInclusive: new Date("TIMESTAMP"),
9393
* },
9494
* ],
95+
* imagePulledAt: [
96+
* {
97+
* startInclusive: new Date("TIMESTAMP"),
98+
* endInclusive: new Date("TIMESTAMP"),
99+
* },
100+
* ],
95101
* },
96102
* groupBy: "STRING_VALUE",
97103
* nextToken: "STRING_VALUE",

‎clients/client-inspector2/src/commands/UpdateConfigurationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
3838
* const input = { // UpdateConfigurationRequest
3939
* ecrConfiguration: { // EcrConfiguration
4040
* rescanDuration: "STRING_VALUE", // required
41+
* pullDateRescanDuration: "STRING_VALUE",
4142
* },
4243
* };
4344
* const command = new UpdateConfigurationCommand(input);

‎clients/client-inspector2/src/commands/UpdateEncryptionKeyCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface UpdateEncryptionKeyCommandOutput extends UpdateEncryptionKeyRes
2828

2929
/**
3030
* @public
31-
* <p>Updates an encryption key. A <code>ResourceNotFoundException</code> means that an AWS owned key is being used for encryption.</p>
31+
* <p>Updates an encryption key. A <code>ResourceNotFoundException</code> means that an Amazon Web Services owned key is being used for encryption.</p>
3232
* @example
3333
* Use a bare-bones client and the command you need to make an API call.
3434
* ```javascript

0 commit comments

Comments
 (0)
Please sign in to comment.