@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
@@ -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_ListQueuesCommand, se_ListQueuesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListQueues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListQueuesCommand 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", "ListQueues", {})
17
13
  .n("MediaConvertClient", "ListQueuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListQueuesCommand)
20
- .de(de_ListQueuesCommand)
14
+ .sc(ListQueues)
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_restJson1";
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("MediaConvert", "ListTagsForResource", {})
17
13
  .n("MediaConvertClient", "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_ListVersionsCommand, se_ListVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListVersionsCommand 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", "ListVersions", {})
17
13
  .n("MediaConvertClient", "ListVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListVersionsCommand)
20
- .de(de_ListVersionsCommand)
14
+ .sc(ListVersions)
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_ProbeCommand, se_ProbeCommand } from "../protocols/Aws_restJson1";
4
+ import { Probe } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ProbeCommand 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", "Probe", {})
17
13
  .n("MediaConvertClient", "ProbeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ProbeCommand)
20
- .de(de_ProbeCommand)
14
+ .sc(Probe)
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_PutPolicyCommand, se_PutPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { PutPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutPolicyCommand 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", "PutPolicy", {})
17
13
  .n("MediaConvertClient", "PutPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutPolicyCommand)
20
- .de(de_PutPolicyCommand)
14
+ .sc(PutPolicy)
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_SearchJobsCommand, se_SearchJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { SearchJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SearchJobsCommand 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", "SearchJobs", {})
17
13
  .n("MediaConvertClient", "SearchJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SearchJobsCommand)
20
- .de(de_SearchJobsCommand)
14
+ .sc(SearchJobs)
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_StartJobsQueryCommand, se_StartJobsQueryCommand } from "../protocols/Aws_restJson1";
4
+ import { StartJobsQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartJobsQueryCommand 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", "StartJobsQuery", {})
17
13
  .n("MediaConvertClient", "StartJobsQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartJobsQueryCommand)
20
- .de(de_StartJobsQueryCommand)
14
+ .sc(StartJobsQuery)
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_restJson1";
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("MediaConvert", "TagResource", {})
17
13
  .n("MediaConvertClient", "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_restJson1";
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("MediaConvert", "UntagResource", {})
17
13
  .n("MediaConvertClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
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_UpdateJobTemplateCommand, se_UpdateJobTemplateCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateJobTemplate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateJobTemplateCommand 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", "UpdateJobTemplate", {})
17
13
  .n("MediaConvertClient", "UpdateJobTemplateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateJobTemplateCommand)
20
- .de(de_UpdateJobTemplateCommand)
14
+ .sc(UpdateJobTemplate)
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_UpdatePresetCommand, se_UpdatePresetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdatePreset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePresetCommand 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", "UpdatePreset", {})
17
13
  .n("MediaConvertClient", "UpdatePresetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePresetCommand)
20
- .de(de_UpdatePresetCommand)
14
+ .sc(UpdatePreset)
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_UpdateQueueCommand, se_UpdateQueueCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateQueue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateQueueCommand 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", "UpdateQueue", {})
17
13
  .n("MediaConvertClient", "UpdateQueueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateQueueCommand)
20
- .de(de_UpdateQueueCommand)
14
+ .sc(UpdateQueue)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.mediaconvert" }),
25
27
  serviceId: config?.serviceId ?? "MediaConvert",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,