@aws-sdk/client-ecr 3.51.0 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/ECRServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +439 -3
- package/dist-cjs/protocols/Aws_json1_1.js +506 -1673
- package/dist-es/index.js +1 -0
- package/dist-es/models/ECRServiceException.js +12 -0
- package/dist-es/models/models_0.js +403 -1
- package/dist-es/protocols/Aws_json1_1.js +1013 -1772
- package/dist-types/ECR.d.ts +11 -6
- package/dist-types/ECRClient.d.ts +2 -2
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +6 -1
- package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/ECRServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +231 -161
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/ECRClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/ECRServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -133
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +34 -34
package/dist-types/ECR.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export declare class ECR extends ECRClient {
|
|
|
58
58
|
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
59
59
|
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
60
60
|
* skipped.</p>
|
|
61
|
-
*
|
|
61
|
+
* <note>
|
|
62
62
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
63
63
|
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
64
64
|
* </note>
|
|
@@ -98,7 +98,7 @@ export declare class ECR extends ECRClient {
|
|
|
98
98
|
* of the image layer for data validation purposes.</p>
|
|
99
99
|
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
100
100
|
* layer to verify that the upload has completed.</p>
|
|
101
|
-
*
|
|
101
|
+
* <note>
|
|
102
102
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
103
103
|
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
104
104
|
* </note>
|
|
@@ -214,7 +214,7 @@ export declare class ECR extends ECRClient {
|
|
|
214
214
|
* only get URLs for image layers that are referenced in an image.</p>
|
|
215
215
|
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
216
216
|
* that is not already cached.</p>
|
|
217
|
-
*
|
|
217
|
+
* <note>
|
|
218
218
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
219
219
|
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
220
220
|
* </note>
|
|
@@ -258,7 +258,7 @@ export declare class ECR extends ECRClient {
|
|
|
258
258
|
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
259
259
|
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
260
260
|
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
261
|
-
*
|
|
261
|
+
* <note>
|
|
262
262
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
263
263
|
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
264
264
|
* </note>
|
|
@@ -299,7 +299,12 @@ export declare class ECR extends ECRClient {
|
|
|
299
299
|
putImage(args: PutImageCommandInput, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
300
300
|
putImage(args: PutImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutImageCommandOutput) => void): void;
|
|
301
301
|
/**
|
|
302
|
-
* <
|
|
302
|
+
* <important>
|
|
303
|
+
* <p>The <code>PutImageScanningConfiguration</code> API is being deprecated, in favor
|
|
304
|
+
* of specifying the image scanning configuration at the registry level. For more
|
|
305
|
+
* information, see <a>PutRegistryScanningConfiguration</a>.</p>
|
|
306
|
+
* </important>
|
|
307
|
+
* <p>Updates the image scanning configuration for the specified repository.</p>
|
|
303
308
|
*/
|
|
304
309
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutImageScanningConfigurationCommandOutput>;
|
|
305
310
|
putImageScanningConfiguration(args: PutImageScanningConfigurationCommandInput, cb: (err: any, data?: PutImageScanningConfigurationCommandOutput) => void): void;
|
|
@@ -392,7 +397,7 @@ export declare class ECR extends ECRClient {
|
|
|
392
397
|
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
393
398
|
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
394
399
|
* is called once per each new image layer part.</p>
|
|
395
|
-
*
|
|
400
|
+
* <note>
|
|
396
401
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
397
402
|
* customers for pulling and pushing images. In most cases, you should use the <code>docker</code> CLI to pull, tag, and push images.</p>
|
|
398
403
|
* </note>
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchCheckLayerAvailabilityCommandInput, BatchCheckLayerAvailabilityCommandOutput } from "./commands/BatchCheckLayerAvailabilityCommand";
|
|
10
10
|
import { BatchDeleteImageCommandInput, BatchDeleteImageCommandOutput } from "./commands/BatchDeleteImageCommand";
|
|
11
11
|
import { BatchGetImageCommandInput, BatchGetImageCommandOutput } from "./commands/BatchGetImageCommand";
|
|
@@ -69,7 +69,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
69
69
|
* A function that can calculate the length of a request body.
|
|
70
70
|
* @internal
|
|
71
71
|
*/
|
|
72
|
-
bodyLengthChecker?:
|
|
72
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
73
73
|
/**
|
|
74
74
|
* A function that converts a stream into an array of bytes.
|
|
75
75
|
* @internal
|
|
@@ -11,7 +11,7 @@ export interface BatchCheckLayerAvailabilityCommandOutput extends BatchCheckLaye
|
|
|
11
11
|
* <p>When an image is pushed to a repository, each image layer is checked to verify if it
|
|
12
12
|
* has been uploaded before. If it has been uploaded, then the image layer is
|
|
13
13
|
* skipped.</p>
|
|
14
|
-
*
|
|
14
|
+
* <note>
|
|
15
15
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
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
17
|
* </note>
|
|
@@ -12,7 +12,7 @@ export interface CompleteLayerUploadCommandOutput extends CompleteLayerUploadRes
|
|
|
12
12
|
* of the image layer for data validation purposes.</p>
|
|
13
13
|
* <p>When an image is pushed, the CompleteLayerUpload API is called once per each new image
|
|
14
14
|
* layer to verify that the upload has completed.</p>
|
|
15
|
-
*
|
|
15
|
+
* <note>
|
|
16
16
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
17
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
18
|
* </note>
|
|
@@ -11,7 +11,7 @@ export interface GetDownloadUrlForLayerCommandOutput extends GetDownloadUrlForLa
|
|
|
11
11
|
* only get URLs for image layers that are referenced in an image.</p>
|
|
12
12
|
* <p>When an image is pulled, the GetDownloadUrlForLayer API is called once per image layer
|
|
13
13
|
* that is not already cached.</p>
|
|
14
|
-
*
|
|
14
|
+
* <note>
|
|
15
15
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
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
17
|
* </note>
|
|
@@ -11,7 +11,7 @@ export interface InitiateLayerUploadCommandOutput extends InitiateLayerUploadRes
|
|
|
11
11
|
* <p>When an image is pushed, the InitiateLayerUpload API is called once per image layer
|
|
12
12
|
* that has not already been uploaded. Whether or not an image layer has been uploaded is
|
|
13
13
|
* determined by the BatchCheckLayerAvailability API action.</p>
|
|
14
|
-
*
|
|
14
|
+
* <note>
|
|
15
15
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
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
17
|
* </note>
|
|
@@ -7,7 +7,12 @@ export interface PutImageScanningConfigurationCommandInput extends PutImageScann
|
|
|
7
7
|
export interface PutImageScanningConfigurationCommandOutput extends PutImageScanningConfigurationResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <
|
|
10
|
+
* <important>
|
|
11
|
+
* <p>The <code>PutImageScanningConfiguration</code> API is being deprecated, in favor
|
|
12
|
+
* of specifying the image scanning configuration at the registry level. For more
|
|
13
|
+
* information, see <a>PutRegistryScanningConfiguration</a>.</p>
|
|
14
|
+
* </important>
|
|
15
|
+
* <p>Updates the image scanning configuration for the specified repository.</p>
|
|
11
16
|
* @example
|
|
12
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
18
|
* ```javascript
|
|
@@ -11,7 +11,7 @@ export interface UploadLayerPartCommandOutput extends UploadLayerPartResponse, _
|
|
|
11
11
|
* <p>When an image is pushed, each new image layer is uploaded in parts. The maximum size
|
|
12
12
|
* of each image layer part can be 20971520 bytes (or about 20MB). The UploadLayerPart API
|
|
13
13
|
* is called once per each new image layer part.</p>
|
|
14
|
-
*
|
|
14
|
+
* <note>
|
|
15
15
|
* <p>This operation is used by the Amazon ECR proxy and is not generally used by
|
|
16
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
17
|
* </note>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from ECR service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class ECRServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|