@aws-sdk/client-ecr 3.36.0 → 3.39.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 (114) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/ECR.js +0 -11
  3. package/dist-cjs/ECRClient.js +0 -16
  4. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
  5. package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -29
  6. package/dist-cjs/commands/BatchGetImageCommand.js +0 -27
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
  8. package/dist-cjs/commands/CreateRepositoryCommand.js +0 -25
  9. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -24
  10. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +0 -24
  11. package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -24
  13. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +0 -24
  14. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +0 -24
  15. package/dist-cjs/commands/DescribeImagesCommand.js +0 -30
  16. package/dist-cjs/commands/DescribeRegistryCommand.js +0 -26
  17. package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -24
  18. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -31
  19. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +0 -31
  20. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -24
  21. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +0 -25
  22. package/dist-cjs/commands/GetRegistryPolicyCommand.js +0 -24
  23. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -24
  24. package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
  25. package/dist-cjs/commands/ListImagesCommand.js +0 -30
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  27. package/dist-cjs/commands/PutImageCommand.js +0 -32
  28. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +0 -24
  29. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +0 -26
  30. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
  31. package/dist-cjs/commands/PutRegistryPolicyCommand.js +0 -26
  32. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +0 -34
  33. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -26
  34. package/dist-cjs/commands/StartImageScanCommand.js +0 -27
  35. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +0 -25
  36. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  37. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  38. package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
  39. package/dist-cjs/commands/index.js +38 -0
  40. package/dist-cjs/endpoints.js +10 -1
  41. package/dist-cjs/index.js +5 -45
  42. package/dist-cjs/models/models_0.js +0 -381
  43. package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +0 -10
  44. package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -10
  45. package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -10
  46. package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +0 -10
  47. package/dist-cjs/pagination/ListImagesPaginator.js +0 -10
  48. package/dist-cjs/pagination/index.js +9 -0
  49. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  50. package/dist-cjs/runtimeConfig.browser.js +1 -5
  51. package/dist-cjs/runtimeConfig.js +1 -5
  52. package/dist-cjs/runtimeConfig.native.js +0 -3
  53. package/dist-cjs/runtimeConfig.shared.js +0 -3
  54. package/dist-cjs/waiters/index.js +5 -0
  55. package/dist-cjs/waiters/waitForImageScanComplete.js +0 -9
  56. package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +0 -9
  57. package/dist-es/commands/index.js +35 -0
  58. package/dist-es/endpoints.js +10 -1
  59. package/dist-es/index.js +5 -45
  60. package/dist-es/pagination/index.js +6 -0
  61. package/dist-es/waiters/index.js +2 -0
  62. package/dist-types/commands/index.d.ts +35 -0
  63. package/dist-types/index.d.ts +5 -45
  64. package/dist-types/pagination/index.d.ts +6 -0
  65. package/dist-types/ts3.4/ECR.d.ts +36 -216
  66. package/dist-types/ts3.4/ECRClient.d.ts +24 -97
  67. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -27
  68. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
  69. package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -23
  70. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -28
  71. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
  72. package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
  75. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
  79. package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -22
  80. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -27
  82. package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -27
  83. package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -21
  85. package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -27
  88. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -26
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -28
  91. package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -22
  93. package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -22
  94. package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -22
  95. package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -30
  96. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
  97. package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -23
  98. package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -27
  102. package/dist-types/ts3.4/commands/index.d.ts +35 -0
  103. package/dist-types/ts3.4/index.d.ts +5 -45
  104. package/dist-types/ts3.4/models/models_0.d.ts +478 -1712
  105. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  110. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  111. package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +2 -9
  112. package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -9
  113. package/dist-types/waiters/index.d.ts +2 -0
  114. package/package.json +33 -33
@@ -6,32 +6,11 @@ export interface BatchGetImageCommandInput extends BatchGetImageRequest {
6
6
  }
7
7
  export interface BatchGetImageCommandOutput extends BatchGetImageResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets detailed information for an image. Images are specified with either an
