@aws-sdk/client-mediaconvert 3.596.0 → 3.598.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.
@@ -21,6 +21,7 @@ export * from "./ListPresetsCommand";
21
21
  export * from "./ListQueuesCommand";
22
22
  export * from "./ListTagsForResourceCommand";
23
23
  export * from "./PutPolicyCommand";
24
+ export * from "./SearchJobsCommand";
24
25
  export * from "./TagResourceCommand";
25
26
  export * from "./UntagResourceCommand";
26
27
  export * from "./UpdateJobTemplateCommand";
@@ -809,6 +809,56 @@ export interface PutPolicyResponse {
809
809
  */
810
810
  Policy?: Policy;
811
811
  }
812
+ /**
813
+ * @public
814
+ */
815
+ export interface SearchJobsRequest {
816
+ /**
817
+ * Optional. Provide your input file URL or your partial input file name. The maximum length for an input file is 300 characters.
818
+ * @public
819
+ */
820
+ InputFile?: string;
821
+ /**
822
+ * Optional. Number of jobs, up to twenty, that will be returned at one time.
823
+ * @public
824
+ */
825
+ MaxResults?: number;
826
+ /**
827
+ * Optional. Use this string, provided with the response to a previous request, to request the next batch of jobs.
828
+ * @public
829
+ */
830
+ NextToken?: string;
831
+ /**
832
+ * Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
833
+ * @public
834
+ */
835
+ Order?: Order;
836
+ /**
837
+ * Optional. Provide a queue name, or a queue ARN, to return only jobs from that queue.
838
+ * @public
839
+ */
840
+ Queue?: string;
841
+ /**
842
+ * Optional. A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
843
+ * @public
844
+ */
845
+ Status?: JobStatus;
846
+ }
847
+ /**
848
+ * @public
849
+ */
850
+ export interface SearchJobsResponse {
851
+ /**
852
+ * List of jobs.
853
+ * @public
854
+ */
855
+ Jobs?: Job[];
856
+ /**
857
+ * Use this string to request the next batch of jobs.
858
+ * @public
859
+ */
860
+ NextToken?: string;
861
+ }
812
862
  /**
813
863
  * @public
814
864
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { SearchJobsCommandInput, SearchJobsCommandOutput } from "../commands/SearchJobsCommand";
3
+ import { MediaConvertPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchJobs: (config: MediaConvertPaginationConfiguration, input: SearchJobsCommandInput, ...rest: any[]) => Paginator<SearchJobsCommandOutput>;
@@ -4,3 +4,4 @@ export * from "./ListJobTemplatesPaginator";
4
4
  export * from "./ListJobsPaginator";
5
5
  export * from "./ListPresetsPaginator";
6
6
  export * from "./ListQueuesPaginator";
7
+ export * from "./SearchJobsPaginator";
@@ -23,6 +23,7 @@ import { ListPresetsCommandInput, ListPresetsCommandOutput } from "../commands/L
23
23
  import { ListQueuesCommandInput, ListQueuesCommandOutput } from "../commands/ListQueuesCommand";
24
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
25
25
  import { PutPolicyCommandInput, PutPolicyCommandOutput } from "../commands/PutPolicyCommand";
26
+ import { SearchJobsCommandInput, SearchJobsCommandOutput } from "../commands/SearchJobsCommand";
26
27
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
27
28
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
28
29
  import { UpdateJobTemplateCommandInput, UpdateJobTemplateCommandOutput } from "../commands/UpdateJobTemplateCommand";
@@ -120,6 +121,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
120
121
  * serializeAws_restJson1PutPolicyCommand
121
122
  */
