@aws-sdk/client-mediaconvert 3.928.0 → 3.930.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 (55) hide show
  1. package/dist-cjs/index.js +16552 -8656
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaConvertClient.js +2 -0
  4. package/dist-es/commands/AssociateCertificateCommand.js +3 -9
  5. package/dist-es/commands/CancelJobCommand.js +3 -9
  6. package/dist-es/commands/CreateJobCommand.js +3 -9
  7. package/dist-es/commands/CreateJobTemplateCommand.js +3 -9
  8. package/dist-es/commands/CreatePresetCommand.js +3 -9
  9. package/dist-es/commands/CreateQueueCommand.js +3 -9
  10. package/dist-es/commands/CreateResourceShareCommand.js +3 -9
  11. package/dist-es/commands/DeleteJobTemplateCommand.js +3 -9
  12. package/dist-es/commands/DeletePolicyCommand.js +3 -9
  13. package/dist-es/commands/DeletePresetCommand.js +3 -9
  14. package/dist-es/commands/DeleteQueueCommand.js +3 -9
  15. package/dist-es/commands/DescribeEndpointsCommand.js +3 -9
  16. package/dist-es/commands/DisassociateCertificateCommand.js +3 -9
  17. package/dist-es/commands/GetJobCommand.js +3 -9
  18. package/dist-es/commands/GetJobTemplateCommand.js +3 -9
  19. package/dist-es/commands/GetJobsQueryResultsCommand.js +3 -9
  20. package/dist-es/commands/GetPolicyCommand.js +3 -9
  21. package/dist-es/commands/GetPresetCommand.js +3 -9
  22. package/dist-es/commands/GetQueueCommand.js +3 -9
  23. package/dist-es/commands/ListJobTemplatesCommand.js +3 -9
  24. package/dist-es/commands/ListJobsCommand.js +3 -9
  25. package/dist-es/commands/ListPresetsCommand.js +3 -9
  26. package/dist-es/commands/ListQueuesCommand.js +3 -9
  27. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  28. package/dist-es/commands/ListVersionsCommand.js +3 -9
  29. package/dist-es/commands/ProbeCommand.js +3 -9
  30. package/dist-es/commands/PutPolicyCommand.js +3 -9
  31. package/dist-es/commands/SearchJobsCommand.js +3 -9
  32. package/dist-es/commands/StartJobsQueryCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UntagResourceCommand.js +3 -9
  35. package/dist-es/commands/UpdateJobTemplateCommand.js +3 -9
  36. package/dist-es/commands/UpdatePresetCommand.js +3 -9
  37. package/dist-es/commands/UpdateQueueCommand.js +3 -9
  38. package/dist-es/runtimeConfig.shared.js +2 -0
  39. package/dist-es/schemas/schemas_0.js +13902 -0
  40. package/dist-types/MediaConvertClient.d.ts +10 -1
  41. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  42. package/dist-types/runtimeConfig.d.ts +1 -0
  43. package/dist-types/runtimeConfig.native.d.ts +1 -0
  44. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  45. package/dist-types/schemas/schemas_0.d.ts +376 -0
  46. package/dist-types/ts3.4/MediaConvertClient.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +382 -0
  52. package/package.json +33 -34
  53. package/dist-es/protocols/Aws_restJson1.js +0 -5822
  54. package/dist-types/protocols/Aws_restJson1.d.ts +0 -308
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -413
@@ -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,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mediaconvert" }),
28
30
  serviceId: config?.serviceId ?? "MediaConvert",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  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 MediaConvertClient 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_AssociateCertificateCommand, se_AssociateCertificateCommand } from "../protocols/Aws_restJson1";
