@aws-sdk/client-ecr 3.53.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- 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/models/models_0.d.ts +30 -12
- 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/models/models_0.d.ts +2 -0
- 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 +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -3612,6 +3612,9 @@ const deserializeAws_json1_1ImageDetail = (output, context) => {
|
|
|
3612
3612
|
imageTags: output.imageTags !== undefined && output.imageTags !== null
|
|
3613
3613
|
? deserializeAws_json1_1ImageTagList(output.imageTags, context)
|
|
3614
3614
|
: undefined,
|
|
3615
|
+
lastRecordedPullTime: output.lastRecordedPullTime !== undefined && output.lastRecordedPullTime !== null
|
|
3616
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRecordedPullTime)))
|
|
3617
|
+
: undefined,
|
|
3615
3618
|
registryId: smithy_client_1.expectString(output.registryId),
|
|
3616
3619
|
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
3617
3620
|
};
|
|
@@ -4173,6 +4173,9 @@ var deserializeAws_json1_1ImageDetail = function (output, context) {
|
|
|
4173
4173
|
imageTags: output.imageTags !== undefined && output.imageTags !== null
|
|
4174
4174
|
? deserializeAws_json1_1ImageTagList(output.imageTags, context)
|
|
4175
4175
|
: undefined,
|
|
4176
|
+
lastRecordedPullTime: output.lastRecordedPullTime !== undefined && output.lastRecordedPullTime !== null
|
|
4177
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastRecordedPullTime)))
|
|
4178
|
+
: undefined,
|
|
4176
4179
|
registryId: __expectString(output.registryId),
|
|
4177
4180
|
repositoryName: __expectString(output.repositoryName),
|
|
4178
4181
|
};
|
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>
|
|
@@ -704,9 +704,8 @@ export declare enum ImageTagMutability {
|
|
|
704
704
|
MUTABLE = "MUTABLE"
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
707
|
-
* <p>The metadata
|
|
708
|
-
*
|
|
709
|
-
* Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
707
|
+
* <p>The metadata to apply to a resource to help you categorize and organize them. Each tag
|
|
708
|
+
* consists of a key and a value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have
|
|
710
709
|
* a maximum length of 256 characters.</p>
|
|
711
710
|
*/
|
|
712
711
|
export interface Tag {
|
|
@@ -716,8 +715,7 @@ export interface Tag {
|
|
|
716
715
|
*/
|
|
717
716
|
Key?: string;
|
|
718
717
|
/**
|
|
719
|
-
* <p>
|
|
720
|
-
* a descriptor within a tag category (key).</p>
|
|
718
|
+
* <p>A <code>value</code> acts as a descriptor within a tag category (key).</p>
|
|
721
719
|
*/
|
|
722
720
|
Value?: string;
|
|
723
721
|
}
|
|
@@ -1370,6 +1368,19 @@ export interface ImageDetail {
|
|
|
1370
1368
|
* <p>The artifact media type of the image.</p>
|
|
1371
1369
|
*/
|
|
1372
1370
|
artifactMediaType?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* <p>The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded
|
|
1373
|
+
* the last image pull.</p>
|
|
1374
|
+
* <note>
|
|
1375
|
+
* <p>Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For
|
|
1376
|
+
* example, if you pull an image once a day then the <code>lastRecordedPullTime</code>
|
|
1377
|
+
* timestamp will indicate the exact time that the image was last pulled. However, if
|
|
1378
|
+
* you pull an image once an hour, because Amazon ECR refreshes the
|
|
1379
|
+
* <code>lastRecordedPullTime</code> timestamp at least once every 24 hours, the
|
|
1380
|
+
* result may not be the exact time that the image was last pulled.</p>
|
|
1381
|
+
* </note>
|
|
1382
|
+
*/
|
|
1383
|
+
lastRecordedPullTime?: Date;
|
|
1373
1384
|
}
|
|
1374
1385
|
export declare namespace ImageDetail {
|
|
1375
1386
|
/**
|
|
@@ -2608,7 +2619,11 @@ export declare namespace GetRegistryScanningConfigurationRequest {
|
|
|
2608
2619
|
*/
|
|
2609
2620
|
export interface RegistryScanningRule {
|
|
2610
2621
|
/**
|
|
2611
|
-
* <p>The frequency that scans are performed at for a private registry
|
|
2622
|
+
* <p>The frequency that scans are performed at for a private registry. When the
|
|
2623
|
+
* <code>ENHANCED</code> scan type is specified, the supported scan frequencies are
|
|
2624
|
+
* <code>CONTINUOUS_SCAN</code> and <code>SCAN_ON_PUSH</code>. When the
|
|
2625
|
+
* <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> and
|
|
2626
|
+
* <code>MANUAL</code> scan frequencies are supported.</p>
|
|
2612
2627
|
*/
|
|
2613
2628
|
scanFrequency: ScanFrequency | string | undefined;
|
|
2614
2629
|
/**
|
|
@@ -3100,12 +3115,15 @@ export declare namespace PutRegistryPolicyResponse {
|
|
|
3100
3115
|
export interface PutRegistryScanningConfigurationRequest {
|
|
3101
3116
|
/**
|
|
3102
3117
|
* <p>The scanning type to set for the registry.</p>
|
|
3103
|
-
* <p>
|
|
3104
|
-
*
|
|
3105
|
-
*
|
|
3106
|
-
*
|
|
3107
|
-
*
|
|
3108
|
-
*
|
|
3118
|
+
* <p>When a registry scanning configuration is not defined, by default the
|
|
3119
|
+
* <code>BASIC</code> scan type is used. When basic scanning is used, you may specify
|
|
3120
|
+
* filters to determine which individual repositories, or all repositories, are scanned
|
|
3121
|
+
* when new images are pushed to those repositories. Alternatively, you can do manual scans
|
|
3122
|
+
* of images with basic scanning.</p>
|
|
3123
|
+
* <p>When the <code>ENHANCED</code> scan type is set, Amazon Inspector provides automated
|
|
3124
|
+
* vulnerability scanning. You may choose between continuous scanning or scan on push and
|
|
3125
|
+
* you may specify filters to determine which individual repositories, or all repositories,
|
|
3126
|
+
* are scanned.</p>
|
|
3109
3127
|
*/
|
|
3110
3128
|
scanType?: ScanType | string;
|
|
3111
3129
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -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";
|
|
@@ -57,7 +57,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
57
57
|
|
|
58
58
|
urlParser?: __UrlParser;
|
|
59
59
|
|
|
60
|
-
bodyLengthChecker?:
|
|
60
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
61
61
|
|
|
62
62
|
streamCollector?: __StreamCollector;
|
|
63
63
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ecr",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,37 +18,37 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
|
-
"@aws-sdk/util-waiter": "3.
|
|
51
|
+
"@aws-sdk/util-waiter": "3.54.0",
|
|
52
52
|
"tslib": "^2.3.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|