@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.
Files changed (70) hide show
  1. package/dist-cjs/index.js +2244 -2306
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ECRClient.js +2 -0
  4. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +3 -9
  5. package/dist-es/commands/BatchDeleteImageCommand.js +3 -9
  6. package/dist-es/commands/BatchGetImageCommand.js +3 -9
  7. package/dist-es/commands/BatchGetRepositoryScanningConfigurationCommand.js +3 -9
  8. package/dist-es/commands/CompleteLayerUploadCommand.js +3 -9
  9. package/dist-es/commands/CreatePullThroughCacheRuleCommand.js +3 -9
  10. package/dist-es/commands/CreateRepositoryCommand.js +3 -9
  11. package/dist-es/commands/CreateRepositoryCreationTemplateCommand.js +3 -9
  12. package/dist-es/commands/DeleteLifecyclePolicyCommand.js +3 -9
  13. package/dist-es/commands/DeletePullThroughCacheRuleCommand.js +3 -9
  14. package/dist-es/commands/DeleteRegistryPolicyCommand.js +3 -9
  15. package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
  16. package/dist-es/commands/DeleteRepositoryCreationTemplateCommand.js +3 -9
  17. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +3 -9
  18. package/dist-es/commands/DescribeImageReplicationStatusCommand.js +3 -9
  19. package/dist-es/commands/DescribeImageScanFindingsCommand.js +3 -9
  20. package/dist-es/commands/DescribeImagesCommand.js +3 -9
  21. package/dist-es/commands/DescribePullThroughCacheRulesCommand.js +3 -9
  22. package/dist-es/commands/DescribeRegistryCommand.js +3 -9
  23. package/dist-es/commands/DescribeRepositoriesCommand.js +3 -9
  24. package/dist-es/commands/DescribeRepositoryCreationTemplatesCommand.js +3 -9
  25. package/dist-es/commands/GetAccountSettingCommand.js +3 -9
  26. package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -9
  27. package/dist-es/commands/GetDownloadUrlForLayerCommand.js +3 -9
  28. package/dist-es/commands/GetLifecyclePolicyCommand.js +3 -9
  29. package/dist-es/commands/GetLifecyclePolicyPreviewCommand.js +3 -9
  30. package/dist-es/commands/GetRegistryPolicyCommand.js +3 -9
  31. package/dist-es/commands/GetRegistryScanningConfigurationCommand.js +3 -9
  32. package/dist-es/commands/GetRepositoryPolicyCommand.js +3 -9
  33. package/dist-es/commands/InitiateLayerUploadCommand.js +3 -9
  34. package/dist-es/commands/ListImagesCommand.js +3 -9
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  36. package/dist-es/commands/PutAccountSettingCommand.js +3 -9
  37. package/dist-es/commands/PutImageCommand.js +3 -9
  38. package/dist-es/commands/PutImageScanningConfigurationCommand.js +3 -9
  39. package/dist-es/commands/PutImageTagMutabilityCommand.js +3 -9
  40. package/dist-es/commands/PutLifecyclePolicyCommand.js +3 -9
  41. package/dist-es/commands/PutRegistryPolicyCommand.js +3 -9
  42. package/dist-es/commands/PutRegistryScanningConfigurationCommand.js +3 -9
  43. package/dist-es/commands/PutReplicationConfigurationCommand.js +3 -9
  44. package/dist-es/commands/SetRepositoryPolicyCommand.js +3 -9
  45. package/dist-es/commands/StartImageScanCommand.js +3 -9
  46. package/dist-es/commands/StartLifecyclePolicyPreviewCommand.js +3 -9
  47. package/dist-es/commands/TagResourceCommand.js +3 -9
  48. package/dist-es/commands/UntagResourceCommand.js +3 -9
  49. package/dist-es/commands/UpdatePullThroughCacheRuleCommand.js +3 -9
  50. package/dist-es/commands/UpdateRepositoryCreationTemplateCommand.js +3 -9
  51. package/dist-es/commands/UploadLayerPartCommand.js +3 -9
  52. package/dist-es/commands/ValidatePullThroughCacheRuleCommand.js +3 -9
  53. package/dist-es/runtimeConfig.shared.js +7 -0
  54. package/dist-es/schemas/schemas_0.js +2041 -0
  55. package/dist-types/ECRClient.d.ts +10 -1
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  57. package/dist-types/runtimeConfig.d.ts +1 -0
  58. package/dist-types/runtimeConfig.native.d.ts +1 -0
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/schemas/schemas_0.d.ts +282 -0
  61. package/dist-types/ts3.4/ECRClient.d.ts +4 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +287 -0
  67. package/package.json +5 -5
  68. package/dist-es/protocols/Aws_json1_1.js +0 -1847
  69. package/dist-types/protocols/Aws_json1_1.d.ts +0 -443
  70. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -593
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.ecr",
32
+ serviceTarget: "AmazonEC2ContainerRegistry_V20150921",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "ECR",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class ECRClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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 { de_BatchCheckLayerAvailabilityCommand, se_BatchCheckLayerAvailabilityCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchCheckLayerAvailability } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchCheckLayerAvailabilityCommand 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", "BatchCheckLayerAvailability", {})
17
13
  .n("ECRClient", "BatchCheckLayerAvailabilityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchCheckLayerAvailabilityCommand)
20
- .de(de_BatchCheckLayerAvailabilityCommand)
14
+ .sc(BatchCheckLayerAvailability)
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 { de_BatchDeleteImageCommand, se_BatchDeleteImageCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchDeleteImage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDeleteImageCommand 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", "BatchDeleteImage", {})
17
13
  .n("ECRClient", "BatchDeleteImageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDeleteImageCommand)
20
- .de(de_BatchDeleteImageCommand)
14
+ .sc(BatchDeleteImage)
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 { de_BatchGetImageCommand, se_BatchGetImageCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetImage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetImageCommand 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", "BatchGetImage", {})
17
13
  .n("ECRClient", "BatchGetImageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetImageCommand)
20
- .de(de_BatchGetImageCommand)
14
+ .sc(BatchGetImage)
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 { de_BatchGetRepositoryScanningConfigurationCommand, se_BatchGetRepositoryScanningConfigurationCommand, } from "../protocols/Aws_json1_1";
4
+ import { BatchGetRepositoryScanningConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchGetRepositoryScanningConfigurationCommand 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", "BatchGetRepositoryScanningConfiguration", {})
17
13
  .n("ECRClient", "BatchGetRepositoryScanningConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchGetRepositoryScanningConfigurationCommand)
20
- .de(de_BatchGetRepositoryScanningConfigurationCommand)
14
+ .sc(BatchGetRepositoryScanningConfiguration)
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 { de_CompleteLayerUploadCommand, se_CompleteLayerUploadCommand } from "../protocols/Aws_json1_1";
4
+ import { CompleteLayerUpload } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CompleteLayerUploadCommand 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", "CompleteLayerUpload", {})
17
13
  .n("ECRClient", "CompleteLayerUploadCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CompleteLayerUploadCommand)
20
- .de(de_CompleteLayerUploadCommand)
14
+ .sc(CompleteLayerUpload)
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 { de_CreatePullThroughCacheRuleCommand, se_CreatePullThroughCacheRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { CreatePullThroughCacheRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePullThroughCacheRuleCommand 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", "CreatePullThroughCacheRule", {})
17
13
  .n("ECRClient", "CreatePullThroughCacheRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePullThroughCacheRuleCommand)
20
- .de(de_CreatePullThroughCacheRuleCommand)
14
+ .sc(CreatePullThroughCacheRule)
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 { de_CreateRepositoryCommand, se_CreateRepositoryCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRepositoryCommand 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", "CreateRepository", {})
17
13
  .n("ECRClient", "CreateRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRepositoryCommand)
20
- .de(de_CreateRepositoryCommand)
14
+ .sc(CreateRepository)
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 { de_CreateRepositoryCreationTemplateCommand, se_CreateRepositoryCreationTemplateCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateRepositoryCreationTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRepositoryCreationTemplateCommand 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", "CreateRepositoryCreationTemplate", {})
17
13
  .n("ECRClient", "CreateRepositoryCreationTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRepositoryCreationTemplateCommand)
20
- .de(de_CreateRepositoryCreationTemplateCommand)
14
+ .sc(CreateRepositoryCreationTemplate)
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 { de_DeleteLifecyclePolicyCommand, se_DeleteLifecyclePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLifecyclePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLifecyclePolicyCommand 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", "DeleteLifecyclePolicy", {})
17
13
  .n("ECRClient", "DeleteLifecyclePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLifecyclePolicyCommand)
20
- .de(de_DeleteLifecyclePolicyCommand)
14
+ .sc(DeleteLifecyclePolicy)
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 { de_DeletePullThroughCacheRuleCommand, se_DeletePullThroughCacheRuleCommand } from "../protocols/Aws_json1_1";
4
+ import { DeletePullThroughCacheRule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePullThroughCacheRuleCommand 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", "DeletePullThroughCacheRule", {})
17
13
  .n("ECRClient", "DeletePullThroughCacheRuleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePullThroughCacheRuleCommand)
20
- .de(de_DeletePullThroughCacheRuleCommand)
14
+ .sc(DeletePullThroughCacheRule)
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 { de_DeleteRegistryPolicyCommand, se_DeleteRegistryPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRegistryPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRegistryPolicyCommand 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", "DeleteRegistryPolicy", {})
17
13
  .n("ECRClient", "DeleteRegistryPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRegistryPolicyCommand)
20
- .de(de_DeleteRegistryPolicyCommand)
14
+ .sc(DeleteRegistryPolicy)
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 { de_DeleteRepositoryCommand, se_DeleteRepositoryCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRepository } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRepositoryCommand 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", "DeleteRepository", {})
17
13
  .n("ECRClient", "DeleteRepositoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRepositoryCommand)
20
- .de(de_DeleteRepositoryCommand)
14
+ .sc(DeleteRepository)
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 { de_DeleteRepositoryCreationTemplateCommand, se_DeleteRepositoryCreationTemplateCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteRepositoryCreationTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRepositoryCreationTemplateCommand 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", "DeleteRepositoryCreationTemplate", {})
17
13
  .n("ECRClient", "DeleteRepositoryCreationTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRepositoryCreationTemplateCommand)
20
- .de(de_DeleteRepositoryCreationTemplateCommand)
14
+ .sc(DeleteRepositoryCreationTemplate)
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 { de_DeleteRepositoryPolicyCommand, se_DeleteRepositoryPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteRepositoryPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRepositoryPolicyCommand 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", "DeleteRepositoryPolicy", {})
17
13
  .n("ECRClient", "DeleteRepositoryPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRepositoryPolicyCommand)
20
- .de(de_DeleteRepositoryPolicyCommand)
14
+ .sc(DeleteRepositoryPolicy)
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 { de_DescribeImageReplicationStatusCommand, se_DescribeImageReplicationStatusCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeImageReplicationStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeImageReplicationStatusCommand 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", "DescribeImageReplicationStatus", {})
17
13
  .n("ECRClient", "DescribeImageReplicationStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeImageReplicationStatusCommand)
20
- .de(de_DescribeImageReplicationStatusCommand)
14
+ .sc(DescribeImageReplicationStatus)
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 { de_DescribeImageScanFindingsCommand, se_DescribeImageScanFindingsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeImageScanFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeImageScanFindingsCommand 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", "DescribeImageScanFindings", {})
17
13
  .n("ECRClient", "DescribeImageScanFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeImageScanFindingsCommand)
20
- .de(de_DescribeImageScanFindingsCommand)
14
+ .sc(DescribeImageScanFindings)
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 { de_DescribeImagesCommand, se_DescribeImagesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeImages } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeImagesCommand 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", "DescribeImages", {})
17
13
  .n("ECRClient", "DescribeImagesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeImagesCommand)
20
- .de(de_DescribeImagesCommand)
14
+ .sc(DescribeImages)
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 { de_DescribePullThroughCacheRulesCommand, se_DescribePullThroughCacheRulesCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribePullThroughCacheRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribePullThroughCacheRulesCommand 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", "DescribePullThroughCacheRules", {})
17
13
  .n("ECRClient", "DescribePullThroughCacheRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribePullThroughCacheRulesCommand)
20
- .de(de_DescribePullThroughCacheRulesCommand)
14
+ .sc(DescribePullThroughCacheRules)
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 { de_DescribeRegistryCommand, se_DescribeRegistryCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRegistry } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRegistryCommand 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", "DescribeRegistry", {})
17
13
  .n("ECRClient", "DescribeRegistryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRegistryCommand)
20
- .de(de_DescribeRegistryCommand)
14
+ .sc(DescribeRegistry)
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 { de_DescribeRepositoriesCommand, se_DescribeRepositoriesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRepositories } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRepositoriesCommand 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", "DescribeRepositories", {})
17
13
  .n("ECRClient", "DescribeRepositoriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRepositoriesCommand)
20
- .de(de_DescribeRepositoriesCommand)
14
+ .sc(DescribeRepositories)
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 { de_DescribeRepositoryCreationTemplatesCommand, se_DescribeRepositoryCreationTemplatesCommand, } from "../protocols/Aws_json1_1";
4
+ import { DescribeRepositoryCreationTemplates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRepositoryCreationTemplatesCommand 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", "DescribeRepositoryCreationTemplates", {})
17
13
  .n("ECRClient", "DescribeRepositoryCreationTemplatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRepositoryCreationTemplatesCommand)
20
- .de(de_DescribeRepositoryCreationTemplatesCommand)
14
+ .sc(DescribeRepositoryCreationTemplates)
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 { de_GetAccountSettingCommand, se_GetAccountSettingCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAccountSetting } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccountSettingCommand 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", "GetAccountSetting", {})
17
13
  .n("ECRClient", "GetAccountSettingCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccountSettingCommand)
20
- .de(de_GetAccountSettingCommand)
14
+ .sc(GetAccountSetting)
21
15
  .build() {
22
16
  }