@aws-sdk/client-mediatailor 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 (65) hide show
  1. package/dist-cjs/index.js +2231 -1934
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/MediaTailorClient.js +2 -0
  4. package/dist-es/commands/ConfigureLogsForChannelCommand.js +3 -9
  5. package/dist-es/commands/ConfigureLogsForPlaybackConfigurationCommand.js +3 -9
  6. package/dist-es/commands/CreateChannelCommand.js +3 -9
  7. package/dist-es/commands/CreateLiveSourceCommand.js +3 -9
  8. package/dist-es/commands/CreatePrefetchScheduleCommand.js +3 -9
  9. package/dist-es/commands/CreateProgramCommand.js +3 -9
  10. package/dist-es/commands/CreateSourceLocationCommand.js +3 -9
  11. package/dist-es/commands/CreateVodSourceCommand.js +3 -9
  12. package/dist-es/commands/DeleteChannelCommand.js +3 -9
  13. package/dist-es/commands/DeleteChannelPolicyCommand.js +3 -9
  14. package/dist-es/commands/DeleteLiveSourceCommand.js +3 -9
  15. package/dist-es/commands/DeletePlaybackConfigurationCommand.js +3 -9
  16. package/dist-es/commands/DeletePrefetchScheduleCommand.js +3 -9
  17. package/dist-es/commands/DeleteProgramCommand.js +3 -9
  18. package/dist-es/commands/DeleteSourceLocationCommand.js +3 -9
  19. package/dist-es/commands/DeleteVodSourceCommand.js +3 -9
  20. package/dist-es/commands/DescribeChannelCommand.js +3 -9
  21. package/dist-es/commands/DescribeLiveSourceCommand.js +3 -9
  22. package/dist-es/commands/DescribeProgramCommand.js +3 -9
  23. package/dist-es/commands/DescribeSourceLocationCommand.js +3 -9
  24. package/dist-es/commands/DescribeVodSourceCommand.js +3 -9
  25. package/dist-es/commands/GetChannelPolicyCommand.js +3 -9
  26. package/dist-es/commands/GetChannelScheduleCommand.js +3 -9
  27. package/dist-es/commands/GetPlaybackConfigurationCommand.js +3 -9
  28. package/dist-es/commands/GetPrefetchScheduleCommand.js +3 -9
  29. package/dist-es/commands/ListAlertsCommand.js +3 -9
  30. package/dist-es/commands/ListChannelsCommand.js +3 -9
  31. package/dist-es/commands/ListLiveSourcesCommand.js +3 -9
  32. package/dist-es/commands/ListPlaybackConfigurationsCommand.js +3 -9
  33. package/dist-es/commands/ListPrefetchSchedulesCommand.js +3 -9
  34. package/dist-es/commands/ListSourceLocationsCommand.js +3 -9
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  36. package/dist-es/commands/ListVodSourcesCommand.js +3 -9
  37. package/dist-es/commands/PutChannelPolicyCommand.js +3 -9
  38. package/dist-es/commands/PutPlaybackConfigurationCommand.js +3 -9
  39. package/dist-es/commands/StartChannelCommand.js +3 -9
  40. package/dist-es/commands/StopChannelCommand.js +3 -9
  41. package/dist-es/commands/TagResourceCommand.js +3 -9
  42. package/dist-es/commands/UntagResourceCommand.js +3 -9
  43. package/dist-es/commands/UpdateChannelCommand.js +3 -9
  44. package/dist-es/commands/UpdateLiveSourceCommand.js +3 -9
  45. package/dist-es/commands/UpdateProgramCommand.js +3 -9
  46. package/dist-es/commands/UpdateSourceLocationCommand.js +3 -9
  47. package/dist-es/commands/UpdateVodSourceCommand.js +3 -9
  48. package/dist-es/runtimeConfig.shared.js +2 -0
  49. package/dist-es/schemas/schemas_0.js +2159 -0
  50. package/dist-types/MediaTailorClient.d.ts +10 -1
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  52. package/dist-types/runtimeConfig.d.ts +1 -0
  53. package/dist-types/runtimeConfig.native.d.ts +1 -0
  54. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  55. package/dist-types/schemas/schemas_0.d.ts +221 -0
  56. package/dist-types/ts3.4/MediaTailorClient.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  61. package/dist-types/ts3.4/schemas/schemas_0.d.ts +227 -0
  62. package/package.json +33 -33
  63. package/dist-es/protocols/Aws_restJson1.js +0 -1634
  64. package/dist-types/protocols/Aws_restJson1.d.ts +0 -398
  65. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -533
