@aws-sdk/client-elementalinference 3.1115.0 → 3.1117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -244,6 +244,13 @@ GetFeed
244
244
  </details>
245
245
  <details>
246
246
  <summary>
247
+ GetFixture
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elementalinference/command/GetFixtureCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/GetFixtureCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elementalinference/Interface/GetFixtureCommandOutput/)
251
+ </details>
252
+ <details>
253
+ <summary>
247
254
  ListDictionaries
248
255
  </summary>
249
256
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1114.0";
72
+ var version = "3.1116.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -296,6 +296,9 @@ const _GDRe = "GetDictionaryResponse";
296
296
  const _GF = "GetFeed";
297
297
  const _GFR = "GetFeedRequest";
298
298
  const _GFRe = "GetFeedResponse";
299
+ const _GFRet = "GetFixtureRequest";
300
+ const _GFReti = "GetFixtureResponse";
301
+ const _GFe = "GetFixture";
299
302
  const _GO = "GetOutput";
300
303
  const _GOL = "GetOutputList";
301
304
  const _GTOE = "GatewayTimedOutException";
@@ -494,8 +497,8 @@ var CreateFeedRequest$ = [3, n0, _CFR,
494
497
  ];
495
498
  var CreateFeedResponse$ = [3, n0, _CFRr,
496
499
  0,
497
- [_a, _n, _i, _dE, _o, _st, _as, _t],
498
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
500
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
501
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
499
502
  ];