11
- * <code>imageTag</code> or <code>imageDigest</code>.</p>
12
- * <p>When an image is pulled, the BatchGetImage API is called once to retrieve the image
13
- * manifest.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ECRClient, BatchGetImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
18
- * // const { ECRClient, BatchGetImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
19
- * const client = new ECRClient(config);
20
- * const command = new BatchGetImageCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link BatchGetImageCommandInput} for command's `input` shape.
25
- * @see {@link BatchGetImageCommandOutput} for command's `response` shape.
26
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class BatchGetImageCommand extends $Command<BatchGetImageCommandInput, BatchGetImageCommandOutput, ECRClientResolvedConfig> {
30
11
  readonly input: BatchGetImageCommandInput;
31
12
  constructor(input: BatchGetImageCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetImageCommandInput, BatchGetImageCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,37 +6,11 @@ export interface CompleteLayerUploadCommandInput extends CompleteLayerUploadRequ
6
6
  }
7
7
  export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Informs Amazon ECR that the image layer upload has completed for a specified registry,
11
- * repository name, and upload ID. You can optionally provide a <code>sha256</code> digest
12
- * of the image layer for data validation purposes.</p>
13
- * <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
14
- * layer to verify that the upload has completed.</p>
15
- * <note>
16
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
17
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
18
- * </note>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { ECRClient, CompleteLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
23
- * // const { ECRClient, CompleteLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
24
- * const client = new ECRClient(config);
25
- * const command = new CompleteLayerUploadCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link CompleteLayerUploadCommandInput} for command's `input` shape.
30
- * @see {@link CompleteLayerUploadCommandOutput} for command's `response` shape.
31
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
9
+
34
10
  export declare class CompleteLayerUploadCommand extends $Command<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput, ECRClientResolvedConfig> {
35
11
  readonly input: CompleteLayerUploadCommandInput;
36
12
  constructor(input: CompleteLayerUploadCommandInput);
37
- /**
38
- * @internal
39
- */
13
+
40
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteLayerUploadCommandInput, CompleteLayerUploadCommandOutput>;
41
15
  private serialize;
42
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface CreateRepositoryCommandInput extends CreateRepositoryRequest {
6
6
  }
7
7
  export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates a repository. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html">Amazon ECR repositories</a> in the
11
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ECRClient, CreateRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
16
- * // const { ECRClient, CreateRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
17
- * const client = new ECRClient(config);
18
- * const command = new CreateRepositoryCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CreateRepositoryCommandInput} for command's `input` shape.
23
- * @see {@link CreateRepositoryCommandOutput} for command's `response` shape.
24
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, ECRClientResolvedConfig> {
28
11
  readonly input: CreateRepositoryCommandInput;
29
12
  constructor(input: CreateRepositoryCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryCommandInput, CreateRepositoryCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteLifecyclePolicyCommandInput extends DeleteLifecyclePolicy
6
6
  }
7
7
  export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the lifecycle policy associated with the specified repository.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DeleteLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DeleteLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DeleteLifecyclePolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteLifecyclePolicyCommandInput} for command's `input` shape.
22
- * @see {@link DeleteLifecyclePolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteLifecyclePolicyCommand extends $Command<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DeleteLifecyclePolicyCommandInput;
28
12
  constructor(input: DeleteLifecyclePolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLifecyclePolicyCommandInput, DeleteLifecyclePolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteRegistryPolicyCommandInput extends DeleteRegistryPolicyRe
6
6
  }
7
7
  export interface DeleteRegistryPolicyCommandOutput extends DeleteRegistryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the registry permissions policy.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DeleteRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DeleteRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DeleteRegistryPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteRegistryPolicyCommandInput} for command's `input` shape.
22
- * @see {@link DeleteRegistryPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteRegistryPolicyCommand extends $Command<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DeleteRegistryPolicyCommandInput;
28
12
  constructor(input: DeleteRegistryPolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRegistryPolicyCommandInput, DeleteRegistryPolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DeleteRepositoryCommandInput extends DeleteRepositoryRequest {
6
6
  }
7
7
  export interface DeleteRepositoryCommandOutput extends DeleteRepositoryResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes a repository. If the repository contains images, you must either delete all
11
- * images in the repository or use the <code>force</code> option to delete the
12
- * repository.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, DeleteRepositoryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, DeleteRepositoryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new DeleteRepositoryCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteRepositoryCommandInput} for command's `input` shape.
24
- * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: DeleteRepositoryCommandInput;
30
12
  constructor(input: DeleteRepositoryCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DeleteRepositoryPolicyCommandInput extends DeleteRepositoryPoli
6
6
  }
7
7
  export interface DeleteRepositoryPolicyCommandOutput extends DeleteRepositoryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the repository policy associated with the specified repository.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DeleteRepositoryPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteRepositoryPolicyCommandInput} for command's `input` shape.
22
- * @see {@link DeleteRepositoryPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DeleteRepositoryPolicyCommand extends $Command<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DeleteRepositoryPolicyCommandInput;
28
12
  constructor(input: DeleteRepositoryPolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRepositoryPolicyCommandInput, DeleteRepositoryPolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeImageReplicationStatusCommandInput extends DescribeImag
6
6
  }
7
7
  export interface DescribeImageReplicationStatusCommandOutput extends DescribeImageReplicationStatusResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the replication status for a specified image.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DescribeImageReplicationStatusCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DescribeImageReplicationStatusCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DescribeImageReplicationStatusCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeImageReplicationStatusCommandInput} for command's `input` shape.
22
- * @see {@link DescribeImageReplicationStatusCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeImageReplicationStatusCommand extends $Command<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DescribeImageReplicationStatusCommandInput;
28
12
  constructor(input: DescribeImageReplicationStatusCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImageReplicationStatusCommandInput, DescribeImageReplicationStatusCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeImageScanFindingsCommandInput extends DescribeImageScan
6
6
  }
7
7
  export interface DescribeImageScanFindingsCommandOutput extends DescribeImageScanFindingsResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns the scan findings for the specified image.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DescribeImageScanFindingsCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DescribeImageScanFindingsCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DescribeImageScanFindingsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeImageScanFindingsCommandInput} for command's `input` shape.
22
- * @see {@link DescribeImageScanFindingsCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeImageScanFindingsCommand extends $Command<DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DescribeImageScanFindingsCommandInput;
28
12
  constructor(input: DescribeImageScanFindingsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImageScanFindingsCommandInput, DescribeImageScanFindingsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,35 +6,11 @@ export interface DescribeImagesCommandInput extends DescribeImagesRequest {
6
6
  }
7
7
  export interface DescribeImagesCommandOutput extends DescribeImagesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Returns metadata about the images in a repository.</p>
11
- * <note>
12
- * <p>Beginning with Docker version 1.9, the Docker client compresses image layers
13
- * before pushing them to a V2 Docker registry. The output of the <code>docker
14
- * images</code> command shows the uncompressed image size, so it may return a
15
- * larger image size than the image sizes returned by <a>DescribeImages</a>.</p>
16
- * </note>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECRClient, DescribeImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
21
- * // const { ECRClient, DescribeImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
22
- * const client = new ECRClient(config);
23
- * const command = new DescribeImagesCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DescribeImagesCommandInput} for command's `input` shape.
28
- * @see {@link DescribeImagesCommandOutput} for command's `response` shape.
29
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class DescribeImagesCommand extends $Command<DescribeImagesCommandInput, DescribeImagesCommandOutput, ECRClientResolvedConfig> {
33
11
  readonly input: DescribeImagesCommandInput;
34
12
  constructor(input: DescribeImagesCommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImagesCommandInput, DescribeImagesCommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface DescribeRegistryCommandInput extends DescribeRegistryRequest {
6
6
  }
7
7
  export interface DescribeRegistryCommandOutput extends DescribeRegistryResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Describes the settings for a registry. The replication configuration for a repository
11
- * can be created or updated with the <a>PutReplicationConfiguration</a> API
12
- * action.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, DescribeRegistryCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, DescribeRegistryCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new DescribeRegistryCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeRegistryCommandInput} for command's `input` shape.
24
- * @see {@link DescribeRegistryCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class DescribeRegistryCommand extends $Command<DescribeRegistryCommandInput, DescribeRegistryCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: DescribeRegistryCommandInput;
30
12
  constructor(input: DescribeRegistryCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRegistryCommandInput, DescribeRegistryCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface DescribeRepositoriesCommandInput extends DescribeRepositoriesRe
6
6
  }
7
7
  export interface DescribeRepositoriesCommandOutput extends DescribeRepositoriesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Describes image repositories in a registry.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, DescribeRepositoriesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, DescribeRepositoriesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new DescribeRepositoriesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeRepositoriesCommandInput} for command's `input` shape.
22
- * @see {@link DescribeRepositoriesCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class DescribeRepositoriesCommand extends $Command<DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: DescribeRepositoriesCommandInput;
28
12
  constructor(input: DescribeRepositoriesCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRepositoriesCommandInput, DescribeRepositoriesCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,36 +6,11 @@ export interface GetAuthorizationTokenCommandInput extends GetAuthorizationToken
6
6
  }
7
7
  export interface GetAuthorizationTokenCommandOutput extends GetAuthorizationTokenResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves an authorization token. An authorization token represents your IAM
11
- * authentication credentials and can be used to access any Amazon ECR registry that your IAM
12
- * principal has access to. The authorization token is valid for 12 hours.</p>
13
- * <p>The <code>authorizationToken</code> returned is a base64 encoded string that can be
14
- * decoded and used in a <code>docker login</code> command to authenticate to a registry.
15
- * The CLI offers an <code>get-login-password</code> command that simplifies the login
16
- * process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth">Registry
17
- * authentication</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { ECRClient, GetAuthorizationTokenCommand } from "@aws-sdk/client-ecr"; // ES Modules import
22
- * // const { ECRClient, GetAuthorizationTokenCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
23
- * const client = new ECRClient(config);
24
- * const command = new GetAuthorizationTokenCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link GetAuthorizationTokenCommandInput} for command's `input` shape.
29
- * @see {@link GetAuthorizationTokenCommandOutput} for command's `response` shape.
30
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class GetAuthorizationTokenCommand extends $Command<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput, ECRClientResolvedConfig> {
34
11
  readonly input: GetAuthorizationTokenCommandInput;
35
12
  constructor(input: GetAuthorizationTokenCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAuthorizationTokenCommandInput, GetAuthorizationTokenCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -6,36 +6,11 @@ export interface GetDownloadUrlForLayerCommandInput extends GetDownloadUrlForLay
6
6
  }
7
7
  export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLayerResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the pre-signed Amazon S3 download URL corresponding to an image layer. You can
11
- * only get URLs for image layers that are referenced in an image.</p>
12
- * <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
13
- * that is not already cached.</p>
14
- * <note>
15
- * <p>This operation is used by the Amazon ECR proxy and is not generally used by
16
- * customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
17
- * </note>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { ECRClient, GetDownloadUrlForLayerCommand } from "@aws-sdk/client-ecr"; // ES Modules import
22
- * // const { ECRClient, GetDownloadUrlForLayerCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
23
- * const client = new ECRClient(config);
24
- * const command = new GetDownloadUrlForLayerCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link GetDownloadUrlForLayerCommandInput} for command's `input` shape.
29
- * @see {@link GetDownloadUrlForLayerCommandOutput} for command's `response` shape.
30
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class GetDownloadUrlForLayerCommand extends $Command<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput, ECRClientResolvedConfig> {
34
11
  readonly input: GetDownloadUrlForLayerCommandInput;
35
12
  constructor(input: GetDownloadUrlForLayerCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDownloadUrlForLayerCommandInput, GetDownloadUrlForLayerCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface GetLifecyclePolicyCommandInput extends GetLifecyclePolicyReques
6
6
  }
7
7
  export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the lifecycle policy for the specified repository.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, GetLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, GetLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new GetLifecyclePolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetLifecyclePolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetLifecyclePolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetLifecyclePolicyCommand extends $Command<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: GetLifecyclePolicyCommandInput;
28
12
  constructor(input: GetLifecyclePolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface GetLifecyclePolicyPreviewCommandInput extends GetLifecyclePolic
6
6
  }
7
7
  export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePolicyPreviewResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the results of the lifecycle policy preview request for the specified
11
- * repository.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ECRClient, GetLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
16
- * // const { ECRClient, GetLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
17
- * const client = new ECRClient(config);
18
- * const command = new GetLifecyclePolicyPreviewCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link GetLifecyclePolicyPreviewCommandInput} for command's `input` shape.
23
- * @see {@link GetLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
24
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class GetLifecyclePolicyPreviewCommand extends $Command<GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
28
11
  readonly input: GetLifecyclePolicyPreviewCommandInput;
29
12
  constructor(input: GetLifecyclePolicyPreviewCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLifecyclePolicyPreviewCommandInput, GetLifecyclePolicyPreviewCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface GetRegistryPolicyCommandInput extends GetRegistryPolicyRequest
6
6
  }
7
7
  export interface GetRegistryPolicyCommandOutput extends GetRegistryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the permissions policy for a registry.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, GetRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, GetRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new GetRegistryPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetRegistryPolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetRegistryPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetRegistryPolicyCommand extends $Command<GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: GetRegistryPolicyCommandInput;
28
12
  constructor(input: GetRegistryPolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRegistryPolicyCommandInput, GetRegistryPolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface GetRepositoryPolicyCommandInput extends GetRepositoryPolicyRequ
6
6
  }
7
7
  export interface GetRepositoryPolicyCommandOutput extends GetRepositoryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the repository policy for the specified repository.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, GetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, GetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new GetRepositoryPolicyCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetRepositoryPolicyCommandInput} for command's `input` shape.
22
- * @see {@link GetRepositoryPolicyCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetRepositoryPolicyCommand extends $Command<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: GetRepositoryPolicyCommandInput;
28
12
  constructor(input: GetRepositoryPolicyCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRepositoryPolicyCommandInput, GetRepositoryPolicyCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;