@aws-sdk/client-mediapackagev2 3.774.0 → 3.777.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/MediaPackageV2Client.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CancelHarvestJobCommand.d.ts +10 -7
- package/dist-types/commands/CreateChannelCommand.d.ts +26 -26
- package/dist-types/commands/CreateChannelGroupCommand.d.ts +18 -18
- package/dist-types/commands/CreateHarvestJobCommand.d.ts +48 -48
- package/dist-types/commands/CreateOriginEndpointCommand.d.ts +290 -291
- package/dist-types/commands/DeleteChannelCommand.d.ts +8 -5
- package/dist-types/commands/DeleteChannelGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteChannelPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteOriginEndpointCommand.d.ts +9 -6
- package/dist-types/commands/DeleteOriginEndpointPolicyCommand.d.ts +9 -6
- package/dist-types/commands/GetChannelCommand.d.ts +21 -21
- package/dist-types/commands/GetChannelGroupCommand.d.ts +14 -14
- package/dist-types/commands/GetChannelPolicyCommand.d.ts +8 -8
- package/dist-types/commands/GetHarvestJobCommand.d.ts +34 -34
- package/dist-types/commands/GetOriginEndpointCommand.d.ts +72 -72
- package/dist-types/commands/GetOriginEndpointPolicyCommand.d.ts +10 -10
- package/dist-types/commands/ListChannelGroupsCommand.d.ts +14 -14
- package/dist-types/commands/ListChannelsCommand.d.ts +16 -16
- package/dist-types/commands/ListHarvestJobsCommand.d.ts +186 -187
- package/dist-types/commands/ListOriginEndpointsCommand.d.ts +58 -58
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
- package/dist-types/commands/PutChannelPolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutOriginEndpointPolicyCommand.d.ts +10 -7
- package/dist-types/commands/ResetChannelStateCommand.d.ts +9 -9
- package/dist-types/commands/ResetOriginEndpointStateCommand.d.ts +11 -11
- package/dist-types/commands/TagResourceCommand.d.ts +10 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateChannelCommand.d.ts +22 -22
- package/dist-types/commands/UpdateChannelGroupCommand.d.ts +15 -15
- package/dist-types/commands/UpdateOriginEndpointCommand.d.ts +124 -124
- package/package.json +34 -34
|
@@ -40,8 +40,6 @@ const defaultMediaPackageV2HttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultMediaPackageV2HttpAuthSchemeProvider = defaultMediaPackageV2HttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -105,12 +105,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
105
105
|
|
|
106
106
|
// src/endpoint/EndpointParameters.ts
|
|
107
107
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
108
|
-
return {
|
|
109
|
-
...options,
|
|
108
|
+
return Object.assign(options, {
|
|
110
109
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
111
110
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
112
111
|
defaultSigningName: "mediapackagev2"
|
|
113
|
-
};
|
|
112
|
+
});
|
|
114
113
|
}, "resolveClientEndpointParameters");
|
|
115
114
|
var commonParams = {
|
|
116
115
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -167,22 +166,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
167
166
|
}, "resolveHttpAuthRuntimeConfig");
|
|
168
167
|
|
|
169
168
|
// src/runtimeExtensions.ts
|
|
170
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
171
169
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
172
|
-
const extensionConfiguration =
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
170
|
+
const extensionConfiguration = Object.assign(
|
|
171
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
172
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
173
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
174
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
175
|
+
);
|
|
178
176
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
179
|
-
return
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
177
|
+
return Object.assign(
|
|
178
|
+
runtimeConfig,
|
|
179
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
180
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
181
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
182
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
183
|
+
);
|
|
186
184
|
}, "resolveRuntimeExtensions");
|
|
187
185
|
|
|
188
186
|
// src/MediaPackageV2Client.ts
|
|
@@ -196,6 +194,8 @@ var MediaPackageV2Client = class extends import_smithy_client.Client {
|
|
|
196
194
|
config;
|
|
197
195
|
constructor(...[configuration]) {
|
|
198
196
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
197
|
+
super(_config_0);
|
|
198
|
+
this.initConfig = _config_0;
|
|
199
199
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
200
200
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
201
201
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -204,7 +204,6 @@ var MediaPackageV2Client = class extends import_smithy_client.Client {
|
|
|
204
204
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
205
205
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
206
206
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
207
|
-
super(_config_8);
|
|
208
207
|
this.config = _config_8;
|
|
209
208
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
210
209
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -17,6 +17,8 @@ export class MediaPackageV2Client extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class MediaPackageV2Client extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultMediaPackageV2HttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "mediapackagev2",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -74,21 +74,24 @@ declare const CancelHarvestJobCommand_base: {
|
|
|
74
74
|
* @throws {@link MediaPackageV2ServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example Cancel a Harvest Job
|
|
79
79
|
* ```javascript
|
|
80
80
|
* //
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
82
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
83
|
+
* ChannelName: "exampleChannelName",
|
|
84
|
+
* HarvestJobName: "HarvestJobName",
|
|
85
|
+
* OriginEndpointName: "exampleOriginEndpointName"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new CancelHarvestJobCommand(input);
|
|
88
|
-
* await client.send(command);
|
|
89
|
-
*
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* /* response is
|
|
90
|
+
* { /* empty *\/ }
|
|
91
|
+
* *\/
|
|
90
92
|
* ```
|
|
91
93
|
*
|
|
94
|
+
* @public
|
|
92
95
|
*/
|
|
93
96
|
export declare class CancelHarvestJobCommand extends CancelHarvestJobCommand_base {
|
|
94
97
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -110,51 +110,51 @@ declare const CreateChannelCommand_base: {
|
|
|
110
110
|
* @throws {@link MediaPackageV2ServiceException}
|
|
111
111
|
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
112
112
|
*
|
|
113
|
-
*
|
|
113
|
+
*
|
|
114
114
|
* @example Creating a Channel
|
|
115
115
|
* ```javascript
|
|
116
116
|
* //
|
|
117
117
|
* const input = {
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
118
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
119
|
+
* ChannelName: "exampleChannel",
|
|
120
|
+
* Description: "Description for exampleChannel",
|
|
121
|
+
* InputType: "HLS",
|
|
122
|
+
* Tags: {
|
|
123
|
+
* key1: "value1",
|
|
124
|
+
* key2: "value2"
|
|
125
125
|
* }
|
|
126
126
|
* };
|
|
127
127
|
* const command = new CreateChannelCommand(input);
|
|
128
128
|
* const response = await client.send(command);
|
|
129
|
-
* /* response
|
|
129
|
+
* /* response is
|
|
130
130
|
* {
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
131
|
+
* Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannel",
|
|
132
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
133
|
+
* ChannelName: "exampleChannel",
|
|
134
|
+
* CreatedAt: "2022-10-18T09:36:00.00Z",
|
|
135
|
+
* Description: "Description for exampleChannel",
|
|
136
|
+
* ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
137
|
+
* IngestEndpoints: [
|
|
138
138
|
* {
|
|
139
|
-
*
|
|
140
|
-
*
|
|
139
|
+
* Id: "1",
|
|
140
|
+
* Url: "https://abcde-1.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
|
|
141
141
|
* },
|
|
142
142
|
* {
|
|
143
|
-
*
|
|
144
|
-
*
|
|
143
|
+
* Id: "2",
|
|
144
|
+
* Url: "https://abcde-2.ingest.vwxyz.mediapackagev2.us-west-2.amazonaws.com/v1/exampleChannelGroup/exampleChannel/index"
|
|
145
145
|
* }
|
|
146
146
|
* ],
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
147
|
+
* InputType: "HLS",
|
|
148
|
+
* ModifiedAt: "2022-10-18T09:36:00.00Z",
|
|
149
|
+
* Tags: {
|
|
150
|
+
* key1: "value1",
|
|
151
|
+
* key2: "value2"
|
|
152
152
|
* }
|
|
153
153
|
* }
|
|
154
154
|
* *\/
|
|
155
|
-
* // example id: example-1
|
|
156
155
|
* ```
|
|
157
156
|
*
|
|
157
|
+
* @public
|
|
158
158
|
*/
|
|
159
159
|
export declare class CreateChannelCommand extends CreateChannelCommand_base {
|
|
160
160
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,38 +89,38 @@ declare const CreateChannelGroupCommand_base: {
|
|
|
89
89
|
* @throws {@link MediaPackageV2ServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
91
91
|
*
|
|
92
|
-
*
|
|
92
|
+
*
|
|
93
93
|
* @example Creating a Channel Group
|
|
94
94
|
* ```javascript
|
|
95
95
|
* //
|
|
96
96
|
* const input = {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
97
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
98
|
+
* Description: "Description for exampleChannelGroup",
|
|
99
|
+
* Tags: {
|
|
100
|
+
* key1: "value1",
|
|
101
|
+
* key2: "value2"
|
|
102
102
|
* }
|
|
103
103
|
* };
|
|
104
104
|
* const command = new CreateChannelGroupCommand(input);
|
|
105
105
|
* const response = await client.send(command);
|
|
106
|
-
* /* response
|
|
106
|
+
* /* response is
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
108
|
+
* Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup",
|
|
109
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
110
|
+
* CreatedAt: "2022-10-18T09:36:00.00Z",
|
|
111
|
+
* Description: "Description for exampleChannelGroup",
|
|
112
|
+
* ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
113
|
+
* EgressDomain: "abcde.egress.vwxyz.mediapackagev2.us-west-2.amazonaws.com",
|
|
114
|
+
* ModifiedAt: "2022-10-18T09:36:00.00Z",
|
|
115
|
+
* Tags: {
|
|
116
|
+
* key1: "value1",
|
|
117
|
+
* key2: "value2"
|
|
118
118
|
* }
|
|
119
119
|
* }
|
|
120
120
|
* *\/
|
|
121
|
-
* // example id: example-1
|
|
122
121
|
* ```
|
|
123
122
|
*
|
|
123
|
+
* @public
|
|
124
124
|
*/
|
|
125
125
|
export declare class CreateChannelGroupCommand extends CreateChannelGroupCommand_base {
|
|
126
126
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -150,93 +150,93 @@ declare const CreateHarvestJobCommand_base: {
|
|
|
150
150
|
* @throws {@link MediaPackageV2ServiceException}
|
|
151
151
|
* <p>Base exception class for all service exceptions from MediaPackageV2 service.</p>
|
|
152
152
|
*
|
|
153
|
-
*
|
|
153
|
+
*
|
|
154
154
|
* @example Creating a Harvest Job
|
|
155
155
|
* ```javascript
|
|
156
156
|
* //
|
|
157
157
|
* const input = {
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
158
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
159
|
+
* ChannelName: "exampleChannelName",
|
|
160
|
+
* Description: "Example HarvestJob description",
|
|
161
|
+
* Destination: {
|
|
162
|
+
* S3Destination: {
|
|
163
|
+
* BucketName: "harvestJobS3DestinationBucket",
|
|
164
|
+
* DestinationPath: "manifests"
|
|
165
165
|
* }
|
|
166
166
|
* },
|
|
167
|
-
*
|
|
168
|
-
*
|
|
167
|
+
* HarvestedManifests: {
|
|
168
|
+
* DashManifests: [
|
|
169
169
|
* {
|
|
170
|
-
*
|
|
170
|
+
* ManifestName: "DashManifest"
|
|
171
171
|
* }
|
|
172
172
|
* ],
|
|
173
|
-
*
|
|
173
|
+
* HlsManifests: [
|
|
174
174
|
* {
|
|
175
|
-
*
|
|
175
|
+
* ManifestName: "HlsManifest"
|
|
176
176
|
* }
|
|
177
177
|
* ],
|
|
178
|
-
*
|
|
178
|
+
* LowLatencyHlsManifests: [
|
|
179
179
|
* {
|
|
180
|
-
*
|
|
180
|
+
* ManifestName: "LowLatencyHlsManifest"
|
|
181
181
|
* }
|
|
182
182
|
* ]
|
|
183
183
|
* },
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
184
|
+
* OriginEndpointName: "exampleOriginEndpointName",
|
|
185
|
+
* ScheduleConfiguration: {
|
|
186
|
+
* EndTime: "2024-05-28T12:00:00.00Z",
|
|
187
|
+
* StartTime: "2024-05-28T06:00:00.00Z"
|
|
188
188
|
* }
|
|
189
189
|
* };
|
|
190
190
|
* const command = new CreateHarvestJobCommand(input);
|
|
191
191
|
* const response = await client.send(command);
|
|
192
|
-
* /* response
|
|
192
|
+
* /* response is
|
|
193
193
|
* {
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
*
|
|
194
|
+
* Arn: "arn:aws:mediapackagev2:us-west-2:123456789012:channelGroup/exampleChannelGroup/channel/exampleChannelName/originEndpoint/exampleOriginEndpointName/harvestJob/HarvestJobName",
|
|
195
|
+
* ChannelGroupName: "exampleChannelGroup",
|
|
196
|
+
* ChannelName: "exampleChannelName",
|
|
197
|
+
* CreatedAt: "2024-05-28T09:36:00.00Z",
|
|
198
|
+
* Description: "Example HarvestJob description",
|
|
199
|
+
* Destination: {
|
|
200
|
+
* S3Destination: {
|
|
201
|
+
* BucketName: "harvestJobS3DestinationBucket",
|
|
202
|
+
* DestinationPath: "manifests"
|
|
203
203
|
* }
|
|
204
204
|
* },
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
205
|
+
* ETag: "GlfT+dwAyGIR4wuy8nKWl1RDPwSrjQej9qUutLZxoxk=",
|
|
206
|
+
* HarvestJobName: "HarvestJobName",
|
|
207
|
+
* HarvestedManifests: {
|
|
208
|
+
* DashManifests: [
|
|
209
209
|
* {
|
|
210
|
-
*
|
|
210
|
+
* ManifestName: "DashManifest"
|
|
211
211
|
* }
|
|
212
212
|
* ],
|
|
213
|
-
*
|
|
213
|
+
* HlsManifests: [
|
|
214
214
|
* {
|
|
215
|
-
*
|
|
215
|
+
* ManifestName: "HlsManifest"
|
|
216
216
|
* }
|
|
217
217
|
* ],
|
|
218
|
-
*
|
|
218
|
+
* LowLatencyHlsManifests: [
|
|
219
219
|
* {
|
|
220
|
-
*
|
|
220
|
+
* ManifestName: "LowLatencyHlsManifest"
|
|
221
221
|
* }
|
|
222
222
|
* ]
|
|
223
223
|
* },
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
224
|
+
* ModifiedAt: "2024-05-28T09:36:00.00Z",
|
|
225
|
+
* OriginEndpointName: "exampleOriginEndpointName",
|
|
226
|
+
* ScheduleConfiguration: {
|
|
227
|
+
* EndTime: "2024-05-28T12:00:00.00Z",
|
|
228
|
+
* StartTime: "2024-05-28T06:00:00.00Z"
|
|
229
229
|
* },
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
230
|
+
* Status: "QUEUED",
|
|
231
|
+
* Tags: {
|
|
232
|
+
* key1: "value1",
|
|
233
|
+
* key2: "value2"
|
|
234
234
|
* }
|
|
235
235
|
* }
|
|
236
236
|
* *\/
|
|
237
|
-
* // example id: example-1
|
|
238
237
|
* ```
|
|
239
238
|
*
|
|
239
|
+
* @public
|
|
240
240
|
*/
|
|
241
241
|
export declare class CreateHarvestJobCommand extends CreateHarvestJobCommand_base {
|
|
242
242
|
/** @internal type navigation helper, not in runtime. */
|