@aws-sdk/client-ecr 3.1076.0 → 3.1078.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 +69 -585
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +2 -14
- package/dist-es/commands/BatchDeleteImageCommand.js +2 -14
- package/dist-es/commands/BatchGetImageCommand.js +2 -14
- package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +2 -14
- package/dist-es/commands/CompleteLayerUploadCommand.js +2 -14
- package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +2 -14
- package/dist-es/commands/CreateRepositoryCommand.js +2 -14
- package/dist-es/commands/CreateRepositoryCreationTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +2 -14
- package/dist-es/commands/DeleteRegistryPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteRepositoryCommand.js +2 -14
- package/dist-es/commands/DeleteRepositoryCreationTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteRepositoryPolicyCommand.js +2 -14
- package/dist-es/commands/DeleteSigningConfigurationCommand.js +2 -14
- package/dist-es/commands/DeregisterPullTimeUpdateExclusionCommand.js +2 -14
- package/dist-es/commands/DescribeImageReplicationStatusCommand.js +2 -14
- package/dist-es/commands/DescribeImageScanFindingsCommand.js +2 -14
- package/dist-es/commands/DescribeImageSigningStatusCommand.js +2 -14
- package/dist-es/commands/DescribeImagesCommand.js +2 -14
- package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +2 -14
- package/dist-es/commands/DescribeRegistryCommand.js +2 -14
- package/dist-es/commands/DescribeRepositoriesCommand.js +2 -14
- package/dist-es/commands/DescribeRepositoryCreationTemplatesCommand.js +2 -14
- package/dist-es/commands/GetAccountSettingCommand.js +2 -14
- package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -14
- package/dist-es/commands/GetDownloadUrlForLayerCommand.js +2 -14
- package/dist-es/commands/GetLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +2 -14
- package/dist-es/commands/GetRegistryPolicyCommand.js +2 -14
- package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +2 -14
- package/dist-es/commands/GetRepositoryPolicyCommand.js +2 -14
- package/dist-es/commands/GetSigningConfigurationCommand.js +2 -14
- package/dist-es/commands/InitiateLayerUploadCommand.js +2 -14
- package/dist-es/commands/ListImageReferrersCommand.js +2 -14
- package/dist-es/commands/ListImagesCommand.js +2 -14
- package/dist-es/commands/ListPullTimeUpdateExclusionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PutAccountSettingCommand.js +2 -14
- package/dist-es/commands/PutImageCommand.js +2 -14
- package/dist-es/commands/PutImageScanningConfigurationCommand.js +2 -14
- package/dist-es/commands/PutImageTagMutabilityCommand.js +2 -14
- package/dist-es/commands/PutLifecyclePolicyCommand.js +2 -14
- package/dist-es/commands/PutRegistryPolicyCommand.js +2 -14
- package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +2 -14
- package/dist-es/commands/PutReplicationConfigurationCommand.js +2 -14
- package/dist-es/commands/PutSigningConfigurationCommand.js +2 -14
- package/dist-es/commands/RegisterPullTimeUpdateExclusionCommand.js +2 -14
- package/dist-es/commands/SetRepositoryPolicyCommand.js +2 -14
- package/dist-es/commands/StartImageScanCommand.js +2 -14
- package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateImageStorageClassCommand.js +2 -14
- package/dist-es/commands/UpdatePullThroughCacheRuleCommand.js +2 -14
- package/dist-es/commands/UpdateRepositoryCreationTemplateCommand.js +2 -14
- package/dist-es/commands/UploadLayerPartCommand.js +2 -14
- package/dist-es/commands/ValidatePullThroughCacheRuleCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +3 -8
- package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetImageCommand.d.ts +3 -8
- package/dist-types/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/CompleteLayerUploadCommand.d.ts +3 -8
- package/dist-types/commands/CreatePullThroughCacheRuleCommand.d.ts +3 -8
- package/dist-types/commands/CreateRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/CreateRepositoryCreationTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeletePullThroughCacheRuleCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRegistryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRepositoryCreationTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSigningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +3 -8
- package/dist-types/commands/DescribeImageReplicationStatusCommand.d.ts +3 -8
- package/dist-types/commands/DescribeImageScanFindingsCommand.d.ts +3 -8
- package/dist-types/commands/DescribeImageSigningStatusCommand.d.ts +3 -8
- package/dist-types/commands/DescribeImagesCommand.d.ts +3 -8
- package/dist-types/commands/DescribePullThroughCacheRulesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRegistryCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRepositoriesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/GetAccountSettingCommand.d.ts +3 -8
- package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +3 -8
- package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +3 -8
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetLifecyclePolicyPreviewCommand.d.ts +3 -8
- package/dist-types/commands/GetRegistryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetRegistryScanningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/GetSigningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/InitiateLayerUploadCommand.d.ts +3 -8
- package/dist-types/commands/ListImageReferrersCommand.d.ts +3 -8
- package/dist-types/commands/ListImagesCommand.d.ts +3 -8
- package/dist-types/commands/ListPullTimeUpdateExclusionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PutAccountSettingCommand.d.ts +3 -8
- package/dist-types/commands/PutImageCommand.d.ts +3 -8
- package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/PutImageTagMutabilityCommand.d.ts +3 -8
- package/dist-types/commands/PutLifecyclePolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutRegistryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/PutRegistryScanningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/PutReplicationConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/PutSigningConfigurationCommand.d.ts +3 -8
- package/dist-types/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +3 -8
- package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +3 -8
- package/dist-types/commands/StartImageScanCommand.d.ts +3 -8
- package/dist-types/commands/StartLifecyclePolicyPreviewCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateImageStorageClassCommand.d.ts +3 -8
- package/dist-types/commands/UpdatePullThroughCacheRuleCommand.d.ts +3 -8
- package/dist-types/commands/UpdateRepositoryCreationTemplateCommand.d.ts +3 -8
- package/dist-types/commands/UploadLayerPartCommand.d.ts +3 -8
- package/dist-types/commands/ValidatePullThroughCacheRuleCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- 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/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetImageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/BatchGetRepositoryScanningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreatePullThroughCacheRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateRepositoryCreationTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeletePullThroughCacheRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRegistryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRepositoryCreationTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSigningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeregisterPullTimeUpdateExclusionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeImageReplicationStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeImageScanFindingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeImageSigningStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribePullThroughCacheRulesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRegistryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeRepositoryCreationTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAccountSettingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDownloadUrlForLayerCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLifecyclePolicyPreviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRegistryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRegistryScanningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSigningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListImageReferrersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListPullTimeUpdateExclusionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutAccountSettingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutImageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutImageScanningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutImageTagMutabilityCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutLifecyclePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRegistryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutRegistryScanningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutReplicationConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutSigningConfigurationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RegisterPullTimeUpdateExclusionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartImageScanCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartLifecyclePolicyPreviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateImageStorageClassCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdatePullThroughCacheRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateRepositoryCreationTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ValidatePullThroughCacheRuleCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -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/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetRepositoryPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetRepositoryPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "GetRepositoryPolicy", {})
|
|
13
|
-
.n("ECRClient", "GetRepositoryPolicyCommand")
|
|
14
|
-
.sc(GetRepositoryPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetRepositoryPolicyCommand extends command(_ep0, _mw0, "GetRepositoryPolicy", GetRepositoryPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSigningConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSigningConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "GetSigningConfiguration", {})
|
|
13
|
-
.n("ECRClient", "GetSigningConfigurationCommand")
|
|
14
|
-
.sc(GetSigningConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSigningConfigurationCommand extends command(_ep0, _mw0, "GetSigningConfiguration", GetSigningConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { InitiateLayerUpload$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class InitiateLayerUploadCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "InitiateLayerUpload", {})
|
|
13
|
-
.n("ECRClient", "InitiateLayerUploadCommand")
|
|
14
|
-
.sc(InitiateLayerUpload$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class InitiateLayerUploadCommand extends command(_ep0, _mw0, "InitiateLayerUpload", InitiateLayerUpload$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListImageReferrers$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListImageReferrersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "ListImageReferrers", {})
|
|
13
|
-
.n("ECRClient", "ListImageReferrersCommand")
|
|
14
|
-
.sc(ListImageReferrers$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListImageReferrersCommand extends command(_ep0, _mw0, "ListImageReferrers", ListImageReferrers$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListImages$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListImagesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "ListImages", {})
|
|
13
|
-
.n("ECRClient", "ListImagesCommand")
|
|
14
|
-
.sc(ListImages$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListImagesCommand extends command(_ep0, _mw0, "ListImages", ListImages$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListPullTimeUpdateExclusions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListPullTimeUpdateExclusionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "ListPullTimeUpdateExclusions", {})
|
|
13
|
-
.n("ECRClient", "ListPullTimeUpdateExclusionsCommand")
|
|
14
|
-
.sc(ListPullTimeUpdateExclusions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListPullTimeUpdateExclusionsCommand extends command(_ep0, _mw0, "ListPullTimeUpdateExclusions", ListPullTimeUpdateExclusions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "ListTagsForResource", {})
|
|
13
|
-
.n("ECRClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutAccountSetting$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutAccountSettingCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutAccountSetting", {})
|
|
13
|
-
.n("ECRClient", "PutAccountSettingCommand")
|
|
14
|
-
.sc(PutAccountSetting$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutAccountSettingCommand extends command(_ep0, _mw0, "PutAccountSetting", PutAccountSetting$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutImage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutImageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutImage", {})
|
|
13
|
-
.n("ECRClient", "PutImageCommand")
|
|
14
|
-
.sc(PutImage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutImageCommand extends command(_ep0, _mw0, "PutImage", PutImage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutImageScanningConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutImageScanningConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutImageScanningConfiguration", {})
|
|
13
|
-
.n("ECRClient", "PutImageScanningConfigurationCommand")
|
|
14
|
-
.sc(PutImageScanningConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutImageScanningConfigurationCommand extends command(_ep0, _mw0, "PutImageScanningConfiguration", PutImageScanningConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutImageTagMutability$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutImageTagMutabilityCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutImageTagMutability", {})
|
|
13
|
-
.n("ECRClient", "PutImageTagMutabilityCommand")
|
|
14
|
-
.sc(PutImageTagMutability$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutImageTagMutabilityCommand extends command(_ep0, _mw0, "PutImageTagMutability", PutImageTagMutability$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutLifecyclePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutLifecyclePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutLifecyclePolicy", {})
|
|
13
|
-
.n("ECRClient", "PutLifecyclePolicyCommand")
|
|
14
|
-
.sc(PutLifecyclePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutLifecyclePolicyCommand extends command(_ep0, _mw0, "PutLifecyclePolicy", PutLifecyclePolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRegistryPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRegistryPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryPolicy", {})
|
|
13
|
-
.n("ECRClient", "PutRegistryPolicyCommand")
|
|
14
|
-
.sc(PutRegistryPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutRegistryPolicyCommand extends command(_ep0, _mw0, "PutRegistryPolicy", PutRegistryPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutRegistryScanningConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutRegistryScanningConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutRegistryScanningConfiguration", {})
|
|
13
|
-
.n("ECRClient", "PutRegistryScanningConfigurationCommand")
|
|
14
|
-
.sc(PutRegistryScanningConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutRegistryScanningConfigurationCommand extends command(_ep0, _mw0, "PutRegistryScanningConfiguration", PutRegistryScanningConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutReplicationConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutReplicationConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutReplicationConfiguration", {})
|
|
13
|
-
.n("ECRClient", "PutReplicationConfigurationCommand")
|
|
14
|
-
.sc(PutReplicationConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutReplicationConfigurationCommand extends command(_ep0, _mw0, "PutReplicationConfiguration", PutReplicationConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutSigningConfiguration$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutSigningConfigurationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "PutSigningConfiguration", {})
|
|
13
|
-
.n("ECRClient", "PutSigningConfigurationCommand")
|
|
14
|
-
.sc(PutSigningConfiguration$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutSigningConfigurationCommand extends command(_ep0, _mw0, "PutSigningConfiguration", PutSigningConfiguration$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { RegisterPullTimeUpdateExclusion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RegisterPullTimeUpdateExclusionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "RegisterPullTimeUpdateExclusion", {})
|
|
13
|
-
.n("ECRClient", "RegisterPullTimeUpdateExclusionCommand")
|
|
14
|
-
.sc(RegisterPullTimeUpdateExclusion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RegisterPullTimeUpdateExclusionCommand extends command(_ep0, _mw0, "RegisterPullTimeUpdateExclusion", RegisterPullTimeUpdateExclusion$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SetRepositoryPolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SetRepositoryPolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "SetRepositoryPolicy", {})
|
|
13
|
-
.n("ECRClient", "SetRepositoryPolicyCommand")
|
|
14
|
-
.sc(SetRepositoryPolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SetRepositoryPolicyCommand extends command(_ep0, _mw0, "SetRepositoryPolicy", SetRepositoryPolicy$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartImageScan$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartImageScanCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "StartImageScan", {})
|
|
13
|
-
.n("ECRClient", "StartImageScanCommand")
|
|
14
|
-
.sc(StartImageScan$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartImageScanCommand extends command(_ep0, _mw0, "StartImageScan", StartImageScan$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartLifecyclePolicyPreview$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartLifecyclePolicyPreviewCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "StartLifecyclePolicyPreview", {})
|
|
13
|
-
.n("ECRClient", "StartLifecyclePolicyPreviewCommand")
|
|
14
|
-
.sc(StartLifecyclePolicyPreview$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartLifecyclePolicyPreviewCommand extends command(_ep0, _mw0, "StartLifecyclePolicyPreview", StartLifecyclePolicyPreview$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "TagResource", {})
|
|
13
|
-
.n("ECRClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "UntagResource", {})
|
|
13
|
-
.n("ECRClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateImageStorageClass$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateImageStorageClassCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "UpdateImageStorageClass", {})
|
|
13
|
-
.n("ECRClient", "UpdateImageStorageClassCommand")
|
|
14
|
-
.sc(UpdateImageStorageClass$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateImageStorageClassCommand extends command(_ep0, _mw0, "UpdateImageStorageClass", UpdateImageStorageClass$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdatePullThroughCacheRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdatePullThroughCacheRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "UpdatePullThroughCacheRule", {})
|
|
13
|
-
.n("ECRClient", "UpdatePullThroughCacheRuleCommand")
|
|
14
|
-
.sc(UpdatePullThroughCacheRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdatePullThroughCacheRuleCommand extends command(_ep0, _mw0, "UpdatePullThroughCacheRule", UpdatePullThroughCacheRule$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateRepositoryCreationTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateRepositoryCreationTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "UpdateRepositoryCreationTemplate", {})
|
|
13
|
-
.n("ECRClient", "UpdateRepositoryCreationTemplateCommand")
|
|
14
|
-
.sc(UpdateRepositoryCreationTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateRepositoryCreationTemplateCommand extends command(_ep0, _mw0, "UpdateRepositoryCreationTemplate", UpdateRepositoryCreationTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UploadLayerPart$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UploadLayerPartCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "UploadLayerPart", {})
|
|
13
|
-
.n("ECRClient", "UploadLayerPartCommand")
|
|
14
|
-
.sc(UploadLayerPart$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UploadLayerPartCommand extends command(_ep0, _mw0, "UploadLayerPart", UploadLayerPart$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ValidatePullThroughCacheRule$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ValidatePullThroughCacheRuleCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("AmazonEC2ContainerRegistry_V20150921", "ValidatePullThroughCacheRule", {})
|
|
13
|
-
.n("ECRClient", "ValidatePullThroughCacheRuleCommand")
|
|
14
|
-
.sc(ValidatePullThroughCacheRule$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ValidatePullThroughCacheRuleCommand extends command(_ep0, _mw0, "ValidatePullThroughCacheRule", ValidatePullThroughCacheRule$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -32,6 +33,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
32
33
|
serviceTarget: "AmazonEC2ContainerRegistry_V20150921",
|
|
33
34
|
},
|
|
34
35
|
serviceId: config?.serviceId ?? "ECR",
|
|
36
|
+
sha256: config?.sha256 ?? Sha256,
|
|
35
37
|
urlParser: config?.urlParser ?? parseUrl,
|
|
36
38
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
39
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|