@aws-sdk/client-ecr 3.409.0 → 3.410.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-cjs/protocols/Aws_json1_1.js +15 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +15 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/CreateRepositoryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +3 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -0
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +10 -7
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +29 -29
|
@@ -641,6 +641,9 @@ const de_DeleteLifecyclePolicyCommandError = async (output, context) => {
|
|
|
641
641
|
case "ServerException":
|
|
642
642
|
case "com.amazonaws.ecr#ServerException":
|
|
643
643
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
644
|
+
case "ValidationException":
|
|
645
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
646
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
644
647
|
default:
|
|
645
648
|
const parsedBody = parsedOutput.body;
|
|
646
649
|
return throwDefaultError({
|
|
@@ -1190,6 +1193,9 @@ const de_GetLifecyclePolicyCommandError = async (output, context) => {
|
|
|
1190
1193
|
case "ServerException":
|
|
1191
1194
|
case "com.amazonaws.ecr#ServerException":
|
|
1192
1195
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1196
|
+
case "ValidationException":
|
|
1197
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1198
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1193
1199
|
default:
|
|
1194
1200
|
const parsedBody = parsedOutput.body;
|
|
1195
1201
|
return throwDefaultError({
|
|
@@ -1232,6 +1238,9 @@ const de_GetLifecyclePolicyPreviewCommandError = async (output, context) => {
|
|
|
1232
1238
|
case "ServerException":
|
|
1233
1239
|
case "com.amazonaws.ecr#ServerException":
|
|
1234
1240
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1241
|
+
case "ValidationException":
|
|
1242
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1243
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1235
1244
|
default:
|
|
1236
1245
|
const parsedBody = parsedOutput.body;
|
|
1237
1246
|
return throwDefaultError({
|
|
@@ -1655,6 +1664,9 @@ const de_PutLifecyclePolicyCommandError = async (output, context) => {
|
|
|
1655
1664
|
case "ServerException":
|
|
1656
1665
|
case "com.amazonaws.ecr#ServerException":
|
|
1657
1666
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1667
|
+
case "ValidationException":
|
|
1668
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1669
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1658
1670
|
default:
|
|
1659
1671
|
const parsedBody = parsedOutput.body;
|
|
1660
1672
|
return throwDefaultError({
|
|
@@ -1907,6 +1919,9 @@ const de_StartLifecyclePolicyPreviewCommandError = async (output, context) => {
|
|
|
1907
1919
|
case "ServerException":
|
|
1908
1920
|
case "com.amazonaws.ecr#ServerException":
|
|
1909
1921
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1922
|
+
case "ValidationException":
|
|
1923
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1924
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1910
1925
|
default:
|
|
1911
1926
|
const parsedBody = parsedOutput.body;
|
|
1912
1927
|
return throwDefaultError({
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -588,6 +588,9 @@ const de_DeleteLifecyclePolicyCommandError = async (output, context) => {
|
|
|
588
588
|
case "ServerException":
|
|
589
589
|
case "com.amazonaws.ecr#ServerException":
|
|
590
590
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
591
|
+
case "ValidationException":
|
|
592
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
593
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
591
594
|
default:
|
|
592
595
|
const parsedBody = parsedOutput.body;
|
|
593
596
|
return throwDefaultError({
|
|
@@ -1124,6 +1127,9 @@ const de_GetLifecyclePolicyCommandError = async (output, context) => {
|
|
|
1124
1127
|
case "ServerException":
|
|
1125
1128
|
case "com.amazonaws.ecr#ServerException":
|
|
1126
1129
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1130
|
+
case "ValidationException":
|
|
1131
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1132
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1127
1133
|
default:
|
|
1128
1134
|
const parsedBody = parsedOutput.body;
|
|
1129
1135
|
return throwDefaultError({
|
|
@@ -1165,6 +1171,9 @@ const de_GetLifecyclePolicyPreviewCommandError = async (output, context) => {
|
|
|
1165
1171
|
case "ServerException":
|
|
1166
1172
|
case "com.amazonaws.ecr#ServerException":
|
|
1167
1173
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1174
|
+
case "ValidationException":
|
|
1175
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1176
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1168
1177
|
default:
|
|
1169
1178
|
const parsedBody = parsedOutput.body;
|
|
1170
1179
|
return throwDefaultError({
|
|
@@ -1578,6 +1587,9 @@ const de_PutLifecyclePolicyCommandError = async (output, context) => {
|
|
|
1578
1587
|
case "ServerException":
|
|
1579
1588
|
case "com.amazonaws.ecr#ServerException":
|
|
1580
1589
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1590
|
+
case "ValidationException":
|
|
1591
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1592
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1581
1593
|
default:
|
|
1582
1594
|
const parsedBody = parsedOutput.body;
|
|
1583
1595
|
return throwDefaultError({
|
|
@@ -1824,6 +1836,9 @@ const de_StartLifecyclePolicyPreviewCommandError = async (output, context) => {
|
|
|
1824
1836
|
case "ServerException":
|
|
1825
1837
|
case "com.amazonaws.ecr#ServerException":
|
|
1826
1838
|
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1839
|
+
case "ValidationException":
|
|
1840
|
+
case "com.amazonaws.ecr#ValidationException":
|
|
1841
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1827
1842
|
default:
|
|
1828
1843
|
const parsedBody = parsedOutput.body;
|
|
1829
1844
|
return throwDefaultError({
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
|
@@ -36,8 +36,8 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryResponse,
|
|
|
36
36
|
* repositoryName: "STRING_VALUE", // required
|
|
37
37
|
* tags: [ // TagList
|
|
38
38
|
* { // Tag
|
|
39
|
-
* Key: "STRING_VALUE",
|
|
40
|
-
* Value: "STRING_VALUE",
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
43
|
* imageTagMutability: "MUTABLE" || "IMMUTABLE",
|
|
@@ -66,6 +66,9 @@ export interface DeleteLifecyclePolicyCommandOutput extends DeleteLifecyclePolic
|
|
|
66
66
|
* @throws {@link ServerException} (server fault)
|
|
67
67
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>There was an exception validating this request.</p>
|
|
71
|
+
*
|
|
69
72
|
* @throws {@link ECRServiceException}
|
|
70
73
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
71
74
|
*
|
|
@@ -66,6 +66,9 @@ export interface GetLifecyclePolicyCommandOutput extends GetLifecyclePolicyRespo
|
|
|
66
66
|
* @throws {@link ServerException} (server fault)
|
|
67
67
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>There was an exception validating this request.</p>
|
|
71
|
+
*
|
|
69
72
|
* @throws {@link ECRServiceException}
|
|
70
73
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
71
74
|
*
|
|
@@ -94,6 +94,9 @@ export interface GetLifecyclePolicyPreviewCommandOutput extends GetLifecyclePoli
|
|
|
94
94
|
* @throws {@link ServerException} (server fault)
|
|
95
95
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
96
96
|
*
|
|
97
|
+
* @throws {@link ValidationException} (client fault)
|
|
98
|
+
* <p>There was an exception validating this request.</p>
|
|
99
|
+
*
|
|
97
100
|
* @throws {@link ECRServiceException}
|
|
98
101
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
99
102
|
*
|
|
@@ -38,8 +38,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
38
38
|
* // { // ListTagsForResourceResponse
|
|
39
39
|
* // tags: [ // TagList
|
|
40
40
|
* // { // Tag
|
|
41
|
-
* // Key: "STRING_VALUE",
|
|
42
|
-
* // Value: "STRING_VALUE",
|
|
41
|
+
* // Key: "STRING_VALUE", // required
|
|
42
|
+
* // Value: "STRING_VALUE", // required
|
|
43
43
|
* // },
|
|
44
44
|
* // ],
|
|
45
45
|
* // };
|
|
@@ -64,6 +64,9 @@ export interface PutLifecyclePolicyCommandOutput extends PutLifecyclePolicyRespo
|
|
|
64
64
|
* @throws {@link ServerException} (server fault)
|
|
65
65
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
66
66
|
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>There was an exception validating this request.</p>
|
|
69
|
+
*
|
|
67
70
|
* @throws {@link ECRServiceException}
|
|
68
71
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
69
72
|
*
|
|
@@ -72,6 +72,9 @@ export interface StartLifecyclePolicyPreviewCommandOutput extends StartLifecycle
|
|
|
72
72
|
* @throws {@link ServerException} (server fault)
|
|
73
73
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
74
74
|
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>There was an exception validating this request.</p>
|
|
77
|
+
*
|
|
75
78
|
* @throws {@link ECRServiceException}
|
|
76
79
|
* <p>Base exception class for all service exceptions from ECR service.</p>
|
|
77
80
|
*
|
|
@@ -35,8 +35,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
35
35
|
* resourceArn: "STRING_VALUE", // required
|
|
36
36
|
* tags: [ // TagList // required
|
|
37
37
|
* { // Tag
|
|
38
|
-
* Key: "STRING_VALUE",
|
|
39
|
-
* Value: "STRING_VALUE",
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE", // required
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
42
|
* };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface ECRExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface ECRExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
|
@@ -771,12 +771,12 @@ export interface Tag {
|
|
|
771
771
|
* <p>One part of a key-value pair that make up a tag. A <code>key</code> is a general label
|
|
772
772
|
* that acts like a category for more specific tag values.</p>
|
|
773
773
|
*/
|
|
774
|
-
Key
|
|
774
|
+
Key: string | undefined;
|
|
775
775
|
/**
|
|
776
776
|
* @public
|
|
777
777
|
* <p>A <code>value</code> acts as a descriptor within a tag category (key).</p>
|
|
778
778
|
*/
|
|
779
|
-
Value
|
|
779
|
+
Value: string | undefined;
|
|
780
780
|
}
|
|
781
781
|
/**
|
|
782
782
|
* @public
|
|
@@ -793,6 +793,8 @@ export interface CreateRepositoryRequest {
|
|
|
793
793
|
* <p>The name to use for the repository. The repository name may be specified on its own
|
|
794
794
|
* (such as <code>nginx-web-app</code>) or it can be prepended with a namespace to group
|
|
795
795
|
* the repository into a category (such as <code>project-a/nginx-web-app</code>).</p>
|
|
796
|
+
* <p>The repository name must start with a letter and can only contain lowercase letters,
|
|
797
|
+
* numbers, hyphens, underscores, and forward slashes.</p>
|
|
796
798
|
*/
|
|
797
799
|
repositoryName: string | undefined;
|
|
798
800
|
/**
|
|
@@ -833,7 +835,7 @@ export interface Repository {
|
|
|
833
835
|
* @public
|
|
834
836
|
* <p>The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the <code>arn:aws:ecr</code> namespace, followed by the region of the
|
|
835
837
|
* repository, Amazon Web Services account ID of the repository owner, repository namespace, and repository name.
|
|
836
|
-
* For example, <code>arn:aws:ecr:region:012345678910:repository/
|
|
838
|
+
* For example, <code>arn:aws:ecr:region:012345678910:repository-namespace/repository-name</code>.</p>
|
|
837
839
|
*/
|
|
838
840
|
repositoryArn?: string;
|
|
839
841
|
/**
|
|
@@ -2174,8 +2176,8 @@ export type RepositoryFilterType = (typeof RepositoryFilterType)[keyof typeof Re
|
|
|
2174
2176
|
* @public
|
|
2175
2177
|
* <p>The filter settings used with image replication. Specifying a repository filter to a
|
|
2176
2178
|
* replication rule provides a method for controlling which repositories in a private
|
|
2177
|
-
* registry are replicated. If no
|
|
2178
|
-
*
|
|
2179
|
+
* registry are replicated. If no filters are added, the contents of all repositories are
|
|
2180
|
+
* replicated.</p>
|
|
2179
2181
|
*/
|
|
2180
2182
|
export interface RepositoryFilter {
|
|
2181
2183
|
/**
|
|
@@ -2701,8 +2703,9 @@ export interface RegistryScanningRule {
|
|
|
2701
2703
|
* <p>The frequency that scans are performed at for a private registry. When the
|
|
2702
2704
|
* <code>ENHANCED</code> scan type is specified, the supported scan frequencies are
|
|
2703
2705
|
* <code>CONTINUOUS_SCAN</code> and <code>SCAN_ON_PUSH</code>. When the
|
|
2704
|
-
* <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code>
|
|
2705
|
-
*
|
|
2706
|
+
* <code>BASIC</code> scan type is specified, the <code>SCAN_ON_PUSH</code> scan
|
|
2707
|
+
* frequency is supported. If scan on push is not specified, then the <code>MANUAL</code>
|
|
2708
|
+
* scan frequency is set by default.</p>
|
|
2706
2709
|
*/
|
|
2707
2710
|
scanFrequency: ScanFrequency | string | undefined;
|
|
2708
2711
|
/**
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -11,7 +11,10 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
11
11
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
15
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,10 @@ import { ECRClientConfig } from "./ECRClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
12
|
apiVersion: string;
|
|
10
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { ECRExtensionConfiguration } from "./extensionConfiguration";
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: ECRExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface ECRExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -254,8 +254,8 @@ export declare const ImageTagMutability: {
|
|
|
254
254
|
export type ImageTagMutability =
|
|
255
255
|
(typeof ImageTagMutability)[keyof typeof ImageTagMutability];
|
|
256
256
|
export interface Tag {
|
|
257
|
-
Key
|
|
258
|
-
Value
|
|
257
|
+
Key: string | undefined;
|
|
258
|
+
Value: string | undefined;
|
|
259
259
|
}
|
|
260
260
|
export interface CreateRepositoryRequest {
|
|
261
261
|
registryId?: string;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -20,7 +20,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
20
20
|
any,
|
|
21
21
|
import("@smithy/types").HttpHandlerOptions
|
|
22
22
|
> &
|
|
23
|
-
import("@smithy/
|
|
23
|
+
import("@smithy/types").RequestHandler<
|
|
24
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
25
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
26
|
+
import("@smithy/types").HttpHandlerOptions
|
|
27
|
+
> & {
|
|
28
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
29
|
+
httpHandlerConfigs(): {};
|
|
30
|
+
})
|
|
24
31
|
| RequestHandler;
|
|
25
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
33
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -8,7 +8,14 @@ export declare const getRuntimeConfig: (config: ECRClientConfig) => {
|
|
|
8
8
|
any,
|
|
9
9
|
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
|
-
import("@smithy/
|
|
11
|
+
import("@smithy/types").RequestHandler<
|
|
12
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
13
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
14
|
+
import("@smithy/types").HttpHandlerOptions
|
|
15
|
+
> & {
|
|
16
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
17
|
+
httpHandlerConfigs(): {};
|
|
18
|
+
})
|
|
12
19
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
20
|
apiVersion: string;
|
|
14
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ECRExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
3
|
+
configure(extensionConfiguration: ECRExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
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.410.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",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.410.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
31
|
+
"@aws-sdk/types": "3.410.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
37
|
+
"@smithy/hash-node": "^2.0.6",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.
|
|
46
|
-
"@smithy/protocol-http": "^
|
|
47
|
-
"@smithy/smithy-client": "^2.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
45
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
46
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
47
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
48
|
+
"@smithy/types": "^2.3.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.6",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
|
-
"@smithy/util-waiter": "^2.0.
|
|
57
|
+
"@smithy/util-waiter": "^2.0.6",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|