@aws-sdk/client-ecr-public 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 (44) hide show
  1. package/dist-cjs/index.js +1001 -1142
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ECRPUBLICClient.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/CompleteLayerUploadCommand.js +3 -9
  7. package/dist-es/commands/CreateRepositoryCommand.js +3 -9
  8. package/dist-es/commands/DeleteRepositoryCommand.js +3 -9
  9. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +3 -9
  10. package/dist-es/commands/DescribeImageTagsCommand.js +3 -9
  11. package/dist-es/commands/DescribeImagesCommand.js +3 -9
  12. package/dist-es/commands/DescribeRegistriesCommand.js +3 -9
  13. package/dist-es/commands/DescribeRepositoriesCommand.js +3 -9
  14. package/dist-es/commands/GetAuthorizationTokenCommand.js +3 -9
  15. package/dist-es/commands/GetRegistryCatalogDataCommand.js +3 -9
  16. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +3 -9
  17. package/dist-es/commands/GetRepositoryPolicyCommand.js +3 -9
  18. package/dist-es/commands/InitiateLayerUploadCommand.js +3 -9
  19. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  20. package/dist-es/commands/PutImageCommand.js +3 -9
  21. package/dist-es/commands/PutRegistryCatalogDataCommand.js +3 -9
  22. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +3 -9
  23. package/dist-es/commands/SetRepositoryPolicyCommand.js +3 -9
  24. package/dist-es/commands/TagResourceCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UploadLayerPartCommand.js +3 -9
  27. package/dist-es/runtimeConfig.shared.js +7 -0
  28. package/dist-es/schemas/schemas_0.js +889 -0
  29. package/dist-types/ECRPUBLICClient.d.ts +10 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  31. package/dist-types/runtimeConfig.d.ts +1 -0
  32. package/dist-types/runtimeConfig.native.d.ts +1 -0
  33. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  34. package/dist-types/schemas/schemas_0.d.ts +129 -0
  35. package/dist-types/ts3.4/ECRPUBLICClient.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  40. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  41. package/package.json +5 -5
  42. package/dist-es/protocols/Aws_json1_1.js +0 -913
  43. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
