@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,36 +6,11 @@ export interface InitiateLayerUploadCommandInput extends InitiateLayerUploadRequ
6
6
  }
7
7
  export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Notifies Amazon ECR that you intend to upload an image layer.</p>
11
- * <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
12
- * that has not already been uploaded. Whether or not an image layer has been uploaded is
13
- * determined by the BatchCheckLayerAvailability API action.</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, InitiateLayerUploadCommand } from "@aws-sdk/client-ecr"; // ES Modules import
22
- * // const { ECRClient, InitiateLayerUploadCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
23
- * const client = new ECRClient(config);
24
- * const command = new InitiateLayerUploadCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link InitiateLayerUploadCommandInput} for command's `input` shape.
29
- * @see {@link InitiateLayerUploadCommandOutput} for command's `response` shape.
30
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class InitiateLayerUploadCommand extends $Command<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput, ECRClientResolvedConfig> {
34
11
  readonly input: InitiateLayerUploadCommandInput;
35
12
  constructor(input: InitiateLayerUploadCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<InitiateLayerUploadCommandInput, InitiateLayerUploadCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -6,35 +6,11 @@ export interface ListImagesCommandInput extends ListImagesRequest {
6
6
  }
7
7
  export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Lists all the image IDs for the specified repository.</p>
11
- * <p>You can filter images based on whether or not they are tagged by using the
12
- * <code>tagStatus</code> filter and specifying either <code>TAGGED</code>,
13
- * <code>UNTAGGED</code> or <code>ANY</code>. For example, you can filter your results
14
- * to return only <code>UNTAGGED</code> images and then pipe that result to a <a>BatchDeleteImage</a> operation to delete them. Or, you can filter your
15
- * results to return only <code>TAGGED</code> images to list all of the tags in your
16
- * repository.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ECRClient, ListImagesCommand } from "@aws-sdk/client-ecr"; // ES Modules import
21
- * // const { ECRClient, ListImagesCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
22
- * const client = new ECRClient(config);
23
- * const command = new ListImagesCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ListImagesCommandInput} for command's `input` shape.
28
- * @see {@link ListImagesCommandOutput} for command's `response` shape.
29
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
9
+
32
10
  export declare class ListImagesCommand extends $Command<ListImagesCommandInput, ListImagesCommandOutput, ECRClientResolvedConfig> {
33
11
  readonly input: ListImagesCommandInput;
34
12
  constructor(input: ListImagesCommandInput);
35
- /**
36
- * @internal
37
- */
13
+
38
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImagesCommandInput, ListImagesCommandOutput>;
39
15
  private serialize;
40
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
6
6
  }
7
7
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>List the tags for an Amazon ECR resource.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, ListTagsForResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new ListTagsForResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: ListTagsForResourceCommandInput;
28
12
  constructor(input: ListTagsForResourceCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,37 +6,11 @@ export interface PutImageCommandInput extends PutImageRequest {
6
6
  }
7
7
  export interface PutImageCommandOutput extends PutImageResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates or updates the image manifest and tags associated with an image.</p>
11
- * <p>When an image is pushed and all new image layers have been uploaded, the PutImage API
12
- * is called once to create or update the image manifest and the tags associated with the
13
- * image.</p>
14
- *
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, PutImageCommand } from "@aws-sdk/client-ecr"; // ES Modules import
23
- * // const { ECRClient, PutImageCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
24
- * const client = new ECRClient(config);
25
- * const command = new PutImageCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link PutImageCommandInput} for command's `input` shape.
30
- * @see {@link PutImageCommandOutput} for command's `response` shape.
31
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
9
+
34
10
  export declare class PutImageCommand extends $Command<PutImageCommandInput, PutImageCommandOutput, ECRClientResolvedConfig> {
35
11
  readonly input: PutImageCommandInput;
36
12
  constructor(input: PutImageCommandInput);
37
- /**
38
- * @internal
39
- */
13
+
40
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutImageCommandInput, PutImageCommandOutput>;
41
15
  private serialize;
42
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface PutImageScanningConfigurationCommandInput extends PutImageScann
6
6
  }
