@aws-sdk/client-ecr 3.1036.0 → 3.1038.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/dist-types/ECR.d.ts +2 -2
- package/dist-types/ts3.4/ECR.d.ts +2 -2
- package/dist-types/ts3.4/waiters/waitForImageScanComplete.d.ts +9 -3
- package/dist-types/ts3.4/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +9 -3
- package/dist-types/waiters/waitForImageScanComplete.d.ts +4 -3
- package/dist-types/waiters/waitForLifecyclePolicyPreviewComplete.d.ts +4 -3
- package/package.json +8 -8
package/dist-types/ECR.d.ts
CHANGED
|
@@ -474,13 +474,13 @@ export interface ECR {
|
|
|
474
474
|
* @param args - command input.
|
|
475
475
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
476
476
|
*/
|
|
477
|
-
waitUntilImageScanComplete(args: DescribeImageScanFindingsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECR>, "client">): Promise<WaiterResult
|
|
477
|
+
waitUntilImageScanComplete(args: DescribeImageScanFindingsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECR>, "client">): Promise<WaiterResult<DescribeImageScanFindingsCommandOutput>>;
|
|
478
478
|
/**
|
|
479
479
|
* @see {@link GetLifecyclePolicyPreviewCommand}
|
|
480
480
|
* @param args - command input.
|
|
481
481
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
482
482
|
*/
|
|
483
|
-
waitUntilLifecyclePolicyPreviewComplete(args: GetLifecyclePolicyPreviewCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECR>, "client">): Promise<WaiterResult
|
|
483
|
+
waitUntilLifecyclePolicyPreviewComplete(args: GetLifecyclePolicyPreviewCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ECR>, "client">): Promise<WaiterResult<GetLifecyclePolicyPreviewCommandOutput>>;
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
486
|
* <fullname>Amazon Elastic Container Registry</fullname>
|
|
@@ -1080,7 +1080,7 @@ export interface ECR {
|
|
|
1080
1080
|
WaiterConfiguration<ECR>,
|
|
1081
1081
|
Exclude<keyof WaiterConfiguration<ECR>, "client">
|
|
1082
1082
|
>
|
|
1083
|
-
): Promise<WaiterResult
|
|
1083
|
+
): Promise<WaiterResult<DescribeImageScanFindingsCommandOutput>>;
|
|
1084
1084
|
waitUntilLifecyclePolicyPreviewComplete(
|
|
1085
1085
|
args: GetLifecyclePolicyPreviewCommandInput,
|
|
1086
1086
|
waiterConfig:
|
|
@@ -1089,6 +1089,6 @@ export interface ECR {
|
|
|
1089
1089
|
WaiterConfiguration<ECR>,
|
|
1090
1090
|
Exclude<keyof WaiterConfiguration<ECR>, "client">
|
|
1091
1091
|
>
|
|
1092
|
-
): Promise<WaiterResult
|
|
1092
|
+
): Promise<WaiterResult<GetLifecyclePolicyPreviewCommandOutput>>;
|
|
1093
1093
|
}
|
|
1094
1094
|
export declare class ECR extends ECRClient implements ECR {}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DescribeImageScanFindingsCommandInput,
|
|
4
|
+
DescribeImageScanFindingsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeImageScanFindingsCommand";
|
|
3
6
|
import { ECRClient } from "../ECRClient";
|
|
7
|
+
import { ECRServiceException } from "../models/ECRServiceException";
|
|
4
8
|
export declare const waitForImageScanComplete: (
|
|
5
9
|
params: WaiterConfiguration<ECRClient>,
|
|
6
10
|
input: DescribeImageScanFindingsCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeImageScanFindingsCommandOutput | ECRServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilImageScanComplete: (
|
|
9
15
|
params: WaiterConfiguration<ECRClient>,
|
|
10
16
|
input: DescribeImageScanFindingsCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<DescribeImageScanFindingsCommandOutput>>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
GetLifecyclePolicyPreviewCommandInput,
|
|
4
|
+
GetLifecyclePolicyPreviewCommandOutput,
|
|
5
|
+
} from "../commands/GetLifecyclePolicyPreviewCommand";
|
|
3
6
|
import { ECRClient } from "../ECRClient";
|
|
7
|
+
import { ECRServiceException } from "../models/ECRServiceException";
|
|
4
8
|
export declare const waitForLifecyclePolicyPreviewComplete: (
|
|
5
9
|
params: WaiterConfiguration<ECRClient>,
|
|
6
10
|
input: GetLifecyclePolicyPreviewCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<GetLifecyclePolicyPreviewCommandOutput | ECRServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilLifecyclePolicyPreviewComplete: (
|
|
9
15
|
params: WaiterConfiguration<ECRClient>,
|
|
10
16
|
input: GetLifecyclePolicyPreviewCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<GetLifecyclePolicyPreviewCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type DescribeImageScanFindingsCommandInput } from "../commands/DescribeImageScanFindingsCommand";
|
|
2
|
+
import { type DescribeImageScanFindingsCommandInput, type DescribeImageScanFindingsCommandOutput } from "../commands/DescribeImageScanFindingsCommand";
|
|
3
3
|
import type { ECRClient } from "../ECRClient";
|
|
4
|
+
import type { ECRServiceException } from "../models/ECRServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until an image scan is complete and findings can be accessed
|
|
6
7
|
* @deprecated Use waitUntilImageScanComplete instead. waitForImageScanComplete does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult<DescribeImageScanFindingsCommandOutput | ECRServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until an image scan is complete and findings can be accessed
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to DescribeImageScanFindingsCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilImageScanComplete: (params: WaiterConfiguration<ECRClient>, input: DescribeImageScanFindingsCommandInput) => Promise<WaiterResult<DescribeImageScanFindingsCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type GetLifecyclePolicyPreviewCommandInput } from "../commands/GetLifecyclePolicyPreviewCommand";
|
|
2
|
+
import { type GetLifecyclePolicyPreviewCommandInput, type GetLifecyclePolicyPreviewCommandOutput } from "../commands/GetLifecyclePolicyPreviewCommand";
|
|
3
3
|
import type { ECRClient } from "../ECRClient";
|
|
4
|
+
import type { ECRServiceException } from "../models/ECRServiceException";
|
|
4
5
|
/**
|
|
5
6
|
* Wait until a lifecycle policy preview request is complete and results can be accessed
|
|
6
7
|
* @deprecated Use waitUntilLifecyclePolicyPreviewComplete instead. waitForLifecyclePolicyPreviewComplete does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult<GetLifecyclePolicyPreviewCommandOutput | ECRServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
* Wait until a lifecycle policy preview request is complete and results can be accessed
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetLifecyclePolicyPreviewCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilLifecyclePolicyPreviewComplete: (params: WaiterConfiguration<ECRClient>, input: GetLifecyclePolicyPreviewCommandInput) => Promise<WaiterResult<GetLifecyclePolicyPreviewCommandOutput>>;
|
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.1038.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ecr",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.974.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.974.6",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
33
33
|
"@aws-sdk/types": "^3.973.8",
|
|
34
34
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.17",
|
|
38
38
|
"@smithy/core": "^3.23.17",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
43
43
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
44
|
-
"@smithy/middleware-retry": "^4.5.
|
|
44
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.20",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.14",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
58
58
|
"@smithy/util-endpoints": "^3.4.2",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.14",
|
|
60
|
-
"@smithy/util-retry": "^4.3.
|
|
60
|
+
"@smithy/util-retry": "^4.3.5",
|
|
61
61
|
"@smithy/util-utf8": "^4.2.2",
|
|
62
|
-
"@smithy/util-waiter": "^4.
|
|
62
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|