@aws-sdk/client-elementalinference 3.1105.0 → 3.1107.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.
Files changed (38) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +136 -3
  3. package/dist-es/ElementalInference.js +4 -0
  4. package/dist-es/commands/SearchFixturesCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +1 -1
  7. package/dist-es/models/enums.js +7 -0
  8. package/dist-es/models/errors.js +26 -0
  9. package/dist-es/pagination/SearchFixturesPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +82 -3
  12. package/dist-types/ElementalInference.d.ts +14 -0
  13. package/dist-types/ElementalInferenceClient.d.ts +3 -2
  14. package/dist-types/commands/AssociateFeedCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateFeedCommand.d.ts +6 -0
  16. package/dist-types/commands/GetFeedCommand.d.ts +3 -0
  17. package/dist-types/commands/SearchFixturesCommand.d.ts +116 -0
  18. package/dist-types/commands/UpdateFeedCommand.d.ts +6 -0
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/index.d.ts +1 -1
  21. package/dist-types/models/enums.d.ts +23 -0
  22. package/dist-types/models/errors.d.ts +26 -0
  23. package/dist-types/models/models_0.d.ts +135 -1
  24. package/dist-types/pagination/SearchFixturesPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +9 -0
  27. package/dist-types/ts3.4/ElementalInference.d.ts +24 -0
  28. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +6 -0
  29. package/dist-types/ts3.4/commands/SearchFixturesCommand.d.ts +38 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  31. package/dist-types/ts3.4/index.d.ts +1 -1
  32. package/dist-types/ts3.4/models/enums.d.ts +9 -0
  33. package/dist-types/ts3.4/models/errors.d.ts +12 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +34 -0
  35. package/dist-types/ts3.4/pagination/SearchFixturesPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  38. package/package.json +1 -1
@@ -3,6 +3,7 @@ const _AF = "AssociateFeed";
3
3
  const _AFR = "AssociateFeedRequest";
4
4
  const _AFRs = "AssociateFeedResponse";
5
5
  const _AR = "AspectRatio";
6
+ const _C = "Competitor";
6
7
  const _CC = "ClippingConfig";
7
8
  const _CCr = "CroppingConfig";
8
9
  const _CD = "CreateDictionary";
@@ -12,6 +13,7 @@ const _CE = "ConflictException";
12
13
  const _CF = "CreateFeed";
13
14
  const _CFR = "CreateFeedRequest";
14
15
  const _CFRr = "CreateFeedResponse";
16
+ const _CL = "CompetitorList";
15
17
  const _CO = "CreateOutput";
16
18
  const _COL = "CreateOutputList";
17
19
  const _DD = "DeleteDictionary";
@@ -24,6 +26,7 @@ const _DFRi = "DisassociateFeedRequest";
24
26
  const _DFRis = "DisassociateFeedResponse";
25
27
  const _DFi = "DisassociateFeed";
26
28
  const _DS = "DictionarySummary";
29
+ const _DSC = "DataSourceConfiguration";
27
30
  const _DSL = "DictionarySummaryList";
28
31
  const _EDE = "ExportDictionaryEntries";
29
32
  const _EDER = "ExportDictionaryEntriesRequest";
@@ -31,6 +34,8 @@ const _EDERx = "ExportDictionaryEntriesResponse";
31
34
  const _FA = "FeedAssociation";
32
35
  const _FS = "FeedSummary";
33
36
  const _FSL = "FeedSummaryList";
37
+ const _FSLi = "FixtureSummaryList";
38
+ const _FSi = "FixtureSummary";
34
39
  const _GD = "GetDictionary";
35
40
  const _GDR = "GetDictionaryRequest";
36
41
  const _GDRe = "GetDictionaryResponse";
@@ -39,6 +44,7 @@ const _GFR = "GetFeedRequest";
39
44
  const _GFRe = "GetFeedResponse";
40
45
  const _GO = "GetOutput";
41
46
  const _GOL = "GetOutputList";
47
+ const _GTOE = "GatewayTimedOutException";
42
48
  const _ISEE = "InternalServerErrorException";
43
49
  const _LD = "ListDictionaries";
44
50
  const _LDR = "ListDictionariesRequest";