500
503
  var CreateOutput$ = [3, n0, _CO,
501
504
  0,
@@ -589,8 +592,18 @@ var GetFeedRequest$ = [3, n0, _GFR,
589
592
  ];
590
593
  var GetFeedResponse$ = [3, n0, _GFRe,
591
594
  0,
592
- [_a, _n, _i, _dE, _o, _st, _as, _t],
593
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
595
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
596
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
597
+ ];
598
+ var GetFixtureRequest$ = [3, n0, _GFRet,
599
+ 0,
600
+ [_fI],
601
+ [[0, 1]], 1
602
+ ];
603
+ var GetFixtureResponse$ = [3, n0, _GFReti,
604
+ 0,
605
+ [_fI, _n, _st, _co, _fG, _sS],
606
+ [0, 0, 0, () => CompetitorList, 0, 5], 4
594
607
  ];
595
608
  var GetOutput$ = [3, n0, _GO,
596
609
  0,
@@ -679,8 +692,8 @@ var UpdateFeedRequest$ = [3, n0, _UFR,
679
692
  ];
680
693
  var UpdateFeedResponse$ = [3, n0, _UFRp,
681
694
  0,
682
- [_a, _n, _i, _dE, _o, _st, _as, _t],
683
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
695
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
696
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
684
697
  ];
685
698
  var UpdateOutput$ = [3, n0, _UO,
686
699
  0,
@@ -747,6 +760,9 @@ var GetDictionary$ = [9, n0, _GD,
747
760
  var GetFeed$ = [9, n0, _GF,
748
761
  { [_ht]: ["GET", "/v1/feed/{id}", 200] }, () => GetFeedRequest$, () => GetFeedResponse$
749
762
  ];
763
+ var GetFixture$ = [9, n0, _GFe,
764
+ { [_ht]: ["GET", "/v1/fixtures/{fixtureId}", 200] }, () => GetFixtureRequest$, () => GetFixtureResponse$
765
+ ];
750
766
  var ListDictionaries$ = [9, n0, _LD,
751
767
  { [_ht]: ["GET", "/v1/dictionaries", 200] }, () => ListDictionariesRequest$, () => ListDictionariesResponse$
752
768
  ];
@@ -949,6 +965,9 @@ class GetDictionaryCommand extends command(_ep0, _mw0, "GetDictionary", GetDicti
949
965
  class GetFeedCommand extends command(_ep0, _mw0, "GetFeed", GetFeed$) {
950
966
  }
951
967
 
968
+ class GetFixtureCommand extends command(_ep0, _mw0, "GetFixture", GetFixture$) {
969
+ }
970
+
952
971
  class ListDictionariesCommand extends command(_ep0, _mw0, "ListDictionaries", ListDictionaries$) {
953
972
  }
954
973
 
@@ -1037,6 +1056,7 @@ const commands = {
1037
1056
  ExportDictionaryEntriesCommand,
1038
1057
  GetDictionaryCommand,
1039
1058
  GetFeedCommand,
1059
+ GetFixtureCommand,
1040
1060
  ListDictionariesCommand,
1041
1061
  ListFeedsCommand,
1042
1062
  ListTagsForResourceCommand,
@@ -1171,6 +1191,10 @@ exports.GetFeed$ = GetFeed$;
1171
1191
  exports.GetFeedCommand = GetFeedCommand;
1172
1192
  exports.GetFeedRequest$ = GetFeedRequest$;
1173
1193
  exports.GetFeedResponse$ = GetFeedResponse$;
1194
+ exports.GetFixture$ = GetFixture$;
1195
+ exports.GetFixtureCommand = GetFixtureCommand;
1196
+ exports.GetFixtureRequest$ = GetFixtureRequest$;
1197
+ exports.GetFixtureResponse$ = GetFixtureResponse$;
1174
1198
  exports.GetOutput$ = GetOutput$;
1175
1199
  exports.InternalServerErrorException = InternalServerErrorException;
1176
1200
  exports.InternalServerErrorException$ = InternalServerErrorException$;
@@ -8,6 +8,7 @@ import { DisassociateFeedCommand, } from "./commands/DisassociateFeedCommand";
8
8
  import { ExportDictionaryEntriesCommand, } from "./commands/ExportDictionaryEntriesCommand";
9
9
  import { GetDictionaryCommand, } from "./commands/GetDictionaryCommand";
10
10
  import { GetFeedCommand } from "./commands/GetFeedCommand";
11
+ import { GetFixtureCommand, } from "./commands/GetFixtureCommand";
11
12
  import { ListDictionariesCommand, } from "./commands/ListDictionariesCommand";
12
13
  import { ListFeedsCommand } from "./commands/ListFeedsCommand";
13
14
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
@@ -31,6 +32,7 @@ const commands = {
31
32
  ExportDictionaryEntriesCommand,
32
33
  GetDictionaryCommand,
33
34
  GetFeedCommand,
35
+ GetFixtureCommand,
34
36
  ListDictionariesCommand,
35
37
  ListFeedsCommand,
36
38
  ListTagsForResourceCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetFixture$ } from "../schemas/schemas_0";
3
+ export class GetFixtureCommand extends command(_ep0, _mw0, "GetFixture", GetFixture$) {
4
+ }
@@ -7,6 +7,7 @@ export * from "./DisassociateFeedCommand";
7
7
  export * from "./ExportDictionaryEntriesCommand";
8
8
  export * from "./GetDictionaryCommand";
9
9
  export * from "./GetFeedCommand";
10
+ export * from "./GetFixtureCommand";
10
11
  export * from "./ListDictionariesCommand";
11
12
  export * from "./ListFeedsCommand";
12
13
  export * from "./ListTagsForResourceCommand";
@@ -42,6 +42,9 @@ const _GDRe = "GetDictionaryResponse";
42
42
  const _GF = "GetFeed";
43
43
  const _GFR = "GetFeedRequest";
44
44
  const _GFRe = "GetFeedResponse";
45
+ const _GFRet = "GetFixtureRequest";
46
+ const _GFReti = "GetFixtureResponse";
47
+ const _GFe = "GetFixture";
45
48
  const _GO = "GetOutput";
46
49
  const _GOL = "GetOutputList";
47
50
  const _GTOE = "GatewayTimedOutException";
@@ -243,8 +246,8 @@ export var CreateFeedRequest$ = [3, n0, _CFR,
243
246
  ];
244
247
  export var CreateFeedResponse$ = [3, n0, _CFRr,
245
248
  0,
246
- [_a, _n, _i, _dE, _o, _st, _as, _t],
247
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
249
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
250
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
248
251
  ];
249
252
  export var CreateOutput$ = [3, n0, _CO,
250
253
  0,
@@ -338,8 +341,18 @@ export var GetFeedRequest$ = [3, n0, _GFR,
338
341
  ];
339
342
  export var GetFeedResponse$ = [3, n0, _GFRe,
340
343
  0,
341
- [_a, _n, _i, _dE, _o, _st, _as, _t],
342
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
344
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
345
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
346
+ ];
347
+ export var GetFixtureRequest$ = [3, n0, _GFRet,
348
+ 0,
349
+ [_fI],
350
+ [[0, 1]], 1
351
+ ];
352
+ export var GetFixtureResponse$ = [3, n0, _GFReti,
353
+ 0,
354
+ [_fI, _n, _st, _co, _fG, _sS],
355
+ [0, 0, 0, () => CompetitorList, 0, 5], 4
343
356
  ];
344
357
  export var GetOutput$ = [3, n0, _GO,
345
358
  0,
@@ -428,8 +441,8 @@ export var UpdateFeedRequest$ = [3, n0, _UFR,
428
441
  ];
429
442
  export var UpdateFeedResponse$ = [3, n0, _UFRp,
430
443
  0,
431
- [_a, _n, _i, _dE, _o, _st, _as, _t],
432
- [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => FeedAssociation$, 128 | 0], 6
444
+ [_a, _n, _i, _dE, _o, _st, _aRA, _as, _t],
445
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, 0, () => FeedAssociation$, 128 | 0], 6
433
446
  ];
434
447
  export var UpdateOutput$ = [3, n0, _UO,
435
448
  0,
@@ -502,6 +515,9 @@ export var GetDictionary$ = [9, n0, _GD,
502
515
  export var GetFeed$ = [9, n0, _GF,
503
516
  { [_ht]: ["GET", "/v1/feed/{id}", 200] }, () => GetFeedRequest$, () => GetFeedResponse$
504
517
  ];
518
+ export var GetFixture$ = [9, n0, _GFe,
519
+ { [_ht]: ["GET", "/v1/fixtures/{fixtureId}", 200] }, () => GetFixtureRequest$, () => GetFixtureResponse$
520
+ ];
505
521
  export var ListDictionaries$ = [9, n0, _LD,
506
522
  { [_ht]: ["GET", "/v1/dictionaries", 200] }, () => ListDictionariesRequest$, () => ListDictionariesResponse$
507
523
  ];
@@ -9,6 +9,7 @@ import { type DisassociateFeedCommandInput, type DisassociateFeedCommandOutput }
9
9
  import { type ExportDictionaryEntriesCommandInput, type ExportDictionaryEntriesCommandOutput } from "./commands/ExportDictionaryEntriesCommand";
10
10
  import { type GetDictionaryCommandInput, type GetDictionaryCommandOutput } from "./commands/GetDictionaryCommand";
11
11
  import { type GetFeedCommandInput, type GetFeedCommandOutput } from "./commands/GetFeedCommand";
12
+ import { type GetFixtureCommandInput, type GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
12
13
  import { type ListDictionariesCommandInput, type ListDictionariesCommandOutput } from "./commands/ListDictionariesCommand";
13
14
  import { type ListFeedsCommandInput, type ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
14
15
  import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -74,6 +75,12 @@ export interface ElementalInference {
74
75
  getFeed(args: GetFeedCommandInput, options?: __HttpHandlerOptions): Promise<GetFeedCommandOutput>;
75
76
  getFeed(args: GetFeedCommandInput, cb: (err: any, data?: GetFeedCommandOutput) => void): void;
76
77
  getFeed(args: GetFeedCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFeedCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link GetFixtureCommand}
80
+ */
81
+ getFixture(args: GetFixtureCommandInput, options?: __HttpHandlerOptions): Promise<GetFixtureCommandOutput>;
82
+ getFixture(args: GetFixtureCommandInput, cb: (err: any, data?: GetFixtureCommandOutput) => void): void;
83
+ getFixture(args: GetFixtureCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFixtureCommandOutput) => void): void;
77
84
  /**
78
85
  * @see {@link ListDictionariesCommand}
79
86
  */
@@ -15,6 +15,7 @@ import type { DisassociateFeedCommandInput, DisassociateFeedCommandOutput } from
15
15
  import type { ExportDictionaryEntriesCommandInput, ExportDictionaryEntriesCommandOutput } from "./commands/ExportDictionaryEntriesCommand";
16
16
  import type { GetDictionaryCommandInput, GetDictionaryCommandOutput } from "./commands/GetDictionaryCommand";
17
17
  import type { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
18
+ import type { GetFixtureCommandInput, GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
18
19
  import type { ListDictionariesCommandInput, ListDictionariesCommandOutput } from "./commands/ListDictionariesCommand";
19
20
  import type { ListFeedsCommandInput, ListFeedsCommandOutput } from "./commands/ListFeedsCommand";
20
21
  import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
@@ -29,11 +30,11 @@ export { __Client };
29
30
  /**
30
31
  * @public
31
32
  */
32
- export type ServiceInputTypes = AssociateFeedCommandInput | CreateDictionaryCommandInput | CreateFeedCommandInput | DeleteDictionaryCommandInput | DeleteFeedCommandInput | DisassociateFeedCommandInput | ExportDictionaryEntriesCommandInput | GetDictionaryCommandInput | GetFeedCommandInput | ListDictionariesCommandInput | ListFeedsCommandInput | ListTagsForResourceCommandInput | SearchFixturesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDictionaryCommandInput | UpdateFeedCommandInput;
33
+ export type ServiceInputTypes = AssociateFeedCommandInput | CreateDictionaryCommandInput | CreateFeedCommandInput | DeleteDictionaryCommandInput | DeleteFeedCommandInput | DisassociateFeedCommandInput | ExportDictionaryEntriesCommandInput | GetDictionaryCommandInput | GetFeedCommandInput | GetFixtureCommandInput | ListDictionariesCommandInput | ListFeedsCommandInput | ListTagsForResourceCommandInput | SearchFixturesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDictionaryCommandInput | UpdateFeedCommandInput;
33
34
  /**
34
35
  * @public
35
36
  */
36
- export type ServiceOutputTypes = AssociateFeedCommandOutput | CreateDictionaryCommandOutput | CreateFeedCommandOutput | DeleteDictionaryCommandOutput | DeleteFeedCommandOutput | DisassociateFeedCommandOutput | ExportDictionaryEntriesCommandOutput | GetDictionaryCommandOutput | GetFeedCommandOutput | ListDictionariesCommandOutput | ListFeedsCommandOutput | ListTagsForResourceCommandOutput | SearchFixturesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDictionaryCommandOutput | UpdateFeedCommandOutput;
37
+ export type ServiceOutputTypes = AssociateFeedCommandOutput | CreateDictionaryCommandOutput | CreateFeedCommandOutput | DeleteDictionaryCommandOutput | DeleteFeedCommandOutput | DisassociateFeedCommandOutput | ExportDictionaryEntriesCommandOutput | GetDictionaryCommandOutput | GetFeedCommandOutput | GetFixtureCommandOutput | ListDictionariesCommandOutput | ListFeedsCommandOutput | ListTagsForResourceCommandOutput | SearchFixturesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDictionaryCommandOutput | UpdateFeedCommandOutput;
37
38
  /**
38
39
  * @public
39
40
  */
@@ -118,6 +118,7 @@ declare const CreateFeedCommand_base: {
118
118
  * // fromAssociation: true || false,
119
119
  * // },
120
120
  * // ],
121
+ * // accessRoleArn: "STRING_VALUE",
121
122
  * // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
122
123
  * // association: { // FeedAssociation
123
124
  * // associatedResourceName: "STRING_VALUE", // required
@@ -80,6 +80,7 @@ declare const GetFeedCommand_base: {
80
80
  * // fromAssociation: true || false,
81
81
  * // },
82
82
  * // ],
83
+ * // accessRoleArn: "STRING_VALUE",
83
84
  * // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
84
85
  * // association: { // FeedAssociation
85
86
  * // associatedResourceName: "STRING_VALUE", // required
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetFixtureRequest, GetFixtureResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetFixtureCommand}.
11
+ */
12
+ export interface GetFixtureCommandInput extends GetFixtureRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetFixtureCommand}.
18
+ */
19
+ export interface GetFixtureCommandOutput extends GetFixtureResponse, __MetadataBearer {
20
+ }
21
+ declare const GetFixtureCommand_base: {
22
+ new (input: GetFixtureCommandInput): import("@smithy/core/client").CommandImpl<GetFixtureCommandInput, GetFixtureCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetFixtureCommandInput): import("@smithy/core/client").CommandImpl<GetFixtureCommandInput, GetFixtureCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves information about the specified fixture (a sports event, such as a specific basketball game). You obtain a fixtureId from SearchFixtures, or from the clipping output of a feed. </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { ElementalInferenceClient, GetFixtureCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
32
+ * // const { ElementalInferenceClient, GetFixtureCommand } = 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 = { // GetFixtureRequest
37
+ * fixtureId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetFixtureCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetFixtureResponse
42
+ * // fixtureId: "STRING_VALUE", // required
43
+ * // name: "STRING_VALUE", // required
44
+ * // fixtureGroup: "STRING_VALUE",
45
+ * // scheduledStart: new Date("TIMESTAMP"),
46
+ * // status: "STRING_VALUE", // required
47
+ * // competitors: [ // CompetitorList // required
48
+ * // { // Competitor
49
+ * // name: "STRING_VALUE",
50
+ * // isHome: true || false,
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetFixtureCommandInput - {@link GetFixtureCommandInput}
58
+ * @returns {@link GetFixtureCommandOutput}
59
+ * @see {@link GetFixtureCommandInput} for command's `input` shape.
60
+ * @see {@link GetFixtureCommandOutput} for command's `response` shape.
61
+ * @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link GatewayTimedOutException} (server fault)
67
+ * <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>
68
+ *
69
+ * @throws {@link InternalServerErrorException} (server fault)
70
+ * <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>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource specified in the action doesn't exist.</p>
74
+ *
75
+ * @throws {@link ServiceUnavailableException} (server fault)
76
+ * <p>The service is temporarily unable to handle the request. Retry the request. If the problem persists, contact AWS Support. </p>
77
+ *
78
+ * @throws {@link TooManyRequestException} (client fault)
79
+ * <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>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <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>
83
+ *
84
+ * @throws {@link ElementalInferenceServiceException}
85
+ * <p>Base exception class for all service exceptions from ElementalInference service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class GetFixtureCommand extends GetFixtureCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: GetFixtureRequest;
95
+ output: GetFixtureResponse;
96
+ };
97
+ sdk: {
98
+ input: GetFixtureCommandInput;
99
+ output: GetFixtureCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -117,6 +117,7 @@ declare const UpdateFeedCommand_base: {
117
117
  * // fromAssociation: true || false,
118
118
  * // },
119
119
  * // ],
120
+ * // accessRoleArn: "STRING_VALUE",
120
121
  * // status: "CREATING" || "AVAILABLE" || "ACTIVE" || "UPDATING" || "DELETING" || "DELETED" || "ARCHIVED", // required
121
122
  * // association: { // FeedAssociation
122
123
  * // associatedResourceName: "STRING_VALUE", // required
@@ -7,6 +7,7 @@ export * from "./DisassociateFeedCommand";
7
7
  export * from "./ExportDictionaryEntriesCommand";
8
8
  export * from "./GetDictionaryCommand";
9
9
  export * from "./GetFeedCommand";
10
+ export * from "./GetFixtureCommand";
10
11
  export * from "./ListDictionariesCommand";
11
12
  export * from "./ListFeedsCommand";
12
13
  export * from "./ListTagsForResourceCommand";
@@ -397,6 +397,11 @@ export interface CreateFeedResponse {
397
397
  * @public
398
398
  */
399
399
  outputs: GetOutput[] | undefined;
400
+ /**
401
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that you specified in the request. This property is absent if you didn't specify an IAM role. </p>
402
+ * @public
403
+ */
404
+ accessRoleArn?: string | undefined;
400
405
  /**
401
406
  * <p>The current status of the feed. After creation of the feed has succeeded, the status will be AVAILABLE. </p>
402
407
  * @public
@@ -743,6 +748,11 @@ export interface GetFeedResponse {
743
748
  * @public
744
749
  */
745
750
  outputs: GetOutput[] | undefined;
751
+ /**
752
+ * <p>The Amazon Resource Name (ARN) of an AWS Identity and Access Management (IAM) role that Elemental Inference assumes. Elemental Inference uses this role to access resources in your account on your behalf. This property is absent if the feed doesn't have an IAM role. </p>
753
+ * @public
754
+ */
755
+ accessRoleArn?: string | undefined;
746
756
  /**
747
757
  * <p>The status of the feed.</p>
748
758
  * @public
@@ -905,6 +915,11 @@ export interface UpdateFeedResponse {
905
915
  * @public
906
916
  */
907
917
  outputs: GetOutput[] | undefined;
918
+ /**
919
+ * <p>The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role for the feed, after the update. This property is absent if the feed doesn't have an IAM role. </p>
920
+ * @public
921
+ */
922
+ accessRoleArn?: string | undefined;
908
923
  /**
909
924
  * <p>The status of the feed.</p>
910
925
  * @public
@@ -921,6 +936,51 @@ export interface UpdateFeedResponse {
921
936
  */
922
937
  tags?: Record<string, string> | undefined;
923
938
  }
939
+ /**
940
+ * @public
941
+ */
942
+ export interface GetFixtureRequest {
943
+ /**
944
+ * <p>The ID of the fixture to retrieve, as returned by SearchFixtures.</p>
945
+ * @public
946
+ */
947
+ fixtureId: string | undefined;
948
+ }
949
+ /**
950
+ * @public
951
+ */
952
+ export interface GetFixtureResponse {
953
+ /**
954
+ * <p>The ID that you specified in the request.</p>
955
+ * @public
956
+ */
957
+ fixtureId: string | undefined;
958
+ /**
959
+ * <p>The name of the fixture, as provided by the data source. For example, the names of the two competing teams. </p>
960
+ * @public
961
+ */
962
+ name: string | undefined;
963
+ /**
964
+ * <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>
965
+ * @public
966
+ */
967
+ fixtureGroup?: string | undefined;
968
+ /**
969
+ * <p>The scheduled start time of the fixture, as provided by the data source. The actual start time might differ. </p>
970
+ * @public
971
+ */
972
+ scheduledStart?: Date | undefined;
973
+ /**
974
+ * <p>The status of the fixture in its lifecycle, as provided by the data source. For example, Scheduled or Completed. </p>
975
+ * @public
976
+ */
977
+ status: string | undefined;
978
+ /**
979
+ * <p>An array of the competitors (the teams or individuals) in the fixture.</p>
980
+ * @public
981
+ */
982
+ competitors: Competitor[] | undefined;
983
+ }
924
984
  /**
925
985
  * @public
926
986
  */
@@ -44,6 +44,8 @@ export declare var GetDictionaryRequest$: StaticStructureSchema;
44
44
  export declare var GetDictionaryResponse$: StaticStructureSchema;
45
45
  export declare var GetFeedRequest$: StaticStructureSchema;
46
46
  export declare var GetFeedResponse$: StaticStructureSchema;
47
+ export declare var GetFixtureRequest$: StaticStructureSchema;
48
+ export declare var GetFixtureResponse$: StaticStructureSchema;
47
49
  export declare var GetOutput$: StaticStructureSchema;
48
50
  export declare var ListDictionariesRequest$: StaticStructureSchema;
49
51
  export declare var ListDictionariesResponse$: StaticStructureSchema;
@@ -73,6 +75,7 @@ export declare var DisassociateFeed$: StaticOperationSchema;
73
75
  export declare var ExportDictionaryEntries$: StaticOperationSchema;
74
76
  export declare var GetDictionary$: StaticOperationSchema;
75
77
  export declare var GetFeed$: StaticOperationSchema;
78
+ export declare var GetFixture$: StaticOperationSchema;
76
79
  export declare var ListDictionaries$: StaticOperationSchema;
77
80
  export declare var ListFeeds$: StaticOperationSchema;
78
81
  export declare var ListTagsForResource$: StaticOperationSchema;
@@ -32,6 +32,7 @@ import {
32
32
  GetDictionaryCommandOutput,
33
33
  } from "./commands/GetDictionaryCommand";
34
34
  import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
35
+ import { GetFixtureCommandInput, GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
35
36
  import {
36
37
  ListDictionariesCommandInput,
37
38
  ListDictionariesCommandOutput,
@@ -169,6 +170,19 @@ export interface ElementalInference {
169
170
  options: __HttpHandlerOptions,
170
171
  cb: (err: any, data?: GetFeedCommandOutput) => void,
171
172
  ): void;
173
+ getFixture(
174
+ args: GetFixtureCommandInput,
175
+ options?: __HttpHandlerOptions,
176
+ ): Promise<GetFixtureCommandOutput>;
177
+ getFixture(
178
+ args: GetFixtureCommandInput,
179
+ cb: (err: any, data?: GetFixtureCommandOutput) => void,
180
+ ): void;
181
+ getFixture(
182
+ args: GetFixtureCommandInput,
183
+ options: __HttpHandlerOptions,
184
+ cb: (err: any, data?: GetFixtureCommandOutput) => void,
185
+ ): void;
172
186
  listDictionaries(): Promise<ListDictionariesCommandOutput>;
173
187
  listDictionaries(
174
188
  args: ListDictionariesCommandInput,
@@ -60,6 +60,7 @@ import {
60
60
  GetDictionaryCommandOutput,
61
61
  } from "./commands/GetDictionaryCommand";
62
62
  import { GetFeedCommandInput, GetFeedCommandOutput } from "./commands/GetFeedCommand";
63
+ import { GetFixtureCommandInput, GetFixtureCommandOutput } from "./commands/GetFixtureCommand";
63
64
  import {
64
65
  ListDictionariesCommandInput,
65
66
  ListDictionariesCommandOutput,
@@ -100,6 +101,7 @@ export type ServiceInputTypes =
100
101
  | ExportDictionaryEntriesCommandInput
101
102
  | GetDictionaryCommandInput
102
103
  | GetFeedCommandInput
104
+ | GetFixtureCommandInput
103
105
  | ListDictionariesCommandInput
104
106
  | ListFeedsCommandInput
105
107
  | ListTagsForResourceCommandInput
@@ -118,6 +120,7 @@ export type ServiceOutputTypes =
118
120
  | ExportDictionaryEntriesCommandOutput
119
121
  | GetDictionaryCommandOutput
120
122
  | GetFeedCommandOutput
123
+ | GetFixtureCommandOutput
121
124
  | ListDictionariesCommandOutput
122
125
  | ListFeedsCommandOutput
123
126
  | ListTagsForResourceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetFixtureRequest, GetFixtureResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetFixtureCommandInput extends GetFixtureRequest {}
5
+ export interface GetFixtureCommandOutput extends GetFixtureResponse, __MetadataBearer {}
6
+ declare const GetFixtureCommand_base: {
7
+ new (
8
+ input: GetFixtureCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetFixtureCommandInput,
11
+ GetFixtureCommandOutput,
12
+ import("..").ElementalInferenceClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetFixtureCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetFixtureCommandInput,
20
+ GetFixtureCommandOutput,
21
+ import("..").ElementalInferenceClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetFixtureCommand extends GetFixtureCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetFixtureRequest;
31
+ output: GetFixtureResponse;
32
+ };
33
+ sdk: {
34
+ input: GetFixtureCommandInput;
35
+ output: GetFixtureCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -7,6 +7,7 @@ export * from "./DisassociateFeedCommand";
7
7
  export * from "./ExportDictionaryEntriesCommand";
8
8
  export * from "./GetDictionaryCommand";
9
9
  export * from "./GetFeedCommand";
10
+ export * from "./GetFixtureCommand";
10
11
  export * from "./ListDictionariesCommand";
11
12
  export * from "./ListFeedsCommand";
12
13
  export * from "./ListTagsForResourceCommand";
@@ -126,6 +126,7 @@ export interface CreateFeedResponse {
126
126
  id: string | undefined;
127
127
  dataEndpoints: string[] | undefined;
128
128
  outputs: GetOutput[] | undefined;
129
+ accessRoleArn?: string | undefined;
129
130
  status: FeedStatus | undefined;
130
131
  association?: FeedAssociation | undefined;
131
132
  tags?: Record<string, string> | undefined;
@@ -212,6 +213,7 @@ export interface GetFeedResponse {
212
213
  id: string | undefined;
213
214
  dataEndpoints: string[] | undefined;
214
215
  outputs: GetOutput[] | undefined;
216
+ accessRoleArn?: string | undefined;
215
217
  status: FeedStatus | undefined;
216
218
  association?: FeedAssociation | undefined;
217
219
  tags?: Record<string, string> | undefined;
@@ -250,10 +252,22 @@ export interface UpdateFeedResponse {
250
252
  id: string | undefined;
251
253
  dataEndpoints: string[] | undefined;
252
254
  outputs: GetOutput[] | undefined;
255
+ accessRoleArn?: string | undefined;
253
256
  status: FeedStatus | undefined;
254
257
  association?: FeedAssociation | undefined;
255
258
  tags?: Record<string, string> | undefined;
256
259
  }
260
+ export interface GetFixtureRequest {
261
+ fixtureId: string | undefined;
262
+ }
263
+ export interface GetFixtureResponse {
264
+ fixtureId: string | undefined;
265
+ name: string | undefined;
266
+ fixtureGroup?: string | undefined;
267
+ scheduledStart?: Date | undefined;
268
+ status: string | undefined;
269
+ competitors: Competitor[] | undefined;
270
+ }
257
271
  export interface ListTagsForResourceRequest {
258
272
  resourceArn: string | undefined;
259
273
  }
@@ -44,6 +44,8 @@ export declare var GetDictionaryRequest$: StaticStructureSchema;
44
44
  export declare var GetDictionaryResponse$: StaticStructureSchema;
45
45
  export declare var GetFeedRequest$: StaticStructureSchema;
46
46
  export declare var GetFeedResponse$: StaticStructureSchema;
47
+ export declare var GetFixtureRequest$: StaticStructureSchema;
48
+ export declare var GetFixtureResponse$: StaticStructureSchema;
47
49
  export declare var GetOutput$: StaticStructureSchema;
48
50
  export declare var ListDictionariesRequest$: StaticStructureSchema;
49
51
  export declare var ListDictionariesResponse$: StaticStructureSchema;
@@ -73,6 +75,7 @@ export declare var DisassociateFeed$: StaticOperationSchema;
73
75
  export declare var ExportDictionaryEntries$: StaticOperationSchema;
74
76
  export declare var GetDictionary$: StaticOperationSchema;
75
77
  export declare var GetFeed$: StaticOperationSchema;
78
+ export declare var GetFixture$: StaticOperationSchema;
76
79
  export declare var ListDictionaries$: StaticOperationSchema;
77
80
  export declare var ListFeeds$: StaticOperationSchema;
78
81
  export declare var ListTagsForResource$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elementalinference",
3
- "version": "3.1115.0",
3
+ "version": "3.1117.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",
@@ -46,13 +46,13 @@
46
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.8",
50
- "@aws-sdk/credential-provider-node": "^3.972.80",
51
- "@aws-sdk/types": "^3.974.4",
52
- "@smithy/core": "^3.31.1",
53
- "@smithy/fetch-http-handler": "^5.6.13",
54
- "@smithy/node-http-handler": "^4.9.13",
55
- "@smithy/types": "^4.16.1",
49
+ "@aws-sdk/core": "^3.977.9",
50
+ "@aws-sdk/credential-provider-node": "^3.972.81",
51
+ "@aws-sdk/types": "^3.974.5",
52
+ "@smithy/core": "^3.33.3",
53
+ "@smithy/fetch-http-handler": "^5.7.2",
54
+ "@smithy/node-http-handler": "^4.11.3",
55
+ "@smithy/types": "^4.17.2",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {