@aws-sdk/client-elementalinference 3.1106.0 → 3.1108.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 +6 -6
@@ -1,4 +1,4 @@
1
- import type { DictionaryLanguage, DictionaryStatus, FeedStatus, OutputStatus, ProfanityFilterMode, TranscriptionLanguage } from "./enums";
1
+ import type { DataSourceSport, DictionaryLanguage, DictionaryStatus, FeedStatus, FilterName, OutputStatus, ProfanityFilterMode, TranscriptionLanguage } from "./enums";
2
2
  /**
3
3
  * <p>The width and height of the output video. Used in SubtitlingConfig to determine subtitle layout. </p>
4
4
  * @public
@@ -15,6 +15,17 @@ export interface AspectRatio {
15
15
  */
16
16
  height: number | undefined;
17
17
  }
18
+ /**
19
+ * <p>Contains the data source configuration for a clipping output. It identifies the fixture whose event data Elemental Inference maps onto the clipping metadata. It is used in the dataSourceConfiguration property of a ClippingConfig. </p>
20
+ * @public
21
+ */
22
+ export interface DataSourceConfiguration {
23
+ /**
24
+ * <p>The ID of the fixture whose event data you want Elemental Inference to map onto this clipping output. The fixture should be the sports event in the source media that the feed is processing. </p> <p>To obtain this ID, use the SearchFixtures operation to find the fixture, then use the fixtureId from the matching FixtureSummary. </p>
25
+ * @public
26
+ */
27
+ fixtureId: string | undefined;
28
+ }
18
29
  /**
19
30
  * <p>A type of OutputConfig, used when the output in a feed is for the clip feature.</p>
20
31
  * @public
@@ -25,6 +36,11 @@ export interface ClippingConfig {
25
36
  * @public
26
37
  */
27
38
  callbackMetadata?: string | undefined;
39
+ /**
40
+ * <p>The data source to map onto this clipping output. This parameter is optional. When you include this parameter, Elemental Inference reads the event data for the fixture that you specify, and includes that data in the event clipping metadata for this output. </p> <p>If you omit this parameter, Elemental Inference doesn't map a data source onto this output. </p>
41
+ * @public
42
+ */
43
+ dataSourceConfiguration?: DataSourceConfiguration | undefined;
28
44
  }
29
45
  /**
30
46
  * <p>A named set of graphics-compositing templates used by the crop feature, specified in the templateGroups array of a CroppingConfig. </p>
@@ -204,6 +220,22 @@ export interface AssociateFeedResponse {
204
220
  */
205
221
  id: string | undefined;
206
222
  }
223
+ /**
224
+ * <p>Contains information about one competitor in a fixture. It is used in the FixtureSummary that is in the SearchFixtures response. </p>
225
+ * @public
226
+ */
227
+ export interface Competitor {
228
+ /**
229
+ * <p>The name of the competitor, as provided by the data source.</p>
230
+ * @public
231
+ */
232
+ name?: string | undefined;
233
+ /**
234
+ * <p>Specifies whether this competitor is the home side in the fixture. If true, this competitor is the home side. If false, this competitor is the away side. </p>
235
+ * @public
236
+ */
237
+ isHome?: boolean | undefined;
238
+ }
207
239
  /**
208
240
  * @public
209
241
  */
@@ -909,6 +941,108 @@ export interface ListTagsForResourceResponse {
909
941
  */
910
942
  tags?: Record<string, string> | undefined;
911
943
  }