@@ -52,7 +58,13 @@ const _LTFRRi = "ListTagsForResourceResponse";
52
58
  const _OC = "OutputConfig";
53
59
  const _RNFE = "ResourceNotFoundException";
54
60
  const _SC = "SubtitlingConfig";
61
+ const _SF = "SearchFilter";
62
+ const _SFL = "SearchFilterList";
63
+ const _SFR = "SearchFixturesRequest";
64
+ const _SFRe = "SearchFixturesResponse";
65
+ const _SFe = "SearchFixtures";
55
66
  const _SQEE = "ServiceQuotaExceededException";
67
+ const _SUE = "ServiceUnavailableException";
56
68
  const _TG = "TemplateGroup";
57
69
  const _TGL = "TemplateGroupList";
58
70
  const _TMRE = "TooManyRequestException";
@@ -77,21 +89,29 @@ const _as = "association";
77
89
  const _c = "client";
78
90
  const _cM = "callbackMetadata";
79
91
  const _cl = "clipping";
92
+ const _co = "competitors";
80
93
  const _cr = "cropping";
81
94
  const _d = "description";
82
95
  const _dE = "dataEndpoints";
83
96
  const _dR = "dryRun";
97
+ const _dSC = "dataSourceConfiguration";
84
98
  const _di = "dictionaries";
85
99
  const _dic = "dictionary";
86
100
  const _e = "error";
101
+ const _eD = "endDate";
87
102
  const _en = "entries";
88
103
  const _f = "feeds";
89
104
  const _fA = "fromAssociation";
105
+ const _fG = "fixtureGroup";
106
+ const _fI = "fixtureId";
107
+ const _fi = "filters";
108
+ const _fix = "fixtures";
90
109
  const _h = "height";
91
110
  const _hE = "httpError";
92
111
  const _hQ = "httpQuery";
93
112
  const _ht = "http";
94
113
  const _i = "id";
114
+ const _iH = "isHome";
95
115
  const _l = "language";
96
116
  const _m = "message";
97
117
  const _mR = "maxResults";
@@ -103,18 +123,22 @@ const _pF = "profanityFilter";
103
123
  const _r = "references";
104
124
  const _rA = "resourceArn";
105
125
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.elementalinference";
126
+ const _sD = "startDate";
127
+ const _sS = "scheduledStart";
106
128
  const _se = "server";
129
+ const _sp = "sport";
107
130
  const _st = "status";
108
131
  const _su = "subtitling";
109
132
  const _t = "tags";
110
133
  const _tG = "templateGroups";
111
134
  const _tK = "tagKeys";
112
135
  const _tU = "templateUris";
136
+ const _v = "values";
113
137
  const _w = "width";
114
138
  const n0 = "com.amazonaws.elementalinference";
115
139
  import { TypeRegistry } from "@smithy/core/schema";
116
140
  import { ElementalInferenceServiceException } from "../models/ElementalInferenceServiceException";
117
- import { AccessDeniedException, ConflictException, InternalServerErrorException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyRequestException, ValidationException, } from "../models/errors";
141
+ import { AccessDeniedException, ConflictException, GatewayTimedOutException, InternalServerErrorException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, TooManyRequestException, ValidationException, } from "../models/errors";
118
142
  const _s_registry = TypeRegistry.for(_s);
119
143
  export var ElementalInferenceServiceException$ = [-3, _s, "ElementalInferenceServiceException", 0, [], []];
120
144
  _s_registry.registerError(ElementalInferenceServiceException$, ElementalInferenceServiceException);
@@ -131,6 +155,12 @@ export var ConflictException$ = [-3, n0, _CE,
131
155
  [0], 1
132
156
  ];
133
157
  n0_registry.registerError(ConflictException$, ConflictException);
158
+ export var GatewayTimedOutException$ = [-3, n0, _GTOE,
159
+ { [_e]: _se, [_hE]: 504 },
160
+ [_m],
161
+ [0], 1
162
+ ];
163
+ n0_registry.registerError(GatewayTimedOutException$, GatewayTimedOutException);
134
164
  export var InternalServerErrorException$ = [-3, n0, _ISEE,
135
165
  { [_e]: _se, [_hE]: 500 },
136
166
  [_m],
@@ -149,6 +179,12 @@ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
149
179
  [0], 1
150
180
  ];