7
7
  export interface PutImageScanningConfigurationCommandOutput extends PutImageScanningConfigurationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Updates the image scanning configuration 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, PutImageScanningConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, PutImageScanningConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new PutImageScanningConfigurationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link PutImageScanningConfigurationCommandInput} for command's `input` shape.
22
- * @see {@link PutImageScanningConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class PutImageScanningConfigurationCommand extends $Command<PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: PutImageScanningConfigurationCommandInput;
28
12
  constructor(input: PutImageScanningConfigurationCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutImageScanningConfigurationCommandInput, PutImageScanningConfigurationCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface PutImageTagMutabilityCommandInput extends PutImageTagMutability
6
6
  }
7
7
  export interface PutImageTagMutabilityCommandOutput extends PutImageTagMutabilityResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Updates the image tag mutability settings for the specified repository. For more
11
- * information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html">Image tag
12
- * mutability</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, PutImageTagMutabilityCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, PutImageTagMutabilityCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new PutImageTagMutabilityCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link PutImageTagMutabilityCommandInput} for command's `input` shape.
24
- * @see {@link PutImageTagMutabilityCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class PutImageTagMutabilityCommand extends $Command<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: PutImageTagMutabilityCommandInput;
30
12
  constructor(input: PutImageTagMutabilityCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutImageTagMutabilityCommandInput, PutImageTagMutabilityCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface PutLifecyclePolicyCommandInput extends PutLifecyclePolicyReques
6
6
  }
7
7
  export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates or updates the lifecycle policy for the specified repository. For more
11
- * information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html">Lifecycle policy
12
- * template</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, PutLifecyclePolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, PutLifecyclePolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new PutLifecyclePolicyCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link PutLifecyclePolicyCommandInput} for command's `input` shape.
24
- * @see {@link PutLifecyclePolicyCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class PutLifecyclePolicyCommand extends $Command<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: PutLifecyclePolicyCommandInput;
30
12
  constructor(input: PutLifecyclePolicyCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutLifecyclePolicyCommandInput, PutLifecyclePolicyCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface PutRegistryPolicyCommandInput extends PutRegistryPolicyRequest
6
6
  }
7
7
  export interface PutRegistryPolicyCommandOutput extends PutRegistryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates or updates the permissions policy for your registry.</p>
11
- * <p>A registry policy is used to specify permissions for another Amazon Web Services account and is used
12
- * when configuring cross-account replication. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry-permissions.html">Registry permissions</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, PutRegistryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, PutRegistryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new PutRegistryPolicyCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link PutRegistryPolicyCommandInput} for command's `input` shape.
24
- * @see {@link PutRegistryPolicyCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class PutRegistryPolicyCommand extends $Command<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: PutRegistryPolicyCommandInput;
30
12
  constructor(input: PutRegistryPolicyCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRegistryPolicyCommandInput, PutRegistryPolicyCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,39 +6,11 @@ export interface PutReplicationConfigurationCommandInput extends PutReplicationC
6
6
  }
7
7
  export interface PutReplicationConfigurationCommandOutput extends PutReplicationConfigurationResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates or updates the replication configuration for a registry. The existing
11
- * replication configuration for a repository can be retrieved with the <a>DescribeRegistry</a> API action. The first time the
12
- * PutReplicationConfiguration API is called, a service-linked IAM role is created in
13
- * your account for the replication process. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/using-service-linked-roles.html">Using
14
- * service-linked roles for Amazon ECR</a> in the
15
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
16
- * <note>
17
- * <p>When configuring cross-account replication, the destination account must grant the
18
- * source account permission to replicate. This permission is controlled using a
19
- * registry permissions policy. For more information, see <a>PutRegistryPolicy</a>.</p>
20
- * </note>
21
- * @example
22
- * Use a bare-bones client and the command you need to make an API call.
23
- * ```javascript
24
- * import { ECRClient, PutReplicationConfigurationCommand } from "@aws-sdk/client-ecr"; // ES Modules import
25
- * // const { ECRClient, PutReplicationConfigurationCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
26
- * const client = new ECRClient(config);
27
- * const command = new PutReplicationConfigurationCommand(input);
28
- * const response = await client.send(command);
29
- * ```
30
- *
31
- * @see {@link PutReplicationConfigurationCommandInput} for command's `input` shape.
32
- * @see {@link PutReplicationConfigurationCommandOutput} for command's `response` shape.
33
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
34
- *
35
- */
9
+
36
10
  export declare class PutReplicationConfigurationCommand extends $Command<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput, ECRClientResolvedConfig> {
37
11
  readonly input: PutReplicationConfigurationCommandInput;
38
12
  constructor(input: PutReplicationConfigurationCommandInput);
39
- /**
40
- * @internal
41
- */
13
+
42
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutReplicationConfigurationCommandInput, PutReplicationConfigurationCommandOutput>;
43
15
  private serialize;
44
16
  private deserialize;
@@ -6,31 +6,11 @@ export interface SetRepositoryPolicyCommandInput extends SetRepositoryPolicyRequ
6
6
  }
7
7
  export interface SetRepositoryPolicyCommandOutput extends SetRepositoryPolicyResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Applies a repository policy to the specified repository to control access permissions.
11
- * For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policies.html">Amazon ECR Repository
12
- * policies</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ECRClient, SetRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
17
- * // const { ECRClient, SetRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
18
- * const client = new ECRClient(config);
19
- * const command = new SetRepositoryPolicyCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link SetRepositoryPolicyCommandInput} for command's `input` shape.
24
- * @see {@link SetRepositoryPolicyCommandOutput} for command's `response` shape.
25
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
9
+
28
10
  export declare class SetRepositoryPolicyCommand extends $Command<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput, ECRClientResolvedConfig> {
29
11
  readonly input: SetRepositoryPolicyCommandInput;
30
12
  constructor(input: SetRepositoryPolicyCommandInput);
31
- /**
32
- * @internal
33
- */
13
+
34
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SetRepositoryPolicyCommandInput, SetRepositoryPolicyCommandOutput>;
35
15
  private serialize;
36
16
  private deserialize;
@@ -6,32 +6,11 @@ export interface StartImageScanCommandInput extends StartImageScanRequest {
6
6
  }
7
7
  export interface StartImageScanCommandOutput extends StartImageScanResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Starts an image vulnerability scan. An image scan can only be started once per 24
11
- * hours on an individual image. This limit includes if an image was scanned on initial
12
- * push. For more information, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html">Image scanning</a> in the
13
- * <i>Amazon Elastic Container Registry User Guide</i>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ECRClient, StartImageScanCommand } from "@aws-sdk/client-ecr"; // ES Modules import
18
- * // const { ECRClient, StartImageScanCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
19
- * const client = new ECRClient(config);
20
- * const command = new StartImageScanCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link StartImageScanCommandInput} for command's `input` shape.
25
- * @see {@link StartImageScanCommandOutput} for command's `response` shape.
26
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
9
+
29
10
  export declare class StartImageScanCommand extends $Command<StartImageScanCommandInput, StartImageScanCommandOutput, ECRClientResolvedConfig> {
30
11
  readonly input: StartImageScanCommandInput;
31
12
  constructor(input: StartImageScanCommandInput);
32
- /**
33
- * @internal
34
- */
13
+
35
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartImageScanCommandInput, StartImageScanCommandOutput>;
36
15
  private serialize;
37
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface StartLifecyclePolicyPreviewCommandInput extends StartLifecycleP
6
6
  }
