@aws-sdk/client-elementalinference 3.997.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/LICENSE +201 -0
- package/README.md +271 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +362 -0
- package/dist-cjs/models/ElementalInferenceServiceException.js +12 -0
- package/dist-cjs/models/errors.js +98 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +309 -0
- package/dist-es/ElementalInference.js +35 -0
- package/dist-es/ElementalInferenceClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AssociateFeedCommand.js +16 -0
- package/dist-es/commands/CreateFeedCommand.js +16 -0
- package/dist-es/commands/DeleteFeedCommand.js +16 -0
- package/dist-es/commands/DisassociateFeedCommand.js +16 -0
- package/dist-es/commands/GetFeedCommand.js +16 -0
- package/dist-es/commands/ListFeedsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateFeedCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/ElementalInferenceServiceException.js +8 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +88 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFeedsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +306 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForFeedDeleted.js +49 -0
- package/dist-types/ElementalInference.d.ts +95 -0
- package/dist-types/ElementalInferenceClient.d.ts +197 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateFeedCommand.d.ts +111 -0
- package/dist-types/commands/CreateFeedCommand.d.ts +134 -0
- package/dist-types/commands/DeleteFeedCommand.d.ts +94 -0
- package/dist-types/commands/DisassociateFeedCommand.d.ts +95 -0
- package/dist-types/commands/GetFeedCommand.d.ts +112 -0
- package/dist-types/commands/ListFeedsCommand.d.ts +101 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateFeedCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/ElementalInferenceServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +29 -0
- package/dist-types/models/errors.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +563 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFeedsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/ElementalInference.d.ts +200 -0
- package/dist-types/ts3.4/ElementalInferenceClient.d.ts +182 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/ElementalInferenceServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +15 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +153 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFeedsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForFeedDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForFeedDeleted.d.ts +14 -0
- package/package.json +101 -0
|
@@ -0,0 +1,563 @@
|
|
|
1
|
+
import { FeedStatus, OutputStatus } from "./enums";
|
|
2
|
+
/**
|
|
3
|
+
* <p>A type of OutputConfig, used when the output in a feed is for the clip feature.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ClippingConfig {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The metadata that is the result of the clip request to Elemental Inference. </p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
callbackMetadata?: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* <p>A type of OutputConfig, used when the output in a feed is for the crop feature.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface CroppingConfig {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Contains one typed output. It is used in the CreateOutput, GetOutput, and Update Output structures. </p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type OutputConfig = OutputConfig.ClippingMember | OutputConfig.CroppingMember | OutputConfig.$UnknownMember;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export declare namespace OutputConfig {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The output config type that applies to the cropping feature.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
interface CroppingMember {
|
|
33
|
+
cropping: CroppingConfig;
|
|
34
|
+
clipping?: never;
|
|
35
|
+
$unknown?: never;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>The output config type that applies to the clipping feature.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
interface ClippingMember {
|
|
42
|
+
cropping?: never;
|
|
43
|
+
clipping: ClippingConfig;
|
|
44
|
+
$unknown?: never;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
interface $UnknownMember {
|
|
50
|
+
cropping?: never;
|
|
51
|
+
clipping?: never;
|
|
52
|
+
$unknown: [string, any];
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated unused in schema-serde mode.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
interface Visitor<T> {
|
|
59
|
+
cropping: (value: CroppingConfig) => T;
|
|
60
|
+
clipping: (value: ClippingConfig) => T;
|
|
61
|
+
_: (name: string, value: any) => T;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Contains configuration information about one output in a feed. It is used in the AssociateFeed and the CreateFeed actions.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export interface CreateOutput {
|
|
69
|
+
/**
|
|
70
|
+
* <p>A name for the output.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
name: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>A typed property for an output in a feed. It is used in the CreateFeed and AssociateFeed actions. It identifies the action for Elemental Inference to perform. It also provides a repository for the results of that action. For example, CroppingConfig output will contain the metadata for the crop feature. </p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
outputConfig: OutputConfig | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The status to assign to the output.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
status: OutputStatus | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>A description for the output.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
description?: string | undefined;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export interface AssociateFeedRequest {
|
|
94
|
+
/**
|
|
95
|
+
* <p>The ID of the feed.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
id: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>An identifier for the resource. If the resource is from an AWS service, this identifier must be the full ARN of that resource. Otherwise, the identifier is a name that you assign and that is appropriate for the application that owns the resource. This name must not resemble an ARN.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
associatedResourceName?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The outputs to add to this feed. You must specify at least one output. You can later use the UpdateFeed action to change the list of outputs.</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
outputs: CreateOutput[] | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Set to true if you want to do a dry run of the associate action.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
dryRun?: boolean | undefined;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export interface AssociateFeedResponse {
|
|
119
|
+
/**
|
|
120
|
+
* <p>The AWS ARN for this association.</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
arn: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>An ID for this response. It is unique in Elemental Inference for this AWS account.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
id: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export interface CreateFeedRequest {
|
|
134
|
+
/**
|
|
135
|
+
* <p>A name for this feed.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
name: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>An array of outputs for this feed. Each output represents a specific Elemental Inference feature. For example, an output might represent the crop feature. </p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
outputs: CreateOutput[] | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* <p>If you want to include tags, add them now. You won't be able to add them later.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
tags?: Record<string, string> | undefined;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* <p>Contains information about the resource that is associated with a feed. It is used in the FeedSummary that is used in the response of a ListFeeds action.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export interface FeedAssociation {
|
|
155
|
+
/**
|
|
156
|
+
* <p>The name of the associated resource.</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
associatedResourceName: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* <p>Contains configuration information about one output in a feed. It is used in the GetFeed action.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export interface GetOutput {
|
|
166
|
+
/**
|
|
167
|
+
* <p>The ARN of the output.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
name: string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* <p>A typed property for an output in a feed. It is used in the GetFeed action. It identifies the action for Elemental Inference to perform. It also provides a repository for the results of that action. For example, CroppingConfig output will contain the metadata for the crop feature. </p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
outputConfig: OutputConfig | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* <p>The status of the output.</p>
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
180
|
+
status: OutputStatus | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The description of the output.</p>
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
description?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* <p>True means that the output was originally created in the feed by the AssociateFeed operation. False means it was created using CreateFeed or UpdateFeed. You will need this value if you use the UpdateFeed operation to modify the list of outputs in the feed.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
fromAssociation?: boolean | undefined;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export interface CreateFeedResponse {
|
|
196
|
+
/**
|
|
197
|
+
* <p>A unique ARN that Elemental Inference assigns to the feed.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
arn: string | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* <p>The name that you specified.</p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
name: string | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* <p>A unique ID that Elemental Inference assigns to the feed.</p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
id: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* <p>A unique ARN that Elemental Inference assigns to the feed.</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
dataEndpoints: string[] | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* <p>Data endpoints that Elemental Inference assigns to the feed.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
outputs: GetOutput[] | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* <p>The current status of the feed. After creation of the feed has succeeded, the status will be AVAILABLE.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
status: FeedStatus | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* <p>The association for this feed. When you create the feed, this property is empty. You must associate a resource with the feed using AssociateFeed.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
association?: FeedAssociation | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* <p>Any tags that you included when you created the feed.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
tags?: Record<string, string> | undefined;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export interface DeleteFeedRequest {
|
|
241
|
+
/**
|
|
242
|
+
* <p>The ID of the feed.</p>
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
id: string | undefined;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export interface DeleteFeedResponse {
|
|
251
|
+
/**
|
|
252
|
+
* <p>The ARN of the deleted feed.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
arn: string | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* <p>The ID of the deleted feed.</p>
|
|
258
|
+
* @public
|
|
259
|
+
*/
|
|
260
|
+
id: string | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* <p>The current status of the feed. When deletion of the feed has succeeded, the status will be DELETED.</p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
status: FeedStatus | undefined;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
export interface DisassociateFeedRequest {
|
|
271
|
+
/**
|
|
272
|
+
* <p>The ID of the feed where you want to release the resource.</p>
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
id: string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>The name of the resource currently associated with the feed'.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
associatedResourceName?: string | undefined;
|
|
281
|
+
/**
|
|
282
|
+
* <p>Set to true if you want to do a dry run of the disassociate action.</p>
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
dryRun?: boolean | undefined;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
*/
|
|
290
|
+
export interface DisassociateFeedResponse {
|
|
291
|
+
/**
|
|
292
|
+
* <p>The ID of the feed where you deleted the associated resource.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
arn: string | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The ARN of the resource that you deleted.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
id: string | undefined;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
export interface GetFeedRequest {
|
|
306
|
+
/**
|
|
307
|
+
* <p>The ID of the feed to query.</p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
id: string | undefined;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
export interface GetFeedResponse {
|
|
316
|
+
/**
|
|
317
|
+
* <p>The ARN of the feed.</p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
arn: string | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* <p>The name of the feed being queried.</p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
name: string | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p>The ID of the feed being queried.</p>
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
id: string | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* <p>The dataEndpoints of the feed being queried.</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
dataEndpoints: string[] | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>An array of the outputs in the feed being queried.</p>
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
outputs: GetOutput[] | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* <p>The status of the feed being queried.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
status: FeedStatus | undefined;
|
|
346
|
+
/**
|
|
347
|
+
* <p>Information about the resource, if any, associated with the feed being queried.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
association?: FeedAssociation | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p>A list of the tags, if any, for the feed being queried.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
tags?: Record<string, string> | undefined;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
export interface ListFeedsRequest {
|
|
361
|
+
/**
|
|
362
|
+
* <p>The maximum number of results to return per API request.</p> <p>For example, you submit a list request with MaxResults set at 5. Although 20 items match your request, the service returns no more than the first 5 items. (The service also returns a NextToken value that you can use to fetch the next batch of results.)</p> <p>The service might return fewer results than the MaxResults value. If MaxResults is not included in the request, the service defaults to pagination with a maximum of 10 results per page.</p> <p>Valid Range: Minimum value of 1. Maximum value of 1000.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
maxResults?: number | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* <p>The token that identifies the batch of results that you want to see.</p> <p>For example, you submit a ListBridges 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 can submit the ListBridges request a second time and specify the NextToken value.</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
nextToken?: string | undefined;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* <p>Contains configuration information about a feed. It is used in the ListFeeds action.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
export interface FeedSummary {
|
|
377
|
+
/**
|
|
378
|
+
* <p>The ARN of the feed.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
arn: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The ID of the feed.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
id: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The name of the feed</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
name: string | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* <p>The resource, if any, associated with the feed.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
association?: FeedAssociation | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* <p>The status of the feed.</p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
status: FeedStatus | undefined;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
export interface ListFeedsResponse {
|
|
407
|
+
/**
|
|
408
|
+
* <p>A list of feed summaries.</p>
|
|
409
|
+
* @public
|
|
410
|
+
*/
|
|
411
|
+
feeds: FeedSummary[] | undefined;
|
|
412
|
+
/**
|
|
413
|
+
* <p>The token that identifies the batch of results that you want to see. For example, you submit a list 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 can submit the list request a second time and specify the NextToken value.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
nextToken?: string | undefined;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* <p>Contains configuration information about one output in a feed. It is used in the UpdateFeed action.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export interface UpdateOutput {
|
|
423
|
+
/**
|
|
424
|
+
* <p>The name start here</p>
|
|
425
|
+
* @public
|
|
426
|
+
*/
|
|
427
|
+
name: string | undefined;
|
|
428
|
+
/**
|
|
429
|
+
* <p>A typed property for an output in a feed. It is used in the UpdateFeed action. It identifies the action for Elemental Inference to perform. It also provides a repository for the results of that action. For example, CroppingConfig output will contain the metadata for the crop feature. </p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
outputConfig: OutputConfig | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The status of the output.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
status: OutputStatus | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* <p>A description of the output.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
description?: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>This property is set by the service when you add the output to the feed, and indicates how you added the output. True means that you used the AssociateFeed operation. False means that you used the CreateFeed or UpdateFeed operation. Use GetFeed to obtain the value. If the value is True, include this field here with a value of True. If the value is False, omit the field here.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
fromAssociation?: boolean | undefined;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
*/
|
|
452
|
+
export interface UpdateFeedRequest {
|
|
453
|
+
/**
|
|
454
|
+
* <p>Required. You can specify the existing name (to leave it unchanged) or a new name.</p>
|
|
455
|
+
* @public
|
|
456
|
+
*/
|
|
457
|
+
name: string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* <p>The ID of the feed to update.</p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
id: string | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* <p>Required. You can specify the existing array of outputs (to leave outputs unchanged) or you can specify a new array. </p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
outputs: UpdateOutput[] | undefined;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
export interface UpdateFeedResponse {
|
|
473
|
+
/**
|
|
474
|
+
* <p>The ARN of the feed.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
arn: string | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* <p>The updated or original name of the feed.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
name: string | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* <p>The ID of the feed.</p>
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
id: string | undefined;
|
|
488
|
+
/**
|
|
489
|
+
* <p>The data endpoints of the feed.</p>
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
dataEndpoints: string[] | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* <p>The array of outputs in the feed. You might have left this array unchanged, or you might have changed it.</p>
|
|
495
|
+
* @public
|
|
496
|
+
*/
|
|
497
|
+
outputs: GetOutput[] | undefined;
|
|
498
|
+
/**
|
|
499
|
+
* <p>The status of the output.</p>
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
status: FeedStatus | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* <p>True means that the output was originally created in the feed by the AssociateFeed operation. False means it was created using CreateFeed or UpdateFeed. You will need this value if you use the UpdateFeed operation to modify the list of outputs in the feed.</p>
|
|
505
|
+
* @public
|
|
506
|
+
*/
|
|
507
|
+
association?: FeedAssociation | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* <p>The name of the resource currently associated with the feed, if any.</p>
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
tags?: Record<string, string> | undefined;
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
export interface ListTagsForResourceRequest {
|
|
518
|
+
/**
|
|
519
|
+
* <p>The ARN of the resource whose tags you want to query. </p>
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
resourceArn: string | undefined;
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
export interface ListTagsForResourceResponse {
|
|
528
|
+
/**
|
|
529
|
+
* <p>A list of the tags that belong to this resource.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
tags?: Record<string, string> | undefined;
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
export interface TagResourceRequest {
|
|
538
|
+
/**
|
|
539
|
+
* <p>The ARN of the resource where you want to add tags. </p>
|
|
540
|
+
* @public
|
|
541
|
+
*/
|
|
542
|
+
resourceArn: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* <p>A list of tags to add to the resource.</p>
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
tags: Record<string, string> | undefined;
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* @public
|
|
551
|
+
*/
|
|
552
|
+
export interface UntagResourceRequest {
|
|
553
|
+
/**
|
|
554
|
+
* <p>The ARN of the resource where you want to delete one or more tags.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
resourceArn: string | undefined;
|
|
558
|
+
/**
|
|
559
|
+
* <p>The keys of the tags to delete.</p>
|
|
560
|
+
* @public
|
|
561
|
+
*/
|
|
562
|
+
tagKeys: string[] | undefined;
|
|
563
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PaginationConfiguration } from "@smithy/types";
|
|
2
|
+
import { ElementalInferenceClient } from "../ElementalInferenceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ElementalInferencePaginationConfiguration extends PaginationConfiguration {
|
|
7
|
+
client: ElementalInferenceClient;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListFeedsCommandInput, ListFeedsCommandOutput } from "../commands/ListFeedsCommand";
|
|
3
|
+
import { ElementalInferencePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListFeeds: (config: ElementalInferencePaginationConfiguration, input: ListFeedsCommandInput, ...rest: any[]) => Paginator<ListFeedsCommandOutput>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import type { ElementalInferenceClientConfig } from "./ElementalInferenceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: ElementalInferenceClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
15
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
|
+
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
|
|
22
|
+
protocolSettings: {
|
|
23
|
+
defaultNamespace?: string;
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
apiVersion: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
30
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
32
|
+
disableHostPrefix: boolean;
|
|
33
|
+
serviceId: string;
|
|
34
|
+
profile?: string;
|
|
35
|
+
logger: import("@smithy/types").Logger;
|
|
36
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
38
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
40
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
41
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
42
|
+
logger?: import("@smithy/types").Logger;
|
|
43
|
+
}) => import("@smithy/types").EndpointV2;
|
|
44
|
+
tls?: boolean;
|
|
45
|
+
serviceConfiguredEndpoint?: never;
|
|
46
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
47
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
48
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ElementalInferenceHttpAuthSchemeProvider;
|
|
49
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
50
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
51
|
+
signingEscapePath?: boolean;
|
|
52
|
+
systemClockOffset?: number;
|
|
53
|
+
signingRegion?: string;
|
|
54
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
55
|
+
};
|