@aws-sdk/client-mediapackagev2 3.478.0 → 3.484.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 (101) hide show
  1. package/dist-cjs/commands/CreateChannelCommand.js +18 -41
  2. package/dist-cjs/commands/CreateChannelGroupCommand.js +18 -41
  3. package/dist-cjs/commands/CreateOriginEndpointCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteChannelGroupCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteOriginEndpointPolicyCommand.js +18 -41
  9. package/dist-cjs/commands/GetChannelCommand.js +18 -41
  10. package/dist-cjs/commands/GetChannelGroupCommand.js +18 -41
  11. package/dist-cjs/commands/GetChannelPolicyCommand.js +18 -41
  12. package/dist-cjs/commands/GetOriginEndpointCommand.js +18 -41
  13. package/dist-cjs/commands/GetOriginEndpointPolicyCommand.js +18 -41
  14. package/dist-cjs/commands/ListChannelGroupsCommand.js +18 -41
  15. package/dist-cjs/commands/ListChannelsCommand.js +18 -41
  16. package/dist-cjs/commands/ListOriginEndpointsCommand.js +18 -41
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  18. package/dist-cjs/commands/PutChannelPolicyCommand.js +18 -41
  19. package/dist-cjs/commands/PutOriginEndpointPolicyCommand.js +18 -41
  20. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  21. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  22. package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateChannelGroupCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +18 -41
  25. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  26. package/dist-es/commands/CreateChannelCommand.js +18 -41
  27. package/dist-es/commands/CreateChannelGroupCommand.js +18 -41
  28. package/dist-es/commands/CreateOriginEndpointCommand.js +18 -41
  29. package/dist-es/commands/DeleteChannelCommand.js +18 -41
  30. package/dist-es/commands/DeleteChannelGroupCommand.js +18 -41
  31. package/dist-es/commands/DeleteChannelPolicyCommand.js +18 -41
  32. package/dist-es/commands/DeleteOriginEndpointCommand.js +18 -41
  33. package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +18 -41
  34. package/dist-es/commands/GetChannelCommand.js +18 -41
  35. package/dist-es/commands/GetChannelGroupCommand.js +18 -41
  36. package/dist-es/commands/GetChannelPolicyCommand.js +18 -41
  37. package/dist-es/commands/GetOriginEndpointCommand.js +18 -41
  38. package/dist-es/commands/GetOriginEndpointPolicyCommand.js +18 -41
  39. package/dist-es/commands/ListChannelGroupsCommand.js +18 -41
  40. package/dist-es/commands/ListChannelsCommand.js +18 -41
  41. package/dist-es/commands/ListOriginEndpointsCommand.js +18 -41
  42. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  43. package/dist-es/commands/PutChannelPolicyCommand.js +18 -41
  44. package/dist-es/commands/PutOriginEndpointPolicyCommand.js +18 -41
  45. package/dist-es/commands/TagResourceCommand.js +18 -41
  46. package/dist-es/commands/UntagResourceCommand.js +18 -41
  47. package/dist-es/commands/UpdateChannelCommand.js +18 -41
  48. package/dist-es/commands/UpdateChannelGroupCommand.js +18 -41
  49. package/dist-es/commands/UpdateOriginEndpointCommand.js +18 -41
  50. package/dist-es/endpoint/EndpointParameters.js +6 -0
  51. package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
  52. package/dist-types/commands/CreateChannelGroupCommand.d.ts +6 -21
  53. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +6 -21
  54. package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
  55. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +6 -21
  56. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +6 -21
  57. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +6 -21
  59. package/dist-types/commands/GetChannelCommand.d.ts +6 -21
  60. package/dist-types/commands/GetChannelGroupCommand.d.ts +6 -21
  61. package/dist-types/commands/GetChannelPolicyCommand.d.ts +6 -21
  62. package/dist-types/commands/GetOriginEndpointCommand.d.ts +6 -21
  63. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +6 -21
  64. package/dist-types/commands/ListChannelGroupsCommand.d.ts +6 -21
  65. package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
  66. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  68. package/dist-types/commands/PutChannelPolicyCommand.d.ts +6 -21
  69. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +6 -21
  70. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  71. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  72. package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
  73. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +6 -21
  74. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +6 -21
  75. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  76. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/CreateChannelGroupCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +12 -24
  79. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/DeleteChannelGroupCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/DeleteOriginEndpointPolicyCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/GetChannelGroupCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/GetOriginEndpointCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/GetOriginEndpointPolicyCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/ListChannelGroupsCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/PutOriginEndpointPolicyCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/UpdateChannelGroupCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  101. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateChannelCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageV2Client";
