@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.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/ECR.js +0 -11
- package/dist-cjs/ECRClient.js +0 -16
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteImageCommand.js +0 -29
- package/dist-cjs/commands/BatchGetImageCommand.js +0 -27
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +0 -32
- package/dist-cjs/commands/CreateRepositoryCommand.js +0 -25
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DeleteRepositoryCommand.js +0 -26
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +0 -24
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +0 -24
- package/dist-cjs/commands/DescribeImagesCommand.js +0 -30
- package/dist-cjs/commands/DescribeRegistryCommand.js +0 -26
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +0 -24
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +0 -31
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +0 -31
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +0 -24
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +0 -24
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +0 -24
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +0 -31
- package/dist-cjs/commands/ListImagesCommand.js +0 -30
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/PutImageCommand.js +0 -32
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +0 -24
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +0 -26
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +0 -26
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +0 -26
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +0 -34
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +0 -26
- package/dist-cjs/commands/StartImageScanCommand.js +0 -27
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UploadLayerPartCommand.js +0 -31
- package/dist-cjs/commands/index.js +38 -0
- package/dist-cjs/endpoints.js +10 -1
- package/dist-cjs/index.js +5 -45
- package/dist-cjs/models/models_0.js +0 -381
- package/dist-cjs/pagination/DescribeImageScanFindingsPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeImagesPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeRepositoriesPaginator.js +0 -10
- package/dist-cjs/pagination/GetLifecyclePolicyPreviewPaginator.js +0 -10
- package/dist-cjs/pagination/ListImagesPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForImageScanComplete.js +0 -9
- package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +0 -9
- package/dist-es/commands/index.js +35 -0
- package/dist-es/endpoints.js +10 -1
- package/dist-es/index.js +5 -45
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +35 -0
- package/dist-types/index.d.ts +5 -45
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/ECR.d.ts +36 -216
- package/dist-types/ts3.4/ECRClient.d.ts +24 -97
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/index.d.ts +35 -0
- package/dist-types/ts3.4/index.d.ts +5 -45
- package/dist-types/ts3.4/models/models_0.d.ts +478 -1712
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +33 -33
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./DescribeImageScanFindingsPaginator";
|
|
2
|
+
export * from "./DescribeImagesPaginator";
|
|
3
|
+
export * from "./DescribeRepositoriesPaginator";
|
|
4
|
+
export * from "./GetLifecyclePolicyPreviewPaginator";
|
|
5
|
+
export * from "./Interfaces";
|
|
6
|
+
export * from "./ListImagesPaginator";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ECRClientConfig } from "./ECRClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ECRClientConfig } from "./ECRClient";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
3
|
+
|
|
6
4
|
export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
7
5
|
runtime: string;
|
|
8
6
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { DescribeImageScanFindingsCommandInput } from "../commands/DescribeImageScanFindingsCommand";
|
|
3
3
|
import { ECRClient } from "../ECRClient";
|
|
4
|
-
|
|
5
|
-
* Wait until an image scan is complete and findings can be accessed
|
|
6
|
-
* @deprecated Use waitUntilImageScanComplete instead. waitForImageScanComplete does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
* Wait until an image scan is complete and findings can be accessed
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to DescribeImageScanFindingsCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult>;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
|
|
2
2
|
import { GetLifecyclePolicyPreviewCommandInput } from "../commands/GetLifecyclePolicyPreviewCommand";
|
|
3
3
|
import { ECRClient } from "../ECRClient";
|
|
4
|
-
|
|
5
|
-
* Wait until a lifecycle policy preview request is complete and results can be accessed
|
|
6
|
-
* @deprecated Use waitUntilLifecyclePolicyPreviewComplete instead. waitForLifecyclePolicyPreviewComplete does not throw error in non-success cases.
|
|
7
|
-
*/
|
|
4
|
+
|
|
8
5
|
export declare const waitForLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult>;
|
|
9
|
-
|
|
10
|
-
* Wait until a lifecycle policy preview request is complete and results can be accessed
|
|
11
|
-
* @param params - Waiter configuration options.
|
|
12
|
-
* @param input - The input to GetLifecyclePolicyPreviewCommand for polling.
|
|
13
|
-
*/
|
|
6
|
+
|
|
14
7
|
export declare const waitUntilLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult>;
|
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.39.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-crypto/sha256-browser": "
|
|
23
|
-
"@aws-crypto/sha256-js": "
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
22
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.39.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.39.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.39.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.38.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.38.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.38.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.38.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.38.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.38.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.39.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.38.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.39.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.38.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.38.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.39.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.38.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.38.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.38.0",
|
|
42
|
+
"@aws-sdk/types": "3.38.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.38.0",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.37.0",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.37.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.37.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.37.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.38.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.39.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.37.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.37.0",
|
|
52
|
+
"@aws-sdk/util-waiter": "3.38.0",
|
|
53
53
|
"tslib": "^2.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.38.0",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"jest": "^26.1.0",
|