151
181
  n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
182
+ export var ServiceUnavailableException$ = [-3, n0, _SUE,
183
+ { [_e]: _se, [_hE]: 503 },
184
+ [_m],
185
+ [0], 1
186
+ ];
187
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
152
188
  export var TooManyRequestException$ = [-3, n0, _TMRE,
153
189
  { [_e]: _c, [_hE]: 429 },
154
190
  [_m],
@@ -182,8 +218,13 @@ export var AssociateFeedResponse$ = [3, n0, _AFRs,
182
218
  ];
183
219
  export var ClippingConfig$ = [3, n0, _CC,
184
220
  0,
185
- [_cM],
186
- [0]
221
+ [_cM, _dSC],
222
+ [0, () => DataSourceConfiguration$]
223
+ ];
224
+ export var Competitor$ = [3, n0, _C,
225
+ 0,
226
+ [_n, _iH],
227
+ [0, 2]
187
228
  ];
188
229
  export var CreateDictionaryRequest$ = [3, n0, _CDR,
189
230
  0,
@@ -215,6 +256,11 @@ export var CroppingConfig$ = [3, n0, _CCr,
215
256
  [_tG],
216
257
  [() => TemplateGroupList]
217
258
  ];
259
+ export var DataSourceConfiguration$ = [3, n0, _DSC,
260
+ 0,
261
+ [_fI],
262
+ [0], 1
263
+ ];
218
264
  export var DeleteDictionaryRequest$ = [3, n0, _DDR,
219
265
  0,
220
266
  [_i],
@@ -270,6 +316,11 @@ export var FeedSummary$ = [3, n0, _FS,
270
316
  [_a, _i, _n, _st, _as],
271
317
  [0, 0, 0, 0, () => FeedAssociation$], 4
272
318
  ];
319
+ export var FixtureSummary$ = [3, n0, _FSi,
320
+ 0,
321
+ [_fI, _n, _st, _co, _fG, _sS],
322
+ [0, 0, 0, () => CompetitorList, 0, 5], 4
323
+ ];
273
324
  export var GetDictionaryRequest$ = [3, n0, _GDR,
274
325
  0,
275
326
  [_i],
@@ -325,6 +376,21 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
325
376
  [_t],
326
377
  [128 | 0]
327
378
  ];
379
+ export var SearchFilter$ = [3, n0, _SF,
380
+ 0,
381
+ [_n, _v],
382
+ [0, 64 | 0], 2
383
+ ];
384
+ export var SearchFixturesRequest$ = [3, n0, _SFR,
385
+ 0,
386
+ [_sp, _sD, _eD, _fi, _mR, _nT],
387
+ [0, 0, 0, () => SearchFilterList, 1, 0], 2
388
+ ];
389
+ export var SearchFixturesResponse$ = [3, n0, _SFRe,
390
+ 0,
391
+ [_fix, _nT],
392
+ [() => FixtureSummaryList, 0], 1
393
+ ];
328
394
  export var SubtitlingConfig$ = [3, n0, _SC,
329
395
  0,
330
396
  [_l, _aR, _dic, _pF],
@@ -371,6 +437,9 @@ export var UpdateOutput$ = [3, n0, _UO,
371
437
  [0, () => OutputConfig$, 0, 0, 2], 3
372
438
  ];
373
439
  var __Unit = "unit";
440
+ var CompetitorList = [1, n0, _CL,
441
+ 0, () => Competitor$
442
+ ];
374
443
  var CreateOutputList = [1, n0, _COL,
375
444
  0, () => CreateOutput$
376
445
  ];
@@ -381,9 +450,16 @@ var FeedReferences = 64 | 0;
381
450
  var FeedSummaryList = [1, n0, _FSL,
382
451
  0, () => FeedSummary$
383
452
  ];
453
+ var FilterValueList = 64 | 0;
454
+ var FixtureSummaryList = [1, n0, _FSLi,
455
+ 0, () => FixtureSummary$
456
+ ];
384
457
  var GetOutputList = [1, n0, _GOL,
385
458
  0, () => GetOutput$
386
459
  ];
460
+ var SearchFilterList = [1, n0, _SFL,
461
+ 0, () => SearchFilter$
462
+ ];
387
463
  var StringList = 64 | 0;
388
464
  var TagKeyList = 64 | 0;
389
465
  var TemplateGroupList = [1, n0, _TGL,
@@ -435,6 +511,9 @@ export var ListFeeds$ = [9, n0, _LF,
435
511
  export var ListTagsForResource$ = [9, n0, _LTFR,
436
512
  { [_ht]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
437
513
  ];
514
+ export var SearchFixtures$ = [9, n0, _SFe,
515
+ { [_ht]: ["POST", "/v1/fixtures", 200] }, () => SearchFixturesRequest$, () => SearchFixturesResponse$
516
+ ];
438
517
  export var TagResource$ = [9, n0, _TR,
439
518
  { [_ht]: ["POST", "/v1/tags/{resourceArn}", 204] }, () => TagResourceRequest$, () => __Unit
440
519
  ];
@@ -12,6 +12,7 @@ import { type GetFeedCommandInput, type GetFeedCommandOutput } from "./commands/
12
12
  import { type ListDictionariesCommandInput, type ListDictionariesCommandOutput } from "./commands/ListDictionariesCommand";
13
13
  import { type ListFeedsCommandInput, type ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
14
14
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
+ import { type SearchFixturesCommandInput, type SearchFixturesCommandOutput } from "./commands/SearchFixturesCommand";
15
16
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
16
17
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
18
  import { type UpdateDictionaryCommandInput, type UpdateDictionaryCommandOutput } from "./commands/UpdateDictionaryCommand";
@@ -93,6 +94,12 @@ export interface ElementalInference {
93
94
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
94
95
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
95
96
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
97
+ /**
98
+ * @see {@link SearchFixturesCommand}
99
+ */
100
+ searchFixtures(args: SearchFixturesCommandInput, options?: __HttpHandlerOptions): Promise<SearchFixturesCommandOutput>;
101
+ searchFixtures(args: SearchFixturesCommandInput, cb: (err: any, data?: SearchFixturesCommandOutput) => void): void;
102
+ searchFixtures(args: SearchFixturesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchFixturesCommandOutput) => void): void;
96
103
  /**
97
104
  * @see {@link TagResourceCommand}
98
105
  */
@@ -131,6 +138,13 @@ export interface ElementalInference {
131
138
  * @returns AsyncIterable of {@link ListFeedsCommandOutput}.
132
139
  */
133
140
  paginateListFeeds(args?: ListFeedsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListFeedsCommandOutput>;
141
+ /**
142
+ * @see {@link SearchFixturesCommand}
143
+ * @param args - command input.
144
+ * @param paginationConfig - optional pagination config.
145
+ * @returns AsyncIterable of {@link SearchFixturesCommandOutput}.
146
+ */
147
+ paginateSearchFixtures(args: SearchFixturesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchFixturesCommandOutput>;
134
148
  /**
135
149
  * @see {@link GetFeedCommand}
136
150
  * @param args - command input.
@@ -18,6 +18,7 @@ import type { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFe
18
18
  import type { ListDictionariesCommandInput, ListDictionariesCommandOutput } from "./commands/ListDictionariesCommand";
19
19
  import type { ListFeedsCommandInput, ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
20
20
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
+ import type { SearchFixturesCommandInput, SearchFixturesCommandOutput } from "./commands/SearchFixturesCommand";
21
22
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
22
23
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
23
24
  import type { UpdateDictionaryCommandInput, UpdateDictionaryCommandOutput } from "./commands/UpdateDictionaryCommand";
@@ -28,11 +29,11 @@ export { __Client };
28
29
  /**
29
30
  * @public
30
31
  */
31
- export type ServiceInputTypes = AssociateFeedCommandInput | CreateDictionaryCommandInput | CreateFeedCommandInput | DeleteDictionaryCommandInput | DeleteFeedCommandInput | DisassociateFeedCommandInput | ExportDictionaryEntriesCommandInput | GetDictionaryCommandInput | GetFeedCommandInput | ListDictionariesCommandInput | ListFeedsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDictionaryCommandInput | UpdateFeedCommandInput;
32
+ export type ServiceInputTypes = AssociateFeedCommandInput | CreateDictionaryCommandInput | CreateFeedCommandInput | DeleteDictionaryCommandInput | DeleteFeedCommandInput | DisassociateFeedCommandInput | ExportDictionaryEntriesCommandInput | GetDictionaryCommandInput | GetFeedCommandInput | ListDictionariesCommandInput | ListFeedsCommandInput | ListTagsForResourceCommandInput | SearchFixturesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDictionaryCommandInput | UpdateFeedCommandInput;
32
33
  /**
33
34
  * @public
34
35
  */
35
- export type ServiceOutputTypes = AssociateFeedCommandOutput | CreateDictionaryCommandOutput | CreateFeedCommandOutput | DeleteDictionaryCommandOutput | DeleteFeedCommandOutput | DisassociateFeedCommandOutput | ExportDictionaryEntriesCommandOutput | GetDictionaryCommandOutput | GetFeedCommandOutput | ListDictionariesCommandOutput | ListFeedsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDictionaryCommandOutput | UpdateFeedCommandOutput;
36
+ export type ServiceOutputTypes = AssociateFeedCommandOutput | CreateDictionaryCommandOutput | CreateFeedCommandOutput | DeleteDictionaryCommandOutput | DeleteFeedCommandOutput | DisassociateFeedCommandOutput | ExportDictionaryEntriesCommandOutput | GetDictionaryCommandOutput | GetFeedCommandOutput | ListDictionariesCommandOutput | ListFeedsCommandOutput | ListTagsForResourceCommandOutput | SearchFixturesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDictionaryCommandOutput | UpdateFeedCommandOutput;
36
37
  /**
37
38
  * @public
38
39
  */
@@ -52,6 +52,9 @@ declare const AssociateFeedCommand_base: {
52
52
  * },
53
53
  * clipping: { // ClippingConfig
54
54
  * callbackMetadata: "STRING_VALUE",
55
+ * dataSourceConfiguration: { // DataSourceConfiguration
56
+ * fixtureId: "STRING_VALUE", // required
57
+ * },
55
58
  * },
56
59
  * subtitling: { // SubtitlingConfig
57
60
  * language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -52,6 +52,9 @@ declare const CreateFeedCommand_base: {
52
52
  * },
53
53
  * clipping: { // ClippingConfig
54
54
  * callbackMetadata: "STRING_VALUE",
55
+ * dataSourceConfiguration: { // DataSourceConfiguration
56
+ * fixtureId: "STRING_VALUE", // required
57
+ * },
55
58
  * },
56
59
  * subtitling: { // SubtitlingConfig
57
60
  * language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -96,6 +99,9 @@ declare const CreateFeedCommand_base: {
96
99
  * // },
97
100
  * // clipping: { // ClippingConfig
98
101
  * // callbackMetadata: "STRING_VALUE",
102
+ * // dataSourceConfiguration: { // DataSourceConfiguration
103
+ * // fixtureId: "STRING_VALUE", // required
104
+ * // },
99
105
  * // },
100
106
  * // subtitling: { // SubtitlingConfig
101
107
  * // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -61,6 +61,9 @@ declare const GetFeedCommand_base: {
61
61
  * // },
62
62
  * // clipping: { // ClippingConfig
63
63
  * // callbackMetadata: "STRING_VALUE",
64
+ * // dataSourceConfiguration: { // DataSourceConfiguration
65
+ * // fixtureId: "STRING_VALUE", // required
66
+ * // },
64
67
  * // },
65
68
  * // subtitling: { // SubtitlingConfig
66
69
  * // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -0,0 +1,116 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { SearchFixturesRequest, SearchFixturesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link SearchFixturesCommand}.
11
+ */
12
+ export interface SearchFixturesCommandInput extends SearchFixturesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link SearchFixturesCommand}.
18
+ */
19
+ export interface SearchFixturesCommandOutput extends SearchFixturesResponse, __MetadataBearer {
20
+ }
21
+ declare const SearchFixturesCommand_base: {
22
+ new (input: SearchFixturesCommandInput): import("@smithy/core/client").CommandImpl<SearchFixturesCommandInput, SearchFixturesCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: SearchFixturesCommandInput): import("@smithy/core/client").CommandImpl<SearchFixturesCommandInput, SearchFixturesCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Searches for the fixtures (sports events, such as a specific basketball game) that are available for a sport in a date window. Each fixture in the response includes a fixtureId that you specify in the clipping output of a feed, so that Elemental Inference maps the event data for that fixture onto the clipping metadata. This operation is paginated: if there are more fixtures than fit in one page, the response includes a nextToken that you pass in a subsequent request. </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ElementalInferenceClient, SearchFixturesCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
32
+ * // const { ElementalInferenceClient, SearchFixturesCommand } = require("@aws-sdk/client-elementalinference"); // CommonJS import
33
+ * // import type { ElementalInferenceClientConfig } from "@aws-sdk/client-elementalinference";
34
+ * const config = {}; // type is ElementalInferenceClientConfig
35
+ * const client = new ElementalInferenceClient(config);
36
+ * const input = { // SearchFixturesRequest
37
+ * sport: "basketball" || "american-football", // required
38
+ * startDate: "STRING_VALUE", // required
39
+ * endDate: "STRING_VALUE",
40
+ * filters: [ // SearchFilterList
41
+ * { // SearchFilter
42
+ * name: "COMPETITOR", // required
43
+ * values: [ // FilterValueList // required
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * },
47
+ * ],
48
+ * maxResults: Number("int"),
49
+ * nextToken: "STRING_VALUE",
50
+ * };
51
+ * const command = new SearchFixturesCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // SearchFixturesResponse
54
+ * // fixtures: [ // FixtureSummaryList // required
55
+ * // { // FixtureSummary
56
+ * // fixtureId: "STRING_VALUE", // required
57
+ * // name: "STRING_VALUE", // required
58
+ * // fixtureGroup: "STRING_VALUE",
59
+ * // scheduledStart: new Date("TIMESTAMP"),
60
+ * // status: "STRING_VALUE", // required
61
+ * // competitors: [ // CompetitorList // required
62
+ * // { // Competitor
63
+ * // name: "STRING_VALUE",
64
+ * // isHome: true || false,
65
+ * // },
66
+ * // ],
67
+ * // },
68
+ * // ],
69
+ * // nextToken: "STRING_VALUE",
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param SearchFixturesCommandInput - {@link SearchFixturesCommandInput}
75
+ * @returns {@link SearchFixturesCommandOutput}
76
+ * @see {@link SearchFixturesCommandInput} for command's `input` shape.
77
+ * @see {@link SearchFixturesCommandOutput} for command's `response` shape.
78
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
79
+ *
80
+ * @throws {@link AccessDeniedException} (client fault)
81
+ * <p>You do not have sufficient access to perform this action.</p>
82
+ *
83
+ * @throws {@link GatewayTimedOutException} (server fault)
84
+ * <p>The request timed out before the service returned a response. This is a temporary condition. Retry the request. If the problem persists, contact AWS Support. </p>
85
+ *
86
+ * @throws {@link InternalServerErrorException} (server fault)
87
+ * <p>An internal server error occurred. This is a temporary condition and the request can be retried. If the problem persists, contact AWS Support. </p>
88
+ *
89
+ * @throws {@link ServiceUnavailableException} (server fault)
90
+ * <p>The service is temporarily unable to handle the request. Retry the request. If the problem persists, contact AWS Support. </p>
91
+ *
92
+ * @throws {@link TooManyRequestException} (client fault)
93
+ * <p>The request was denied due to request throttling. Too many requests have been made within a given time period. Reduce the frequency of requests and use exponential backoff when retrying. </p>
94
+ *
95
+ * @throws {@link ValidationException} (client fault)
96
+ * <p>The input fails to satisfy the constraints specified by the service. Check the error message for details about which parameter or field is invalid and correct the request before retrying. </p>
97
+ *
98
+ * @throws {@link ElementalInferenceServiceException}
99
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
100
+ *
101
+ *
102
+ * @public
103
+ */
104
+ export declare class SearchFixturesCommand extends SearchFixturesCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: SearchFixturesRequest;
109
+ output: SearchFixturesResponse;
110
+ };
111
+ sdk: {
112
+ input: SearchFixturesCommandInput;
113
+ output: SearchFixturesCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -53,6 +53,9 @@ declare const UpdateFeedCommand_base: {
53
53
  * },
54
54
  * clipping: { // ClippingConfig
55
55
  * callbackMetadata: "STRING_VALUE",
56
+ * dataSourceConfiguration: { // DataSourceConfiguration
57
+ * fixtureId: "STRING_VALUE", // required
58
+ * },
56
59
  * },
57
60
  * subtitling: { // SubtitlingConfig
58
61
  * language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -95,6 +98,9 @@ declare const UpdateFeedCommand_base: {
95
98
  * // },
96
99
  * // clipping: { // ClippingConfig
97
100
  * // callbackMetadata: "STRING_VALUE",
101
+ * // dataSourceConfiguration: { // DataSourceConfiguration
102
+ * // fixtureId: "STRING_VALUE", // required
103
+ * // },
98
104
  * // },
99
105
  * // subtitling: { // SubtitlingConfig
100
106
  * // language: "eng" || "eng-au" || "eng-gb" || "eng-us" || "fra" || "ita" || "deu" || "spa" || "por", // required
@@ -10,6 +10,7 @@ export * from "./GetFeedCommand";
10
10
  export * from "./ListDictionariesCommand";
11
11
  export * from "./ListFeedsCommand";
12
12
  export * from "./ListTagsForResourceCommand";
13
+ export * from "./SearchFixturesCommand";
13
14
  export * from "./TagResourceCommand";
14
15
  export * from "./UntagResourceCommand";
15
16
  export * from "./UpdateDictionaryCommand";
@@ -10,9 +10,9 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ElementalInferenceExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export { Command as $Command } from "@smithy/core/client";
13
- export * from "./schemas/schemas_0";
14
13
  export * from "./pagination";
15
14
  export * from "./waiters";
15
+ export * from "./schemas/schemas_0";
16
16
  export * from "./models/enums";
17
17
  export * from "./models/errors";
18
18
  export * from "./models/models_0";
@@ -90,3 +90,26 @@ export declare const FeedStatus: {
90
90
  * @public
91
91
  */
92
92
  export type FeedStatus = (typeof FeedStatus)[keyof typeof FeedStatus];
93
+ /**
94
+ * @public
95
+ * @enum
96
+ */
97
+ export declare const DataSourceSport: {
98
+ readonly AMERICAN_FOOTBALL: "american-football";
99
+ readonly BASKETBALL: "basketball";
100
+ };
101
+ /**
102
+ * @public
103
+ */
104
+ export type DataSourceSport = (typeof DataSourceSport)[keyof typeof DataSourceSport];
105
+ /**
106
+ * @public
107
+ * @enum
108
+ */
109
+ export declare const FilterName: {
110
+ readonly COMPETITOR: "COMPETITOR";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type FilterName = (typeof FilterName)[keyof typeof FilterName];
@@ -87,3 +87,29 @@ export declare class ValidationException extends __BaseException {
87
87
  */
88
88
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
89
89
  }
90
+ /**
91
+ * <p>The request timed out before the service returned a response. This is a temporary condition. Retry the request. If the problem persists, contact AWS Support. </p>
92
+ * @public
93
+ */
94
+ export declare class GatewayTimedOutException extends __BaseException {
95
+ readonly name: "GatewayTimedOutException";
96
+ readonly $fault: "server";
97
+ $retryable: {};
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<GatewayTimedOutException, __BaseException>);
102
+ }
103
+ /**
104
+ * <p>The service is temporarily unable to handle the request. Retry the request. If the problem persists, contact AWS Support. </p>
105
+ * @public
106
+ */
107
+ export declare class ServiceUnavailableException extends __BaseException {
108
+ readonly name: "ServiceUnavailableException";
109
+ readonly $fault: "server";
110
+ $retryable: {};
111
+ /**
112
+ * @internal
113
+ */
114
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
115
+ }