26
- const commandName = "UpdateChannelCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "mediapackagev2",
35
- operation: "UpdateChannel",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateChannelCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateChannelCommand(output, context);
46
- }
7
+ export class UpdateChannelCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("mediapackagev2", "UpdateChannel", {})
19
+ .n("MediaPackageV2Client", "UpdateChannelCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateChannelCommand)
22
+ .de(de_UpdateChannelCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateChannelGroupCommand, se_UpdateChannelGroupCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateChannelGroupCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateChannelGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageV2Client";
26
- const commandName = "UpdateChannelGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "mediapackagev2",
35
- operation: "UpdateChannelGroup",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateChannelGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateChannelGroupCommand(output, context);
46
- }
7
+ export class UpdateChannelGroupCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("mediapackagev2", "UpdateChannelGroup", {})
19
+ .n("MediaPackageV2Client", "UpdateChannelGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateChannelGroupCommand)
22
+ .de(de_UpdateChannelGroupCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateOriginEndpointCommand, se_UpdateOriginEndpointCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateOriginEndpointCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateOriginEndpointCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "MediaPackageV2Client";
26
- const commandName = "UpdateOriginEndpointCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "mediapackagev2",
35
- operation: "UpdateOriginEndpoint",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateOriginEndpointCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateOriginEndpointCommand(output, context);
46
- }
7
+ export class UpdateOriginEndpointCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("mediapackagev2", "UpdateOriginEndpoint", {})
19
+ .n("MediaPackageV2Client", "UpdateOriginEndpointCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateOriginEndpointCommand)
22
+ .de(de_UpdateOriginEndpointCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "mediapackagev2",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateChannelCommandInput extends CreateChannelRequest {
21
20
  */
22
21
  export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateChannelCommand_base: {
24
+ new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a channel to start receiving content streams. The channel represents the input to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. The channel receives content, and after packaging it, outputs it through an origin endpoint to downstream devices (such as video players or CDNs) that request the content. You can create only one channel with each request. We recommend that you spread out channels between channel groups, such as putting redundant channels in the same AWS Region in different channel groups.</p>
@@ -92,23 +95,5 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
92
95
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
93
96
  *
94
97
  */
95
- export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
96
- readonly input: CreateChannelCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: CreateChannelCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class CreateChannelCommand extends CreateChannelCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { CreateChannelGroupRequest, CreateChannelGroupResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateChannelGroupCommandInput extends CreateChannelGroupReques
21
20
  */
22
21
  export interface CreateChannelGroupCommandOutput extends CreateChannelGroupResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateChannelGroupCommand_base: {
24
+ new (input: CreateChannelGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelGroupCommandInput, CreateChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a channel group to group your channels and origin endpoints. A channel group is the top-level resource that consists of channels and origin endpoints that are associated with it and that provides predictable URLs for stream delivery. All channels and origin endpoints within the channel group are guaranteed to share the DNS. You can create only one channel group with each request. </p>
@@ -85,23 +88,5 @@ export interface CreateChannelGroupCommandOutput extends CreateChannelGroupRespo
85
88
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
86
89
  *
87
90
  */
88
- export declare class CreateChannelGroupCommand extends $Command<CreateChannelGroupCommandInput, CreateChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
89
- readonly input: CreateChannelGroupCommandInput;
90
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
- /**
92
- * @public
93
- */
94
- constructor(input: CreateChannelGroupCommandInput);
95
- /**
96
- * @internal
97
- */
98
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelGroupCommandInput, CreateChannelGroupCommandOutput>;
99
- /**
100
- * @internal
101
- */
102
- private serialize;
103
- /**
104
- * @internal
105
- */
106
- private deserialize;
91
+ export declare class CreateChannelGroupCommand extends CreateChannelGroupCommand_base {
107
92
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { CreateOriginEndpointRequest, CreateOriginEndpointResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateOriginEndpointCommandInput extends CreateOriginEndpointRe
21
20
  */
22
21
  export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateOriginEndpointCommand_base: {
24
+ new (input: CreateOriginEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOriginEndpointCommandInput, CreateOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can't be served from a channel until it has an endpoint. You can create only one endpoint with each request. </p>
@@ -226,23 +229,5 @@ export interface CreateOriginEndpointCommandOutput extends CreateOriginEndpointR
226
229
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
227
230
  *
228
231
  */
229
- export declare class CreateOriginEndpointCommand extends $Command<CreateOriginEndpointCommandInput, CreateOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
230
- readonly input: CreateOriginEndpointCommandInput;
231
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
232
- /**
233
- * @public
234
- */
235
- constructor(input: CreateOriginEndpointCommandInput);
236
- /**
237
- * @internal
238
- */
239
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateOriginEndpointCommandInput, CreateOriginEndpointCommandOutput>;
240
- /**
241
- * @internal
242
- */
243
- private serialize;
244
- /**
245
- * @internal
246
- */
247
- private deserialize;
232
+ export declare class CreateOriginEndpointCommand extends CreateOriginEndpointCommand_base {
248
233
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteChannelCommandInput extends DeleteChannelRequest {
21
20
  */
22
21
  export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteChannelCommand_base: {
24
+ new (input: DeleteChannelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelCommandInput, DeleteChannelCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a channel to stop AWS Elemental MediaPackage from receiving further content. You must delete the channel's origin endpoints before you can delete the channel.</p>
@@ -65,23 +68,5 @@ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __Met
65
68
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
69
- readonly input: DeleteChannelCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteChannelCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelCommandInput, DeleteChannelCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteChannelCommand extends DeleteChannelCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { DeleteChannelGroupRequest, DeleteChannelGroupResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteChannelGroupCommandInput extends DeleteChannelGroupReques
21
20
  */
22
21
  export interface DeleteChannelGroupCommandOutput extends DeleteChannelGroupResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteChannelGroupCommand_base: {
24
+ new (input: DeleteChannelGroupCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelGroupCommandInput, DeleteChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a channel group. You must delete the channel group's channels and origin endpoints before you can delete the channel group. If you delete a channel group, you'll lose access to the egress domain and will have to create a new channel group to replace it.</p>
@@ -64,23 +67,5 @@ export interface DeleteChannelGroupCommandOutput extends DeleteChannelGroupRespo
64
67
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
65
68
  *
66
69
  */
67
- export declare class DeleteChannelGroupCommand extends $Command<DeleteChannelGroupCommandInput, DeleteChannelGroupCommandOutput, MediaPackageV2ClientResolvedConfig> {
68
- readonly input: DeleteChannelGroupCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: DeleteChannelGroupCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelGroupCommandInput, DeleteChannelGroupCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class DeleteChannelGroupCommand extends DeleteChannelGroupCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteChannelPolicyCommandInput extends DeleteChannelPolicyRequ
21
20
  */
22
21
  export interface DeleteChannelPolicyCommandOutput extends DeleteChannelPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteChannelPolicyCommand_base: {
24
+ new (input: DeleteChannelPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteChannelPolicyCommandInput, DeleteChannelPolicyCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete a channel policy.</p>
@@ -65,23 +68,5 @@ export interface DeleteChannelPolicyCommandOutput extends DeleteChannelPolicyRes
65
68
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteChannelPolicyCommand extends $Command<DeleteChannelPolicyCommandInput, DeleteChannelPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
69
- readonly input: DeleteChannelPolicyCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteChannelPolicyCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelPolicyCommandInput, DeleteChannelPolicyCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteChannelPolicyCommand extends DeleteChannelPolicyCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { DeleteOriginEndpointRequest, DeleteOriginEndpointResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteOriginEndpointCommandInput extends DeleteOriginEndpointRe
21
20
  */
22
21
  export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteOriginEndpointCommand_base: {
24
+ new (input: DeleteOriginEndpointCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.</p>
@@ -63,23 +66,5 @@ export interface DeleteOriginEndpointCommandOutput extends DeleteOriginEndpointR
63
66
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
64
67
  *
65
68
  */
66
- export declare class DeleteOriginEndpointCommand extends $Command<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput, MediaPackageV2ClientResolvedConfig> {
67
- readonly input: DeleteOriginEndpointCommandInput;
68
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
- /**
70
- * @public
71
- */
72
- constructor(input: DeleteOriginEndpointCommandInput);
73
- /**
74
- * @internal
75
- */
76
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteOriginEndpointCommandInput, DeleteOriginEndpointCommandOutput>;
77
- /**
78
- * @internal
79
- */
80
- private serialize;
81
- /**
82
- * @internal
83
- */
84
- private deserialize;
69
+ export declare class DeleteOriginEndpointCommand extends DeleteOriginEndpointCommand_base {
85
70
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { DeleteOriginEndpointPolicyRequest, DeleteOriginEndpointPolicyResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteOriginEndpointPolicyCommandInput extends DeleteOriginEndp
21
20
  */
22
21
  export interface DeleteOriginEndpointPolicyCommandOutput extends DeleteOriginEndpointPolicyResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteOriginEndpointPolicyCommand_base: {
24
+ new (input: DeleteOriginEndpointPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteOriginEndpointPolicyCommandInput, DeleteOriginEndpointPolicyCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Delete an origin endpoint policy.</p>
@@ -66,23 +69,5 @@ export interface DeleteOriginEndpointPolicyCommandOutput extends DeleteOriginEnd
66
69
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
67
70
  *
68
71
  */
69
- export declare class DeleteOriginEndpointPolicyCommand extends $Command<DeleteOriginEndpointPolicyCommandInput, DeleteOriginEndpointPolicyCommandOutput, MediaPackageV2ClientResolvedConfig> {
70
- readonly input: DeleteOriginEndpointPolicyCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: DeleteOriginEndpointPolicyCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteOriginEndpointPolicyCommandInput, DeleteOriginEndpointPolicyCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class DeleteOriginEndpointPolicyCommand extends DeleteOriginEndpointPolicyCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
4
  import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetChannelCommandInput extends GetChannelRequest {
21
20
  */
22
21
  export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetChannelCommand_base: {
24
+ new (input: GetChannelCommandInput): import("@smithy/smithy-client").CommandImpl<GetChannelCommandInput, GetChannelCommandOutput, MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including the origin endpoints that are associated with it.</p>
@@ -81,23 +84,5 @@ export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataB
81
84
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
82
85
  *
83
86
  */
84
- export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, MediaPackageV2ClientResolvedConfig> {
85
- readonly input: GetChannelCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: GetChannelCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: MediaPackageV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelCommandInput, GetChannelCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class GetChannelCommand extends GetChannelCommand_base {
103
88
  }