@aws-sdk/client-mediapackagev2 3.679.0 → 3.682.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/README.md +33 -1
- package/dist-cjs/index.js +388 -32
- package/dist-es/MediaPackageV2.js +8 -0
- package/dist-es/commands/CancelHarvestJobCommand.js +22 -0
- package/dist-es/commands/CreateHarvestJobCommand.js +22 -0
- package/dist-es/commands/GetHarvestJobCommand.js +22 -0
- package/dist-es/commands/ListHarvestJobsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +35 -19
- package/dist-es/pagination/ListHarvestJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +192 -3
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForHarvestJobFinished.js +67 -0
- package/dist-types/MediaPackageV2.d.ts +28 -0
- package/dist-types/MediaPackageV2Client.d.ts +6 -2
- package/dist-types/commands/CancelHarvestJobCommand.d.ts +105 -0
- package/dist-types/commands/CreateHarvestJobCommand.d.ts +253 -0
- package/dist-types/commands/GetHarvestJobCommand.d.ts +188 -0
- package/dist-types/commands/ListHarvestJobsCommand.d.ts +473 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +580 -52
- package/dist-types/pagination/ListHarvestJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/MediaPackageV2.d.ts +68 -0
- package/dist-types/ts3.4/MediaPackageV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetHarvestJobCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListHarvestJobsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +157 -26
- package/dist-types/ts3.4/pagination/ListHarvestJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForHarvestJobFinished.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForHarvestJobFinished.d.ts +14 -0
- package/package.json +7 -6
|
@@ -17,13 +17,14 @@ export declare const AdMarkerHls: {
|
|
|
17
17
|
readonly DATERANGE: "DATERANGE";
|
|
18
18
|
};
|
|
19
19
|
export type AdMarkerHls = (typeof AdMarkerHls)[keyof typeof AdMarkerHls];
|
|
20
|
-
export interface
|
|
20
|
+
export interface CancelHarvestJobRequest {
|
|
21
21
|
ChannelGroupName: string | undefined;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
ChannelName: string | undefined;
|
|
23
|
+
OriginEndpointName: string | undefined;
|
|
24
|
+
HarvestJobName: string | undefined;
|
|
25
|
+
ETag?: string;
|
|
26
26
|
}
|
|
27
|
+
export interface CancelHarvestJobResponse {}
|
|
27
28
|
export declare const ConflictExceptionType: {
|
|
28
29
|
readonly CONFLICTING_OPERATION: "CONFLICTING_OPERATION";
|
|
29
30
|
readonly IDEMPOTENT_PARAMETER_MISMATCH: "IDEMPOTENT_PARAMETER_MISMATCH";
|
|
@@ -39,11 +40,6 @@ export declare class ConflictException extends __BaseException {
|
|
|
39
40
|
ConflictExceptionType?: ConflictExceptionType;
|
|
40
41
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
41
42
|
}
|
|
42
|
-
export interface DeleteChannelPolicyRequest {
|
|
43
|
-
ChannelGroupName: string | undefined;
|
|
44
|
-
ChannelName: string | undefined;
|
|
45
|
-
}
|
|
46
|
-
export interface DeleteChannelPolicyResponse {}
|
|
47
43
|
export declare class InternalServerException extends __BaseException {
|
|
48
44
|
readonly name: "InternalServerException";
|
|
49
45
|
readonly $fault: "server";
|
|
@@ -52,6 +48,23 @@ export declare class InternalServerException extends __BaseException {
|
|
|
52
48
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
53
49
|
);
|
|
54
50
|
}
|
|
51
|
+
export declare const ResourceTypeNotFound: {
|
|
52
|
+
readonly CHANNEL: "CHANNEL";
|
|
53
|
+
readonly CHANNEL_GROUP: "CHANNEL_GROUP";
|
|
54
|
+
readonly HARVEST_JOB: "HARVEST_JOB";
|
|
55
|
+
readonly ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT";
|
|
56
|
+
};
|
|
57
|
+
export type ResourceTypeNotFound =
|
|
58
|
+
(typeof ResourceTypeNotFound)[keyof typeof ResourceTypeNotFound];
|
|
59
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
60
|
+
readonly name: "ResourceNotFoundException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
Message?: string;
|
|
63
|
+
ResourceTypeNotFound?: ResourceTypeNotFound;
|
|
64
|
+
constructor(
|
|
65
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
55
68
|
export declare class ThrottlingException extends __BaseException {
|
|
56
69
|
readonly name: "ThrottlingException";
|
|
57
70
|
readonly $fault: "client";
|
|
@@ -72,6 +85,13 @@ export declare const ValidationExceptionType: {
|
|
|
72
85
|
readonly ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE: "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE";
|
|
73
86
|
readonly ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH: "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH";
|
|
74
87
|
readonly END_TIME_EARLIER_THAN_START_TIME: "END_TIME_EARLIER_THAN_START_TIME";
|
|
88
|
+
readonly HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION: "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION";
|
|
89
|
+
readonly HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT: "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT";
|
|
90
|
+
readonly HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED: "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED";
|
|
91
|
+
readonly HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION: "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION";
|
|
92
|
+
readonly HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE: "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE";
|
|
93
|
+
readonly HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION: "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION";
|
|
94
|
+
readonly INVALID_HARVEST_JOB_DURATION: "INVALID_HARVEST_JOB_DURATION";
|
|
75
95
|
readonly INVALID_MANIFEST_FILTER: "INVALID_MANIFEST_FILTER";
|
|
76
96
|
readonly INVALID_PAGINATION_MAX_RESULTS: "INVALID_PAGINATION_MAX_RESULTS";
|
|
77
97
|
readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
|
|
@@ -99,6 +119,7 @@ export declare const ValidationExceptionType: {
|
|
|
99
119
|
readonly SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY: "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY";
|
|
100
120
|
readonly START_TAG_TIME_OFFSET_INVALID: "START_TAG_TIME_OFFSET_INVALID";
|
|
101
121
|
readonly TIMING_SOURCE_MISSING: "TIMING_SOURCE_MISSING";
|
|
122
|
+
readonly TOO_MANY_IN_PROGRESS_HARVEST_JOBS: "TOO_MANY_IN_PROGRESS_HARVEST_JOBS";
|
|
102
123
|
readonly TS_CONTAINER_TYPE_WITH_DASH_MANIFEST: "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST";
|
|
103
124
|
readonly UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION: "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION";
|
|
104
125
|
readonly URL_INVALID: "URL_INVALID";
|
|
@@ -122,6 +143,18 @@ export declare class ValidationException extends __BaseException {
|
|
|
122
143
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
123
144
|
);
|
|
124
145
|
}
|
|
146
|
+
export interface ChannelGroupListConfiguration {
|
|
147
|
+
ChannelGroupName: string | undefined;
|
|
148
|
+
Arn: string | undefined;
|
|
149
|
+
CreatedAt: Date | undefined;
|
|
150
|
+
ModifiedAt: Date | undefined;
|
|
151
|
+
Description?: string;
|
|
152
|
+
}
|
|
153
|
+
export interface DeleteChannelPolicyRequest {
|
|
154
|
+
ChannelGroupName: string | undefined;
|
|
155
|
+
ChannelName: string | undefined;
|
|
156
|
+
}
|
|
157
|
+
export interface DeleteChannelPolicyResponse {}
|
|
125
158
|
export interface GetChannelPolicyRequest {
|
|
126
159
|
ChannelGroupName: string | undefined;
|
|
127
160
|
ChannelName: string | undefined;
|
|
@@ -131,22 +164,6 @@ export interface GetChannelPolicyResponse {
|
|
|
131
164
|
ChannelName: string | undefined;
|
|
132
165
|
Policy: string | undefined;
|
|
133
166
|
}
|
|
134
|
-
export declare const ResourceTypeNotFound: {
|
|
135
|
-
readonly CHANNEL: "CHANNEL";
|
|
136
|
-
readonly CHANNEL_GROUP: "CHANNEL_GROUP";
|
|
137
|
-
readonly ORIGIN_ENDPOINT: "ORIGIN_ENDPOINT";
|
|
138
|
-
};
|
|
139
|
-
export type ResourceTypeNotFound =
|
|
140
|
-
(typeof ResourceTypeNotFound)[keyof typeof ResourceTypeNotFound];
|
|
141
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
142
|
-
readonly name: "ResourceNotFoundException";
|
|
143
|
-
readonly $fault: "client";
|
|
144
|
-
Message?: string;
|
|
145
|
-
ResourceTypeNotFound?: ResourceTypeNotFound;
|
|
146
|
-
constructor(
|
|
147
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
167
|
export interface PutChannelPolicyRequest {
|
|
151
168
|
ChannelGroupName: string | undefined;
|
|
152
169
|
ChannelName: string | undefined;
|
|
@@ -654,6 +671,120 @@ export interface GetChannelGroupResponse {
|
|
|
654
671
|
ETag?: string;
|
|
655
672
|
Tags?: Record<string, string>;
|
|
656
673
|
}
|
|
674
|
+
export interface S3DestinationConfig {
|
|
675
|
+
BucketName: string | undefined;
|
|
676
|
+
DestinationPath: string | undefined;
|
|
677
|
+
}
|
|
678
|
+
export interface Destination {
|
|
679
|
+
S3Destination: S3DestinationConfig | undefined;
|
|
680
|
+
}
|
|
681
|
+
export interface HarvestedDashManifest {
|
|
682
|
+
ManifestName: string | undefined;
|
|
683
|
+
}
|
|
684
|
+
export interface HarvestedHlsManifest {
|
|
685
|
+
ManifestName: string | undefined;
|
|
686
|
+
}
|
|
687
|
+
export interface HarvestedLowLatencyHlsManifest {
|
|
688
|
+
ManifestName: string | undefined;
|
|
689
|
+
}
|
|
690
|
+
export interface HarvestedManifests {
|
|
691
|
+
HlsManifests?: HarvestedHlsManifest[];
|
|
692
|
+
DashManifests?: HarvestedDashManifest[];
|
|
693
|
+
LowLatencyHlsManifests?: HarvestedLowLatencyHlsManifest[];
|
|
694
|
+
}
|
|
695
|
+
export interface HarvesterScheduleConfiguration {
|
|
696
|
+
StartTime: Date | undefined;
|
|
697
|
+
EndTime: Date | undefined;
|
|
698
|
+
}
|
|
699
|
+
export interface CreateHarvestJobRequest {
|
|
700
|
+
ChannelGroupName: string | undefined;
|
|
701
|
+
ChannelName: string | undefined;
|
|
702
|
+
OriginEndpointName: string | undefined;
|
|
703
|
+
Description?: string;
|
|
704
|
+
HarvestedManifests: HarvestedManifests | undefined;
|
|
705
|
+
ScheduleConfiguration: HarvesterScheduleConfiguration | undefined;
|
|
706
|
+
Destination: Destination | undefined;
|
|
707
|
+
ClientToken?: string;
|
|
708
|
+
HarvestJobName?: string;
|
|
709
|
+
Tags?: Record<string, string>;
|
|
710
|
+
}
|
|
711
|
+
export declare const HarvestJobStatus: {
|
|
712
|
+
readonly CANCELLED: "CANCELLED";
|
|
713
|
+
readonly COMPLETED: "COMPLETED";
|
|
714
|
+
readonly FAILED: "FAILED";
|
|
715
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
716
|
+
readonly QUEUED: "QUEUED";
|
|
717
|
+
};
|
|
718
|
+
export type HarvestJobStatus =
|
|
719
|
+
(typeof HarvestJobStatus)[keyof typeof HarvestJobStatus];
|
|
720
|
+
export interface CreateHarvestJobResponse {
|
|
721
|
+
ChannelGroupName: string | undefined;
|
|
722
|
+
ChannelName: string | undefined;
|
|
723
|
+
OriginEndpointName: string | undefined;
|
|
724
|
+
Destination: Destination | undefined;
|
|
725
|
+
HarvestJobName: string | undefined;
|
|
726
|
+
HarvestedManifests: HarvestedManifests | undefined;
|
|
727
|
+
Description?: string;
|
|
728
|
+
ScheduleConfiguration: HarvesterScheduleConfiguration | undefined;
|
|
729
|
+
Arn: string | undefined;
|
|
730
|
+
CreatedAt: Date | undefined;
|
|
731
|
+
ModifiedAt: Date | undefined;
|
|
732
|
+
Status: HarvestJobStatus | undefined;
|
|
733
|
+
ErrorMessage?: string;
|
|
734
|
+
ETag?: string;
|
|
735
|
+
Tags?: Record<string, string>;
|
|
736
|
+
}
|
|
737
|
+
export interface GetHarvestJobRequest {
|
|
738
|
+
ChannelGroupName: string | undefined;
|
|
739
|
+
ChannelName: string | undefined;
|
|
740
|
+
OriginEndpointName: string | undefined;
|
|
741
|
+
HarvestJobName: string | undefined;
|
|
742
|
+
}
|
|
743
|
+
export interface GetHarvestJobResponse {
|
|
744
|
+
ChannelGroupName: string | undefined;
|
|
745
|
+
ChannelName: string | undefined;
|
|
746
|
+
OriginEndpointName: string | undefined;
|
|
747
|
+
Destination: Destination | undefined;
|
|
748
|
+
HarvestJobName: string | undefined;
|
|
749
|
+
HarvestedManifests: HarvestedManifests | undefined;
|
|
750
|
+
Description?: string;
|
|
751
|
+
ScheduleConfiguration: HarvesterScheduleConfiguration | undefined;
|
|
752
|
+
Arn: string | undefined;
|
|
753
|
+
CreatedAt: Date | undefined;
|
|
754
|
+
ModifiedAt: Date | undefined;
|
|
755
|
+
Status: HarvestJobStatus | undefined;
|
|
756
|
+
ErrorMessage?: string;
|
|
757
|
+
ETag?: string;
|
|
758
|
+
Tags?: Record<string, string>;
|
|
759
|
+
}
|
|
760
|
+
export interface ListHarvestJobsRequest {
|
|
761
|
+
ChannelGroupName: string | undefined;
|
|
762
|
+
ChannelName?: string;
|
|
763
|
+
OriginEndpointName?: string;
|
|
764
|
+
Status?: HarvestJobStatus;
|
|
765
|
+
MaxResults?: number;
|
|
766
|
+
NextToken?: string;
|
|
767
|
+
}
|
|
768
|
+
export interface HarvestJob {
|
|
769
|
+
ChannelGroupName: string | undefined;
|
|
770
|
+
ChannelName: string | undefined;
|
|
771
|
+
OriginEndpointName: string | undefined;
|
|
772
|
+
Destination: Destination | undefined;
|
|
773
|
+
HarvestJobName: string | undefined;
|
|
774
|
+
HarvestedManifests: HarvestedManifests | undefined;
|
|
775
|
+
Description?: string;
|
|
776
|
+
ScheduleConfiguration: HarvesterScheduleConfiguration | undefined;
|
|
777
|
+
Arn: string | undefined;
|
|
778
|
+
CreatedAt: Date | undefined;
|
|
779
|
+
ModifiedAt: Date | undefined;
|
|
780
|
+
Status: HarvestJobStatus | undefined;
|
|
781
|
+
ErrorMessage?: string;
|
|
782
|
+
ETag?: string;
|
|
783
|
+
}
|
|
784
|
+
export interface ListHarvestJobsResponse {
|
|
785
|
+
Items?: HarvestJob[];
|
|
786
|
+
NextToken?: string;
|
|
787
|
+
}
|
|
657
788
|
export interface ListChannelGroupsRequest {
|
|
658
789
|
MaxResults?: number;
|
|
659
790
|
NextToken?: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListHarvestJobsCommandInput,
|
|
4
|
+
ListHarvestJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListHarvestJobsCommand";
|
|
6
|
+
import { MediaPackageV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListHarvestJobs: (
|
|
8
|
+
config: MediaPackageV2PaginationConfiguration,
|
|
9
|
+
input: ListHarvestJobsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListHarvestJobsCommandOutput>;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
CancelHarvestJobCommandInput,
|
|
8
|
+
CancelHarvestJobCommandOutput,
|
|
9
|
+
} from "../commands/CancelHarvestJobCommand";
|
|
6
10
|
import {
|
|
7
11
|
CreateChannelCommandInput,
|
|
8
12
|
CreateChannelCommandOutput,
|
|
@@ -11,6 +15,10 @@ import {
|
|
|
11
15
|
CreateChannelGroupCommandInput,
|
|
12
16
|
CreateChannelGroupCommandOutput,
|
|
13
17
|
} from "../commands/CreateChannelGroupCommand";
|
|
18
|
+
import {
|
|
19
|
+
CreateHarvestJobCommandInput,
|
|
20
|
+
CreateHarvestJobCommandOutput,
|
|
21
|
+
} from "../commands/CreateHarvestJobCommand";
|
|
14
22
|
import {
|
|
15
23
|
CreateOriginEndpointCommandInput,
|
|
16
24
|
CreateOriginEndpointCommandOutput,
|
|
@@ -47,6 +55,10 @@ import {
|
|
|
47
55
|
GetChannelPolicyCommandInput,
|
|
48
56
|
GetChannelPolicyCommandOutput,
|
|
49
57
|
} from "../commands/GetChannelPolicyCommand";
|
|
58
|
+
import {
|
|
59
|
+
GetHarvestJobCommandInput,
|
|
60
|
+
GetHarvestJobCommandOutput,
|
|
61
|
+
} from "../commands/GetHarvestJobCommand";
|
|
50
62
|
import {
|
|
51
63
|
GetOriginEndpointCommandInput,
|
|
52
64
|
GetOriginEndpointCommandOutput,
|
|
@@ -63,6 +75,10 @@ import {
|
|
|
63
75
|
ListChannelsCommandInput,
|
|
64
76
|
ListChannelsCommandOutput,
|
|
65
77
|
} from "../commands/ListChannelsCommand";
|
|
78
|
+
import {
|
|
79
|
+
ListHarvestJobsCommandInput,
|
|
80
|
+
ListHarvestJobsCommandOutput,
|
|
81
|
+
} from "../commands/ListHarvestJobsCommand";
|
|
66
82
|
import {
|
|
67
83
|
ListOriginEndpointsCommandInput,
|
|
68
84
|
ListOriginEndpointsCommandOutput,
|
|
@@ -99,6 +115,10 @@ import {
|
|
|
99
115
|
UpdateOriginEndpointCommandInput,
|
|
100
116
|
UpdateOriginEndpointCommandOutput,
|
|
101
117
|
} from "../commands/UpdateOriginEndpointCommand";
|
|
118
|
+
export declare const se_CancelHarvestJobCommand: (
|
|
119
|
+
input: CancelHarvestJobCommandInput,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<__HttpRequest>;
|
|
102
122
|
export declare const se_CreateChannelCommand: (
|
|
103
123
|
input: CreateChannelCommandInput,
|
|
104
124
|
context: __SerdeContext
|
|
@@ -107,6 +127,10 @@ export declare const se_CreateChannelGroupCommand: (
|
|
|
107
127
|
input: CreateChannelGroupCommandInput,
|
|
108
128
|
context: __SerdeContext
|
|
109
129
|
) => Promise<__HttpRequest>;
|
|
130
|
+
export declare const se_CreateHarvestJobCommand: (
|
|
131
|
+
input: CreateHarvestJobCommandInput,
|
|
132
|
+
context: __SerdeContext
|
|
133
|
+
) => Promise<__HttpRequest>;
|
|
110
134
|
export declare const se_CreateOriginEndpointCommand: (
|
|
111
135
|
input: CreateOriginEndpointCommandInput,
|
|
112
136
|
context: __SerdeContext
|
|
@@ -143,6 +167,10 @@ export declare const se_GetChannelPolicyCommand: (
|
|
|
143
167
|
input: GetChannelPolicyCommandInput,
|
|
144
168
|
context: __SerdeContext
|
|
145
169
|
) => Promise<__HttpRequest>;
|
|
170
|
+
export declare const se_GetHarvestJobCommand: (
|
|
171
|
+
input: GetHarvestJobCommandInput,
|
|
172
|
+
context: __SerdeContext
|
|
173
|
+
) => Promise<__HttpRequest>;
|
|
146
174
|
export declare const se_GetOriginEndpointCommand: (
|
|
147
175
|
input: GetOriginEndpointCommandInput,
|
|
148
176
|
context: __SerdeContext
|
|
@@ -159,6 +187,10 @@ export declare const se_ListChannelsCommand: (
|
|
|
159
187
|
input: ListChannelsCommandInput,
|
|
160
188
|
context: __SerdeContext
|
|
161
189
|
) => Promise<__HttpRequest>;
|
|
190
|
+
export declare const se_ListHarvestJobsCommand: (
|
|
191
|
+
input: ListHarvestJobsCommandInput,
|
|
192
|
+
context: __SerdeContext
|
|
193
|
+
) => Promise<__HttpRequest>;
|
|
162
194
|
export declare const se_ListOriginEndpointsCommand: (
|
|
163
195
|
input: ListOriginEndpointsCommandInput,
|
|
164
196
|
context: __SerdeContext
|
|
@@ -195,6 +227,10 @@ export declare const se_UpdateOriginEndpointCommand: (
|
|
|
195
227
|
input: UpdateOriginEndpointCommandInput,
|
|
196
228
|
context: __SerdeContext
|
|
197
229
|
) => Promise<__HttpRequest>;
|
|
230
|
+
export declare const de_CancelHarvestJobCommand: (
|
|
231
|
+
output: __HttpResponse,
|
|
232
|
+
context: __SerdeContext
|
|
233
|
+
) => Promise<CancelHarvestJobCommandOutput>;
|
|
198
234
|
export declare const de_CreateChannelCommand: (
|
|
199
235
|
output: __HttpResponse,
|
|
200
236
|
context: __SerdeContext
|
|
@@ -203,6 +239,10 @@ export declare const de_CreateChannelGroupCommand: (
|
|
|
203
239
|
output: __HttpResponse,
|
|
204
240
|
context: __SerdeContext
|
|
205
241
|
) => Promise<CreateChannelGroupCommandOutput>;
|
|
242
|
+
export declare const de_CreateHarvestJobCommand: (
|
|
243
|
+
output: __HttpResponse,
|
|
244
|
+
context: __SerdeContext
|
|
245
|
+
) => Promise<CreateHarvestJobCommandOutput>;
|
|
206
246
|
export declare const de_CreateOriginEndpointCommand: (
|
|
207
247
|
output: __HttpResponse,
|
|
208
248
|
context: __SerdeContext
|
|
@@ -239,6 +279,10 @@ export declare const de_GetChannelPolicyCommand: (
|
|
|
239
279
|
output: __HttpResponse,
|
|
240
280
|
context: __SerdeContext
|
|
241
281
|
) => Promise<GetChannelPolicyCommandOutput>;
|
|
282
|
+
export declare const de_GetHarvestJobCommand: (
|
|
283
|
+
output: __HttpResponse,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<GetHarvestJobCommandOutput>;
|
|
242
286
|
export declare const de_GetOriginEndpointCommand: (
|
|
243
287
|
output: __HttpResponse,
|
|
244
288
|
context: __SerdeContext
|
|
@@ -255,6 +299,10 @@ export declare const de_ListChannelsCommand: (
|
|
|
255
299
|
output: __HttpResponse,
|
|
256
300
|
context: __SerdeContext
|
|
257
301
|
) => Promise<ListChannelsCommandOutput>;
|
|
302
|
+
export declare const de_ListHarvestJobsCommand: (
|
|
303
|
+
output: __HttpResponse,
|
|
304
|
+
context: __SerdeContext
|
|
305
|
+
) => Promise<ListHarvestJobsCommandOutput>;
|
|
258
306
|
export declare const de_ListOriginEndpointsCommand: (
|
|
259
307
|
output: __HttpResponse,
|
|
260
308
|
context: __SerdeContext
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForHarvestJobFinished";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetHarvestJobCommandInput } from "../commands/GetHarvestJobCommand";
|
|
3
|
+
import { MediaPackageV2Client } from "../MediaPackageV2Client";
|
|
4
|
+
export declare const waitForHarvestJobFinished: (
|
|
5
|
+
params: WaiterConfiguration<MediaPackageV2Client>,
|
|
6
|
+
input: GetHarvestJobCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilHarvestJobFinished: (
|
|
9
|
+
params: WaiterConfiguration<MediaPackageV2Client>,
|
|
10
|
+
input: GetHarvestJobCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForHarvestJobFinished";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetHarvestJobCommandInput } from "../commands/GetHarvestJobCommand";
|
|
3
|
+
import { MediaPackageV2Client } from "../MediaPackageV2Client";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilHarvestJobFinished instead. waitForHarvestJobFinished does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to GetHarvestJobCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilHarvestJobFinished: (params: WaiterConfiguration<MediaPackageV2Client>, input: GetHarvestJobCommandInput) => Promise<WaiterResult>;
|
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.682.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",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.682.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.682.0",
|
|
25
25
|
"@aws-sdk/core": "3.679.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.682.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.679.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.679.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.679.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.682.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.679.0",
|
|
32
32
|
"@aws-sdk/types": "3.679.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.679.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.679.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.682.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.9",
|
|
37
37
|
"@smithy/core": "^2.4.8",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.2.9",
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"@smithy/util-middleware": "^3.0.7",
|
|
59
59
|
"@smithy/util-retry": "^3.0.7",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
|
+
"@smithy/util-waiter": "^3.1.6",
|
|
61
62
|
"@types/uuid": "^9.0.1",
|
|
62
63
|
"tslib": "^2.6.2",
|
|
63
64
|
"uuid": "^9.0.1"
|