@aws-sdk/client-ecr 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -2
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetImageCommand.d.ts +4 -4
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +2 -2
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/CreateRepositoryCommand.d.ts +5 -5
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +4 -4
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +2 -2
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +2 -2
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +4 -4
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutImageCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +1 -1
- package/dist-types/commands/StartImageScanCommand.d.ts +2 -2
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -33,10 +33,10 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
33
33
|
* import { ECRClient, BatchCheckLayerAvailabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, BatchCheckLayerAvailabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // BatchCheckLayerAvailabilityRequest
|
|
37
37
|
* registryId: "STRING_VALUE",
|
|
38
38
|
* repositoryName: "STRING_VALUE", // required
|
|
39
|
-
* layerDigests: [ // required
|
|
39
|
+
* layerDigests: [ // BatchedOperationLayerDigestList // required
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* };
|
|
@@ -31,11 +31,11 @@ export interface BatchDeleteImageCommandOutput extends BatchDeleteImageResponse,
|
|
|
31
31
|
* import { ECRClient, BatchDeleteImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
32
32
|
* // const { ECRClient, BatchDeleteImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
33
33
|
* const client = new ECRClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // BatchDeleteImageRequest
|
|
35
35
|
* registryId: "STRING_VALUE",
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
|
-
* imageIds: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* imageIds: [ // ImageIdentifierList // required
|
|
38
|
+
* { // ImageIdentifier
|
|
39
39
|
* imageDigest: "STRING_VALUE",
|
|
40
40
|
* imageTag: "STRING_VALUE",
|
|
41
41
|
* },
|
|
@@ -29,16 +29,16 @@ export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __Met
|
|
|
29
29
|
* import { ECRClient, BatchGetImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
30
30
|
* // const { ECRClient, BatchGetImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
31
31
|
* const client = new ECRClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // BatchGetImageRequest
|
|
33
33
|
* registryId: "STRING_VALUE",
|
|
34
34
|
* repositoryName: "STRING_VALUE", // required
|
|
35
|
-
* imageIds: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* imageIds: [ // ImageIdentifierList // required
|
|
36
|
+
* { // ImageIdentifier
|
|
37
37
|
* imageDigest: "STRING_VALUE",
|
|
38
38
|
* imageTag: "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* ],
|
|
41
|
-
* acceptedMediaTypes: [
|
|
41
|
+
* acceptedMediaTypes: [ // MediaTypeList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* };
|
|
@@ -26,8 +26,8 @@ export interface BatchGetRepositoryScanningConfigurationCommandOutput extends Ba
|
|
|
26
26
|
* import { ECRClient, BatchGetRepositoryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, BatchGetRepositoryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* repositoryNames: [ // required
|
|
29
|
+
* const input = { // BatchGetRepositoryScanningConfigurationRequest
|
|
30
|
+
* repositoryNames: [ // ScanningConfigurationRepositoryNameList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -34,11 +34,11 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
34
34
|
* import { ECRClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
35
35
|
* // const { ECRClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
36
36
|
* const client = new ECRClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // CompleteLayerUploadRequest
|
|
38
38
|
* registryId: "STRING_VALUE",
|
|
39
39
|
* repositoryName: "STRING_VALUE", // required
|
|
40
40
|
* uploadId: "STRING_VALUE", // required
|
|
41
|
-
* layerDigests: [ // required
|
|
41
|
+
* layerDigests: [ // LayerDigestList // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* };
|
|
@@ -27,7 +27,7 @@ export interface CreatePullThroughCacheRuleCommandOutput extends CreatePullThrou
|
|
|
27
27
|
* import { ECRClient, CreatePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, CreatePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreatePullThroughCacheRuleRequest
|
|
31
31
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
32
32
|
* upstreamRegistryUrl: "STRING_VALUE", // required
|
|
33
33
|
* registryId: "STRING_VALUE",
|
|
@@ -27,20 +27,20 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
27
27
|
* import { ECRClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateRepositoryRequest
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
|
-
* tags: [
|
|
34
|
-
* {
|
|
33
|
+
* tags: [ // TagList
|
|
34
|
+
* { // Tag
|
|
35
35
|
* Key: "STRING_VALUE",
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* ],
|
|
39
39
|
* imageTagMutability: "STRING_VALUE",
|
|
40
|
-
* imageScanningConfiguration: {
|
|
40
|
+
* imageScanningConfiguration: { // ImageScanningConfiguration
|
|
41
41
|
* scanOnPush: true || false,
|
|
42
42
|
* },
|
|
43
|
-
* encryptionConfiguration: {
|
|
43
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
44
44
|
* encryptionType: "STRING_VALUE", // required
|
|
45
45
|
* kmsKey: "STRING_VALUE",
|
|
46
46
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
26
26
|
* import { ECRClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteLifecyclePolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeletePullThroughCacheRuleCommandOutput extends DeletePullThrou
|
|
|
26
26
|
* import { ECRClient, DeletePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeletePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeletePullThroughCacheRuleRequest
|
|
30
30
|
* ecrRepositoryPrefix: "STRING_VALUE", // required
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -28,7 +28,7 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse,
|
|
|
28
28
|
* import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteRepositoryRequest
|
|
32
32
|
* registryId: "STRING_VALUE",
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* force: true || false,
|
|
@@ -26,7 +26,7 @@ export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPol
|
|
|
26
26
|
* import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteRepositoryPolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,9 +26,9 @@ export interface DescribeImageReplicationStatusCommandOutput extends DescribeIma
|
|
|
26
26
|
* import { ECRClient, DescribeImageReplicationStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DescribeImageReplicationStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeImageReplicationStatusRequest
|
|
30
30
|
* repositoryName: "STRING_VALUE", // required
|
|
31
|
-
* imageId: {
|
|
31
|
+
* imageId: { // ImageIdentifier
|
|
32
32
|
* imageDigest: "STRING_VALUE",
|
|
33
33
|
* imageTag: "STRING_VALUE",
|
|
34
34
|
* },
|
|
@@ -26,10 +26,10 @@ export interface DescribeImageScanFindingsCommandOutput extends DescribeImageSca
|
|
|
26
26
|
* import { ECRClient, DescribeImageScanFindingsCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DescribeImageScanFindingsCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeImageScanFindingsRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
|
-
* imageId: {
|
|
32
|
+
* imageId: { // ImageIdentifier
|
|
33
33
|
* imageDigest: "STRING_VALUE",
|
|
34
34
|
* imageTag: "STRING_VALUE",
|
|
35
35
|
* },
|
|
@@ -32,18 +32,18 @@ export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __M
|
|
|
32
32
|
* import { ECRClient, DescribeImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
33
33
|
* // const { ECRClient, DescribeImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
34
34
|
* const client = new ECRClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // DescribeImagesRequest
|
|
36
36
|
* registryId: "STRING_VALUE",
|
|
37
37
|
* repositoryName: "STRING_VALUE", // required
|
|
38
|
-
* imageIds: [
|
|
39
|
-
* {
|
|
38
|
+
* imageIds: [ // ImageIdentifierList
|
|
39
|
+
* { // ImageIdentifier
|
|
40
40
|
* imageDigest: "STRING_VALUE",
|
|
41
41
|
* imageTag: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* ],
|
|
44
44
|
* nextToken: "STRING_VALUE",
|
|
45
45
|
* maxResults: Number("int"),
|
|
46
|
-
* filter: {
|
|
46
|
+
* filter: { // DescribeImagesFilter
|
|
47
47
|
* tagStatus: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* };
|
|
@@ -26,9 +26,9 @@ export interface DescribePullThroughCacheRulesCommandOutput extends DescribePull
|
|
|
26
26
|
* import { ECRClient, DescribePullThroughCacheRulesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DescribePullThroughCacheRulesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribePullThroughCacheRulesRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
|
-
* ecrRepositoryPrefixes: [
|
|
31
|
+
* ecrRepositoryPrefixes: [ // PullThroughCacheRuleRepositoryPrefixList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,9 +26,9 @@ export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesR
|
|
|
26
26
|
* import { ECRClient, DescribeRepositoriesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, DescribeRepositoriesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeRepositoriesRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
|
-
* repositoryNames: [
|
|
31
|
+
* repositoryNames: [ // RepositoryNameList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* nextToken: "STRING_VALUE",
|
|
@@ -33,8 +33,8 @@ export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationToke
|
|
|
33
33
|
* import { ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
37
|
-
* registryIds: [
|
|
36
|
+
* const input = { // GetAuthorizationTokenRequest
|
|
37
|
+
* registryIds: [ // GetAuthorizationTokenRegistryIdList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -33,7 +33,7 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
|
|
|
33
33
|
* import { ECRClient, GetDownloadUrlForLayerCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, GetDownloadUrlForLayerCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // GetDownloadUrlForLayerRequest
|
|
37
37
|
* registryId: "STRING_VALUE",
|
|
38
38
|
* repositoryName: "STRING_VALUE", // required
|
|
39
39
|
* layerDigest: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
|
|
|
26
26
|
* import { ECRClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetLifecyclePolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -27,18 +27,18 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
|
|
|
27
27
|
* import { ECRClient, GetLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, GetLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // GetLifecyclePolicyPreviewRequest
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
|
-
* imageIds: [
|
|
34
|
-
* {
|
|
33
|
+
* imageIds: [ // ImageIdentifierList
|
|
34
|
+
* { // ImageIdentifier
|
|
35
35
|
* imageDigest: "STRING_VALUE",
|
|
36
36
|
* imageTag: "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* ],
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* maxResults: Number("int"),
|
|
41
|
-
* filter: {
|
|
41
|
+
* filter: { // LifecyclePolicyPreviewFilter
|
|
42
42
|
* tagStatus: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* };
|
|
@@ -26,7 +26,7 @@ export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyRes
|
|
|
26
26
|
* import { ECRClient, GetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, GetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetRepositoryPolicyRequest
|
|
30
30
|
* registryId: "STRING_VALUE",
|
|
31
31
|
* repositoryName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -33,7 +33,7 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
|
|
|
33
33
|
* import { ECRClient, InitiateLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, InitiateLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // InitiateLayerUploadRequest
|
|
37
37
|
* registryId: "STRING_VALUE",
|
|
38
38
|
* repositoryName: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
@@ -32,12 +32,12 @@ export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataB
|
|
|
32
32
|
* import { ECRClient, ListImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
33
33
|
* // const { ECRClient, ListImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
34
34
|
* const client = new ECRClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ListImagesRequest
|
|
36
36
|
* registryId: "STRING_VALUE",
|
|
37
37
|
* repositoryName: "STRING_VALUE", // required
|
|
38
38
|
* nextToken: "STRING_VALUE",
|
|
39
39
|
* maxResults: Number("int"),
|
|
40
|
-
* filter: {
|
|
40
|
+
* filter: { // ListImagesFilter
|
|
41
41
|
* tagStatus: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* };
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { ECRClient, ListTagsForResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -34,7 +34,7 @@ export interface PutImageCommandOutput extends PutImageResponse, __MetadataBeare
|
|
|
34
34
|
* import { ECRClient, PutImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
35
35
|
* // const { ECRClient, PutImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
36
36
|
* const client = new ECRClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // PutImageRequest
|
|
38
38
|
* registryId: "STRING_VALUE",
|
|
39
39
|
* repositoryName: "STRING_VALUE", // required
|
|
40
40
|
* imageManifest: "STRING_VALUE", // required
|
|
@@ -31,10 +31,10 @@ export interface PutImageScanningConfigurationCommandOutput extends PutImageScan
|
|
|
31
31
|
* import { ECRClient, PutImageScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
32
32
|
* // const { ECRClient, PutImageScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
33
33
|
* const client = new ECRClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // PutImageScanningConfigurationRequest
|
|
35
35
|
* registryId: "STRING_VALUE",
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
|
-
* imageScanningConfiguration: {
|
|
37
|
+
* imageScanningConfiguration: { // ImageScanningConfiguration
|
|
38
38
|
* scanOnPush: true || false,
|
|
39
39
|
* },
|
|
40
40
|
* };
|
|
@@ -28,7 +28,7 @@ export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilit
|
|
|
28
28
|
* import { ECRClient, PutImageTagMutabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, PutImageTagMutabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutImageTagMutabilityRequest
|
|
32
32
|
* registryId: "STRING_VALUE",
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* imageTagMutability: "STRING_VALUE", // required
|
|
@@ -28,7 +28,7 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
28
28
|
* import { ECRClient, PutLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, PutLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutLifecyclePolicyRequest
|
|
32
32
|
* registryId: "STRING_VALUE",
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* lifecyclePolicyText: "STRING_VALUE", // required
|
|
@@ -28,7 +28,7 @@ export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyRespons
|
|
|
28
28
|
* import { ECRClient, PutRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, PutRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // PutRegistryPolicyRequest
|
|
32
32
|
* policyText: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new PutRegistryPolicyCommand(input);
|
|
@@ -26,13 +26,13 @@ export interface PutRegistryScanningConfigurationCommandOutput extends PutRegist
|
|
|
26
26
|
* import { ECRClient, PutRegistryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, PutRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutRegistryScanningConfigurationRequest
|
|
30
30
|
* scanType: "STRING_VALUE",
|
|
31
|
-
* rules: [
|
|
32
|
-
* {
|
|
31
|
+
* rules: [ // RegistryScanningRuleList
|
|
32
|
+
* { // RegistryScanningRule
|
|
33
33
|
* scanFrequency: "STRING_VALUE", // required
|
|
34
|
-
* repositoryFilters: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* repositoryFilters: [ // ScanningRepositoryFilterList // required
|
|
35
|
+
* { // ScanningRepositoryFilter
|
|
36
36
|
* filter: "STRING_VALUE", // required
|
|
37
37
|
* filterType: "STRING_VALUE", // required
|
|
38
38
|
* },
|
|
@@ -36,18 +36,18 @@ export interface PutReplicationConfigurationCommandOutput extends PutReplication
|
|
|
36
36
|
* import { ECRClient, PutReplicationConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
37
37
|
* // const { ECRClient, PutReplicationConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
38
38
|
* const client = new ECRClient(config);
|
|
39
|
-
* const input = {
|
|
40
|
-
* replicationConfiguration: {
|
|
41
|
-
* rules: [ // required
|
|
42
|
-
* {
|
|
43
|
-
* destinations: [ // required
|
|
44
|
-
* {
|
|
39
|
+
* const input = { // PutReplicationConfigurationRequest
|
|
40
|
+
* replicationConfiguration: { // ReplicationConfiguration
|
|
41
|
+
* rules: [ // ReplicationRuleList // required
|
|
42
|
+
* { // ReplicationRule
|
|
43
|
+
* destinations: [ // ReplicationDestinationList // required
|
|
44
|
+
* { // ReplicationDestination
|
|
45
45
|
* region: "STRING_VALUE", // required
|
|
46
46
|
* registryId: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
48
48
|
* ],
|
|
49
|
-
* repositoryFilters: [
|
|
50
|
-
* {
|
|
49
|
+
* repositoryFilters: [ // RepositoryFilterList
|
|
50
|
+
* { // RepositoryFilter
|
|
51
51
|
* filter: "STRING_VALUE", // required
|
|
52
52
|
* filterType: "STRING_VALUE", // required
|
|
53
53
|
* },
|
|
@@ -28,7 +28,7 @@ export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyRes
|
|
|
28
28
|
* import { ECRClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
29
29
|
* // const { ECRClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
30
30
|
* const client = new ECRClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // SetRepositoryPolicyRequest
|
|
32
32
|
* registryId: "STRING_VALUE",
|
|
33
33
|
* repositoryName: "STRING_VALUE", // required
|
|
34
34
|
* policyText: "STRING_VALUE", // required
|
|
@@ -29,10 +29,10 @@ export interface StartImageScanCommandOutput extends StartImageScanResponse, __M
|
|
|
29
29
|
* import { ECRClient, StartImageScanCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
30
30
|
* // const { ECRClient, StartImageScanCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
31
31
|
* const client = new ECRClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // StartImageScanRequest
|
|
33
33
|
* registryId: "STRING_VALUE",
|
|
34
34
|
* repositoryName: "STRING_VALUE", // required
|
|
35
|
-
* imageId: {
|
|
35
|
+
* imageId: { // ImageIdentifier
|
|
36
36
|
* imageDigest: "STRING_VALUE",
|
|
37
37
|
* imageTag: "STRING_VALUE",
|
|
38
38
|
* },
|
|
@@ -27,7 +27,7 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
|
|
|
27
27
|
* import { ECRClient, StartLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, StartLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // StartLifecyclePolicyPreviewRequest
|
|
31
31
|
* registryId: "STRING_VALUE",
|
|
32
32
|
* repositoryName: "STRING_VALUE", // required
|
|
33
33
|
* lifecyclePolicyText: "STRING_VALUE",
|
|
@@ -27,10 +27,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
27
27
|
* import { ECRClient, TagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
28
28
|
* // const { ECRClient, TagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
29
29
|
* const client = new ECRClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // TagResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
|
-
* tags: [ // required
|
|
33
|
-
* {
|
|
32
|
+
* tags: [ // TagList // required
|
|
33
|
+
* { // Tag
|
|
34
34
|
* Key: "STRING_VALUE",
|
|
35
35
|
* Value: "STRING_VALUE",
|
|
36
36
|
* },
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { ECRClient, UntagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
27
27
|
* // const { ECRClient, UntagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
28
28
|
* const client = new ECRClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -33,7 +33,7 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
33
33
|
* import { ECRClient, UploadLayerPartCommand } from "@aws-sdk/client-ecr"; // ES Modules import
|
|
34
34
|
* // const { ECRClient, UploadLayerPartCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
|
|
35
35
|
* const client = new ECRClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // UploadLayerPartRequest
|
|
37
37
|
* registryId: "STRING_VALUE",
|
|
38
38
|
* repositoryName: "STRING_VALUE", // required
|
|
39
39
|
* uploadId: "STRING_VALUE", // required
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|