@aws-sdk/client-elementalinference 3.1154.0 → 3.1156.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 +21 -0
- package/dist-cjs/index.js +164 -1
- package/dist-es/ElementalInference.js +8 -0
- package/dist-es/commands/CreateScheduleActionCommand.js +4 -0
- package/dist-es/commands/DeleteScheduleActionCommand.js +4 -0
- package/dist-es/commands/ListScheduleActionsCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/pagination/ListScheduleActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +116 -0
- package/dist-types/ElementalInference.d.ts +28 -0
- package/dist-types/ElementalInferenceClient.d.ts +7 -3
- package/dist-types/commands/CreateScheduleActionCommand.d.ts +142 -0
- package/dist-types/commands/DeleteScheduleActionCommand.d.ts +90 -0
- package/dist-types/commands/ListScheduleActionsCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +309 -1
- package/dist-types/pagination/ListScheduleActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +58 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateScheduleActionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteScheduleActionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScheduleActionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +110 -0
- package/dist-types/ts3.4/pagination/ListScheduleActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +5 -5
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListScheduleActionsRequest, ListScheduleActionsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListScheduleActionsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListScheduleActionsCommandInput extends ListScheduleActionsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListScheduleActionsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListScheduleActionsCommandOutput extends ListScheduleActionsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListScheduleActionsCommand_base: {
|
|
22
|
+
new (input: ListScheduleActionsCommandInput): import("@smithy/core/client").CommandImpl<ListScheduleActionsCommandInput, ListScheduleActionsCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListScheduleActionsCommandInput): import("@smithy/core/client").CommandImpl<ListScheduleActionsCommandInput, ListScheduleActionsCommandOutput, import("..").ElementalInferenceClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Displays a list of the schedule actions on a feed, including the status of each action and, for a failed action, information about why it failed. </p> <p>Elemental Inference keeps an action whose status is COMPLETED or FAILED for about 48 hours after its scheduled time, and then deletes it automatically. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ElementalInferenceClient, ListScheduleActionsCommand } from "@aws-sdk/client-elementalinference"; // ES Modules import
|
|
32
|
+
* // const { ElementalInferenceClient, ListScheduleActionsCommand } = 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 = { // ListScheduleActionsRequest
|
|
37
|
+
* id: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListScheduleActionsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListScheduleActionsResponse
|
|
44
|
+
* // scheduleActions: [ // ScheduleActionList // required
|
|
45
|
+
* // { // ScheduleAction
|
|
46
|
+
* // actionName: "STRING_VALUE", // required
|
|
47
|
+
* // startConfiguration: { // ScheduleActionStartConfiguration Union: only one key present
|
|
48
|
+
* // fixedModeScheduleActionStartSettings: { // FixedModeScheduleActionStartSettings
|
|
49
|
+
* // scheduledAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // },
|
|
51
|
+
* // },
|
|
52
|
+
* // operations: [ // ScheduleActionOperations // required
|
|
53
|
+
* // { // ScheduleActionOperation Union: only one key present
|
|
54
|
+
* // updateOutputStatus: { // UpdateOutputStatus
|
|
55
|
+
* // outputName: "STRING_VALUE", // required
|
|
56
|
+
* // status: "ENABLED" || "DISABLED", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // updateClippingDataSourceConfiguration: { // UpdateClippingDataSourceConfiguration
|
|
59
|
+
* // outputName: "STRING_VALUE", // required
|
|
60
|
+
* // dataSourceConfiguration: { // DataSourceConfiguration
|
|
61
|
+
* // fixtureId: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // removeClippingDataSourceConfiguration: { // RemoveClippingDataSourceConfiguration
|
|
65
|
+
* // outputName: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // status: "PENDING" || "COMPLETED" || "FAILED", // required
|
|
70
|
+
* // error: { // ScheduleActionError
|
|
71
|
+
* // errorCode: "INVALID_ACTION_TARGET" || "INTERNAL_ERROR", // required
|
|
72
|
+
* // errorMessage: "STRING_VALUE", // required
|
|
73
|
+
* // },
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // nextToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param ListScheduleActionsCommandInput - {@link ListScheduleActionsCommandInput}
|
|
82
|
+
* @returns {@link ListScheduleActionsCommandOutput}
|
|
83
|
+
* @see {@link ListScheduleActionsCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link ListScheduleActionsCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link ElementalInferenceClientResolvedConfig | config} for ElementalInferenceClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
91
|
+
* <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>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>The resource specified in the action doesn't exist.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link TooManyRequestException} (client fault)
|
|
97
|
+
* <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>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <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>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ElementalInferenceServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from ElementalInference service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListScheduleActionsCommand extends ListScheduleActionsCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListScheduleActionsRequest;
|
|
113
|
+
output: ListScheduleActionsResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListScheduleActionsCommandInput;
|
|
117
|
+
output: ListScheduleActionsCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from "./AssociateFeedCommand";
|
|
2
2
|
export * from "./CreateDictionaryCommand";
|
|
3
3
|
export * from "./CreateFeedCommand";
|
|
4
|
+
export * from "./CreateScheduleActionCommand";
|
|
4
5
|
export * from "./DeleteDictionaryCommand";
|
|
5
6
|
export * from "./DeleteFeedCommand";
|
|
6
7
|
export * from "./DeleteFeedPolicyCommand";
|
|
8
|
+
export * from "./DeleteScheduleActionCommand";
|
|
7
9
|
export * from "./DisassociateFeedCommand";
|
|
8
10
|
export * from "./ExportDictionaryEntriesCommand";
|
|
9
11
|
export * from "./GetDictionaryCommand";
|
|
@@ -12,6 +14,7 @@ export * from "./GetFeedPolicyCommand";
|
|
|
12
14
|
export * from "./GetFixtureCommand";
|
|
13
15
|
export * from "./ListDictionariesCommand";
|
|
14
16
|
export * from "./ListFeedsCommand";
|
|
17
|
+
export * from "./ListScheduleActionsCommand";
|
|
15
18
|
export * from "./ListTagsForResourceCommand";
|
|
16
19
|
export * from "./PutFeedPolicyCommand";
|
|
17
20
|
export * from "./SearchFixturesCommand";
|
|
@@ -114,6 +114,31 @@ export declare const FeedStatus: {
|
|
|
114
114
|
* @public
|
|
115
115
|
*/
|
|
116
116
|
export type FeedStatus = (typeof FeedStatus)[keyof typeof FeedStatus];
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @enum
|
|
120
|
+
*/
|
|
121
|
+
export declare const ScheduleActionErrorCode: {
|
|
122
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
123
|
+
readonly INVALID_ACTION_TARGET: "INVALID_ACTION_TARGET";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export type ScheduleActionErrorCode = (typeof ScheduleActionErrorCode)[keyof typeof ScheduleActionErrorCode];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const ScheduleActionStatus: {
|
|
134
|
+
readonly COMPLETED: "COMPLETED";
|
|
135
|
+
readonly FAILED: "FAILED";
|
|
136
|
+
readonly PENDING: "PENDING";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type ScheduleActionStatus = (typeof ScheduleActionStatus)[keyof typeof ScheduleActionStatus];
|
|
117
142
|
/**
|
|
118
143
|
* @public
|
|
119
144
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DataSourceSport, DictionaryLanguage, DictionaryStatus, ExtendedAnalysisMode, FeedStatus, FilterName, OutputStatus, ProfanityFilterMode, SummaryGenerationMode, TranscriptionLanguage } from "./enums";
|
|
1
|
+
import type { DataSourceSport, DictionaryLanguage, DictionaryStatus, ExtendedAnalysisMode, FeedStatus, FilterName, OutputStatus, ProfanityFilterMode, ScheduleActionErrorCode, ScheduleActionStatus, SummaryGenerationMode, 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
|
|
@@ -450,6 +450,223 @@ export interface CreateFeedResponse {
|
|
|
450
450
|
*/
|
|
451
451
|
tags?: Record<string, string> | undefined;
|
|
452
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* <p>Removes the game from an event clipping output at the action's scheduled time. This is a type of ScheduleActionOperation, and the output must be an event clipping output. </p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
export interface RemoveClippingDataSourceConfiguration {
|
|
458
|
+
/**
|
|
459
|
+
* <p>The name of the output that you want to remove the game from.</p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
outputName: string | undefined;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* <p>Attaches a game to an event clipping output at the action's scheduled time. This is a type of ScheduleActionOperation, and the output must be an event clipping output. </p>
|
|
466
|
+
* @public
|
|
467
|
+
*/
|
|
468
|
+
export interface UpdateClippingDataSourceConfiguration {
|
|
469
|
+
/**
|
|
470
|
+
* <p>The name of the output that you want to attach the game to.</p>
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
outputName: string | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* <p>The game that you want to attach to the output.</p>
|
|
476
|
+
* @public
|
|
477
|
+
*/
|
|
478
|
+
dataSourceConfiguration: DataSourceConfiguration | undefined;
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* <p>Enables or disables an output at the action's scheduled time. This is a type of ScheduleActionOperation. </p>
|
|
482
|
+
* @public
|
|
483
|
+
*/
|
|
484
|
+
export interface UpdateOutputStatus {
|
|
485
|
+
/**
|
|
486
|
+
* <p>The name of the output that you want to enable or disable. The output must exist in the feed when you create the action. </p>
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
outputName: string | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* <p>Specifies whether the output is enabled or disabled after the action runs.</p>
|
|
492
|
+
* @public
|
|
493
|
+
*/
|
|
494
|
+
status: OutputStatus | undefined;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* <p>Holds one typed configuration change that a schedule action makes to a feed. Each operation must contain exactly one property. </p>
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
export type ScheduleActionOperation = ScheduleActionOperation.RemoveClippingDataSourceConfigurationMember | ScheduleActionOperation.UpdateClippingDataSourceConfigurationMember | ScheduleActionOperation.UpdateOutputStatusMember | ScheduleActionOperation.$UnknownMember;
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
504
|
+
export declare namespace ScheduleActionOperation {
|
|
505
|
+
/**
|
|
506
|
+
* <p>The operation type that enables or disables an output.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
interface UpdateOutputStatusMember {
|
|
510
|
+
updateOutputStatus: UpdateOutputStatus;
|
|
511
|
+
updateClippingDataSourceConfiguration?: never;
|
|
512
|
+
removeClippingDataSourceConfiguration?: never;
|
|
513
|
+
$unknown?: never;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* <p>The operation type that attaches a game to an event clipping output.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
interface UpdateClippingDataSourceConfigurationMember {
|
|
520
|
+
updateOutputStatus?: never;
|
|
521
|
+
updateClippingDataSourceConfiguration: UpdateClippingDataSourceConfiguration;
|
|
522
|
+
removeClippingDataSourceConfiguration?: never;
|
|
523
|
+
$unknown?: never;
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* <p>The operation type that removes the game from an event clipping output.</p>
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
interface RemoveClippingDataSourceConfigurationMember {
|
|
530
|
+
updateOutputStatus?: never;
|
|
531
|
+
updateClippingDataSourceConfiguration?: never;
|
|
532
|
+
removeClippingDataSourceConfiguration: RemoveClippingDataSourceConfiguration;
|
|
533
|
+
$unknown?: never;
|
|
534
|
+
}
|
|
535
|
+
/**
|
|
536
|
+
* @public
|
|
537
|
+
*/
|
|
538
|
+
interface $UnknownMember {
|
|
539
|
+
updateOutputStatus?: never;
|
|
540
|
+
updateClippingDataSourceConfiguration?: never;
|
|
541
|
+
removeClippingDataSourceConfiguration?: never;
|
|
542
|
+
$unknown: [string, any];
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* @deprecated unused in schema-serde mode.
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
interface Visitor<T> {
|
|
549
|
+
updateOutputStatus: (value: UpdateOutputStatus) => T;
|
|
550
|
+
updateClippingDataSourceConfiguration: (value: UpdateClippingDataSourceConfiguration) => T;
|
|
551
|
+
removeClippingDataSourceConfiguration: (value: RemoveClippingDataSourceConfiguration) => T;
|
|
552
|
+
_: (name: string, value: any) => T;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* <p>Sets the time at which a schedule action runs once. This is a type of ScheduleActionStartConfiguration. </p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
export interface FixedModeScheduleActionStartSettings {
|
|
560
|
+
/**
|
|
561
|
+
* <p>The UTC time at which the action runs. Specify the time in whole seconds. For the range of times that you can specify, see the AWS Elemental Inference User Guide. </p> <p>This time is approximate. The change can take a few minutes to take effect on the media that the feed is processing. </p>
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
scheduledAt: Date | undefined;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* <p>Holds the typed start settings that determine when a schedule action runs. Currently, only fixed mode is supported. </p>
|
|
568
|
+
* @public
|
|
569
|
+
*/
|
|
570
|
+
export type ScheduleActionStartConfiguration = ScheduleActionStartConfiguration.FixedModeScheduleActionStartSettingsMember | ScheduleActionStartConfiguration.$UnknownMember;
|
|
571
|
+
/**
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
export declare namespace ScheduleActionStartConfiguration {
|
|
575
|
+
/**
|
|
576
|
+
* <p>The start settings type for an action that runs once, at a fixed time.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
interface FixedModeScheduleActionStartSettingsMember {
|
|
580
|
+
fixedModeScheduleActionStartSettings: FixedModeScheduleActionStartSettings;
|
|
581
|
+
$unknown?: never;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
interface $UnknownMember {
|
|
587
|
+
fixedModeScheduleActionStartSettings?: never;
|
|
588
|
+
$unknown: [string, any];
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* @deprecated unused in schema-serde mode.
|
|
592
|
+
*
|
|
593
|
+
*/
|
|
594
|
+
interface Visitor<T> {
|
|
595
|
+
fixedModeScheduleActionStartSettings: (value: FixedModeScheduleActionStartSettings) => T;
|
|
596
|
+
_: (name: string, value: any) => T;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
export interface CreateScheduleActionRequest {
|
|
603
|
+
/**
|
|
604
|
+
* <p>Specifies the ID of the feed that you want to add the schedule action to.</p>
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
id: string | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* <p>A name for the schedule action. The name must be unique within the feed. You can reuse the name of an action that you deleted. </p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
actionName: string | undefined;
|
|
613
|
+
/**
|
|
614
|
+
* <p>Specifies when the action runs.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
startConfiguration: ScheduleActionStartConfiguration | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* <p>Specifies the list of configuration changes that you want to make to the feed. Elemental Inference applies all the operations in an action together, in the order that you specify them. If any operation fails, Elemental Inference doesn't apply any of them. </p>
|
|
620
|
+
* @public
|
|
621
|
+
*/
|
|
622
|
+
operations: ScheduleActionOperation[] | undefined;
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* <p>Describes the cause of a schedule action failure, including the failure type and a description of what went wrong. </p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
export interface ScheduleActionError {
|
|
629
|
+
/**
|
|
630
|
+
* <p>The type of failure. Valid values are the following:</p> <dl> <dt>INVALID_ACTION_TARGET</dt> <dd> <p>The action referred to something that didn't exist or wasn't valid at the scheduled time, for example an output that you deleted. </p> </dd> <dt>INTERNAL_ERROR</dt> <dd> <p>An unexpected error prevented the action from completing.</p> </dd> </dl>
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
errorCode: ScheduleActionErrorCode | undefined;
|
|
634
|
+
/**
|
|
635
|
+
* <p>A description of the failure.</p>
|
|
636
|
+
* @public
|
|
637
|
+
*/
|
|
638
|
+
errorMessage: string | undefined;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* @public
|
|
642
|
+
*/
|
|
643
|
+
export interface CreateScheduleActionResponse {
|
|
644
|
+
/**
|
|
645
|
+
* <p>The name that you specified.</p>
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
actionName: string | undefined;
|
|
649
|
+
/**
|
|
650
|
+
* <p>Specifies when the action runs.</p>
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
startConfiguration: ScheduleActionStartConfiguration | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* <p>The configuration changes that the action makes to the feed.</p>
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
operations: ScheduleActionOperation[] | undefined;
|
|
659
|
+
/**
|
|
660
|
+
* <p>The status of the action. After you create the action successfully, Elemental Inference sets the status to PENDING. </p>
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
status: ScheduleActionStatus | undefined;
|
|
664
|
+
/**
|
|
665
|
+
* <p>A description of why the action failed. Elemental Inference returns this property only when the status is FAILED. </p>
|
|
666
|
+
* @public
|
|
667
|
+
*/
|
|
668
|
+
error?: ScheduleActionError | undefined;
|
|
669
|
+
}
|
|
453
670
|
/**
|
|
454
671
|
* @public
|
|
455
672
|
*/
|
|
@@ -520,6 +737,31 @@ export interface DeleteFeedPolicyRequest {
|
|
|
520
737
|
*/
|
|
521
738
|
id: string | undefined;
|
|
522
739
|
}
|
|
740
|
+
/**
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
export interface DeleteScheduleActionRequest {
|
|
744
|
+
/**
|
|
745
|
+
* <p>The ID of the feed that holds the schedule action.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
id: string | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* <p>The name of the schedule action that you want to delete.</p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
actionName: string | undefined;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
*/
|
|
758
|
+
export interface DeleteScheduleActionResponse {
|
|
759
|
+
/**
|
|
760
|
+
* <p>The name of the schedule action that Elemental Inference deleted.</p>
|
|
761
|
+
* @public
|
|
762
|
+
*/
|
|
763
|
+
actionName: string | undefined;
|
|
764
|
+
}
|
|
523
765
|
/**
|
|
524
766
|
* @public
|
|
525
767
|
*/
|
|
@@ -892,6 +1134,72 @@ export interface ListFeedsResponse {
|
|
|
892
1134
|
*/
|
|
893
1135
|
nextToken?: string | undefined;
|
|
894
1136
|
}
|
|
1137
|
+
/**
|
|
1138
|
+
* @public
|
|
1139
|
+
*/
|
|
1140
|
+
export interface ListScheduleActionsRequest {
|
|
1141
|
+
/**
|
|
1142
|
+
* <p>The ID of the feed that you want to query.</p>
|
|
1143
|
+
* @public
|
|
1144
|
+
*/
|
|
1145
|
+
id: string | undefined;
|
|
1146
|
+
/**
|
|
1147
|
+
* <p>The maximum number of results to return for each API request. If you don't specify MaxResults, Elemental Inference returns a maximum of 10 results for each page. </p>
|
|
1148
|
+
* @public
|
|
1149
|
+
*/
|
|
1150
|
+
maxResults?: number | undefined;
|
|
1151
|
+
/**
|
|
1152
|
+
* <p>The token that identifies the batch of results that you want to see. To see the next batch, submit the request a second time and specify the NextToken value that Elemental Inference returned. </p>
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1155
|
+
nextToken?: string | undefined;
|
|
1156
|
+
}
|
|
1157
|
+
/**
|
|
1158
|
+
* <p>Describes one schedule action on a feed, including the changes it makes and whether it has run yet. Elemental Inference returns this structure in the ListScheduleActions operation. </p>
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1161
|
+
export interface ScheduleAction {
|
|
1162
|
+
/**
|
|
1163
|
+
* <p>The name of the schedule action. The name is unique within the feed.</p>
|
|
1164
|
+
* @public
|
|
1165
|
+
*/
|
|
1166
|
+
actionName: string | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>Specifies when the action runs.</p>
|
|
1169
|
+
* @public
|
|
1170
|
+
*/
|
|
1171
|
+
startConfiguration: ScheduleActionStartConfiguration | undefined;
|
|
1172
|
+
/**
|
|
1173
|
+
* <p>The configuration changes that the action makes to the feed.</p>
|
|
1174
|
+
* @public
|
|
1175
|
+
*/
|
|
1176
|
+
operations: ScheduleActionOperation[] | undefined;
|
|
1177
|
+
/**
|
|
1178
|
+
* <p>The status of the action. Valid values are the following:</p> <dl> <dt>PENDING</dt> <dd> <p>The action is waiting for its scheduled time.</p> </dd> <dt>COMPLETED</dt> <dd> <p>Elemental Inference applied all the action's operations to the feed.</p> </dd> <dt>FAILED</dt> <dd> <p>Elemental Inference couldn't apply the action.</p> </dd> </dl>
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1181
|
+
status: ScheduleActionStatus | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>A description of why the action failed. Elemental Inference returns this property only when the status is FAILED. </p>
|
|
1184
|
+
* @public
|
|
1185
|
+
*/
|
|
1186
|
+
error?: ScheduleActionError | undefined;
|
|
1187
|
+
}
|
|
1188
|
+
/**
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
export interface ListScheduleActionsResponse {
|
|
1192
|
+
/**
|
|
1193
|
+
* <p>A list of the schedule actions on the feed.</p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
scheduleActions: ScheduleAction[] | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>The token that identifies the next batch of results. Elemental Inference returns it only when more results are available. </p>
|
|
1199
|
+
* @public
|
|
1200
|
+
*/
|
|
1201
|
+
nextToken?: string | undefined;
|
|
1202
|
+
}
|
|
895
1203
|
/**
|
|
896
1204
|
* @public
|
|
897
1205
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListScheduleActionsCommandInput, ListScheduleActionsCommandOutput } from "../commands/ListScheduleActionsCommand";
|
|
3
|
+
import type { ElementalInferencePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListScheduleActions: (config: ElementalInferencePaginationConfiguration, input: ListScheduleActionsCommandInput, ...rest: any[]) => Paginator<ListScheduleActionsCommandOutput>;
|
|
@@ -27,6 +27,8 @@ export declare var CreateDictionaryResponse$: StaticStructureSchema;
|
|
|
27
27
|
export declare var CreateFeedRequest$: StaticStructureSchema;
|
|
28
28
|
export declare var CreateFeedResponse$: StaticStructureSchema;
|
|
29
29
|
export declare var CreateOutput$: StaticStructureSchema;
|
|
30
|
+
export declare var CreateScheduleActionRequest$: StaticStructureSchema;
|
|
31
|
+
export declare var CreateScheduleActionResponse$: StaticStructureSchema;
|
|
30
32
|
export declare var CroppingConfig$: StaticStructureSchema;
|
|
31
33
|
export declare var DataSourceConfiguration$: StaticStructureSchema;
|
|
32
34
|
export declare var DeleteDictionaryRequest$: StaticStructureSchema;
|
|
@@ -34,6 +36,8 @@ export declare var DeleteDictionaryResponse$: StaticStructureSchema;
|
|
|
34
36
|
export declare var DeleteFeedPolicyRequest$: StaticStructureSchema;
|
|
35
37
|
export declare var DeleteFeedRequest$: StaticStructureSchema;
|
|
36
38
|
export declare var DeleteFeedResponse$: StaticStructureSchema;
|
|
39
|
+
export declare var DeleteScheduleActionRequest$: StaticStructureSchema;
|
|
40
|
+
export declare var DeleteScheduleActionResponse$: StaticStructureSchema;
|
|
37
41
|
export declare var DictionarySummary$: StaticStructureSchema;
|
|
38
42
|
export declare var DisassociateFeedRequest$: StaticStructureSchema;
|
|
39
43
|
export declare var DisassociateFeedResponse$: StaticStructureSchema;
|
|
@@ -41,6 +45,7 @@ export declare var ExportDictionaryEntriesRequest$: StaticStructureSchema;
|
|
|
41
45
|
export declare var ExportDictionaryEntriesResponse$: StaticStructureSchema;
|
|
42
46
|
export declare var FeedAssociation$: StaticStructureSchema;
|
|
43
47
|
export declare var FeedSummary$: StaticStructureSchema;
|
|
48
|
+
export declare var FixedModeScheduleActionStartSettings$: StaticStructureSchema;
|
|
44
49
|
export declare var FixtureSummary$: StaticStructureSchema;
|
|
45
50
|
export declare var GetDictionaryRequest$: StaticStructureSchema;
|
|
46
51
|
export declare var GetDictionaryResponse$: StaticStructureSchema;
|
|
@@ -55,10 +60,15 @@ export declare var ListDictionariesRequest$: StaticStructureSchema;
|
|
|
55
60
|
export declare var ListDictionariesResponse$: StaticStructureSchema;
|
|
56
61
|
export declare var ListFeedsRequest$: StaticStructureSchema;
|
|
57
62
|
export declare var ListFeedsResponse$: StaticStructureSchema;
|
|
63
|
+
export declare var ListScheduleActionsRequest$: StaticStructureSchema;
|
|
64
|
+
export declare var ListScheduleActionsResponse$: StaticStructureSchema;
|
|
58
65
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
59
66
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
60
67
|
export declare var PutFeedPolicyRequest$: StaticStructureSchema;
|
|
61
68
|
export declare var PutFeedPolicyResponse$: StaticStructureSchema;
|
|
69
|
+
export declare var RemoveClippingDataSourceConfiguration$: StaticStructureSchema;
|
|
70
|
+
export declare var ScheduleAction$: StaticStructureSchema;
|
|
71
|
+
export declare var ScheduleActionError$: StaticStructureSchema;
|
|
62
72
|
export declare var SearchFilter$: StaticStructureSchema;
|
|
63
73
|
export declare var SearchFixturesRequest$: StaticStructureSchema;
|
|
64
74
|
export declare var SearchFixturesResponse$: StaticStructureSchema;
|
|
@@ -66,18 +76,24 @@ export declare var SubtitlingConfig$: StaticStructureSchema;
|
|
|
66
76
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
67
77
|
export declare var TemplateGroup$: StaticStructureSchema;
|
|
68
78
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
79
|
+
export declare var UpdateClippingDataSourceConfiguration$: StaticStructureSchema;
|
|
69
80
|
export declare var UpdateDictionaryRequest$: StaticStructureSchema;
|
|
70
81
|
export declare var UpdateDictionaryResponse$: StaticStructureSchema;
|
|
71
82
|
export declare var UpdateFeedRequest$: StaticStructureSchema;
|
|
72
83
|
export declare var UpdateFeedResponse$: StaticStructureSchema;
|
|
73
84
|
export declare var UpdateOutput$: StaticStructureSchema;
|
|
85
|
+
export declare var UpdateOutputStatus$: StaticStructureSchema;
|
|
74
86
|
export declare var OutputConfig$: StaticUnionSchema;
|
|
87
|
+
export declare var ScheduleActionOperation$: StaticUnionSchema;
|
|
88
|
+
export declare var ScheduleActionStartConfiguration$: StaticUnionSchema;
|
|
75
89
|
export declare var AssociateFeed$: StaticOperationSchema;
|
|
76
90
|
export declare var CreateDictionary$: StaticOperationSchema;
|
|
77
91
|
export declare var CreateFeed$: StaticOperationSchema;
|
|
92
|
+
export declare var CreateScheduleAction$: StaticOperationSchema;
|
|
78
93
|
export declare var DeleteDictionary$: StaticOperationSchema;
|
|
79
94
|
export declare var DeleteFeed$: StaticOperationSchema;
|
|
80
95
|
export declare var DeleteFeedPolicy$: StaticOperationSchema;
|
|
96
|
+
export declare var DeleteScheduleAction$: StaticOperationSchema;
|
|
81
97
|
export declare var DisassociateFeed$: StaticOperationSchema;
|
|
82
98
|
export declare var ExportDictionaryEntries$: StaticOperationSchema;
|
|
83
99
|
export declare var GetDictionary$: StaticOperationSchema;
|
|
@@ -86,6 +102,7 @@ export declare var GetFeedPolicy$: StaticOperationSchema;
|
|
|
86
102
|
export declare var GetFixture$: StaticOperationSchema;
|
|
87
103
|
export declare var ListDictionaries$: StaticOperationSchema;
|
|
88
104
|
export declare var ListFeeds$: StaticOperationSchema;
|
|
105
|
+
export declare var ListScheduleActions$: StaticOperationSchema;
|
|
89
106
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
90
107
|
export declare var PutFeedPolicy$: StaticOperationSchema;
|
|
91
108
|
export declare var SearchFixtures$: StaticOperationSchema;
|