@aws-sdk/client-mediapackagev2 3.354.0 → 3.357.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 (111) hide show
  1. package/dist-cjs/MediaPackageV2Client.js +2 -1
  2. package/dist-cjs/commands/CreateChannelCommand.js +2 -1
  3. package/dist-cjs/commands/CreateChannelGroupCommand.js +2 -1
  4. package/dist-cjs/commands/CreateOriginEndpointCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteChannelCommand.js +2 -1
  6. package/dist-cjs/commands/DeleteChannelGroupCommand.js +2 -1
  7. package/dist-cjs/commands/DeleteChannelPolicyCommand.js +2 -1
  8. package/dist-cjs/commands/DeleteOriginEndpointCommand.js +2 -1
  9. package/dist-cjs/commands/DeleteOriginEndpointPolicyCommand.js +2 -1
  10. package/dist-cjs/commands/GetChannelCommand.js +2 -1
  11. package/dist-cjs/commands/GetChannelGroupCommand.js +2 -1
  12. package/dist-cjs/commands/GetChannelPolicyCommand.js +2 -1
  13. package/dist-cjs/commands/GetOriginEndpointCommand.js +2 -1
  14. package/dist-cjs/commands/GetOriginEndpointPolicyCommand.js +2 -1
  15. package/dist-cjs/commands/ListChannelGroupsCommand.js +2 -1
  16. package/dist-cjs/commands/ListChannelsCommand.js +2 -1
  17. package/dist-cjs/commands/ListOriginEndpointsCommand.js +2 -1
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -1
  19. package/dist-cjs/commands/PutChannelPolicyCommand.js +2 -1
  20. package/dist-cjs/commands/PutOriginEndpointPolicyCommand.js +2 -1
  21. package/dist-cjs/commands/TagResourceCommand.js +2 -1
  22. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  23. package/dist-cjs/commands/UpdateChannelCommand.js +2 -1
  24. package/dist-cjs/commands/UpdateChannelGroupCommand.js +2 -1
  25. package/dist-cjs/commands/UpdateOriginEndpointCommand.js +2 -1
  26. package/dist-cjs/index.js +2 -2
  27. package/dist-cjs/models/MediaPackageV2ServiceException.js +2 -1
  28. package/dist-cjs/protocols/Aws_restJson1.js +10 -16
  29. package/dist-es/MediaPackageV2Client.js +1 -0
  30. package/dist-es/commands/CreateChannelCommand.js +1 -0
  31. package/dist-es/commands/CreateChannelGroupCommand.js +1 -0
  32. package/dist-es/commands/CreateOriginEndpointCommand.js +1 -0
  33. package/dist-es/commands/DeleteChannelCommand.js +1 -0
  34. package/dist-es/commands/DeleteChannelGroupCommand.js +1 -0
  35. package/dist-es/commands/DeleteChannelPolicyCommand.js +1 -0
  36. package/dist-es/commands/DeleteOriginEndpointCommand.js +1 -0
  37. package/dist-es/commands/DeleteOriginEndpointPolicyCommand.js +1 -0
  38. package/dist-es/commands/GetChannelCommand.js +1 -0
  39. package/dist-es/commands/GetChannelGroupCommand.js +1 -0
  40. package/dist-es/commands/GetChannelPolicyCommand.js +1 -0
  41. package/dist-es/commands/GetOriginEndpointCommand.js +1 -0
  42. package/dist-es/commands/GetOriginEndpointPolicyCommand.js +1 -0
  43. package/dist-es/commands/ListChannelGroupsCommand.js +1 -0
  44. package/dist-es/commands/ListChannelsCommand.js +1 -0
  45. package/dist-es/commands/ListOriginEndpointsCommand.js +1 -0
  46. package/dist-es/commands/ListTagsForResourceCommand.js +1 -0
  47. package/dist-es/commands/PutChannelPolicyCommand.js +1 -0
  48. package/dist-es/commands/PutOriginEndpointPolicyCommand.js +1 -0
  49. package/dist-es/commands/TagResourceCommand.js +1 -0
  50. package/dist-es/commands/UntagResourceCommand.js +1 -0
  51. package/dist-es/commands/UpdateChannelCommand.js +1 -0
  52. package/dist-es/commands/UpdateChannelGroupCommand.js +1 -0
  53. package/dist-es/commands/UpdateOriginEndpointCommand.js +1 -0
  54. package/dist-es/index.js +2 -2
  55. package/dist-es/models/MediaPackageV2ServiceException.js +1 -0
  56. package/dist-es/protocols/Aws_restJson1.js +1 -7
  57. package/dist-types/MediaPackageV2Client.d.ts +4 -4
  58. package/dist-types/commands/CreateChannelCommand.d.ts +4 -0
  59. package/dist-types/commands/CreateChannelGroupCommand.d.ts +4 -0
  60. package/dist-types/commands/CreateOriginEndpointCommand.d.ts +4 -0
  61. package/dist-types/commands/DeleteChannelCommand.d.ts +4 -0
  62. package/dist-types/commands/DeleteChannelGroupCommand.d.ts +4 -0
  63. package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +4 -0
  64. package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +4 -0
  65. package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +4 -0
  66. package/dist-types/commands/GetChannelCommand.d.ts +4 -0
  67. package/dist-types/commands/GetChannelGroupCommand.d.ts +4 -0
  68. package/dist-types/commands/GetChannelPolicyCommand.d.ts +4 -0
  69. package/dist-types/commands/GetOriginEndpointCommand.d.ts +4 -0
  70. package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +4 -0
  71. package/dist-types/commands/ListChannelGroupsCommand.d.ts +4 -0
  72. package/dist-types/commands/ListChannelsCommand.d.ts +4 -0
  73. package/dist-types/commands/ListOriginEndpointsCommand.d.ts +4 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  75. package/dist-types/commands/PutChannelPolicyCommand.d.ts +4 -0
  76. package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +4 -0
  77. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  78. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  79. package/dist-types/commands/UpdateChannelCommand.d.ts +4 -0
  80. package/dist-types/commands/UpdateChannelGroupCommand.d.ts +4 -0
  81. package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +4 -0
  82. package/dist-types/index.d.ts +18 -2
  83. package/dist-types/models/MediaPackageV2ServiceException.d.ts +1 -0
  84. package/dist-types/ts3.4/MediaPackageV2Client.d.ts +3 -3
  85. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +1 -0
  86. package/dist-types/ts3.4/commands/CreateChannelGroupCommand.d.ts +1 -0
  87. package/dist-types/ts3.4/commands/CreateOriginEndpointCommand.d.ts +1 -0
  88. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +1 -0
  89. package/dist-types/ts3.4/commands/DeleteChannelGroupCommand.d.ts +1 -0
  90. package/dist-types/ts3.4/commands/DeleteChannelPolicyCommand.d.ts +1 -0
  91. package/dist-types/ts3.4/commands/DeleteOriginEndpointCommand.d.ts +1 -0
  92. package/dist-types/ts3.4/commands/DeleteOriginEndpointPolicyCommand.d.ts +1 -0
  93. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +1 -0
  94. package/dist-types/ts3.4/commands/GetChannelGroupCommand.d.ts +1 -0
  95. package/dist-types/ts3.4/commands/GetChannelPolicyCommand.d.ts +1 -0
  96. package/dist-types/ts3.4/commands/GetOriginEndpointCommand.d.ts +1 -0
  97. package/dist-types/ts3.4/commands/GetOriginEndpointPolicyCommand.d.ts +1 -0
  98. package/dist-types/ts3.4/commands/ListChannelGroupsCommand.d.ts +1 -0
  99. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +1 -0
  100. package/dist-types/ts3.4/commands/ListOriginEndpointsCommand.d.ts +1 -0
  101. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -0
  102. package/dist-types/ts3.4/commands/PutChannelPolicyCommand.d.ts +1 -0
  103. package/dist-types/ts3.4/commands/PutOriginEndpointPolicyCommand.d.ts +1 -0
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -0
  105. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -0
  106. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +1 -0
  107. package/dist-types/ts3.4/commands/UpdateChannelGroupCommand.d.ts +1 -0
  108. package/dist-types/ts3.4/commands/UpdateOriginEndpointCommand.d.ts +1 -0
  109. package/dist-types/ts3.4/index.d.ts +2 -2
  110. package/dist-types/ts3.4/models/MediaPackageV2ServiceException.d.ts +1 -0
  111. package/package.json +28 -28
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutChannelPolicyCommand, se_PutChannelPolicyCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class PutChannelPolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_PutOriginEndpointPolicyCommand, se_PutOriginEndpointPolicyCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class PutOriginEndpointPolicyCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class TagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UntagResourceCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateChannelCommand, se_UpdateChannelCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateChannelCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateChannelGroupCommand, se_UpdateChannelGroupCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateChannelGroupCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { de_UpdateOriginEndpointCommand, se_UpdateOriginEndpointCommand } from "../protocols/Aws_restJson1";
5
+ export { $Command };
5
6
  export class UpdateOriginEndpointCommand extends $Command {
6
7
  static getEndpointParameterInstructions() {
7
8
  return {
package/dist-es/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./MediaPackageV2";
2
1
  export * from "./MediaPackageV2Client";
2
+ export * from "./MediaPackageV2";
3
3
  export * from "./commands";
4
- export * from "./models";
5
4
  export * from "./pagination";
5
+ export * from "./models";
6
6
  export { MediaPackageV2ServiceException } from "./models/MediaPackageV2ServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException };
2
3
  export class MediaPackageV2ServiceException extends __ServiceException {
3
4
  constructor(options) {
4
5
  super(options);
@@ -1,4 +1,4 @@
1
- import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
1
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@aws-sdk/smithy-client";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { MediaPackageV2ServiceException as __BaseException } from "../models/MediaPackageV2ServiceException";
4
4
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -1780,12 +1780,6 @@ const deserializeMetadata = (output) => ({
1780
1780
  extendedRequestId: output.headers["x-amz-id-2"],
1781
1781
  cfId: output.headers["x-amz-cf-id"],
1782
1782
  });
1783
- const collectBody = (streamBody = new Uint8Array(), context) => {
1784
- if (streamBody instanceof Uint8Array) {
1785
- return Promise.resolve(streamBody);
1786
- }
1787
- return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
1788
- };
1789
1783
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1790
1784
  const isSerializableHeaderValue = (value) => value !== undefined &&
1791
1785
  value !== null &&
@@ -33,6 +33,7 @@ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./command
33
33
  import { UpdateChannelGroupCommandInput, UpdateChannelGroupCommandOutput } from "./commands/UpdateChannelGroupCommand";
34
34
  import { UpdateOriginEndpointCommandInput, UpdateOriginEndpointCommandOutput } from "./commands/UpdateOriginEndpointCommand";
35
35
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
36
+ export { __Client };
36
37
  /**
37
38
  * @public
38
39
  */
@@ -96,7 +97,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
96
97
  */
97
98
  runtime?: string;
98
99
  /**
99
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
100
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
100
101
  * trait of an operation.
101
102
  */
102
103
  disableHostPrefix?: boolean;
@@ -147,7 +148,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
147
148
  /**
148
149
  * @public
149
150
  */
150
- type MediaPackageV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
151
+ export type MediaPackageV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
151
152
  /**
152
153
  * @public
153
154
  *
@@ -158,7 +159,7 @@ export interface MediaPackageV2ClientConfig extends MediaPackageV2ClientConfigTy
158
159
  /**
159
160
  * @public
160
161
  */
161
- type MediaPackageV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
162
+ export type MediaPackageV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
162
163
  /**
163
164
  * @public
164
165
  *
@@ -194,4 +195,3 @@ export declare class MediaPackageV2Client extends __Client<__HttpHandlerOptions,
194
195
  */
195
196
  destroy(): void;
196
197
  }
197
- export {};
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { CreateChannelGroupRequest, CreateChannelGroupResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { CreateOriginEndpointRequest, CreateOriginEndpointResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { DeleteChannelGroupRequest, DeleteChannelGroupResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { DeleteChannelPolicyRequest, DeleteChannelPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { DeleteOriginEndpointRequest, DeleteOriginEndpointResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { DeleteOriginEndpointPolicyRequest, DeleteOriginEndpointPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { GetChannelGroupRequest, GetChannelGroupResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { GetChannelPolicyRequest, GetChannelPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { GetOriginEndpointRequest, GetOriginEndpointResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { GetOriginEndpointPolicyRequest, GetOriginEndpointPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { ListChannelGroupsRequest, ListChannelGroupsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { ListOriginEndpointsRequest, ListOriginEndpointsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { PutChannelPolicyRequest, PutChannelPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { PutOriginEndpointPolicyRequest, PutOriginEndpointPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { TagResourceRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { UntagResourceRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { UpdateChannelRequest, UpdateChannelResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { UpdateChannelGroupRequest, UpdateChannelGroupResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { MediaPackageV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaPackageV2Client";
5
5
  import { UpdateOriginEndpointRequest, UpdateOriginEndpointResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
6
10
  /**
7
11
  * @public
8
12
  *
@@ -1,6 +1,22 @@
1
- export * from "./MediaPackageV2";
1
+ /**
2
+ * <note>
3
+ * <p>This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023.
4
+ * To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process to
5
+ * migrate your resources from MediaPackage v1 to MediaPackage v2. </p>
6
+ * <p>The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information
7
+ * added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't use
8
+ * the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.</p>
9
+ * <p>If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to MediaPackage v2 yet,
10
+ * see the <a href="https://docs.aws.amazon.com/mediapackage/latest/apireference/what-is.html">MediaPackage v1 Live API Reference</a>.</p>
11
+ * </note>
12
+ * <p>This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations for live content in detail, and provides sample requests, responses, and errors for the supported web services protocols.</p>
13
+ * <p>We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage User Guide.</p>
14
+ *
15
+ * @packageDocumentation
16
+ */
2
17
  export * from "./MediaPackageV2Client";
18
+ export * from "./MediaPackageV2";
3
19
  export * from "./commands";
4
- export * from "./models";
5
20
  export * from "./pagination";
21
+ export * from "./models";
6
22
  export { MediaPackageV2ServiceException } from "./models/MediaPackageV2ServiceException";
@@ -1,4 +1,5 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ export { __ServiceException, __ServiceExceptionOptions };
2
3
  /**
3
4
  * @public
4
5
  *
@@ -147,6 +147,7 @@ import {
147
147
  ClientResolvedEndpointParameters,
148
148
  EndpointParameters,
149
149
  } from "./endpoint/EndpointParameters";
150
+ export { __Client };
150
151
  export type ServiceInputTypes =
151
152
  | CreateChannelCommandInput
152
153
  | CreateChannelGroupCommandInput
@@ -221,7 +222,7 @@ export interface ClientDefaults
221
222
  logger?: __Logger;
222
223
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
223
224
  }
224
- type MediaPackageV2ClientConfigType = Partial<
225
+ export type MediaPackageV2ClientConfigType = Partial<
225
226
  __SmithyConfiguration<__HttpHandlerOptions>
226
227
  > &
227
228
  ClientDefaults &
@@ -234,7 +235,7 @@ type MediaPackageV2ClientConfigType = Partial<
234
235
  ClientInputEndpointParameters;
235
236
  export interface MediaPackageV2ClientConfig
236
237
  extends MediaPackageV2ClientConfigType {}
237
- type MediaPackageV2ClientResolvedConfigType =
238
+ export type MediaPackageV2ClientResolvedConfigType =
238
239
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
239
240
  Required<ClientDefaults> &
240
241
  RegionResolvedConfig &
@@ -256,4 +257,3 @@ export declare class MediaPackageV2Client extends __Client<
256
257
  constructor(configuration: MediaPackageV2ClientConfig);
257
258
  destroy(): void;
258
259
  }
259
- export {};
@@ -15,6 +15,7 @@ import {
15
15
  CreateChannelRequest,
16
16
  CreateChannelResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateChannelCommandInput extends CreateChannelRequest {}
19
20
  export interface CreateChannelCommandOutput
20
21
  extends CreateChannelResponse,
@@ -15,6 +15,7 @@ import {
15
15
  CreateChannelGroupRequest,
16
16
  CreateChannelGroupResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateChannelGroupCommandInput
19
20
  extends CreateChannelGroupRequest {}
20
21
  export interface CreateChannelGroupCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  CreateOriginEndpointRequest,
16
16
  CreateOriginEndpointResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface CreateOriginEndpointCommandInput
19
20
  extends CreateOriginEndpointRequest {}
20
21
  export interface CreateOriginEndpointCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteChannelRequest,
16
16
  DeleteChannelResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteChannelCommandInput extends DeleteChannelRequest {}
19
20
  export interface DeleteChannelCommandOutput
20
21
  extends DeleteChannelResponse,
@@ -15,6 +15,7 @@ import {
15
15
  DeleteChannelGroupRequest,
16
16
  DeleteChannelGroupResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteChannelGroupCommandInput
19
20
  extends DeleteChannelGroupRequest {}
20
21
  export interface DeleteChannelGroupCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteChannelPolicyRequest,
16
16
  DeleteChannelPolicyResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteChannelPolicyCommandInput
19
20
  extends DeleteChannelPolicyRequest {}
20
21
  export interface DeleteChannelPolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteOriginEndpointRequest,
16
16
  DeleteOriginEndpointResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteOriginEndpointCommandInput
19
20
  extends DeleteOriginEndpointRequest {}
20
21
  export interface DeleteOriginEndpointCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  DeleteOriginEndpointPolicyRequest,
16
16
  DeleteOriginEndpointPolicyResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface DeleteOriginEndpointPolicyCommandInput
19
20
  extends DeleteOriginEndpointPolicyRequest {}
20
21
  export interface DeleteOriginEndpointPolicyCommandOutput
@@ -12,6 +12,7 @@ import {
12
12
  ServiceOutputTypes,
13
13
  } from "../MediaPackageV2Client";
14
14
  import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
15
+ export { __MetadataBearer, $Command };
15
16
  export interface GetChannelCommandInput extends GetChannelRequest {}
16
17
  export interface GetChannelCommandOutput
17
18
  extends GetChannelResponse,
@@ -15,6 +15,7 @@ import {
15
15
  GetChannelGroupRequest,
16
16
  GetChannelGroupResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetChannelGroupCommandInput extends GetChannelGroupRequest {}
19
20
  export interface GetChannelGroupCommandOutput
20
21
  extends GetChannelGroupResponse,
@@ -15,6 +15,7 @@ import {
15
15
  GetChannelPolicyRequest,
16
16
  GetChannelPolicyResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetChannelPolicyCommandInput extends GetChannelPolicyRequest {}
19
20
  export interface GetChannelPolicyCommandOutput
20
21
  extends GetChannelPolicyResponse,
@@ -15,6 +15,7 @@ import {
15
15
  GetOriginEndpointRequest,
16
16
  GetOriginEndpointResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetOriginEndpointCommandInput
19
20
  extends GetOriginEndpointRequest {}
20
21
  export interface GetOriginEndpointCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  GetOriginEndpointPolicyRequest,
16
16
  GetOriginEndpointPolicyResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface GetOriginEndpointPolicyCommandInput
19
20
  extends GetOriginEndpointPolicyRequest {}
20
21
  export interface GetOriginEndpointPolicyCommandOutput
@@ -15,6 +15,7 @@ import {
15
15
  ListChannelGroupsRequest,
16
16
  ListChannelGroupsResponse,
17
17
  } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
18
19
  export interface ListChannelGroupsCommandInput
19
20
  extends ListChannelGroupsRequest {}
20
21
  export interface ListChannelGroupsCommandOutput