@aws-sdk/client-mediapackagev2 3.1036.0 → 3.1038.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.
- package/dist-es/waiters/waitForHarvestJobFinished.js +1 -1
- package/dist-types/MediaPackageV2.d.ts +1 -1
- package/dist-types/ts3.4/MediaPackageV2.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForHarvestJobFinished.d.ts +9 -3
- package/dist-types/waiters/waitForHarvestJobFinished.d.ts +4 -3
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
-
import { GetHarvestJobCommand } from "../commands/GetHarvestJobCommand";
|
|
2
|
+
import { GetHarvestJobCommand, } from "../commands/GetHarvestJobCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
@@ -246,7 +246,7 @@ export interface MediaPackageV2 {
|
|
|
246
246
|
* @param args - command input.
|
|
247
247
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
248
248
|
*/
|
|
249
|
-
waitUntilHarvestJobFinished(args: GetHarvestJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaPackageV2>, "client">): Promise<WaiterResult
|
|
249
|
+
waitUntilHarvestJobFinished(args: GetHarvestJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<MediaPackageV2>, "client">): Promise<WaiterResult<GetHarvestJobCommandOutput>>;
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
252
|
* <note> <p>This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process to migrate your resources from MediaPackage v1 to MediaPackage v2. </p> <p>The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.</p> <p>If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to MediaPackage v2 yet, see the <a href="https://docs.aws.amazon.com/mediapackage/latest/apireference/what-is.html">MediaPackage v1 Live API Reference</a>.</p> </note> <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> <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>
|
|
@@ -554,7 +554,7 @@ export interface MediaPackageV2 {
|
|
|
554
554
|
WaiterConfiguration<MediaPackageV2>,
|
|
555
555
|
Exclude<keyof WaiterConfiguration<MediaPackageV2>, "client">
|
|
556
556
|
>
|
|
557
|
-
): Promise<WaiterResult
|
|
557
|
+
): Promise<WaiterResult<GetHarvestJobCommandOutput>>;
|
|
558
558
|
}
|
|
559
559
|
export declare class MediaPackageV2
|
|
560
560
|
extends MediaPackageV2Client
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
GetHarvestJobCommandInput,
|
|
4
|
+
GetHarvestJobCommandOutput,
|
|
5
|
+
} from "../commands/GetHarvestJobCommand";
|
|
3
6
|
import { MediaPackageV2Client } from "../MediaPackageV2Client";
|
|
7
|
+
import { MediaPackageV2ServiceException } from "../models/MediaPackageV2ServiceException";
|
|
4
8
|
export declare const waitForHarvestJobFinished: (
|
|
5
9
|
params: WaiterConfiguration<MediaPackageV2Client>,
|
|
6
10
|
input: GetHarvestJobCommandInput
|
|
7
|
-
) => Promise<
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<GetHarvestJobCommandOutput | MediaPackageV2ServiceException>
|
|
13
|
+
>;
|
|
8
14
|
export declare const waitUntilHarvestJobFinished: (
|
|
9
15
|
params: WaiterConfiguration<MediaPackageV2Client>,
|
|
10
16
|
input: GetHarvestJobCommandInput
|
|
11
|
-
) => Promise<WaiterResult
|
|
17
|
+
) => Promise<WaiterResult<GetHarvestJobCommandOutput>>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
-
import { type GetHarvestJobCommandInput } from "../commands/GetHarvestJobCommand";
|
|
2
|
+
import { type GetHarvestJobCommandInput, type GetHarvestJobCommandOutput } from "../commands/GetHarvestJobCommand";
|
|
3
3
|
import type { MediaPackageV2Client } from "../MediaPackageV2Client";
|
|
4
|
+
import type { MediaPackageV2ServiceException } from "../models/MediaPackageV2ServiceException";
|
|
4
5
|
/**
|
|
5
6
|
*
|
|
6
7
|
* @deprecated Use waitUntilHarvestJobFinished instead. waitForHarvestJobFinished does not throw error in non-success cases.
|
|
7
8
|
*/
|
|
8
|
-
export declare const waitForHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult
|
|
9
|
+
export declare const waitForHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult<GetHarvestJobCommandOutput | MediaPackageV2ServiceException>>;
|
|
9
10
|
/**
|
|
10
11
|
*
|
|
11
12
|
* @param params - Waiter configuration options.
|
|
12
13
|
* @param input - The input to GetHarvestJobCommand for polling.
|
|
13
14
|
*/
|
|
14
|
-
export declare const waitUntilHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult
|
|
15
|
+
export declare const waitUntilHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult<GetHarvestJobCommandOutput>>;
|
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.
|
|
4
|
+
"version": "3.1038.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-mediapackagev2",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.6",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.37",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.10",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.11",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.36",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.13",
|
|
31
31
|
"@aws-sdk/types": "^3.973.8",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.8",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.10",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.22",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.17",
|
|
36
36
|
"@smithy/core": "^3.23.17",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.17",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.14",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.14",
|
|
41
41
|
"@smithy/middleware-endpoint": "^4.4.32",
|
|
42
|
-
"@smithy/middleware-retry": "^4.5.
|
|
42
|
+
"@smithy/middleware-retry": "^4.5.6",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.20",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.14",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.14",
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
56
56
|
"@smithy/util-endpoints": "^3.4.2",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.14",
|
|
58
|
-
"@smithy/util-retry": "^4.3.
|
|
58
|
+
"@smithy/util-retry": "^4.3.5",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.2",
|
|
60
|
-
"@smithy/util-waiter": "^4.
|
|
60
|
+
"@smithy/util-waiter": "^4.3.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|