@aws-sdk/client-ecr 3.299.0 → 3.300.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.
Files changed (42) hide show
  1. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +7 -0
  2. package/dist-types/commands/BatchDeleteImageCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchGetImageCommand.d.ts +13 -0
  4. package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +5 -0
  5. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +8 -0
  6. package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +5 -0
  7. package/dist-types/commands/CreateRepositoryCommand.d.ts +18 -0
  8. package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +4 -0
  9. package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +1 -0
  11. package/dist-types/commands/DeleteRepositoryCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +4 -0
  13. package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +8 -0
  14. package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +10 -0
  15. package/dist-types/commands/DescribeImagesCommand.d.ts +15 -0
  16. package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +8 -0
  17. package/dist-types/commands/DescribeRegistryCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +8 -0
  19. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +5 -0
  20. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +5 -0
  21. package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +4 -0
  22. package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +15 -0
  23. package/dist-types/commands/GetRegistryPolicyCommand.d.ts +1 -0
  24. package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +1 -0
  25. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +4 -0
  26. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +4 -0
  27. package/dist-types/commands/ListImagesCommand.d.ts +9 -0
  28. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  29. package/dist-types/commands/PutImageCommand.d.ts +8 -0
  30. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +7 -0
  31. package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +5 -0
  32. package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +5 -0
  33. package/dist-types/commands/PutRegistryPolicyCommand.d.ts +3 -0
  34. package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +14 -0
  35. package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +20 -0
  36. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +6 -0
  37. package/dist-types/commands/StartImageScanCommand.d.ts +8 -0
  38. package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +5 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  40. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  41. package/dist-types/commands/UploadLayerPartCommand.d.ts +8 -0
  42. package/package.json +8 -8