@@ -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.mediatailor" }),
28
30
  serviceId: config?.serviceId ?? "MediaTailor",
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 MediaTailorClient 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_ConfigureLogsForChannelCommand, se_ConfigureLogsForChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { ConfigureLogsForChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfigureLogsForChannelCommand 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("MediaTailor", "ConfigureLogsForChannel", {})
17
13
  .n("MediaTailorClient", "ConfigureLogsForChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfigureLogsForChannelCommand)
20
- .de(de_ConfigureLogsForChannelCommand)
14
+ .sc(ConfigureLogsForChannel)
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_ConfigureLogsForPlaybackConfigurationCommand, se_ConfigureLogsForPlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { ConfigureLogsForPlaybackConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfigureLogsForPlaybackConfigurationCommand 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("MediaTailor", "ConfigureLogsForPlaybackConfiguration", {})
17
13
  .n("MediaTailorClient", "ConfigureLogsForPlaybackConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfigureLogsForPlaybackConfigurationCommand)
20
- .de(de_ConfigureLogsForPlaybackConfigurationCommand)
14
+ .sc(ConfigureLogsForPlaybackConfiguration)
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_CreateChannelCommand, se_CreateChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateChannelCommand 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("MediaTailor", "CreateChannel", {})
17
13
  .n("MediaTailorClient", "CreateChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateChannelCommand)
20
- .de(de_CreateChannelCommand)
14
+ .sc(CreateChannel)
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_CreateLiveSourceCommand, se_CreateLiveSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateLiveSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLiveSourceCommand 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("MediaTailor", "CreateLiveSource", {})
17
13
  .n("MediaTailorClient", "CreateLiveSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLiveSourceCommand)
20
- .de(de_CreateLiveSourceCommand)
14
+ .sc(CreateLiveSource)
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_CreatePrefetchScheduleCommand, se_CreatePrefetchScheduleCommand } from "../protocols/Aws_restJson1";
4
+ import { CreatePrefetchSchedule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePrefetchScheduleCommand 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("MediaTailor", "CreatePrefetchSchedule", {})
17
13
  .n("MediaTailorClient", "CreatePrefetchScheduleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePrefetchScheduleCommand)
20
- .de(de_CreatePrefetchScheduleCommand)
14
+ .sc(CreatePrefetchSchedule)
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_CreateProgramCommand, se_CreateProgramCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateProgram } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateProgramCommand 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("MediaTailor", "CreateProgram", {})
17
13
  .n("MediaTailorClient", "CreateProgramCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateProgramCommand)
20
- .de(de_CreateProgramCommand)
14
+ .sc(CreateProgram)
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_CreateSourceLocationCommand, se_CreateSourceLocationCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSourceLocation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSourceLocationCommand 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("MediaTailor", "CreateSourceLocation", {})
17
13
  .n("MediaTailorClient", "CreateSourceLocationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSourceLocationCommand)
20
- .de(de_CreateSourceLocationCommand)
14
+ .sc(CreateSourceLocation)
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_CreateVodSourceCommand, se_CreateVodSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateVodSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateVodSourceCommand 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("MediaTailor", "CreateVodSource", {})
17
13
  .n("MediaTailorClient", "CreateVodSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateVodSourceCommand)
20
- .de(de_CreateVodSourceCommand)
14
+ .sc(CreateVodSource)
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_DeleteChannelCommand, se_DeleteChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteChannelCommand 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("MediaTailor", "DeleteChannel", {})
17
13
  .n("MediaTailorClient", "DeleteChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteChannelCommand)
20
- .de(de_DeleteChannelCommand)
14
+ .sc(DeleteChannel)
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_DeleteChannelPolicyCommand, se_DeleteChannelPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteChannelPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteChannelPolicyCommand 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("MediaTailor", "DeleteChannelPolicy", {})
17
13
  .n("MediaTailorClient", "DeleteChannelPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteChannelPolicyCommand)
20
- .de(de_DeleteChannelPolicyCommand)
14
+ .sc(DeleteChannelPolicy)
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_DeleteLiveSourceCommand, se_DeleteLiveSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteLiveSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLiveSourceCommand 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("MediaTailor", "DeleteLiveSource", {})
17
13
  .n("MediaTailorClient", "DeleteLiveSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLiveSourceCommand)
20
- .de(de_DeleteLiveSourceCommand)
14
+ .sc(DeleteLiveSource)
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_DeletePlaybackConfigurationCommand, se_DeletePlaybackConfigurationCommand, } from "../protocols/Aws_restJson1";
4
+ import { DeletePlaybackConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePlaybackConfigurationCommand 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("MediaTailor", "DeletePlaybackConfiguration", {})
17
13
  .n("MediaTailorClient", "DeletePlaybackConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePlaybackConfigurationCommand)
20
- .de(de_DeletePlaybackConfigurationCommand)
14
+ .sc(DeletePlaybackConfiguration)
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_DeletePrefetchScheduleCommand, se_DeletePrefetchScheduleCommand } from "../protocols/Aws_restJson1";
4
+ import { DeletePrefetchSchedule } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePrefetchScheduleCommand 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("MediaTailor", "DeletePrefetchSchedule", {})
17
13
  .n("MediaTailorClient", "DeletePrefetchScheduleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePrefetchScheduleCommand)
20
- .de(de_DeletePrefetchScheduleCommand)
14
+ .sc(DeletePrefetchSchedule)
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_DeleteProgramCommand, se_DeleteProgramCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteProgram } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteProgramCommand 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("MediaTailor", "DeleteProgram", {})
17
13
  .n("MediaTailorClient", "DeleteProgramCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteProgramCommand)
20
- .de(de_DeleteProgramCommand)
14
+ .sc(DeleteProgram)
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_DeleteSourceLocationCommand, se_DeleteSourceLocationCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSourceLocation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSourceLocationCommand 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("MediaTailor", "DeleteSourceLocation", {})
17
13
  .n("MediaTailorClient", "DeleteSourceLocationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSourceLocationCommand)
20
- .de(de_DeleteSourceLocationCommand)
14
+ .sc(DeleteSourceLocation)
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_DeleteVodSourceCommand, se_DeleteVodSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteVodSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteVodSourceCommand 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("MediaTailor", "DeleteVodSource", {})
17
13
  .n("MediaTailorClient", "DeleteVodSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteVodSourceCommand)
20
- .de(de_DeleteVodSourceCommand)
14
+ .sc(DeleteVodSource)
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_DescribeChannelCommand, se_DescribeChannelCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeChannel } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeChannelCommand 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("MediaTailor", "DescribeChannel", {})
17
13
  .n("MediaTailorClient", "DescribeChannelCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeChannelCommand)
20
- .de(de_DescribeChannelCommand)
14
+ .sc(DescribeChannel)
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_DescribeLiveSourceCommand, se_DescribeLiveSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeLiveSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeLiveSourceCommand 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("MediaTailor", "DescribeLiveSource", {})
17
13
  .n("MediaTailorClient", "DescribeLiveSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeLiveSourceCommand)
20
- .de(de_DescribeLiveSourceCommand)
14
+ .sc(DescribeLiveSource)
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_DescribeProgramCommand, se_DescribeProgramCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeProgram } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeProgramCommand 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("MediaTailor", "DescribeProgram", {})
17
13
  .n("MediaTailorClient", "DescribeProgramCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeProgramCommand)
20
- .de(de_DescribeProgramCommand)
14
+ .sc(DescribeProgram)
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_DescribeSourceLocationCommand, se_DescribeSourceLocationCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeSourceLocation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSourceLocationCommand 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("MediaTailor", "DescribeSourceLocation", {})
17
13
  .n("MediaTailorClient", "DescribeSourceLocationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSourceLocationCommand)
20
- .de(de_DescribeSourceLocationCommand)
14
+ .sc(DescribeSourceLocation)
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_DescribeVodSourceCommand, se_DescribeVodSourceCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeVodSource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeVodSourceCommand 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("MediaTailor", "DescribeVodSource", {})
17
13
  .n("MediaTailorClient", "DescribeVodSourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeVodSourceCommand)
20
- .de(de_DescribeVodSourceCommand)
14
+ .sc(DescribeVodSource)
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_GetChannelPolicyCommand, se_GetChannelPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetChannelPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetChannelPolicyCommand 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("MediaTailor", "GetChannelPolicy", {})
17
13
  .n("MediaTailorClient", "GetChannelPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetChannelPolicyCommand)
20
- .de(de_GetChannelPolicyCommand)
14
+ .sc(GetChannelPolicy)
21
15
  .build() {
22
16
  }