@@ -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.ecrpublic",
32
+ serviceTarget: "SpencerFrontendService",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "ECR PUBLIC",
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 ECRPUBLICClient 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("SpencerFrontendService", "BatchCheckLayerAvailability", {})
17
13
  .n("ECRPUBLICClient", "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("SpencerFrontendService", "BatchDeleteImage", {})
17
13
  .n("ECRPUBLICClient", "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_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("SpencerFrontendService", "CompleteLayerUpload", {})
17
13
  .n("ECRPUBLICClient", "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_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("SpencerFrontendService", "CreateRepository", {})
17
13
  .n("ECRPUBLICClient", "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_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("SpencerFrontendService", "DeleteRepository", {})
17
13
  .n("ECRPUBLICClient", "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_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("SpencerFrontendService", "DeleteRepositoryPolicy", {})
17
13
  .n("ECRPUBLICClient", "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_DescribeImageTagsCommand, se_DescribeImageTagsCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeImageTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeImageTagsCommand 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("SpencerFrontendService", "DescribeImageTags", {})
17
13
  .n("ECRPUBLICClient", "DescribeImageTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeImageTagsCommand)
20
- .de(de_DescribeImageTagsCommand)
14
+ .sc(DescribeImageTags)
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("SpencerFrontendService", "DescribeImages", {})
17
13
  .n("ECRPUBLICClient", "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_DescribeRegistriesCommand, se_DescribeRegistriesCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeRegistries } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeRegistriesCommand 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("SpencerFrontendService", "DescribeRegistries", {})
17
13
  .n("ECRPUBLICClient", "DescribeRegistriesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeRegistriesCommand)
20
- .de(de_DescribeRegistriesCommand)
14
+ .sc(DescribeRegistries)
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("SpencerFrontendService", "DescribeRepositories", {})
17
13
  .n("ECRPUBLICClient", "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_GetAuthorizationTokenCommand, se_GetAuthorizationTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAuthorizationToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAuthorizationTokenCommand 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("SpencerFrontendService", "GetAuthorizationToken", {})
17
13
  .n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAuthorizationTokenCommand)
20
- .de(de_GetAuthorizationTokenCommand)
14
+ .sc(GetAuthorizationToken)
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_GetRegistryCatalogDataCommand, se_GetRegistryCatalogDataCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRegistryCatalogData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRegistryCatalogDataCommand 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("SpencerFrontendService", "GetRegistryCatalogData", {})
17
13
  .n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRegistryCatalogDataCommand)
20
- .de(de_GetRegistryCatalogDataCommand)
14
+ .sc(GetRegistryCatalogData)
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_GetRepositoryCatalogDataCommand, se_GetRepositoryCatalogDataCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRepositoryCatalogData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRepositoryCatalogDataCommand 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("SpencerFrontendService", "GetRepositoryCatalogData", {})
17
13
  .n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRepositoryCatalogDataCommand)
20
- .de(de_GetRepositoryCatalogDataCommand)
14
+ .sc(GetRepositoryCatalogData)
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_GetRepositoryPolicyCommand, se_GetRepositoryPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRepositoryPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRepositoryPolicyCommand 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("SpencerFrontendService", "GetRepositoryPolicy", {})
17
13
  .n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRepositoryPolicyCommand)
20
- .de(de_GetRepositoryPolicyCommand)
14
+ .sc(GetRepositoryPolicy)
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_InitiateLayerUploadCommand, se_InitiateLayerUploadCommand } from "../protocols/Aws_json1_1";
4
+ import { InitiateLayerUpload } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class InitiateLayerUploadCommand 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("SpencerFrontendService", "InitiateLayerUpload", {})
17
13
  .n("ECRPUBLICClient", "InitiateLayerUploadCommand")
18
- .f(void 0, void 0)
19
- .ser(se_InitiateLayerUploadCommand)
20
- .de(de_InitiateLayerUploadCommand)
14
+ .sc(InitiateLayerUpload)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand 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("SpencerFrontendService", "ListTagsForResource", {})
17
13
  .n("ECRPUBLICClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
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_PutImageCommand, se_PutImageCommand } from "../protocols/Aws_json1_1";
4
+ import { PutImage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutImageCommand 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("SpencerFrontendService", "PutImage", {})
17
13
  .n("ECRPUBLICClient", "PutImageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutImageCommand)
20
- .de(de_PutImageCommand)
14
+ .sc(PutImage)
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_PutRegistryCatalogDataCommand, se_PutRegistryCatalogDataCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRegistryCatalogData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRegistryCatalogDataCommand 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("SpencerFrontendService", "PutRegistryCatalogData", {})
17
13
  .n("ECRPUBLICClient", "PutRegistryCatalogDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutRegistryCatalogDataCommand)
20
- .de(de_PutRegistryCatalogDataCommand)
14
+ .sc(PutRegistryCatalogData)
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_PutRepositoryCatalogDataCommand, se_PutRepositoryCatalogDataCommand } from "../protocols/Aws_json1_1";
4
+ import { PutRepositoryCatalogData } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutRepositoryCatalogDataCommand 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("SpencerFrontendService", "PutRepositoryCatalogData", {})
17
13
  .n("ECRPUBLICClient", "PutRepositoryCatalogDataCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutRepositoryCatalogDataCommand)
20
- .de(de_PutRepositoryCatalogDataCommand)
14
+ .sc(PutRepositoryCatalogData)
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_SetRepositoryPolicyCommand, se_SetRepositoryPolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { SetRepositoryPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetRepositoryPolicyCommand 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("SpencerFrontendService", "SetRepositoryPolicy", {})
17
13
  .n("ECRPUBLICClient", "SetRepositoryPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetRepositoryPolicyCommand)
20
- .de(de_SetRepositoryPolicyCommand)
14
+ .sc(SetRepositoryPolicy)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand 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("SpencerFrontendService", "TagResource", {})
17
13
  .n("ECRPUBLICClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand 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("SpencerFrontendService", "UntagResource", {})
17
13
  .n("ECRPUBLICClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }