@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.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +271 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +362 -0
  7. package/dist-cjs/models/ElementalInferenceServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +98 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +53 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +309 -0
  14. package/dist-es/ElementalInference.js +35 -0
  15. package/dist-es/ElementalInferenceClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AssociateFeedCommand.js +16 -0
  19. package/dist-es/commands/CreateFeedCommand.js +16 -0
  20. package/dist-es/commands/DeleteFeedCommand.js +16 -0
  21. package/dist-es/commands/DisassociateFeedCommand.js +16 -0
  22. package/dist-es/commands/GetFeedCommand.js +16 -0
  23. package/dist-es/commands/ListFeedsCommand.js +16 -0
  24. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  25. package/dist-es/commands/TagResourceCommand.js +16 -0
  26. package/dist-es/commands/UntagResourceCommand.js +16 -0
  27. package/dist-es/commands/UpdateFeedCommand.js +16 -0
  28. package/dist-es/commands/index.js +10 -0
  29. package/dist-es/endpoint/EndpointParameters.js +13 -0
  30. package/dist-es/endpoint/endpointResolver.js +14 -0
  31. package/dist-es/endpoint/ruleset.js +4 -0
  32. package/dist-es/extensionConfiguration.js +1 -0
  33. package/dist-es/index.js +10 -0
  34. package/dist-es/models/ElementalInferenceServiceException.js +8 -0
  35. package/dist-es/models/enums.js +13 -0
  36. package/dist-es/models/errors.js +88 -0
  37. package/dist-es/models/models_0.js +1 -0
  38. package/dist-es/pagination/Interfaces.js +1 -0
  39. package/dist-es/pagination/ListFeedsPaginator.js +4 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/runtimeConfig.browser.js +33 -0
  42. package/dist-es/runtimeConfig.js +48 -0
  43. package/dist-es/runtimeConfig.native.js +11 -0
  44. package/dist-es/runtimeConfig.shared.js +39 -0
  45. package/dist-es/runtimeExtensions.js +9 -0
  46. package/dist-es/schemas/schemas_0.js +306 -0
  47. package/dist-es/waiters/index.js +1 -0
  48. package/dist-es/waiters/waitForFeedDeleted.js +49 -0
  49. package/dist-types/ElementalInference.d.ts +95 -0
  50. package/dist-types/ElementalInferenceClient.d.ts +197 -0
  51. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  52. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  53. package/dist-types/commands/AssociateFeedCommand.d.ts +111 -0
  54. package/dist-types/commands/CreateFeedCommand.d.ts +134 -0
  55. package/dist-types/commands/DeleteFeedCommand.d.ts +94 -0
  56. package/dist-types/commands/DisassociateFeedCommand.d.ts +95 -0
  57. package/dist-types/commands/GetFeedCommand.d.ts +112 -0
  58. package/dist-types/commands/ListFeedsCommand.d.ts +101 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +93 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  62. package/dist-types/commands/UpdateFeedCommand.d.ts +136 -0
  63. package/dist-types/commands/index.d.ts +10 -0
  64. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  65. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  66. package/dist-types/endpoint/ruleset.d.ts +2 -0
  67. package/dist-types/extensionConfiguration.d.ts +9 -0
  68. package/dist-types/index.d.ts +18 -0
  69. package/dist-types/models/ElementalInferenceServiceException.d.ts +14 -0
  70. package/dist-types/models/enums.d.ts +29 -0
  71. package/dist-types/models/errors.d.ts +89 -0
  72. package/dist-types/models/models_0.d.ts +563 -0
  73. package/dist-types/pagination/Interfaces.d.ts +8 -0
  74. package/dist-types/pagination/ListFeedsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +2 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  77. package/dist-types/runtimeConfig.d.ts +55 -0
  78. package/dist-types/runtimeConfig.native.d.ts +54 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/schemas/schemas_0.d.ts +52 -0
  82. package/dist-types/ts3.4/ElementalInference.d.ts +200 -0
  83. package/dist-types/ts3.4/ElementalInferenceClient.d.ts +182 -0
  84. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  85. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  86. package/dist-types/ts3.4/commands/AssociateFeedCommand.d.ts +50 -0
  87. package/dist-types/ts3.4/commands/CreateFeedCommand.d.ts +47 -0
  88. package/dist-types/ts3.4/commands/DeleteFeedCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/DisassociateFeedCommand.d.ts +50 -0
  90. package/dist-types/ts3.4/commands/GetFeedCommand.d.ts +43 -0
  91. package/dist-types/ts3.4/commands/ListFeedsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  94. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  95. package/dist-types/ts3.4/commands/UpdateFeedCommand.d.ts +47 -0
  96. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  97. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  98. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  99. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  100. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  101. package/dist-types/ts3.4/index.d.ts +13 -0
  102. package/dist-types/ts3.4/models/ElementalInferenceServiceException.d.ts +9 -0
  103. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  104. package/dist-types/ts3.4/models/errors.d.ts +52 -0
  105. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  106. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  107. package/dist-types/ts3.4/pagination/ListFeedsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +102 -0
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +106 -0
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +32 -0
  113. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  114. package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
  115. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  116. package/dist-types/ts3.4/waiters/waitForFeedDeleted.d.ts +11 -0
  117. package/dist-types/waiters/index.d.ts +1 -0
  118. package/dist-types/waiters/waitForFeedDeleted.d.ts +14 -0
  119. package/package.json +101 -0
@@ -0,0 +1,309 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateFeed$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListFeeds$ = exports.GetFeed$ = exports.DisassociateFeed$ = exports.DeleteFeed$ = exports.CreateFeed$ = exports.AssociateFeed$ = exports.OutputConfig$ = exports.UpdateOutput$ = exports.UpdateFeedResponse$ = exports.UpdateFeedRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListFeedsResponse$ = exports.ListFeedsRequest$ = exports.GetOutput$ = exports.GetFeedResponse$ = exports.GetFeedRequest$ = exports.FeedSummary$ = exports.FeedAssociation$ = exports.DisassociateFeedResponse$ = exports.DisassociateFeedRequest$ = exports.DeleteFeedResponse$ = exports.DeleteFeedRequest$ = exports.CroppingConfig$ = exports.CreateOutput$ = exports.CreateFeedResponse$ = exports.CreateFeedRequest$ = exports.ClippingConfig$ = exports.AssociateFeedResponse$ = exports.AssociateFeedRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerErrorException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ElementalInferenceServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _AF = "AssociateFeed";
6
+ const _AFR = "AssociateFeedRequest";
7
+ const _AFRs = "AssociateFeedResponse";
8
+ const _CC = "ClippingConfig";
9
+ const _CCr = "CroppingConfig";
10
+ const _CE = "ConflictException";
11
+ const _CF = "CreateFeed";
12
+ const _CFR = "CreateFeedRequest";
13
+ const _CFRr = "CreateFeedResponse";
14
+ const _CO = "CreateOutput";
15
+ const _COL = "CreateOutputList";
16
+ const _DF = "DeleteFeed";
17
+ const _DFR = "DeleteFeedRequest";
18
+ const _DFRe = "DeleteFeedResponse";
19
+ const _DFRi = "DisassociateFeedRequest";
20
+ const _DFRis = "DisassociateFeedResponse";
21
+ const _DFi = "DisassociateFeed";
22
+ const _FA = "FeedAssociation";
23
+ const _FS = "FeedSummary";
24
+ const _FSL = "FeedSummaryList";
25
+ const _GF = "GetFeed";
26
+ const _GFR = "GetFeedRequest";
27
+ const _GFRe = "GetFeedResponse";
28
+ const _GO = "GetOutput";
29
+ const _GOL = "GetOutputList";
30
+ const _ISEE = "InternalServerErrorException";
31
+ const _LF = "ListFeeds";
32
+ const _LFR = "ListFeedsRequest";
33
+ const _LFRi = "ListFeedsResponse";
34
+ const _LTFR = "ListTagsForResource";
35
+ const _LTFRR = "ListTagsForResourceRequest";
36
+ const _LTFRRi = "ListTagsForResourceResponse";
37
+ const _OC = "OutputConfig";
38
+ const _RNFE = "ResourceNotFoundException";
39
+ const _SQEE = "ServiceQuotaExceededException";
40
+ const _TMRE = "TooManyRequestException";
41
+ const _TR = "TagResource";
42
+ const _TRR = "TagResourceRequest";
43
+ const _UF = "UpdateFeed";
44
+ const _UFR = "UpdateFeedRequest";
45
+ const _UFRp = "UpdateFeedResponse";
46
+ const _UO = "UpdateOutput";
47
+ const _UOL = "UpdateOutputList";
48
+ const _UR = "UntagResource";
49
+ const _URR = "UntagResourceRequest";
50
+ const _VE = "ValidationException";
51
+ const _a = "arn";
52
+ const _aRN = "associatedResourceName";
53
+ const _as = "association";
54
+ const _c = "client";
55
+ const _cM = "callbackMetadata";
56
+ const _cl = "clipping";
57
+ const _cr = "cropping";
58
+ const _d = "description";
59
+ const _dE = "dataEndpoints";
60
+ const _dR = "dryRun";
61
+ const _e = "error";
62
+ const _f = "feeds";
63
+ const _fA = "fromAssociation";
64
+ const _h = "http";
65
+ const _hE = "httpError";
66
+ const _hQ = "httpQuery";
67
+ const _i = "id";
68
+ const _m = "message";
69
+ const _mR = "maxResults";
70
+ const _n = "name";
71
+ const _nT = "nextToken";
72
+ const _o = "outputs";
73
+ const _oC = "outputConfig";
74
+ const _rA = "resourceArn";
75
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.elementalinference";
76
+ const _se = "server";
77
+ const _st = "status";
78
+ const _t = "tags";
79
+ const _tK = "tagKeys";
80
+ const n0 = "com.amazonaws.elementalinference";
81
+ const schema_1 = require("@smithy/core/schema");
82
+ const ElementalInferenceServiceException_1 = require("../models/ElementalInferenceServiceException");
83
+ const errors_1 = require("../models/errors");
84
+ const _s_registry = schema_1.TypeRegistry.for(_s);
85
+ exports.ElementalInferenceServiceException$ = [-3, _s, "ElementalInferenceServiceException", 0, [], []];
86
+ _s_registry.registerError(exports.ElementalInferenceServiceException$, ElementalInferenceServiceException_1.ElementalInferenceServiceException);
87
+ const n0_registry = schema_1.TypeRegistry.for(n0);
88
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
89
+ { [_e]: _c, [_hE]: 403 },
90
+ [_m],
91
+ [0], 1
92
+ ];
93
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
94
+ exports.ConflictException$ = [-3, n0, _CE,
95
+ { [_e]: _c, [_hE]: 409 },
96
+ [_m],
97
+ [0], 1
98
+ ];
99
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
100
+ exports.InternalServerErrorException$ = [-3, n0, _ISEE,
101
+ { [_e]: _se, [_hE]: 500 },
102
+ [_m],
103
+ [0], 1
104
+ ];
105
+ n0_registry.registerError(exports.InternalServerErrorException$, errors_1.InternalServerErrorException);
106
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
107
+ { [_e]: _c, [_hE]: 404 },
108
+ [_m],
109
+ [0], 1
110
+ ];
111
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
112
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
113
+ { [_e]: _c, [_hE]: 402 },
114
+ [_m],
115
+ [0], 1
116
+ ];
117
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
118
+ exports.TooManyRequestException$ = [-3, n0, _TMRE,
119
+ { [_e]: _c, [_hE]: 429 },
120
+ [_m],
121
+ [0], 1
122
+ ];
123
+ n0_registry.registerError(exports.TooManyRequestException$, errors_1.TooManyRequestException);
124
+ exports.ValidationException$ = [-3, n0, _VE,
125
+ { [_e]: _c, [_hE]: 400 },
126
+ [_m],
127
+ [0], 1
128
+ ];
129
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
130
+ exports.errorTypeRegistries = [
131
+ _s_registry,
132
+ n0_registry,
133
+ ];
134
+ exports.AssociateFeedRequest$ = [3, n0, _AFR,
135
+ 0,
136
+ [_i, _o, _aRN, _dR],
137
+ [[0, 1], () => CreateOutputList, [0, 4], 2], 2
138
+ ];
139
+ exports.AssociateFeedResponse$ = [3, n0, _AFRs,
140
+ 0,
141
+ [_a, _i],
142
+ [0, 0], 2
143
+ ];
144
+ exports.ClippingConfig$ = [3, n0, _CC,
145
+ 0,
146
+ [_cM],
147
+ [0]
148
+ ];
149
+ exports.CreateFeedRequest$ = [3, n0, _CFR,
150
+ 0,
151
+ [_n, _o, _t],
152
+ [0, () => CreateOutputList, 128 | 0], 2
153
+ ];
154
+ exports.CreateFeedResponse$ = [3, n0, _CFRr,
155
+ 0,
156
+ [_a, _n, _i, _dE, _o, _st, _as, _t],
157
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => exports.FeedAssociation$, 128 | 0], 6
158
+ ];
159
+ exports.CreateOutput$ = [3, n0, _CO,
160
+ 0,
161
+ [_n, _oC, _st, _d],
162
+ [0, () => exports.OutputConfig$, 0, 0], 3
163
+ ];
164
+ exports.CroppingConfig$ = [3, n0, _CCr,
165
+ 0,
166
+ [],
167
+ []
168
+ ];
169
+ exports.DeleteFeedRequest$ = [3, n0, _DFR,
170
+ 0,
171
+ [_i],
172
+ [[0, 1]], 1
173
+ ];
174
+ exports.DeleteFeedResponse$ = [3, n0, _DFRe,
175
+ 0,
176
+ [_a, _i, _st],
177
+ [0, 0, 0], 3
178
+ ];
179
+ exports.DisassociateFeedRequest$ = [3, n0, _DFRi,
180
+ 0,
181
+ [_i, _aRN, _dR],
182
+ [[0, 1], [0, 4], 2], 1
183
+ ];
184
+ exports.DisassociateFeedResponse$ = [3, n0, _DFRis,
185
+ 0,
186
+ [_a, _i],
187
+ [0, 0], 2
188
+ ];
189
+ exports.FeedAssociation$ = [3, n0, _FA,
190
+ 0,
191
+ [_aRN],
192
+ [0], 1
193
+ ];
194
+ exports.FeedSummary$ = [3, n0, _FS,
195
+ 0,
196
+ [_a, _i, _n, _st, _as],
197
+ [0, 0, 0, 0, () => exports.FeedAssociation$], 4
198
+ ];
199
+ exports.GetFeedRequest$ = [3, n0, _GFR,
200
+ 0,
201
+ [_i],
202
+ [[0, 1]], 1
203
+ ];
204
+ exports.GetFeedResponse$ = [3, n0, _GFRe,
205
+ 0,
206
+ [_a, _n, _i, _dE, _o, _st, _as, _t],
207
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => exports.FeedAssociation$, 128 | 0], 6
208
+ ];
209
+ exports.GetOutput$ = [3, n0, _GO,
210
+ 0,
211
+ [_n, _oC, _st, _d, _fA],
212
+ [0, () => exports.OutputConfig$, 0, 0, 2], 3
213
+ ];
214
+ exports.ListFeedsRequest$ = [3, n0, _LFR,
215
+ 0,
216
+ [_mR, _nT],
217
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
218
+ ];
219
+ exports.ListFeedsResponse$ = [3, n0, _LFRi,
220
+ 0,
221
+ [_f, _nT],
222
+ [() => FeedSummaryList, 0], 1
223
+ ];
224
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
225
+ 0,
226
+ [_rA],
227
+ [[0, 1]], 1
228
+ ];
229
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
230
+ 0,
231
+ [_t],
232
+ [128 | 0]
233
+ ];
234
+ exports.TagResourceRequest$ = [3, n0, _TRR,
235
+ 0,
236
+ [_rA, _t],
237
+ [[0, 1], 128 | 0], 2
238
+ ];
239
+ exports.UntagResourceRequest$ = [3, n0, _URR,
240
+ 0,
241
+ [_rA, _tK],
242
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
243
+ ];
244
+ exports.UpdateFeedRequest$ = [3, n0, _UFR,
245
+ 0,
246
+ [_n, _i, _o],
247
+ [0, [0, 1], () => UpdateOutputList], 3
248
+ ];
249
+ exports.UpdateFeedResponse$ = [3, n0, _UFRp,
250
+ 0,
251
+ [_a, _n, _i, _dE, _o, _st, _as, _t],
252
+ [0, 0, 0, 64 | 0, () => GetOutputList, 0, () => exports.FeedAssociation$, 128 | 0], 6
253
+ ];
254
+ exports.UpdateOutput$ = [3, n0, _UO,
255
+ 0,
256
+ [_n, _oC, _st, _d, _fA],
257
+ [0, () => exports.OutputConfig$, 0, 0, 2], 3
258
+ ];
259
+ var __Unit = "unit";
260
+ var CreateOutputList = [1, n0, _COL,
261
+ 0, () => exports.CreateOutput$
262
+ ];
263
+ var FeedSummaryList = [1, n0, _FSL,
264
+ 0, () => exports.FeedSummary$
265
+ ];
266
+ var GetOutputList = [1, n0, _GOL,
267
+ 0, () => exports.GetOutput$
268
+ ];
269
+ var StringList = 64 | 0;
270
+ var TagKeyList = 64 | 0;
271
+ var UpdateOutputList = [1, n0, _UOL,
272
+ 0, () => exports.UpdateOutput$
273
+ ];
274
+ var TagMap = 128 | 0;
275
+ exports.OutputConfig$ = [4, n0, _OC,
276
+ 0,
277
+ [_cr, _cl],
278
+ [() => exports.CroppingConfig$, () => exports.ClippingConfig$]
279
+ ];
280
+ exports.AssociateFeed$ = [9, n0, _AF,
281
+ { [_h]: ["POST", "/v1/feed/{id}/associate", 200] }, () => exports.AssociateFeedRequest$, () => exports.AssociateFeedResponse$
282
+ ];
283
+ exports.CreateFeed$ = [9, n0, _CF,
284
+ { [_h]: ["POST", "/v1/feed", 202] }, () => exports.CreateFeedRequest$, () => exports.CreateFeedResponse$
285
+ ];
286
+ exports.DeleteFeed$ = [9, n0, _DF,
287
+ { [_h]: ["DELETE", "/v1/feed/{id}", 202] }, () => exports.DeleteFeedRequest$, () => exports.DeleteFeedResponse$
288
+ ];
289
+ exports.DisassociateFeed$ = [9, n0, _DFi,
290
+ { [_h]: ["POST", "/v1/feed/{id}/disassociate", 200] }, () => exports.DisassociateFeedRequest$, () => exports.DisassociateFeedResponse$
291
+ ];
292
+ exports.GetFeed$ = [9, n0, _GF,
293
+ { [_h]: ["GET", "/v1/feed/{id}", 200] }, () => exports.GetFeedRequest$, () => exports.GetFeedResponse$
294
+ ];
295
+ exports.ListFeeds$ = [9, n0, _LF,
296
+ { [_h]: ["GET", "/v1/feeds", 200] }, () => exports.ListFeedsRequest$, () => exports.ListFeedsResponse$
297
+ ];
298
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
299
+ { [_h]: ["GET", "/v1/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
300
+ ];
301
+ exports.TagResource$ = [9, n0, _TR,
302
+ { [_h]: ["POST", "/v1/tags/{resourceArn}", 204] }, () => exports.TagResourceRequest$, () => __Unit
303
+ ];
304
+ exports.UntagResource$ = [9, n0, _UR,
305
+ { [_h]: ["DELETE", "/v1/tags/{resourceArn}", 204] }, () => exports.UntagResourceRequest$, () => __Unit
306
+ ];
307
+ exports.UpdateFeed$ = [9, n0, _UF,
308
+ { [_h]: ["PUT", "/v1/feed/{id}", 200] }, () => exports.UpdateFeedRequest$, () => exports.UpdateFeedResponse$
309
+ ];
@@ -0,0 +1,35 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { AssociateFeedCommand, } from "./commands/AssociateFeedCommand";
3
+ import { CreateFeedCommand } from "./commands/CreateFeedCommand";
4
+ import { DeleteFeedCommand } from "./commands/DeleteFeedCommand";
5
+ import { DisassociateFeedCommand, } from "./commands/DisassociateFeedCommand";
6
+ import { GetFeedCommand } from "./commands/GetFeedCommand";
7
+ import { ListFeedsCommand } from "./commands/ListFeedsCommand";
8
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
9
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
10
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
11
+ import { UpdateFeedCommand } from "./commands/UpdateFeedCommand";
12
+ import { ElementalInferenceClient } from "./ElementalInferenceClient";
13
+ import { paginateListFeeds } from "./pagination/ListFeedsPaginator";
14
+ import { waitUntilFeedDeleted } from "./waiters/waitForFeedDeleted";
15
+ const commands = {
16
+ AssociateFeedCommand,
17
+ CreateFeedCommand,
18
+ DeleteFeedCommand,
19
+ DisassociateFeedCommand,
20
+ GetFeedCommand,
21
+ ListFeedsCommand,
22
+ ListTagsForResourceCommand,
23
+ TagResourceCommand,
24
+ UntagResourceCommand,
25
+ UpdateFeedCommand,
26
+ };
27
+ const paginators = {
28
+ paginateListFeeds,
29
+ };
30
+ const waiters = {
31
+ waitUntilFeedDeleted,
32
+ };
33
+ export class ElementalInference extends ElementalInferenceClient {
34
+ }
35
+ createAggregatedClient(commands, ElementalInference, { paginators, waiters });
@@ -0,0 +1,50 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
+ import { Client as __Client, } from "@smithy/smithy-client";
12
+ import { defaultElementalInferenceHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
+ export { __Client };
17
+ export class ElementalInferenceClient extends __Client {
18
+ config;
19
+ constructor(...[configuration]) {
20
+ const _config_0 = __getRuntimeConfig(configuration || {});
21
+ super(_config_0);
22
+ this.initConfig = _config_0;
23
+ const _config_1 = resolveClientEndpointParameters(_config_0);
24
+ const _config_2 = resolveUserAgentConfig(_config_1);
25
+ const _config_3 = resolveRetryConfig(_config_2);
26
+ const _config_4 = resolveRegionConfig(_config_3);
27
+ const _config_5 = resolveHostHeaderConfig(_config_4);
28
+ const _config_6 = resolveEndpointConfig(_config_5);
29
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
30
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
31
+ this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
33
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
34
+ this.middlewareStack.use(getRetryPlugin(this.config));
35
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
36
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
37
+ this.middlewareStack.use(getLoggerPlugin(this.config));
38
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
39
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
40
+ httpAuthSchemeParametersProvider: defaultElementalInferenceHttpAuthSchemeParametersProvider,
41
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
42
+ "aws.auth#sigv4": config.credentials,
43
+ }),
44
+ }));
45
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
46
+ }
47
+ destroy() {
48
+ super.destroy();
49
+ }
50
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,40 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultElementalInferenceHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: await normalizeProvider(config.region)() || (() => {
7
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
8
+ })(),
9
+ };
10
+ };
11
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
12
+ return {
13
+ schemeId: "aws.auth#sigv4",
14
+ signingProperties: {
15
+ name: "elemental-inference",
16
+ region: authParameters.region,
17
+ },
18
+ propertiesExtractor: (config, context) => ({
19
+ signingProperties: {
20
+ config,
21
+ context,
22
+ },
23
+ }),
24
+ };
25
+ }
26
+ export const defaultElementalInferenceHttpAuthSchemeProvider = (authParameters) => {
27
+ const options = [];
28
+ switch (authParameters.operation) {
29
+ default: {
30
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
31
+ }
32
+ }
33
+ return options;
34
+ };
35
+ export const resolveHttpAuthSchemeConfig = (config) => {
36
+ const config_0 = resolveAwsSdkSigV4Config(config);
37
+ return Object.assign(config_0, {
38
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
39
+ });
40
+ };
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { AssociateFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class AssociateFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "AssociateFeed", {})
13
+ .n("ElementalInferenceClient", "AssociateFeedCommand")
14
+ .sc(AssociateFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "CreateFeed", {})
13
+ .n("ElementalInferenceClient", "CreateFeedCommand")
14
+ .sc(CreateFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "DeleteFeed", {})
13
+ .n("ElementalInferenceClient", "DeleteFeedCommand")
14
+ .sc(DeleteFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisassociateFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DisassociateFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "DisassociateFeed", {})
13
+ .n("ElementalInferenceClient", "DisassociateFeedCommand")
14
+ .sc(DisassociateFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "GetFeed", {})
13
+ .n("ElementalInferenceClient", "GetFeedCommand")
14
+ .sc(GetFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListFeeds$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListFeedsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "ListFeeds", {})
13
+ .n("ElementalInferenceClient", "ListFeedsCommand")
14
+ .sc(ListFeeds$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListTagsForResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "ListTagsForResource", {})
13
+ .n("ElementalInferenceClient", "ListTagsForResourceCommand")
14
+ .sc(ListTagsForResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class TagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "TagResource", {})
13
+ .n("ElementalInferenceClient", "TagResourceCommand")
14
+ .sc(TagResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UntagResourceCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "UntagResource", {})
13
+ .n("ElementalInferenceClient", "UntagResourceCommand")
14
+ .sc(UntagResource$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { UpdateFeed$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class UpdateFeedCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ElementalInference", "UpdateFeed", {})
13
+ .n("ElementalInferenceClient", "UpdateFeedCommand")
14
+ .sc(UpdateFeed$)
15
+ .build() {
16
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./AssociateFeedCommand";
2
+ export * from "./CreateFeedCommand";
3
+ export * from "./DeleteFeedCommand";
4
+ export * from "./DisassociateFeedCommand";
5
+ export * from "./GetFeedCommand";
6
+ export * from "./ListFeedsCommand";
7
+ export * from "./ListTagsForResourceCommand";
8
+ export * from "./TagResourceCommand";
9
+ export * from "./UntagResourceCommand";
10
+ export * from "./UpdateFeedCommand";
@@ -0,0 +1,13 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return Object.assign(options, {
3
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
4
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
5
+ defaultSigningName: "elemental-inference",
6
+ });
7
+ };
8
+ export const commonParams = {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };