Skip to content

Commit

Permalink
feat(client-inspector2): This release adds ECR container image scanni…
Browse files Browse the repository at this point in the history
…ng based on their lastRecordedPullTime.
  • Loading branch information
awstools committed Jan 26, 2024
1 parent be36543 commit b46ae7f
Show file tree
Hide file tree
Showing 9 changed files with 289 additions and 144 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface GetConfigurationCommandOutput extends GetConfigurationResponse,
* // rescanDuration: "STRING_VALUE",
* // status: "STRING_VALUE",
* // updatedAt: new Date("TIMESTAMP"),
* // pullDateRescanDuration: "STRING_VALUE",
* // },
* // },
* // };
Expand Down
10 changes: 8 additions & 2 deletions clients/client-inspector2/src/commands/ListCoverageCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Inspector2Client";
import { ListCoverageRequest } from "../models/models_0";
import { ListCoverageResponse } from "../models/models_1";
import { ListCoverageRequest, ListCoverageResponse } from "../models/models_1";
import { de_ListCoverageCommand, se_ListCoverageCommand } from "../protocols/Aws_restJson1";

/**
Expand Down Expand Up @@ -95,6 +94,12 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
* endInclusive: new Date("TIMESTAMP"),
* },
* ],
* imagePulledAt: [
* {
* startInclusive: new Date("TIMESTAMP"),
* endInclusive: new Date("TIMESTAMP"),
* },
* ],
* },
* };
* const command = new ListCoverageCommand(input);
Expand All @@ -120,6 +125,7 @@ export interface ListCoverageCommandOutput extends ListCoverageResponse, __Metad
* // tags: [ // TagList
* // "STRING_VALUE",
* // ],
* // imagePulledAt: new Date("TIMESTAMP"),
* // },
* // ec2: { // Ec2Metadata
* // tags: { // TagMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ export interface ListCoverageStatisticsCommandOutput extends ListCoverageStatist
* endInclusive: new Date("TIMESTAMP"),
* },
* ],
* imagePulledAt: [
* {
* startInclusive: new Date("TIMESTAMP"),
* endInclusive: new Date("TIMESTAMP"),
* },
* ],
* },
* groupBy: "STRING_VALUE",
* nextToken: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
* const input = { // UpdateConfigurationRequest
* ecrConfiguration: { // EcrConfiguration
* rescanDuration: "STRING_VALUE", // required
* pullDateRescanDuration: "STRING_VALUE",
* },
* };
* const command = new UpdateConfigurationCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface UpdateEncryptionKeyCommandOutput extends UpdateEncryptionKeyRes

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

0 comments on commit b46ae7f

Please sign in to comment.