944
+ /**
945
+ * <p>A filter for a fixture search. It is used in the filters array of a SearchFixtures request. </p>
946
+ * @public
947
+ */
948
+ export interface SearchFilter {
949
+ /**
950
+ * <p>The dimension of the fixture to filter on. Valid values: COMPETITOR.</p>
951
+ * @public
952
+ */
953
+ name: FilterName | undefined;
954
+ /**
955
+ * <p>An array of values to match in the dimension that you specified in name. You can specify up to 10 values. A fixture appears in the results if it matches at least one of these values. </p>
956
+ * @public
957
+ */
958
+ values: string[] | undefined;
959
+ }
960
+ /**
961
+ * @public
962
+ */
963
+ export interface SearchFixturesRequest {
964
+ /**
965
+ * <p>The sport to search for fixtures. Valid values: basketball (search for basketball fixtures), american-football (search for american-football fixtures). </p>
966
+ * @public
967
+ */
968
+ sport: DataSourceSport | undefined;
969
+ /**
970
+ * <p>The first day of the search window, in UTC. The search includes fixtures that are scheduled on this day. </p> <p>Specify the date in ISO 8601 format, as <code>YYYY-MM-DD</code>. For example, 2026-03-14. </p>
971
+ * @public
972
+ */
973
+ startDate: string | undefined;
974
+ /**
975
+ * <p>The last day of the search window, in UTC. The search includes fixtures that are scheduled on this day. Specify the date in ISO 8601 format, as <code>YYYY-MM-DD</code>. </p> <p>If you omit this parameter, Elemental Inference searches only the day that you specified in startDate. The window from startDate through endDate must not exceed seven days. </p>
976
+ * @public
977
+ */
978
+ endDate?: string | undefined;
979
+ /**
980
+ * <p>An array of filters that narrow the results. Each filter applies to one dimension of a fixture, such as the competitor. You can specify up to 10 filters. </p> <p>A fixture must satisfy every filter in the array in order to appear in the results. Within one filter, a fixture must match at least one of the values. </p>
981
+ * @public
982
+ */
983
+ filters?: SearchFilter[] | undefined;
984
+ /**
985
+ * <p>The maximum number of fixtures to return for each API request.</p> <p>The service might return fewer fixtures than the maxResults value. When more fixtures match the search, the response also includes a nextToken value that you can use to fetch the next batch of results. </p>
986
+ * @public
987
+ */
988
+ maxResults?: number | undefined;
989
+ /**
990
+ * <p>The token that identifies the batch of results that you want to see.</p> <p>For example, you submit a SearchFixtures request with maxResults set at 5. The service returns the first batch of results (up to 5) and a nextToken value. To see the next batch of results, you submit the SearchFixtures request a second time, with the same search criteria, and specify the nextToken value. </p>
991
+ * @public
992
+ */
993
+ nextToken?: string | undefined;
994
+ }
995
+ /**
996
+ * <p>Contains information about one fixture. It is used in the SearchFixtures response.</p> <p>Elemental Inference relays the information in this structure from the data source, so that you can identify the fixture that matches your source media. </p>
997
+ * @public
998
+ */
999
+ export interface FixtureSummary {
1000
+ /**
1001
+ * <p>The ID of the fixture. Specify this ID in the clipping output of a feed, to identify the fixture whose event data you want Elemental Inference to map onto the clipping metadata. </p>
1002
+ * @public
1003
+ */
1004
+ fixtureId: string | undefined;
1005
+ /**
1006
+ * <p>The name of the fixture, as provided by the data source. For example, the names of the two competing teams. </p>
1007
+ * @public
1008
+ */
1009
+ name: string | undefined;
1010
+ /**
1011
+ * <p>The group that the fixture belongs to, such as the competition, league, or tournament. The data source doesn't provide this information for every fixture. </p>
1012
+ * @public
1013
+ */
1014
+ fixtureGroup?: string | undefined;
1015
+ /**
1016
+ * <p>The scheduled start time of the fixture, as provided by the data source. The actual start time might differ. </p>
1017
+ * @public
1018
+ */
1019
+ scheduledStart?: Date | undefined;
1020
+ /**
1021
+ * <p>The status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed. </p>
1022
+ * @public
1023
+ */
1024
+ status: string | undefined;
1025
+ /**
1026
+ * <p>An array of the competitors (the teams or individuals) in the fixture.</p>
1027
+ * @public
1028
+ */
1029
+ competitors: Competitor[] | undefined;
1030
+ }
1031
+ /**
1032
+ * @public
1033
+ */
1034
+ export interface SearchFixturesResponse {
1035
+ /**
1036
+ * <p>An array of FixtureSummary objects, one for each fixture that matches the search. The array is empty if no fixtures match. </p>
1037
+ * @public
1038
+ */
1039
+ fixtures: FixtureSummary[] | undefined;
1040
+ /**
1041
+ * <p>The token that identifies the next batch of results. To see the next batch, submit the SearchFixtures request again, with the same search criteria, and specify this value in nextToken. </p> <p>This parameter is absent when there are no more results to return.</p>
1042
+ * @public
1043
+ */
1044
+ nextToken?: string | undefined;
1045
+ }
912
1046
  /**
913
1047
  * @public
914
1048
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { SearchFixturesCommandInput, SearchFixturesCommandOutput } from "../commands/SearchFixturesCommand";
3
+ import type { ElementalInferencePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateSearchFixtures: (config: ElementalInferencePaginationConfiguration, input: SearchFixturesCommandInput, ...rest: any[]) => Paginator<SearchFixturesCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListDictionariesPaginator";
3
3
  export * from "./ListFeedsPaginator";
4
+ export * from "./SearchFixturesPaginator";
@@ -3,9 +3,11 @@ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, S
3
3
  export declare var ElementalInferenceServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
5
  export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var GatewayTimedOutException$: StaticErrorSchema;
6
7
  export declare var InternalServerErrorException$: StaticErrorSchema;
7
8
  export declare var ResourceNotFoundException$: StaticErrorSchema;
8
9
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
9
11
  export declare var TooManyRequestException$: StaticErrorSchema;
10
12
  export declare var ValidationException$: StaticErrorSchema;
11
13
  /**
@@ -18,12 +20,14 @@ export declare var AspectRatio$: StaticStructureSchema;
18
20
  export declare var AssociateFeedRequest$: StaticStructureSchema;
19
21
  export declare var AssociateFeedResponse$: StaticStructureSchema;
20
22
  export declare var ClippingConfig$: StaticStructureSchema;
23
+ export declare var Competitor$: StaticStructureSchema;
21
24
  export declare var CreateDictionaryRequest$: StaticStructureSchema;
22
25
  export declare var CreateDictionaryResponse$: StaticStructureSchema;
23
26
  export declare var CreateFeedRequest$: StaticStructureSchema;
24
27
  export declare var CreateFeedResponse$: StaticStructureSchema;
25
28
  export declare var CreateOutput$: StaticStructureSchema;
26
29
  export declare var CroppingConfig$: StaticStructureSchema;
30
+ export declare var DataSourceConfiguration$: StaticStructureSchema;
27
31
  export declare var DeleteDictionaryRequest$: StaticStructureSchema;
28
32
  export declare var DeleteDictionaryResponse$: StaticStructureSchema;
29
33
  export declare var DeleteFeedRequest$: StaticStructureSchema;
@@ -35,6 +39,7 @@ export declare var ExportDictionaryEntriesRequest$: StaticStructureSchema;
35
39
  export declare var ExportDictionaryEntriesResponse$: StaticStructureSchema;
36
40
  export declare var FeedAssociation$: StaticStructureSchema;
37
41
  export declare var FeedSummary$: StaticStructureSchema;
42
+ export declare var FixtureSummary$: StaticStructureSchema;
38
43
  export declare var GetDictionaryRequest$: StaticStructureSchema;
39
44
  export declare var GetDictionaryResponse$: StaticStructureSchema;
40
45
  export declare var GetFeedRequest$: StaticStructureSchema;
@@ -46,6 +51,9 @@ export declare var ListFeedsRequest$: StaticStructureSchema;
46
51
  export declare var ListFeedsResponse$: StaticStructureSchema;
47
52
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
48
53
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
54
+ export declare var SearchFilter$: StaticStructureSchema;
55
+ export declare var SearchFixturesRequest$: StaticStructureSchema;
56
+ export declare var SearchFixturesResponse$: StaticStructureSchema;
49
57
  export declare var SubtitlingConfig$: StaticStructureSchema;
50
58
  export declare var TagResourceRequest$: StaticStructureSchema;
51
59
  export declare var TemplateGroup$: StaticStructureSchema;
@@ -68,6 +76,7 @@ export declare var GetFeed$: StaticOperationSchema;
68
76
  export declare var ListDictionaries$: StaticOperationSchema;
69
77
  export declare var ListFeeds$: StaticOperationSchema;
70
78
  export declare var ListTagsForResource$: StaticOperationSchema;
79
+ export declare var SearchFixtures$: StaticOperationSchema;
71
80
  export declare var TagResource$: StaticOperationSchema;
72
81
  export declare var UntagResource$: StaticOperationSchema;
73
82
  export declare var UpdateDictionary$: StaticOperationSchema;
@@ -41,6 +41,10 @@ import {
41
41
  ListTagsForResourceCommandInput,
42
42
  ListTagsForResourceCommandOutput,
43
43
  } from "./commands/ListTagsForResourceCommand";
44
+ import {
45
+ SearchFixturesCommandInput,
46
+ SearchFixturesCommandOutput,
47
+ } from "./commands/SearchFixturesCommand";
44
48
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
45
49
  import {
46
50
  UntagResourceCommandInput,
@@ -206,6 +210,19 @@ export interface ElementalInference {
206
210
  options: __HttpHandlerOptions,
207
211
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
208
212
  ): void;
213
+ searchFixtures(
214
+ args: SearchFixturesCommandInput,
215
+ options?: __HttpHandlerOptions,
216
+ ): Promise<SearchFixturesCommandOutput>;
217
+ searchFixtures(
218
+ args: SearchFixturesCommandInput,
219
+ cb: (err: any, data?: SearchFixturesCommandOutput) => void,
220
+ ): void;
221
+ searchFixtures(
222
+ args: SearchFixturesCommandInput,
223
+ options: __HttpHandlerOptions,
224
+ cb: (err: any, data?: SearchFixturesCommandOutput) => void,
225
+ ): void;
209
226
  tagResource(
210
227
  args: TagResourceCommandInput,
211
228
  options?: __HttpHandlerOptions,
@@ -272,6 +289,13 @@ export interface ElementalInference {
272
289
  Exclude<keyof PaginationConfiguration, "client">
273
290
  >,
274
291
  ): Paginator<ListFeedsCommandOutput>;
292
+ paginateSearchFixtures(
293
+ args: SearchFixturesCommandInput,
294
+ paginationConfig?: Pick<
295
+ PaginationConfiguration,
296
+ Exclude<keyof PaginationConfiguration, "client">
297
+ >,
298
+ ): Paginator<SearchFixturesCommandOutput>;
275
299
  waitUntilFeedDeleted(
276
300
  args: GetFeedCommandInput,
277
301
  waiterConfig:
@@ -69,6 +69,10 @@ import {
69
69
  ListTagsForResourceCommandInput,
70
70
  ListTagsForResourceCommandOutput,
71
71
  } from "./commands/ListTagsForResourceCommand";
72
+ import {
73
+ SearchFixturesCommandInput,
74
+ SearchFixturesCommandOutput,
75
+ } from "./commands/SearchFixturesCommand";
72
76
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
73
77
  import {
74
78
  UntagResourceCommandInput,
@@ -99,6 +103,7 @@ export type ServiceInputTypes =
99
103
  | ListDictionariesCommandInput
100
104
  | ListFeedsCommandInput
101
105
  | ListTagsForResourceCommandInput
106
+ | SearchFixturesCommandInput
102
107
  | TagResourceCommandInput
103
108
  | UntagResourceCommandInput
104
109
  | UpdateDictionaryCommandInput
@@ -116,6 +121,7 @@ export type ServiceOutputTypes =
116
121
  | ListDictionariesCommandOutput
117
122
  | ListFeedsCommandOutput
118
123
  | ListTagsForResourceCommandOutput
124
+ | SearchFixturesCommandOutput
119
125
  | TagResourceCommandOutput
120
126
  | UntagResourceCommandOutput
121
127
  | UpdateDictionaryCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { SearchFixturesRequest, SearchFixturesResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface SearchFixturesCommandInput extends SearchFixturesRequest {}
5
+ export interface SearchFixturesCommandOutput extends SearchFixturesResponse, __MetadataBearer {}
6
+ declare const SearchFixturesCommand_base: {
7
+ new (
8
+ input: SearchFixturesCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ SearchFixturesCommandInput,
11
+ SearchFixturesCommandOutput,
12
+ import("..").ElementalInferenceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: SearchFixturesCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ SearchFixturesCommandInput,
20
+ SearchFixturesCommandOutput,
21
+ import("..").ElementalInferenceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class SearchFixturesCommand extends SearchFixturesCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: SearchFixturesRequest;
31
+ output: SearchFixturesResponse;
32
+ };
33
+ sdk: {
34
+ input: SearchFixturesCommandInput;
35
+ output: SearchFixturesCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -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";
@@ -5,9 +5,9 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ElementalInferenceExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export { Command as $Command } from "@smithy/core/client";
8
- export * from "./schemas/schemas_0";
9
8
  export * from "./pagination";
10
9
  export * from "./waiters";
10
+ export * from "./schemas/schemas_0";
11
11
  export * from "./models/enums";
12
12
  export * from "./models/errors";
13
13
  export * from "./models/models_0";
@@ -49,3 +49,12 @@ export declare const FeedStatus: {
49
49
  readonly UPDATING: "UPDATING";
50
50
  };
51
51
  export type FeedStatus = (typeof FeedStatus)[keyof typeof FeedStatus];
52
+ export declare const DataSourceSport: {
53
+ readonly AMERICAN_FOOTBALL: "american-football";
54
+ readonly BASKETBALL: "basketball";
55
+ };
56
+ export type DataSourceSport = (typeof DataSourceSport)[keyof typeof DataSourceSport];
57
+ export declare const FilterName: {
58
+ readonly COMPETITOR: "COMPETITOR";
59
+ };
60
+ export type FilterName = (typeof FilterName)[keyof typeof FilterName];
@@ -38,3 +38,15 @@ export declare class ValidationException extends __BaseException {
38
38
  readonly $fault: "client";
39
39
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
40
40
  }
41
+ export declare class GatewayTimedOutException extends __BaseException {
42
+ readonly name: "GatewayTimedOutException";
43
+ readonly $fault: "server";
44
+ $retryable: {};
45
+ constructor(opts: __ExceptionOptionType<GatewayTimedOutException, __BaseException>);
46
+ }
47
+ export declare class ServiceUnavailableException extends __BaseException {
48
+ readonly name: "ServiceUnavailableException";
49
+ readonly $fault: "server";
50
+ $retryable: {};
51
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
52
+ }
@@ -1,7 +1,9 @@
1
1
  import {
2
+ DataSourceSport,
2
3
  DictionaryLanguage,
3
4
  DictionaryStatus,
4
5
  FeedStatus,
6
+ FilterName,
5
7
  OutputStatus,
6
8
  ProfanityFilterMode,
7
9
  TranscriptionLanguage,
@@ -10,8 +12,12 @@ export interface AspectRatio {
10
12
  width: number | undefined;
11
13
  height: number | undefined;
12
14
  }
15
+ export interface DataSourceConfiguration {
16
+ fixtureId: string | undefined;
17
+ }
13
18
  export interface ClippingConfig {
14
19
  callbackMetadata?: string | undefined;
20
+ dataSourceConfiguration?: DataSourceConfiguration | undefined;
15
21
  }
16
22
  export interface TemplateGroup {
17
23
  name: string | undefined;
@@ -79,6 +85,10 @@ export interface AssociateFeedResponse {
79
85
  arn: string | undefined;
80
86
  id: string | undefined;
81
87
  }
88
+ export interface Competitor {
89
+ name?: string | undefined;
90
+ isHome?: boolean | undefined;
91
+ }
82
92
  export interface CreateDictionaryRequest {
83
93
  name: string | undefined;
84
94
  language: DictionaryLanguage | undefined;
@@ -250,6 +260,30 @@ export interface ListTagsForResourceRequest {
250
260
  export interface ListTagsForResourceResponse {
251
261
  tags?: Record<string, string> | undefined;
252
262
  }
263
+ export interface SearchFilter {
264
+ name: FilterName | undefined;
265
+ values: string[] | undefined;
266
+ }
267
+ export interface SearchFixturesRequest {
268
+ sport: DataSourceSport | undefined;
269
+ startDate: string | undefined;
270
+ endDate?: string | undefined;
271
+ filters?: SearchFilter[] | undefined;
272
+ maxResults?: number | undefined;
273
+ nextToken?: string | undefined;
274
+ }
275
+ export interface FixtureSummary {
276
+ fixtureId: string | undefined;
277
+ name: string | undefined;
278
+ fixtureGroup?: string | undefined;
279
+ scheduledStart?: Date | undefined;
280
+ status: string | undefined;
281
+ competitors: Competitor[] | undefined;
282
+ }
283
+ export interface SearchFixturesResponse {
284
+ fixtures: FixtureSummary[] | undefined;
285
+ nextToken?: string | undefined;
286
+ }
253
287
  export interface TagResourceRequest {
254
288
  resourceArn: string | undefined;
255
289
  tags: Record<string, string> | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ SearchFixturesCommandInput,
4
+ SearchFixturesCommandOutput,
5
+ } from "../commands/SearchFixturesCommand";
6
+ import { ElementalInferencePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateSearchFixtures: (
8
+ config: ElementalInferencePaginationConfiguration,
9
+ input: SearchFixturesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<SearchFixturesCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListDictionariesPaginator";
3
3
  export * from "./ListFeedsPaginator";
4
+ export * from "./SearchFixturesPaginator";
@@ -8,9 +8,11 @@ import {
8
8
  export declare var ElementalInferenceServiceException$: StaticErrorSchema;
9
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
10
  export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var GatewayTimedOutException$: StaticErrorSchema;
11
12
  export declare var InternalServerErrorException$: StaticErrorSchema;
12
13
  export declare var ResourceNotFoundException$: StaticErrorSchema;
13
14
  export declare var ServiceQuotaExceededException$: StaticErrorSchema;
15
+ export declare var ServiceUnavailableException$: StaticErrorSchema;
14
16
  export declare var TooManyRequestException$: StaticErrorSchema;
15
17
  export declare var ValidationException$: StaticErrorSchema;
16
18
  export declare const errorTypeRegistries: TypeRegistry[];
@@ -18,12 +20,14 @@ export declare var AspectRatio$: StaticStructureSchema;
18
20
  export declare var AssociateFeedRequest$: StaticStructureSchema;
19
21
  export declare var AssociateFeedResponse$: StaticStructureSchema;
20
22
  export declare var ClippingConfig$: StaticStructureSchema;
23
+ export declare var Competitor$: StaticStructureSchema;
21
24
  export declare var CreateDictionaryRequest$: StaticStructureSchema;
22
25
  export declare var CreateDictionaryResponse$: StaticStructureSchema;
23
26
  export declare var CreateFeedRequest$: StaticStructureSchema;
24
27
  export declare var CreateFeedResponse$: StaticStructureSchema;
25
28
  export declare var CreateOutput$: StaticStructureSchema;
26
29
  export declare var CroppingConfig$: StaticStructureSchema;
30
+ export declare var DataSourceConfiguration$: StaticStructureSchema;
27
31
  export declare var DeleteDictionaryRequest$: StaticStructureSchema;
28
32
  export declare var DeleteDictionaryResponse$: StaticStructureSchema;
29
33
  export declare var DeleteFeedRequest$: StaticStructureSchema;
@@ -35,6 +39,7 @@ export declare var ExportDictionaryEntriesRequest$: StaticStructureSchema;
35
39
  export declare var ExportDictionaryEntriesResponse$: StaticStructureSchema;
36
40
  export declare var FeedAssociation$: StaticStructureSchema;
37
41
  export declare var FeedSummary$: StaticStructureSchema;
42
+ export declare var FixtureSummary$: StaticStructureSchema;
38
43
  export declare var GetDictionaryRequest$: StaticStructureSchema;
39
44
  export declare var GetDictionaryResponse$: StaticStructureSchema;
40
45
  export declare var GetFeedRequest$: StaticStructureSchema;
@@ -46,6 +51,9 @@ export declare var ListFeedsRequest$: StaticStructureSchema;
46
51
  export declare var ListFeedsResponse$: StaticStructureSchema;
47
52
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
48
53
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
54
+ export declare var SearchFilter$: StaticStructureSchema;
55
+ export declare var SearchFixturesRequest$: StaticStructureSchema;
56
+ export declare var SearchFixturesResponse$: StaticStructureSchema;
49
57
  export declare var SubtitlingConfig$: StaticStructureSchema;
50
58
  export declare var TagResourceRequest$: StaticStructureSchema;
51
59
  export declare var TemplateGroup$: StaticStructureSchema;
@@ -68,6 +76,7 @@ export declare var GetFeed$: StaticOperationSchema;
68
76
  export declare var ListDictionaries$: StaticOperationSchema;
69
77
  export declare var ListFeeds$: StaticOperationSchema;
70
78
  export declare var ListTagsForResource$: StaticOperationSchema;
79
+ export declare var SearchFixtures$: StaticOperationSchema;
71
80
  export declare var TagResource$: StaticOperationSchema;
72
81
  export declare var UntagResource$: StaticOperationSchema;
73
82
  export declare var UpdateDictionary$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elementalinference",
3
- "version": "3.1106.0",
3
+ "version": "3.1108.0",
4
4
  "description": "AWS SDK for JavaScript Elementalinference Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elementalinference",
6
6
  "license": "Apache-2.0",
@@ -43,12 +43,12 @@
43
43
  "clean": "premove dist-cjs dist-es dist-types",
44
44
  "extract:docs": "api-extractor run --local",
45
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
46
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
46
+ "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.6",
50
- "@aws-sdk/credential-provider-node": "^3.972.78",
51
- "@aws-sdk/types": "^3.974.2",
49
+ "@aws-sdk/core": "^3.977.7",
50
+ "@aws-sdk/credential-provider-node": "^3.972.79",
51
+ "@aws-sdk/types": "^3.974.3",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",
54
54
  "@smithy/node-http-handler": "^4.9.13",
@@ -61,7 +61,7 @@
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "premove": "4.0.0",
64
- "typescript": "~5.8.3"
64
+ "typescript": "~6.0.3"
65
65
  },
66
66
  "engines": {
67
67
  "node": ">=20.0.0"