@aws-sdk/client-ecr 3.927.0 → 3.928.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/index.js +2244 -2306
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ECRClient.js +2 -0
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +3 -9
- package/dist-es/commands/BatchDeleteImageCommand.js +3 -9
- package/dist-es/commands/BatchGetImageCommand.js +3 -9
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +3 -9
- package/dist-es/commands/CompleteLayerUploadCommand.js +3 -9
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +3 -9
- package/dist-es/commands/CreateRepositoryCommand.js +3 -9
- package/dist-es/commands/CreateRepositoryCreationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +3 -9
- package/dist-es/commands/DeleteRegistryPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryCreationTemplateCommand.js +3 -9
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeImageReplicationStatusCommand.js +3 -9
- package/dist-es/commands/DescribeImageScanFindingsCommand.js +3 -9
- package/dist-es/commands/DescribeImagesCommand.js +3 -9
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +3 -9
- package/dist-es/commands/DescribeRegistryCommand.js +3 -9
- package/dist-es/commands/DescribeRepositoriesCommand.js +3 -9
- package/dist-es/commands/DescribeRepositoryCreationTemplatesCommand.js +3 -9
- package/dist-es/commands/GetAccountSettingCommand.js +3 -9
- package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -9
- package/dist-es/commands/GetDownloadUrlForLayerCommand.js +3 -9
- package/dist-es/commands/GetLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +3 -9
- package/dist-es/commands/GetRegistryPolicyCommand.js +3 -9
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +3 -9
- package/dist-es/commands/GetRepositoryPolicyCommand.js +3 -9
- package/dist-es/commands/InitiateLayerUploadCommand.js +3 -9
- package/dist-es/commands/ListImagesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutAccountSettingCommand.js +3 -9
- package/dist-es/commands/PutImageCommand.js +3 -9
- package/dist-es/commands/PutImageScanningConfigurationCommand.js +3 -9
- package/dist-es/commands/PutImageTagMutabilityCommand.js +3 -9
- package/dist-es/commands/PutLifecyclePolicyCommand.js +3 -9
- package/dist-es/commands/PutRegistryPolicyCommand.js +3 -9
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +3 -9
- package/dist-es/commands/PutReplicationConfigurationCommand.js +3 -9
- package/dist-es/commands/SetRepositoryPolicyCommand.js +3 -9
- package/dist-es/commands/StartImageScanCommand.js +3 -9
- package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdatePullThroughCacheRuleCommand.js +3 -9
- package/dist-es/commands/UpdateRepositoryCreationTemplateCommand.js +3 -9
- package/dist-es/commands/UploadLayerPartCommand.js +3 -9
- package/dist-es/commands/ValidatePullThroughCacheRuleCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2041 -0
- package/dist-types/ECRClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +282 -0
- package/dist-types/ts3.4/ECRClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +287 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -1847
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -443
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -593
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdatePullThroughCacheRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdatePullThroughCacheRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerRegistry_V20150921", "UpdatePullThroughCacheRule", {})
|
|
17
13
|
.n("ECRClient", "UpdatePullThroughCacheRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdatePullThroughCacheRuleCommand)
|
|
20
|
-
.de(de_UpdatePullThroughCacheRuleCommand)
|
|
14
|
+
.sc(UpdatePullThroughCacheRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRepositoryCreationTemplate } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRepositoryCreationTemplateCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerRegistry_V20150921", "UpdateRepositoryCreationTemplate", {})
|
|
17
13
|
.n("ECRClient", "UpdateRepositoryCreationTemplateCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRepositoryCreationTemplateCommand)
|
|
20
|
-
.de(de_UpdateRepositoryCreationTemplateCommand)
|
|
14
|
+
.sc(UpdateRepositoryCreationTemplate)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UploadLayerPart } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UploadLayerPartCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerRegistry_V20150921", "UploadLayerPart", {})
|
|
17
13
|
.n("ECRClient", "UploadLayerPartCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UploadLayerPartCommand)
|
|
20
|
-
.de(de_UploadLayerPartCommand)
|
|
14
|
+
.sc(UploadLayerPart)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ValidatePullThroughCacheRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ValidatePullThroughCacheRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonEC2ContainerRegistry_V20150921", "ValidatePullThroughCacheRule", {})
|
|
17
13
|
.n("ECRClient", "ValidatePullThroughCacheRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ValidatePullThroughCacheRuleCommand)
|
|
20
|
-
.de(de_ValidatePullThroughCacheRuleCommand)
|
|
14
|
+
.sc(ValidatePullThroughCacheRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.ecr",
|
|
29
|
+
serviceTarget: "AmazonEC2ContainerRegistry_V20150921",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ECR",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|