122
123
  export declare const se_PutPolicyCommand: (input: PutPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
+ /**
125
+ * serializeAws_restJson1SearchJobsCommand
126
+ */
127
+ export declare const se_SearchJobsCommand: (input: SearchJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
128
  /**
124
129
  * serializeAws_restJson1TagResourceCommand
125
130
  */
@@ -232,6 +237,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
232
237
  * deserializeAws_restJson1PutPolicyCommand
233
238
  */
234
239
  export declare const de_PutPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutPolicyCommandOutput>;
240
+ /**
241
+ * deserializeAws_restJson1SearchJobsCommand
242
+ */
243
+ export declare const de_SearchJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchJobsCommandOutput>;
235
244
  /**
236
245
  * deserializeAws_restJson1TagResourceCommand
237
246
  */
@@ -91,6 +91,10 @@ import {
91
91
  PutPolicyCommandInput,
92
92
  PutPolicyCommandOutput,
93
93
  } from "./commands/PutPolicyCommand";
94
+ import {
95
+ SearchJobsCommandInput,
96
+ SearchJobsCommandOutput,
97
+ } from "./commands/SearchJobsCommand";
94
98
  import {
95
99
  TagResourceCommandInput,
96
100
  TagResourceCommandOutput,
@@ -419,6 +423,20 @@ export interface MediaConvert {
419
423
  options: __HttpHandlerOptions,
420
424
  cb: (err: any, data?: PutPolicyCommandOutput) => void
421
425
  ): void;
426
+ searchJobs(): Promise<SearchJobsCommandOutput>;
427
+ searchJobs(
428
+ args: SearchJobsCommandInput,
429
+ options?: __HttpHandlerOptions
430
+ ): Promise<SearchJobsCommandOutput>;
431
+ searchJobs(
432
+ args: SearchJobsCommandInput,
433
+ cb: (err: any, data?: SearchJobsCommandOutput) => void
434
+ ): void;
435
+ searchJobs(
436
+ args: SearchJobsCommandInput,
437
+ options: __HttpHandlerOptions,
438
+ cb: (err: any, data?: SearchJobsCommandOutput) => void
439
+ ): void;
422
440
  tagResource(
423
441
  args: TagResourceCommandInput,
424
442
  options?: __HttpHandlerOptions
@@ -137,6 +137,10 @@ import {
137
137
  PutPolicyCommandInput,
138
138
  PutPolicyCommandOutput,
139
139
  } from "./commands/PutPolicyCommand";
140
+ import {
141
+ SearchJobsCommandInput,
142
+ SearchJobsCommandOutput,
143
+ } from "./commands/SearchJobsCommand";
140
144
  import {
141
145
  TagResourceCommandInput,
142
146
  TagResourceCommandOutput,
@@ -188,6 +192,7 @@ export type ServiceInputTypes =
188
192
  | ListQueuesCommandInput
189
193
  | ListTagsForResourceCommandInput
190
194
  | PutPolicyCommandInput
195
+ | SearchJobsCommandInput
191
196
  | TagResourceCommandInput
192
197
  | UntagResourceCommandInput
193
198
  | UpdateJobTemplateCommandInput
@@ -217,6 +222,7 @@ export type ServiceOutputTypes =
217
222
  | ListQueuesCommandOutput
218
223
  | ListTagsForResourceCommandOutput
219
224
  | PutPolicyCommandOutput
225
+ | SearchJobsCommandOutput
220
226
  | TagResourceCommandOutput
221
227
  | UntagResourceCommandOutput
222
228
  | UpdateJobTemplateCommandOutput
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MediaConvertClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MediaConvertClient";
8
+ import { SearchJobsRequest, SearchJobsResponse } from "../models/models_2";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface SearchJobsCommandInput extends SearchJobsRequest {}
12
+ export interface SearchJobsCommandOutput
13
+ extends SearchJobsResponse,
14
+ __MetadataBearer {}
15
+ declare const SearchJobsCommand_base: {
16
+ new (
17
+ input: SearchJobsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ SearchJobsCommandInput,
20
+ SearchJobsCommandOutput,
21
+ MediaConvertClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ ...[input]: [] | [SearchJobsCommandInput]
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ SearchJobsCommandInput,
29
+ SearchJobsCommandOutput,
30
+ MediaConvertClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class SearchJobsCommand extends SearchJobsCommand_base {}
@@ -21,6 +21,7 @@ export * from "./ListPresetsCommand";
21
21
  export * from "./ListQueuesCommand";
22
22
  export * from "./ListTagsForResourceCommand";
23
23
  export * from "./PutPolicyCommand";
24
+ export * from "./SearchJobsCommand";
24
25
  export * from "./TagResourceCommand";
25
26
  export * from "./UntagResourceCommand";
26
27
  export * from "./UpdateJobTemplateCommand";
@@ -246,6 +246,18 @@ export interface PutPolicyRequest {
246
246
  export interface PutPolicyResponse {
247
247
  Policy?: Policy;
248
248
  }
249
+ export interface SearchJobsRequest {
250
+ InputFile?: string;
251
+ MaxResults?: number;
252
+ NextToken?: string;
253
+ Order?: Order;
254
+ Queue?: string;
255
+ Status?: JobStatus;
256
+ }
257
+ export interface SearchJobsResponse {
258
+ Jobs?: Job[];
259
+ NextToken?: string;
260
+ }
249
261
  export interface TagResourceRequest {
250
262
  Arn: string | undefined;
251
263
  Tags: Record<string, string> | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchJobsCommandInput,
4
+ SearchJobsCommandOutput,
5
+ } from "../commands/SearchJobsCommand";
6
+ import { MediaConvertPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchJobs: (
8
+ config: MediaConvertPaginationConfiguration,
9
+ input: SearchJobsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchJobsCommandOutput>;
@@ -4,3 +4,4 @@ export * from "./ListJobTemplatesPaginator";
4
4
  export * from "./ListJobsPaginator";
5
5
  export * from "./ListPresetsPaginator";
6
6
  export * from "./ListQueuesPaginator";
7
+ export * from "./SearchJobsPaginator";
@@ -95,6 +95,10 @@ import {
95
95
  PutPolicyCommandInput,
96
96
  PutPolicyCommandOutput,
97
97
  } from "../commands/PutPolicyCommand";
98
+ import {
99
+ SearchJobsCommandInput,
100
+ SearchJobsCommandOutput,
101
+ } from "../commands/SearchJobsCommand";
98
102
  import {
99
103
  TagResourceCommandInput,
100
104
  TagResourceCommandOutput,
@@ -207,6 +211,10 @@ export declare const se_PutPolicyCommand: (
207
211
  input: PutPolicyCommandInput,
208
212
  context: __SerdeContext
209
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_SearchJobsCommand: (
215
+ input: SearchJobsCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
210
218
  export declare const se_TagResourceCommand: (
211
219
  input: TagResourceCommandInput,
212
220
  context: __SerdeContext
@@ -319,6 +327,10 @@ export declare const de_PutPolicyCommand: (
319
327
  output: __HttpResponse,
320
328
  context: __SerdeContext
321
329
  ) => Promise<PutPolicyCommandOutput>;
330
+ export declare const de_SearchJobsCommand: (
331
+ output: __HttpResponse,
332
+ context: __SerdeContext
333
+ ) => Promise<SearchJobsCommandOutput>;
322
334
  export declare const de_TagResourceCommand: (
323
335
  output: __HttpResponse,
324
336
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediaconvert",
3
3
  "description": "AWS SDK for JavaScript Mediaconvert Client for Node.js, Browser and React Native",
4
- "version": "3.596.0",
4
+ "version": "3.598.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-mediaconvert",
@@ -18,45 +18,45 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "3.0.0",
22
- "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.596.0",
24
- "@aws-sdk/client-sts": "3.596.0",
25
- "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.596.0",
27
- "@aws-sdk/middleware-host-header": "3.577.0",
28
- "@aws-sdk/middleware-logger": "3.577.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.577.0",
30
- "@aws-sdk/middleware-user-agent": "3.587.0",
31
- "@aws-sdk/region-config-resolver": "3.587.0",
32
- "@aws-sdk/types": "3.577.0",
33
- "@aws-sdk/util-endpoints": "3.587.0",
34
- "@aws-sdk/util-user-agent-browser": "3.577.0",
35
- "@aws-sdk/util-user-agent-node": "3.587.0",
36
- "@smithy/config-resolver": "^3.0.1",
37
- "@smithy/core": "^2.2.0",
38
- "@smithy/fetch-http-handler": "^3.0.1",
39
- "@smithy/hash-node": "^3.0.0",
40
- "@smithy/invalid-dependency": "^3.0.0",
41
- "@smithy/middleware-content-length": "^3.0.0",
42
- "@smithy/middleware-endpoint": "^3.0.1",
43
- "@smithy/middleware-retry": "^3.0.3",
44
- "@smithy/middleware-serde": "^3.0.0",
45
- "@smithy/middleware-stack": "^3.0.0",
46
- "@smithy/node-config-provider": "^3.1.0",
47
- "@smithy/node-http-handler": "^3.0.0",
48
- "@smithy/protocol-http": "^4.0.0",
49
- "@smithy/smithy-client": "^3.1.1",
50
- "@smithy/types": "^3.0.0",
51
- "@smithy/url-parser": "^3.0.0",
21
+ "@aws-crypto/sha256-browser": "5.2.0",
22
+ "@aws-crypto/sha256-js": "5.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.598.0",
24
+ "@aws-sdk/client-sts": "3.598.0",
25
+ "@aws-sdk/core": "3.598.0",
26
+ "@aws-sdk/credential-provider-node": "3.598.0",
27
+ "@aws-sdk/middleware-host-header": "3.598.0",
28
+ "@aws-sdk/middleware-logger": "3.598.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.598.0",
30
+ "@aws-sdk/middleware-user-agent": "3.598.0",
31
+ "@aws-sdk/region-config-resolver": "3.598.0",
32
+ "@aws-sdk/types": "3.598.0",
33
+ "@aws-sdk/util-endpoints": "3.598.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.598.0",
35
+ "@aws-sdk/util-user-agent-node": "3.598.0",
36
+ "@smithy/config-resolver": "^3.0.2",
37
+ "@smithy/core": "^2.2.1",
38
+ "@smithy/fetch-http-handler": "^3.0.2",
39
+ "@smithy/hash-node": "^3.0.1",
40
+ "@smithy/invalid-dependency": "^3.0.1",
41
+ "@smithy/middleware-content-length": "^3.0.1",
42
+ "@smithy/middleware-endpoint": "^3.0.2",
43
+ "@smithy/middleware-retry": "^3.0.4",
44
+ "@smithy/middleware-serde": "^3.0.1",
45
+ "@smithy/middleware-stack": "^3.0.1",
46
+ "@smithy/node-config-provider": "^3.1.1",
47
+ "@smithy/node-http-handler": "^3.0.1",
48
+ "@smithy/protocol-http": "^4.0.1",
49
+ "@smithy/smithy-client": "^3.1.2",
50
+ "@smithy/types": "^3.1.0",
51
+ "@smithy/url-parser": "^3.0.1",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.3",
56
- "@smithy/util-defaults-mode-node": "^3.0.3",
57
- "@smithy/util-endpoints": "^2.0.1",
58
- "@smithy/util-middleware": "^3.0.0",
59
- "@smithy/util-retry": "^3.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.4",
56
+ "@smithy/util-defaults-mode-node": "^3.0.4",
57
+ "@smithy/util-endpoints": "^2.0.2",
58
+ "@smithy/util-middleware": "^3.0.1",
59
+ "@smithy/util-retry": "^3.0.1",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2",
62
62
  "uuid": "^9.0.1"