7
7
  export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecyclePolicyPreviewResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Starts a preview of a lifecycle policy for the specified repository. This allows you
11
- * to see the results before associating the lifecycle policy with the 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, StartLifecyclePolicyPreviewCommand } from "@aws-sdk/client-ecr"; // ES Modules import
16
- * // const { ECRClient, StartLifecyclePolicyPreviewCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
17
- * const client = new ECRClient(config);
18
- * const command = new StartLifecyclePolicyPreviewCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link StartLifecyclePolicyPreviewCommandInput} for command's `input` shape.
23
- * @see {@link StartLifecyclePolicyPreviewCommandOutput} for command's `response` shape.
24
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class StartLifecyclePolicyPreviewCommand extends $Command<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput, ECRClientResolvedConfig> {
28
11
  readonly input: StartLifecyclePolicyPreviewCommandInput;
29
12
  constructor(input: StartLifecyclePolicyPreviewCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLifecyclePolicyPreviewCommandInput, StartLifecyclePolicyPreviewCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface TagResourceCommandInput extends TagResourceRequest {
6
6
  }
7
7
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource
11
- * are not changed if they are not specified in the request parameters.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ECRClient, TagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
16
- * // const { ECRClient, TagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
17
- * const client = new ECRClient(config);
18
- * const command = new TagResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link TagResourceCommandInput} for command's `input` shape.
23
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
24
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, ECRClientResolvedConfig> {
28
11
  readonly input: TagResourceCommandInput;
29
12
  constructor(input: TagResourceCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
6
  }
7
7
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes specified tags from a resource.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ECRClient, UntagResourceCommand } from "@aws-sdk/client-ecr"; // ES Modules import
15
- * // const { ECRClient, UntagResourceCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
16
- * const client = new ECRClient(config);
17
- * const command = new UntagResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, ECRClientResolvedConfig> {
27
11
  readonly input: UntagResourceCommandInput;
28
12
  constructor(input: UntagResourceCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,36 +6,11 @@ export interface UploadLayerPartCommandInput extends UploadLayerPartRequest {
6
6
  }
7
7
  export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Uploads an image layer part to Amazon ECR.</p>
11
- * <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
12
- * of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
13
- * is called once per each new image layer part.</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, UploadLayerPartCommand } from "@aws-sdk/client-ecr"; // ES Modules import
22
- * // const { ECRClient, UploadLayerPartCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
23
- * const client = new ECRClient(config);
24
- * const command = new UploadLayerPartCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link UploadLayerPartCommandInput} for command's `input` shape.
29
- * @see {@link UploadLayerPartCommandOutput} for command's `response` shape.
30
- * @see {@link ECRClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
9
+
33
10
  export declare class UploadLayerPartCommand extends $Command<UploadLayerPartCommandInput, UploadLayerPartCommandOutput, ECRClientResolvedConfig> {
34
11
  readonly input: UploadLayerPartCommandInput;
35
12
  constructor(input: UploadLayerPartCommandInput);
36
- /**
37
- * @internal
38
- */
13
+
39
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ECRClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadLayerPartCommandInput, UploadLayerPartCommandOutput>;
40
15
  private serialize;
41
16
  private deserialize;
@@ -0,0 +1,35 @@
1
+ export * from "./BatchCheckLayerAvailabilityCommand";
2
+ export * from "./BatchDeleteImageCommand";
3
+ export * from "./BatchGetImageCommand";
4
+ export * from "./CompleteLayerUploadCommand";
5
+ export * from "./CreateRepositoryCommand";
6
+ export * from "./DeleteLifecyclePolicyCommand";
7
+ export * from "./DeleteRegistryPolicyCommand";
8
+ export * from "./DeleteRepositoryCommand";
9
+ export * from "./DeleteRepositoryPolicyCommand";
10
+ export * from "./DescribeImageReplicationStatusCommand";
11
+ export * from "./DescribeImageScanFindingsCommand";
12
+ export * from "./DescribeImagesCommand";
13
+ export * from "./DescribeRegistryCommand";
14
+ export * from "./DescribeRepositoriesCommand";
15
+ export * from "./GetAuthorizationTokenCommand";
16
+ export * from "./GetDownloadUrlForLayerCommand";
17
+ export * from "./GetLifecyclePolicyCommand";
18
+ export * from "./GetLifecyclePolicyPreviewCommand";
19
+ export * from "./GetRegistryPolicyCommand";
20
+ export * from "./GetRepositoryPolicyCommand";
21
+ export * from "./InitiateLayerUploadCommand";
22
+ export * from "./ListImagesCommand";
23
+ export * from "./ListTagsForResourceCommand";
24
+ export * from "./PutImageCommand";
25
+ export * from "./PutImageScanningConfigurationCommand";
26
+ export * from "./PutImageTagMutabilityCommand";
27
+ export * from "./PutLifecyclePolicyCommand";
28
+ export * from "./PutRegistryPolicyCommand";
29
+ export * from "./PutReplicationConfigurationCommand";
30
+ export * from "./SetRepositoryPolicyCommand";
31
+ export * from "./StartImageScanCommand";
32
+ export * from "./StartLifecyclePolicyPreviewCommand";
33
+ export * from "./TagResourceCommand";
34
+ export * from "./UntagResourceCommand";
35
+ export * from "./UploadLayerPartCommand";
@@ -1,46 +1,6 @@
1
- export * from "./ECRClient";
2
1
  export * from "./ECR";
3
- export * from "./commands/BatchCheckLayerAvailabilityCommand";
4
- export * from "./commands/BatchDeleteImageCommand";
5
- export * from "./commands/BatchGetImageCommand";
6
- export * from "./commands/CompleteLayerUploadCommand";
7
- export * from "./commands/CreateRepositoryCommand";
8
- export * from "./commands/DeleteLifecyclePolicyCommand";
9
- export * from "./commands/DeleteRegistryPolicyCommand";
10
- export * from "./commands/DeleteRepositoryCommand";
11
- export * from "./commands/DeleteRepositoryPolicyCommand";
12
- export * from "./commands/DescribeImageReplicationStatusCommand";
13
- export * from "./commands/DescribeImagesCommand";
14
- export * from "./pagination/DescribeImagesPaginator";
15
- export * from "./commands/DescribeImageScanFindingsCommand";
16
- export * from "./pagination/DescribeImageScanFindingsPaginator";
17
- export * from "./waiters/waitForImageScanComplete";
18
- export * from "./commands/DescribeRegistryCommand";
19
- export * from "./commands/DescribeRepositoriesCommand";
20
- export * from "./pagination/DescribeRepositoriesPaginator";
21
- export * from "./commands/GetAuthorizationTokenCommand";
22
- export * from "./commands/GetDownloadUrlForLayerCommand";
23
- export * from "./commands/GetLifecyclePolicyCommand";
24
- export * from "./commands/GetLifecyclePolicyPreviewCommand";
25
- export * from "./pagination/GetLifecyclePolicyPreviewPaginator";
26
- export * from "./waiters/waitForLifecyclePolicyPreviewComplete";
27
- export * from "./commands/GetRegistryPolicyCommand";
28
- export * from "./commands/GetRepositoryPolicyCommand";
29
- export * from "./commands/InitiateLayerUploadCommand";
30
- export * from "./commands/ListImagesCommand";
31
- export * from "./pagination/ListImagesPaginator";
32
- export * from "./commands/ListTagsForResourceCommand";
33
- export * from "./commands/PutImageCommand";
34
- export * from "./commands/PutImageScanningConfigurationCommand";
35
- export * from "./commands/PutImageTagMutabilityCommand";
36
- export * from "./commands/PutLifecyclePolicyCommand";
37
- export * from "./commands/PutRegistryPolicyCommand";
38
- export * from "./commands/PutReplicationConfigurationCommand";
39
- export * from "./commands/SetRepositoryPolicyCommand";
40
- export * from "./commands/StartImageScanCommand";
41
- export * from "./commands/StartLifecyclePolicyPreviewCommand";
42
- export * from "./commands/TagResourceCommand";
43
- export * from "./commands/UntagResourceCommand";
44
- export * from "./commands/UploadLayerPartCommand";
45
- export * from "./pagination/Interfaces";
46
- export * from "./models/index";
2
+ export * from "./ECRClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";