@@ -33,6 +33,13 @@ 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 = {
37
+ * registryId: "STRING_VALUE",
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * layerDigests: [ // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
36
43
  * const command = new BatchCheckLayerAvailabilityCommand(input);
37
44
  * const response = await client.send(command);
38
45
  * ```
@@ -31,6 +31,16 @@ 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 = {
35
+ * registryId: "STRING_VALUE",
36
+ * repositoryName: "STRING_VALUE", // required
37
+ * imageIds: [ // required
38
+ * {
39
+ * imageDigest: "STRING_VALUE",
40
+ * imageTag: "STRING_VALUE",
41
+ * },
42
+ * ],
43
+ * };
34
44
  * const command = new BatchDeleteImageCommand(input);
35
45
  * const response = await client.send(command);
36
46
  * ```
@@ -29,6 +29,19 @@ 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 = {
33
+ * registryId: "STRING_VALUE",
34
+ * repositoryName: "STRING_VALUE", // required
35
+ * imageIds: [ // required
36
+ * {
37
+ * imageDigest: "STRING_VALUE",
38
+ * imageTag: "STRING_VALUE",
39
+ * },
40
+ * ],
41
+ * acceptedMediaTypes: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
32
45
  * const command = new BatchGetImageCommand(input);
33
46
  * const response = await client.send(command);
34
47
  * ```
@@ -26,6 +26,11 @@ 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
31
+ * "STRING_VALUE",
32
+ * ],
33
+ * };
29
34
  * const command = new BatchGetRepositoryScanningConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -34,6 +34,14 @@ 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 = {
38
+ * registryId: "STRING_VALUE",
39
+ * repositoryName: "STRING_VALUE", // required
40
+ * uploadId: "STRING_VALUE", // required
41
+ * layerDigests: [ // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
37
45
  * const command = new CompleteLayerUploadCommand(input);
38
46
  * const response = await client.send(command);
39
47
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * ecrRepositoryPrefix: "STRING_VALUE", // required
32
+ * upstreamRegistryUrl: "STRING_VALUE", // required
33
+ * registryId: "STRING_VALUE",
34
+ * };
30
35
  * const command = new CreatePullThroughCacheRuleCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,24 @@ 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 = {
31
+ * registryId: "STRING_VALUE",
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * tags: [
34
+ * {
35
+ * Key: "STRING_VALUE",
36
+ * Value: "STRING_VALUE",
37
+ * },
38
+ * ],
39
+ * imageTagMutability: "STRING_VALUE",
40
+ * imageScanningConfiguration: {
41
+ * scanOnPush: true || false,
42
+ * },
43
+ * encryptionConfiguration: {
44
+ * encryptionType: "STRING_VALUE", // required
45
+ * kmsKey: "STRING_VALUE",
46
+ * },
47
+ * };
30
48
  * const command = new CreateRepositoryCommand(input);
31
49
  * const response = await client.send(command);
32
50
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteLifecyclePolicyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * ecrRepositoryPrefix: "STRING_VALUE", // required
31
+ * registryId: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeletePullThroughCacheRuleCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,7 @@ export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyR
26
26
  * import { ECRClient, DeleteRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
27
27
  * // const { ECRClient, DeleteRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
28
28
  * const client = new ECRClient(config);
29
+ * const input = {};
29
30
  * const command = new DeleteRegistryPolicyCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * registryId: "STRING_VALUE",
33
+ * repositoryName: "STRING_VALUE", // required
34
+ * force: true || false,
35
+ * };
31
36
  * const command = new DeleteRepositoryCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteRepositoryPolicyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,14 @@ 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 = {
30
+ * repositoryName: "STRING_VALUE", // required
31
+ * imageId: {
32
+ * imageDigest: "STRING_VALUE",
33
+ * imageTag: "STRING_VALUE",
34
+ * },
35
+ * registryId: "STRING_VALUE",
36
+ * };
29
37
  * const command = new DescribeImageReplicationStatusCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,16 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * imageId: {
33
+ * imageDigest: "STRING_VALUE",
34
+ * imageTag: "STRING_VALUE",
35
+ * },
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
29
39
  * const command = new DescribeImageScanFindingsCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -32,6 +32,21 @@ 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 = {
36
+ * registryId: "STRING_VALUE",
37
+ * repositoryName: "STRING_VALUE", // required
38
+ * imageIds: [
39
+ * {
40
+ * imageDigest: "STRING_VALUE",
41
+ * imageTag: "STRING_VALUE",
42
+ * },
43
+ * ],
44
+ * nextToken: "STRING_VALUE",
45
+ * maxResults: Number("int"),
46
+ * filter: {
47
+ * tagStatus: "STRING_VALUE",
48
+ * },
49
+ * };
35
50
  * const command = new DescribeImagesCommand(input);
36
51
  * const response = await client.send(command);
37
52
  * ```
@@ -26,6 +26,14 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * ecrRepositoryPrefixes: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
29
37
  * const command = new DescribePullThroughCacheRulesCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -28,6 +28,7 @@ export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse,
28
28
  * import { ECRClient, DescribeRegistryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
29
29
  * // const { ECRClient, DescribeRegistryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
30
30
  * const client = new ECRClient(config);
31
+ * const input = {};
31
32
  * const command = new DescribeRegistryCommand(input);
32
33
  * const response = await client.send(command);
33
34
  * ```
@@ -26,6 +26,14 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryNames: [
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
29
37
  * const command = new DescribeRepositoriesCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -33,6 +33,11 @@ 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: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
36
41
  * const command = new GetAuthorizationTokenCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -33,6 +33,11 @@ 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 = {
37
+ * registryId: "STRING_VALUE",
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * layerDigest: "STRING_VALUE", // required
40
+ * };
36
41
  * const command = new GetDownloadUrlForLayerCommand(input);
37
42
  * const response = await client.send(command);
38
43
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetLifecyclePolicyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,21 @@ 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 = {
31
+ * registryId: "STRING_VALUE",
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * imageIds: [
34
+ * {
35
+ * imageDigest: "STRING_VALUE",
36
+ * imageTag: "STRING_VALUE",
37
+ * },
38
+ * ],
39
+ * nextToken: "STRING_VALUE",
40
+ * maxResults: Number("int"),
41
+ * filter: {
42
+ * tagStatus: "STRING_VALUE",
43
+ * },
44
+ * };
30
45
  * const command = new GetLifecyclePolicyPreviewCommand(input);
31
46
  * const response = await client.send(command);
32
47
  * ```
@@ -26,6 +26,7 @@ export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyRespons
26
26
  * import { ECRClient, GetRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
27
27
  * // const { ECRClient, GetRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
28
28
  * const client = new ECRClient(config);
29
+ * const input = {};
29
30
  * const command = new GetRegistryPolicyCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,7 @@ export interface GetRegistryScanningConfigurationCommandOutput extends GetRegist
26
26
  * import { ECRClient, GetRegistryScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
27
27
  * // const { ECRClient, GetRegistryScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
28
28
  * const client = new ECRClient(config);
29
+ * const input = {};
29
30
  * const command = new GetRegistryScanningConfigurationCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -26,6 +26,10 @@ 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 = {
30
+ * registryId: "STRING_VALUE",
31
+ * repositoryName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetRepositoryPolicyCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -33,6 +33,10 @@ 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 = {
37
+ * registryId: "STRING_VALUE",
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * };
36
40
  * const command = new InitiateLayerUploadCommand(input);
37
41
  * const response = await client.send(command);
38
42
  * ```
@@ -32,6 +32,15 @@ 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 = {
36
+ * registryId: "STRING_VALUE",
37
+ * repositoryName: "STRING_VALUE", // required
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * filter: {
41
+ * tagStatus: "STRING_VALUE",
42
+ * },
43
+ * };
35
44
  * const command = new ListImagesCommand(input);
36
45
  * const response = await client.send(command);
37
46
  * ```
@@ -26,6 +26,9 @@ 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 = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -34,6 +34,14 @@ 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 = {
38
+ * registryId: "STRING_VALUE",
39
+ * repositoryName: "STRING_VALUE", // required
40
+ * imageManifest: "STRING_VALUE", // required
41
+ * imageManifestMediaType: "STRING_VALUE",
42
+ * imageTag: "STRING_VALUE",
43
+ * imageDigest: "STRING_VALUE",
44
+ * };
37
45
  * const command = new PutImageCommand(input);
38
46
  * const response = await client.send(command);
39
47
  * ```
@@ -31,6 +31,13 @@ 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 = {
35
+ * registryId: "STRING_VALUE",
36
+ * repositoryName: "STRING_VALUE", // required
37
+ * imageScanningConfiguration: {
38
+ * scanOnPush: true || false,
39
+ * },
40
+ * };
34
41
  * const command = new PutImageScanningConfigurationCommand(input);
35
42
  * const response = await client.send(command);
36
43
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * registryId: "STRING_VALUE",
33
+ * repositoryName: "STRING_VALUE", // required
34
+ * imageTagMutability: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new PutImageTagMutabilityCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,11 @@ 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 = {
32
+ * registryId: "STRING_VALUE",
33
+ * repositoryName: "STRING_VALUE", // required
34
+ * lifecyclePolicyText: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new PutLifecyclePolicyCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,9 @@ 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 = {
32
+ * policyText: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new PutRegistryPolicyCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -26,6 +26,20 @@ 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 = {
30
+ * scanType: "STRING_VALUE",
31
+ * rules: [
32
+ * {
33
+ * scanFrequency: "STRING_VALUE", // required
34
+ * repositoryFilters: [ // required
35
+ * {
36
+ * filter: "STRING_VALUE", // required
37
+ * filterType: "STRING_VALUE", // required
38
+ * },
39
+ * ],
40
+ * },
41
+ * ],
42
+ * };
29
43
  * const command = new PutRegistryScanningConfigurationCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -36,6 +36,26 @@ 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
+ * {
45
+ * region: "STRING_VALUE", // required
46
+ * registryId: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * repositoryFilters: [
50
+ * {
51
+ * filter: "STRING_VALUE", // required
52
+ * filterType: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * },
56
+ * ],
57
+ * },
58
+ * };
39
59
  * const command = new PutReplicationConfigurationCommand(input);
40
60
  * const response = await client.send(command);
41
61
  * ```
@@ -28,6 +28,12 @@ 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 = {
32
+ * registryId: "STRING_VALUE",
33
+ * repositoryName: "STRING_VALUE", // required
34
+ * policyText: "STRING_VALUE", // required
35
+ * force: true || false,
36
+ * };
31
37
  * const command = new SetRepositoryPolicyCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -29,6 +29,14 @@ 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 = {
33
+ * registryId: "STRING_VALUE",
34
+ * repositoryName: "STRING_VALUE", // required
35
+ * imageId: {
36
+ * imageDigest: "STRING_VALUE",
37
+ * imageTag: "STRING_VALUE",
38
+ * },
39
+ * };
32
40
  * const command = new StartImageScanCommand(input);
33
41
  * const response = await client.send(command);
34
42
  * ```
@@ -27,6 +27,11 @@ 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 = {
31
+ * registryId: "STRING_VALUE",
32
+ * repositoryName: "STRING_VALUE", // required
33
+ * lifecyclePolicyText: "STRING_VALUE",
34
+ * };
30
35
  * const command = new StartLifecyclePolicyPreviewCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,15 @@ 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 = {
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * tags: [ // required
33
+ * {
34
+ * Key: "STRING_VALUE",
35
+ * Value: "STRING_VALUE",
36
+ * },
37
+ * ],
38
+ * };
30
39
  * const command = new TagResourceCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
@@ -26,6 +26,12 @@ 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 = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -33,6 +33,14 @@ 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 = {
37
+ * registryId: "STRING_VALUE",
38
+ * repositoryName: "STRING_VALUE", // required
39
+ * uploadId: "STRING_VALUE", // required
40
+ * partFirstByte: Number("long"), // required
41
+ * partLastByte: Number("long"), // required
42
+ * layerPartBlob: "BLOB_VALUE", // required
43
+ * };
36
44
  * const command = new UploadLayerPartCommand(input);
37
45
  * const response = await client.send(command);
38
46
  * ```
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.299.0",
4
+ "version": "3.300.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "tslib": "^2.5.0"