@aws-sdk/client-mediapackagev2 3.767.0 → 3.772.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.
@@ -78,6 +78,26 @@ declare const ResetChannelStateCommand_base: {
78
78
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
79
79
  *
80
80
  * @public
81
+ * @example Reset a Channel
82
+ * ```javascript
83
+ * //
84
+ * const input = {
85
+ * "ChannelGroupName": "exampleChannelGroup",
86
+ * "ChannelName": "exampleChannel"
87
+ * };
88
+ * const command = new ResetChannelStateCommand(input);
89
+ * const response = await client.send(command);
90
+ * /* response ==
91
+ * {
92
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
93
+ * "ChannelGroupName": "exampleChannelGroup",
94
+ * "ChannelName": "exampleChannel",
95
+ * "ResetAt": "2024-10-09T09:36:00.00Z"
96
+ * }
97
+ * *\/
98
+ * // example id: example-1
99
+ * ```
100
+ *
81
101
  */
82
102
  export declare class ResetChannelStateCommand extends ResetChannelStateCommand_base {
83
103
  /** @internal type navigation helper, not in runtime. */
@@ -80,6 +80,28 @@ declare const ResetOriginEndpointStateCommand_base: {
80
80
  * <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
81
81
  *
82
82
  * @public
83
+ * @example Reset an OriginEndpoint
84
+ * ```javascript
85
+ * //
86
+ * const input = {
87
+ * "ChannelGroupName": "exampleChannelGroup",
88
+ * "ChannelName": "exampleChannel",
89
+ * "OriginEndpointName": "exampleOriginEndpoint"
90
+ * };
91
+ * const command = new ResetOriginEndpointStateCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response ==
94
+ * {
95
+ * "Arn": "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel/originEndpoint/exampleOriginEndpoint",
96
+ * "ChannelGroupName": "exampleChannelGroup",
97
+ * "ChannelName": "exampleChannel",
98
+ * "OriginEndpointName": "exampleOriginEndpoint",
99
+ * "ResetAt": "2024-10-09T09:36:00.00Z"
100
+ * }
101
+ * *\/
102
+ * // example id: example-1
103
+ * ```
104
+ *
83
105
  */
84
106
  export declare class ResetOriginEndpointStateCommand extends ResetOriginEndpointStateCommand_base {
85
107
  /** @internal type navigation helper, not in runtime. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackagev2",
3
3
  "description": "AWS SDK for JavaScript Mediapackagev2 Client for Node.js, Browser and React Native",
4
- "version": "3.767.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-mediapackagev2",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",