4
+ import { AssociateCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateCertificateCommand 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("MediaConvert", "AssociateCertificate", {})
17
13
  .n("MediaConvertClient", "AssociateCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateCertificateCommand)
20
- .de(de_AssociateCertificateCommand)
14
+ .sc(AssociateCertificate)
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_CancelJobCommand, se_CancelJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelJobCommand 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("MediaConvert", "CancelJob", {})
17
13
  .n("MediaConvertClient", "CancelJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelJobCommand)
20
- .de(de_CancelJobCommand)
14
+ .sc(CancelJob)
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_CreateJobCommand, se_CreateJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateJobCommand 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("MediaConvert", "CreateJob", {})
17
13
  .n("MediaConvertClient", "CreateJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateJobCommand)
20
- .de(de_CreateJobCommand)
14
+ .sc(CreateJob)
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_CreateJobTemplateCommand, se_CreateJobTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateJobTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateJobTemplateCommand 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("MediaConvert", "CreateJobTemplate", {})
17
13
  .n("MediaConvertClient", "CreateJobTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateJobTemplateCommand)
20
- .de(de_CreateJobTemplateCommand)
14
+ .sc(CreateJobTemplate)
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_CreatePresetCommand, se_CreatePresetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePreset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePresetCommand 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("MediaConvert", "CreatePreset", {})
17
13
  .n("MediaConvertClient", "CreatePresetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePresetCommand)
20
- .de(de_CreatePresetCommand)
14
+ .sc(CreatePreset)
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_CreateQueueCommand, se_CreateQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateQueueCommand 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("MediaConvert", "CreateQueue", {})
17
13
  .n("MediaConvertClient", "CreateQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateQueueCommand)
20
- .de(de_CreateQueueCommand)
14
+ .sc(CreateQueue)
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_CreateResourceShareCommand, se_CreateResourceShareCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateResourceShare } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateResourceShareCommand 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("MediaConvert", "CreateResourceShare", {})
17
13
  .n("MediaConvertClient", "CreateResourceShareCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateResourceShareCommand)
20
- .de(de_CreateResourceShareCommand)
14
+ .sc(CreateResourceShare)
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_DeleteJobTemplateCommand, se_DeleteJobTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteJobTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteJobTemplateCommand 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("MediaConvert", "DeleteJobTemplate", {})
17
13
  .n("MediaConvertClient", "DeleteJobTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteJobTemplateCommand)
20
- .de(de_DeleteJobTemplateCommand)
14
+ .sc(DeleteJobTemplate)
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_DeletePolicyCommand, se_DeletePolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePolicyCommand 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("MediaConvert", "DeletePolicy", {})
17
13
  .n("MediaConvertClient", "DeletePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePolicyCommand)
20
- .de(de_DeletePolicyCommand)
14
+ .sc(DeletePolicy)
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_DeletePresetCommand, se_DeletePresetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePreset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePresetCommand 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("MediaConvert", "DeletePreset", {})
17
13
  .n("MediaConvertClient", "DeletePresetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePresetCommand)
20
- .de(de_DeletePresetCommand)
14
+ .sc(DeletePreset)
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_DeleteQueueCommand, se_DeleteQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteQueueCommand 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("MediaConvert", "DeleteQueue", {})
17
13
  .n("MediaConvertClient", "DeleteQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteQueueCommand)
20
- .de(de_DeleteQueueCommand)
14
+ .sc(DeleteQueue)
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_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeEndpoints } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeEndpointsCommand 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("MediaConvert", "DescribeEndpoints", {})
17
13
  .n("MediaConvertClient", "DescribeEndpointsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeEndpointsCommand)
20
- .de(de_DescribeEndpointsCommand)
14
+ .sc(DescribeEndpoints)
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_DisassociateCertificateCommand, se_DisassociateCertificateCommand } from "../protocols/Aws_restJson1";
4
+ import { DisassociateCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateCertificateCommand 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("MediaConvert", "DisassociateCertificate", {})
17
13
  .n("MediaConvertClient", "DisassociateCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateCertificateCommand)
20
- .de(de_DisassociateCertificateCommand)
14
+ .sc(DisassociateCertificate)
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_GetJobCommand, se_GetJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobCommand 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("MediaConvert", "GetJob", {})
17
13
  .n("MediaConvertClient", "GetJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobCommand)
20
- .de(de_GetJobCommand)
14
+ .sc(GetJob)
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_GetJobTemplateCommand, se_GetJobTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJobTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobTemplateCommand 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("MediaConvert", "GetJobTemplate", {})
17
13
  .n("MediaConvertClient", "GetJobTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobTemplateCommand)
20
- .de(de_GetJobTemplateCommand)
14
+ .sc(GetJobTemplate)
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_GetJobsQueryResultsCommand, se_GetJobsQueryResultsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJobsQueryResults } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobsQueryResultsCommand 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("MediaConvert", "GetJobsQueryResults", {})
17
13
  .n("MediaConvertClient", "GetJobsQueryResultsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobsQueryResultsCommand)
20
- .de(de_GetJobsQueryResultsCommand)
14
+ .sc(GetJobsQueryResults)
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_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPolicyCommand 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("MediaConvert", "GetPolicy", {})
17
13
  .n("MediaConvertClient", "GetPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPolicyCommand)
20
- .de(de_GetPolicyCommand)
14
+ .sc(GetPolicy)
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_GetPresetCommand, se_GetPresetCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPreset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPresetCommand 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("MediaConvert", "GetPreset", {})
17
13
  .n("MediaConvertClient", "GetPresetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPresetCommand)
20
- .de(de_GetPresetCommand)
14
+ .sc(GetPreset)
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_GetQueueCommand, se_GetQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { GetQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetQueueCommand 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("MediaConvert", "GetQueue", {})
17
13
  .n("MediaConvertClient", "GetQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetQueueCommand)
20
- .de(de_GetQueueCommand)
14
+ .sc(GetQueue)
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_ListJobTemplatesCommand, se_ListJobTemplatesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobTemplates } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobTemplatesCommand 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("MediaConvert", "ListJobTemplates", {})
17
13
  .n("MediaConvertClient", "ListJobTemplatesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobTemplatesCommand)
20
- .de(de_ListJobTemplatesCommand)
14
+ .sc(ListJobTemplates)
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_ListJobsCommand, se_ListJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobsCommand 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("MediaConvert", "ListJobs", {})
17
13
  .n("MediaConvertClient", "ListJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobsCommand)
20
- .de(de_ListJobsCommand)
14
+ .sc(ListJobs)
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_ListPresetsCommand, se_ListPresetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListPresets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPresetsCommand 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("MediaConvert", "ListPresets", {})
17
13
  .n("MediaConvertClient", "ListPresetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPresetsCommand)
20
- .de(de_ListPresetsCommand)
14
+ .sc(ListPresets)
21
15
  .build() {
22
16
  }