@aws-sdk/client-amplifybackend 3.1086.0 → 3.1088.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/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/AmplifyBackend.d.ts +98 -115
- package/dist-types/ts3.4/AmplifyBackendClient.d.ts +10 -32
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -12
- package/dist-types/ts3.4/models/errors.d.ts +3 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -24,10 +24,7 @@ import {
|
|
|
24
24
|
CreateBackendStorageCommandInput,
|
|
25
25
|
CreateBackendStorageCommandOutput,
|
|
26
26
|
} from "./commands/CreateBackendStorageCommand";
|
|
27
|
-
import {
|
|
28
|
-
CreateTokenCommandInput,
|
|
29
|
-
CreateTokenCommandOutput,
|
|
30
|
-
} from "./commands/CreateTokenCommand";
|
|
27
|
+
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
31
28
|
import {
|
|
32
29
|
DeleteBackendAPICommandInput,
|
|
33
30
|
DeleteBackendAPICommandOutput,
|
|
@@ -44,10 +41,7 @@ import {
|
|
|
44
41
|
DeleteBackendStorageCommandInput,
|
|
45
42
|
DeleteBackendStorageCommandOutput,
|
|
46
43
|
} from "./commands/DeleteBackendStorageCommand";
|
|
47
|
-
import {
|
|
48
|
-
DeleteTokenCommandInput,
|
|
49
|
-
DeleteTokenCommandOutput,
|
|
50
|
-
} from "./commands/DeleteTokenCommand";
|
|
44
|
+
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
|
|
51
45
|
import {
|
|
52
46
|
GenerateBackendAPIModelsCommandInput,
|
|
53
47
|
GenerateBackendAPIModelsCommandOutput,
|
|
@@ -64,10 +58,7 @@ import {
|
|
|
64
58
|
GetBackendAuthCommandInput,
|
|
65
59
|
GetBackendAuthCommandOutput,
|
|
66
60
|
} from "./commands/GetBackendAuthCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetBackendCommandInput,
|
|
69
|
-
GetBackendCommandOutput,
|
|
70
|
-
} from "./commands/GetBackendCommand";
|
|
61
|
+
import { GetBackendCommandInput, GetBackendCommandOutput } from "./commands/GetBackendCommand";
|
|
71
62
|
import {
|
|
72
63
|
GetBackendJobCommandInput,
|
|
73
64
|
GetBackendJobCommandOutput,
|
|
@@ -76,10 +67,7 @@ import {
|
|
|
76
67
|
GetBackendStorageCommandInput,
|
|
77
68
|
GetBackendStorageCommandOutput,
|
|
78
69
|
} from "./commands/GetBackendStorageCommand";
|
|
79
|
-
import {
|
|
80
|
-
GetTokenCommandInput,
|
|
81
|
-
GetTokenCommandOutput,
|
|
82
|
-
} from "./commands/GetTokenCommand";
|
|
70
|
+
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
|
|
83
71
|
import {
|
|
84
72
|
ImportBackendAuthCommandInput,
|
|
85
73
|
ImportBackendAuthCommandOutput,
|
|
@@ -127,409 +115,404 @@ import {
|
|
|
127
115
|
export interface AmplifyBackend {
|
|
128
116
|
cloneBackend(
|
|
129
117
|
args: CloneBackendCommandInput,
|
|
130
|
-
options?: __HttpHandlerOptions
|
|
118
|
+
options?: __HttpHandlerOptions,
|
|
131
119
|
): Promise<CloneBackendCommandOutput>;
|
|
132
120
|
cloneBackend(
|
|
133
121
|
args: CloneBackendCommandInput,
|
|
134
|
-
cb: (err: any, data?: CloneBackendCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: CloneBackendCommandOutput) => void,
|
|
135
123
|
): void;
|
|
136
124
|
cloneBackend(
|
|
137
125
|
args: CloneBackendCommandInput,
|
|
138
126
|
options: __HttpHandlerOptions,
|
|
139
|
-
cb: (err: any, data?: CloneBackendCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: CloneBackendCommandOutput) => void,
|
|
140
128
|
): void;
|
|
141
129
|
createBackend(
|
|
142
130
|
args: CreateBackendCommandInput,
|
|
143
|
-
options?: __HttpHandlerOptions
|
|
131
|
+
options?: __HttpHandlerOptions,
|
|
144
132
|
): Promise<CreateBackendCommandOutput>;
|
|
145
133
|
createBackend(
|
|
146
134
|
args: CreateBackendCommandInput,
|
|
147
|
-
cb: (err: any, data?: CreateBackendCommandOutput) => void
|
|
135
|
+
cb: (err: any, data?: CreateBackendCommandOutput) => void,
|
|
148
136
|
): void;
|
|
149
137
|
createBackend(
|
|
150
138
|
args: CreateBackendCommandInput,
|
|
151
139
|
options: __HttpHandlerOptions,
|
|
152
|
-
cb: (err: any, data?: CreateBackendCommandOutput) => void
|
|
140
|
+
cb: (err: any, data?: CreateBackendCommandOutput) => void,
|
|
153
141
|
): void;
|
|
154
142
|
createBackendAPI(
|
|
155
143
|
args: CreateBackendAPICommandInput,
|
|
156
|
-
options?: __HttpHandlerOptions
|
|
144
|
+
options?: __HttpHandlerOptions,
|
|
157
145
|
): Promise<CreateBackendAPICommandOutput>;
|
|
158
146
|
createBackendAPI(
|
|
159
147
|
args: CreateBackendAPICommandInput,
|
|
160
|
-
cb: (err: any, data?: CreateBackendAPICommandOutput) => void
|
|
148
|
+
cb: (err: any, data?: CreateBackendAPICommandOutput) => void,
|
|
161
149
|
): void;
|
|
162
150
|
createBackendAPI(
|
|
163
151
|
args: CreateBackendAPICommandInput,
|
|
164
152
|
options: __HttpHandlerOptions,
|
|
165
|
-
cb: (err: any, data?: CreateBackendAPICommandOutput) => void
|
|
153
|
+
cb: (err: any, data?: CreateBackendAPICommandOutput) => void,
|
|
166
154
|
): void;
|
|
167
155
|
createBackendAuth(
|
|
168
156
|
args: CreateBackendAuthCommandInput,
|
|
169
|
-
options?: __HttpHandlerOptions
|
|
157
|
+
options?: __HttpHandlerOptions,
|
|
170
158
|
): Promise<CreateBackendAuthCommandOutput>;
|
|
171
159
|
createBackendAuth(
|
|
172
160
|
args: CreateBackendAuthCommandInput,
|
|
173
|
-
cb: (err: any, data?: CreateBackendAuthCommandOutput) => void
|
|
161
|
+
cb: (err: any, data?: CreateBackendAuthCommandOutput) => void,
|
|
174
162
|
): void;
|
|
175
163
|
createBackendAuth(
|
|
176
164
|
args: CreateBackendAuthCommandInput,
|
|
177
165
|
options: __HttpHandlerOptions,
|
|
178
|
-
cb: (err: any, data?: CreateBackendAuthCommandOutput) => void
|
|
166
|
+
cb: (err: any, data?: CreateBackendAuthCommandOutput) => void,
|
|
179
167
|
): void;
|
|
180
168
|
createBackendConfig(
|
|
181
169
|
args: CreateBackendConfigCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
170
|
+
options?: __HttpHandlerOptions,
|
|
183
171
|
): Promise<CreateBackendConfigCommandOutput>;
|
|
184
172
|
createBackendConfig(
|
|
185
173
|
args: CreateBackendConfigCommandInput,
|
|
186
|
-
cb: (err: any, data?: CreateBackendConfigCommandOutput) => void
|
|
174
|
+
cb: (err: any, data?: CreateBackendConfigCommandOutput) => void,
|
|
187
175
|
): void;
|
|
188
176
|
createBackendConfig(
|
|
189
177
|
args: CreateBackendConfigCommandInput,
|
|
190
178
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: CreateBackendConfigCommandOutput) => void
|
|
179
|
+
cb: (err: any, data?: CreateBackendConfigCommandOutput) => void,
|
|
192
180
|
): void;
|
|
193
181
|
createBackendStorage(
|
|
194
182
|
args: CreateBackendStorageCommandInput,
|
|
195
|
-
options?: __HttpHandlerOptions
|
|
183
|
+
options?: __HttpHandlerOptions,
|
|
196
184
|
): Promise<CreateBackendStorageCommandOutput>;
|
|
197
185
|
createBackendStorage(
|
|
198
186
|
args: CreateBackendStorageCommandInput,
|
|
199
|
-
cb: (err: any, data?: CreateBackendStorageCommandOutput) => void
|
|
187
|
+
cb: (err: any, data?: CreateBackendStorageCommandOutput) => void,
|
|
200
188
|
): void;
|
|
201
189
|
createBackendStorage(
|
|
202
190
|
args: CreateBackendStorageCommandInput,
|
|
203
191
|
options: __HttpHandlerOptions,
|
|
204
|
-
cb: (err: any, data?: CreateBackendStorageCommandOutput) => void
|
|
192
|
+
cb: (err: any, data?: CreateBackendStorageCommandOutput) => void,
|
|
205
193
|
): void;
|
|
206
194
|
createToken(
|
|
207
195
|
args: CreateTokenCommandInput,
|
|
208
|
-
options?: __HttpHandlerOptions
|
|
196
|
+
options?: __HttpHandlerOptions,
|
|
209
197
|
): Promise<CreateTokenCommandOutput>;
|
|
210
198
|
createToken(
|
|
211
199
|
args: CreateTokenCommandInput,
|
|
212
|
-
cb: (err: any, data?: CreateTokenCommandOutput) => void
|
|
200
|
+
cb: (err: any, data?: CreateTokenCommandOutput) => void,
|
|
213
201
|
): void;
|
|
214
202
|
createToken(
|
|
215
203
|
args: CreateTokenCommandInput,
|
|
216
204
|
options: __HttpHandlerOptions,
|
|
217
|
-
cb: (err: any, data?: CreateTokenCommandOutput) => void
|
|
205
|
+
cb: (err: any, data?: CreateTokenCommandOutput) => void,
|
|
218
206
|
): void;
|
|
219
207
|
deleteBackend(
|
|
220
208
|
args: DeleteBackendCommandInput,
|
|
221
|
-
options?: __HttpHandlerOptions
|
|
209
|
+
options?: __HttpHandlerOptions,
|
|
222
210
|
): Promise<DeleteBackendCommandOutput>;
|
|
223
211
|
deleteBackend(
|
|
224
212
|
args: DeleteBackendCommandInput,
|
|
225
|
-
cb: (err: any, data?: DeleteBackendCommandOutput) => void
|
|
213
|
+
cb: (err: any, data?: DeleteBackendCommandOutput) => void,
|
|
226
214
|
): void;
|
|
227
215
|
deleteBackend(
|
|
228
216
|
args: DeleteBackendCommandInput,
|
|
229
217
|
options: __HttpHandlerOptions,
|
|
230
|
-
cb: (err: any, data?: DeleteBackendCommandOutput) => void
|
|
218
|
+
cb: (err: any, data?: DeleteBackendCommandOutput) => void,
|
|
231
219
|
): void;
|
|
232
220
|
deleteBackendAPI(
|
|
233
221
|
args: DeleteBackendAPICommandInput,
|
|
234
|
-
options?: __HttpHandlerOptions
|
|
222
|
+
options?: __HttpHandlerOptions,
|
|
235
223
|
): Promise<DeleteBackendAPICommandOutput>;
|
|
236
224
|
deleteBackendAPI(
|
|
237
225
|
args: DeleteBackendAPICommandInput,
|
|
238
|
-
cb: (err: any, data?: DeleteBackendAPICommandOutput) => void
|
|
226
|
+
cb: (err: any, data?: DeleteBackendAPICommandOutput) => void,
|
|
239
227
|
): void;
|
|
240
228
|
deleteBackendAPI(
|
|
241
229
|
args: DeleteBackendAPICommandInput,
|
|
242
230
|
options: __HttpHandlerOptions,
|
|
243
|
-
cb: (err: any, data?: DeleteBackendAPICommandOutput) => void
|
|
231
|
+
cb: (err: any, data?: DeleteBackendAPICommandOutput) => void,
|
|
244
232
|
): void;
|
|
245
233
|
deleteBackendAuth(
|
|
246
234
|
args: DeleteBackendAuthCommandInput,
|
|
247
|
-
options?: __HttpHandlerOptions
|
|
235
|
+
options?: __HttpHandlerOptions,
|
|
248
236
|
): Promise<DeleteBackendAuthCommandOutput>;
|
|
249
237
|
deleteBackendAuth(
|
|
250
238
|
args: DeleteBackendAuthCommandInput,
|
|
251
|
-
cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void
|
|
239
|
+
cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void,
|
|
252
240
|
): void;
|
|
253
241
|
deleteBackendAuth(
|
|
254
242
|
args: DeleteBackendAuthCommandInput,
|
|
255
243
|
options: __HttpHandlerOptions,
|
|
256
|
-
cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void
|
|
244
|
+
cb: (err: any, data?: DeleteBackendAuthCommandOutput) => void,
|
|
257
245
|
): void;
|
|
258
246
|
deleteBackendStorage(
|
|
259
247
|
args: DeleteBackendStorageCommandInput,
|
|
260
|
-
options?: __HttpHandlerOptions
|
|
248
|
+
options?: __HttpHandlerOptions,
|
|
261
249
|
): Promise<DeleteBackendStorageCommandOutput>;
|
|
262
250
|
deleteBackendStorage(
|
|
263
251
|
args: DeleteBackendStorageCommandInput,
|
|
264
|
-
cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void
|
|
252
|
+
cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void,
|
|
265
253
|
): void;
|
|
266
254
|
deleteBackendStorage(
|
|
267
255
|
args: DeleteBackendStorageCommandInput,
|
|
268
256
|
options: __HttpHandlerOptions,
|
|
269
|
-
cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void
|
|
257
|
+
cb: (err: any, data?: DeleteBackendStorageCommandOutput) => void,
|
|
270
258
|
): void;
|
|
271
259
|
deleteToken(
|
|
272
260
|
args: DeleteTokenCommandInput,
|
|
273
|
-
options?: __HttpHandlerOptions
|
|
261
|
+
options?: __HttpHandlerOptions,
|
|
274
262
|
): Promise<DeleteTokenCommandOutput>;
|
|
275
263
|
deleteToken(
|
|
276
264
|
args: DeleteTokenCommandInput,
|
|
277
|
-
cb: (err: any, data?: DeleteTokenCommandOutput) => void
|
|
265
|
+
cb: (err: any, data?: DeleteTokenCommandOutput) => void,
|
|
278
266
|
): void;
|
|
279
267
|
deleteToken(
|
|
280
268
|
args: DeleteTokenCommandInput,
|
|
281
269
|
options: __HttpHandlerOptions,
|
|
282
|
-
cb: (err: any, data?: DeleteTokenCommandOutput) => void
|
|
270
|
+
cb: (err: any, data?: DeleteTokenCommandOutput) => void,
|
|
283
271
|
): void;
|
|
284
272
|
generateBackendAPIModels(
|
|
285
273
|
args: GenerateBackendAPIModelsCommandInput,
|
|
286
|
-
options?: __HttpHandlerOptions
|
|
274
|
+
options?: __HttpHandlerOptions,
|
|
287
275
|
): Promise<GenerateBackendAPIModelsCommandOutput>;
|
|
288
276
|
generateBackendAPIModels(
|
|
289
277
|
args: GenerateBackendAPIModelsCommandInput,
|
|
290
|
-
cb: (err: any, data?: GenerateBackendAPIModelsCommandOutput) => void
|
|
278
|
+
cb: (err: any, data?: GenerateBackendAPIModelsCommandOutput) => void,
|
|
291
279
|
): void;
|
|
292
280
|
generateBackendAPIModels(
|
|
293
281
|
args: GenerateBackendAPIModelsCommandInput,
|
|
294
282
|
options: __HttpHandlerOptions,
|
|
295
|
-
cb: (err: any, data?: GenerateBackendAPIModelsCommandOutput) => void
|
|
283
|
+
cb: (err: any, data?: GenerateBackendAPIModelsCommandOutput) => void,
|
|
296
284
|
): void;
|
|
297
285
|
getBackend(
|
|
298
286
|
args: GetBackendCommandInput,
|
|
299
|
-
options?: __HttpHandlerOptions
|
|
287
|
+
options?: __HttpHandlerOptions,
|
|
300
288
|
): Promise<GetBackendCommandOutput>;
|
|
301
289
|
getBackend(
|
|
302
290
|
args: GetBackendCommandInput,
|
|
303
|
-
cb: (err: any, data?: GetBackendCommandOutput) => void
|
|
291
|
+
cb: (err: any, data?: GetBackendCommandOutput) => void,
|
|
304
292
|
): void;
|
|
305
293
|
getBackend(
|
|
306
294
|
args: GetBackendCommandInput,
|
|
307
295
|
options: __HttpHandlerOptions,
|
|
308
|
-
cb: (err: any, data?: GetBackendCommandOutput) => void
|
|
296
|
+
cb: (err: any, data?: GetBackendCommandOutput) => void,
|
|
309
297
|
): void;
|
|
310
298
|
getBackendAPI(
|
|
311
299
|
args: GetBackendAPICommandInput,
|
|
312
|
-
options?: __HttpHandlerOptions
|
|
300
|
+
options?: __HttpHandlerOptions,
|
|
313
301
|
): Promise<GetBackendAPICommandOutput>;
|
|
314
302
|
getBackendAPI(
|
|
315
303
|
args: GetBackendAPICommandInput,
|
|
316
|
-
cb: (err: any, data?: GetBackendAPICommandOutput) => void
|
|
304
|
+
cb: (err: any, data?: GetBackendAPICommandOutput) => void,
|
|
317
305
|
): void;
|
|
318
306
|
getBackendAPI(
|
|
319
307
|
args: GetBackendAPICommandInput,
|
|
320
308
|
options: __HttpHandlerOptions,
|
|
321
|
-
cb: (err: any, data?: GetBackendAPICommandOutput) => void
|
|
309
|
+
cb: (err: any, data?: GetBackendAPICommandOutput) => void,
|
|
322
310
|
): void;
|
|
323
311
|
getBackendAPIModels(
|
|
324
312
|
args: GetBackendAPIModelsCommandInput,
|
|
325
|
-
options?: __HttpHandlerOptions
|
|
313
|
+
options?: __HttpHandlerOptions,
|
|
326
314
|
): Promise<GetBackendAPIModelsCommandOutput>;
|
|
327
315
|
getBackendAPIModels(
|
|
328
316
|
args: GetBackendAPIModelsCommandInput,
|
|
329
|
-
cb: (err: any, data?: GetBackendAPIModelsCommandOutput) => void
|
|
317
|
+
cb: (err: any, data?: GetBackendAPIModelsCommandOutput) => void,
|
|
330
318
|
): void;
|
|
331
319
|
getBackendAPIModels(
|
|
332
320
|
args: GetBackendAPIModelsCommandInput,
|
|
333
321
|
options: __HttpHandlerOptions,
|
|
334
|
-
cb: (err: any, data?: GetBackendAPIModelsCommandOutput) => void
|
|
322
|
+
cb: (err: any, data?: GetBackendAPIModelsCommandOutput) => void,
|
|
335
323
|
): void;
|
|
336
324
|
getBackendAuth(
|
|
337
325
|
args: GetBackendAuthCommandInput,
|
|
338
|
-
options?: __HttpHandlerOptions
|
|
326
|
+
options?: __HttpHandlerOptions,
|
|
339
327
|
): Promise<GetBackendAuthCommandOutput>;
|
|
340
328
|
getBackendAuth(
|
|
341
329
|
args: GetBackendAuthCommandInput,
|
|
342
|
-
cb: (err: any, data?: GetBackendAuthCommandOutput) => void
|
|
330
|
+
cb: (err: any, data?: GetBackendAuthCommandOutput) => void,
|
|
343
331
|
): void;
|
|
344
332
|
getBackendAuth(
|
|
345
333
|
args: GetBackendAuthCommandInput,
|
|
346
334
|
options: __HttpHandlerOptions,
|
|
347
|
-
cb: (err: any, data?: GetBackendAuthCommandOutput) => void
|
|
335
|
+
cb: (err: any, data?: GetBackendAuthCommandOutput) => void,
|
|
348
336
|
): void;
|
|
349
337
|
getBackendJob(
|
|
350
338
|
args: GetBackendJobCommandInput,
|
|
351
|
-
options?: __HttpHandlerOptions
|
|
339
|
+
options?: __HttpHandlerOptions,
|
|
352
340
|
): Promise<GetBackendJobCommandOutput>;
|
|
353
341
|
getBackendJob(
|
|
354
342
|
args: GetBackendJobCommandInput,
|
|
355
|
-
cb: (err: any, data?: GetBackendJobCommandOutput) => void
|
|
343
|
+
cb: (err: any, data?: GetBackendJobCommandOutput) => void,
|
|
356
344
|
): void;
|
|
357
345
|
getBackendJob(
|
|
358
346
|
args: GetBackendJobCommandInput,
|
|
359
347
|
options: __HttpHandlerOptions,
|
|
360
|
-
cb: (err: any, data?: GetBackendJobCommandOutput) => void
|
|
348
|
+
cb: (err: any, data?: GetBackendJobCommandOutput) => void,
|
|
361
349
|
): void;
|
|
362
350
|
getBackendStorage(
|
|
363
351
|
args: GetBackendStorageCommandInput,
|
|
364
|
-
options?: __HttpHandlerOptions
|
|
352
|
+
options?: __HttpHandlerOptions,
|
|
365
353
|
): Promise<GetBackendStorageCommandOutput>;
|
|
366
354
|
getBackendStorage(
|
|
367
355
|
args: GetBackendStorageCommandInput,
|
|
368
|
-
cb: (err: any, data?: GetBackendStorageCommandOutput) => void
|
|
356
|
+
cb: (err: any, data?: GetBackendStorageCommandOutput) => void,
|
|
369
357
|
): void;
|
|
370
358
|
getBackendStorage(
|
|
371
359
|
args: GetBackendStorageCommandInput,
|
|
372
360
|
options: __HttpHandlerOptions,
|
|
373
|
-
cb: (err: any, data?: GetBackendStorageCommandOutput) => void
|
|
361
|
+
cb: (err: any, data?: GetBackendStorageCommandOutput) => void,
|
|
374
362
|
): void;
|
|
375
363
|
getToken(
|
|
376
364
|
args: GetTokenCommandInput,
|
|
377
|
-
options?: __HttpHandlerOptions
|
|
365
|
+
options?: __HttpHandlerOptions,
|
|
378
366
|
): Promise<GetTokenCommandOutput>;
|
|
379
|
-
getToken(
|
|
380
|
-
args: GetTokenCommandInput,
|
|
381
|
-
cb: (err: any, data?: GetTokenCommandOutput) => void
|
|
382
|
-
): void;
|
|
367
|
+
getToken(args: GetTokenCommandInput, cb: (err: any, data?: GetTokenCommandOutput) => void): void;
|
|
383
368
|
getToken(
|
|
384
369
|
args: GetTokenCommandInput,
|
|
385
370
|
options: __HttpHandlerOptions,
|
|
386
|
-
cb: (err: any, data?: GetTokenCommandOutput) => void
|
|
371
|
+
cb: (err: any, data?: GetTokenCommandOutput) => void,
|
|
387
372
|
): void;
|
|
388
373
|
importBackendAuth(
|
|
389
374
|
args: ImportBackendAuthCommandInput,
|
|
390
|
-
options?: __HttpHandlerOptions
|
|
375
|
+
options?: __HttpHandlerOptions,
|
|
391
376
|
): Promise<ImportBackendAuthCommandOutput>;
|
|
392
377
|
importBackendAuth(
|
|
393
378
|
args: ImportBackendAuthCommandInput,
|
|
394
|
-
cb: (err: any, data?: ImportBackendAuthCommandOutput) => void
|
|
379
|
+
cb: (err: any, data?: ImportBackendAuthCommandOutput) => void,
|
|
395
380
|
): void;
|
|
396
381
|
importBackendAuth(
|
|
397
382
|
args: ImportBackendAuthCommandInput,
|
|
398
383
|
options: __HttpHandlerOptions,
|
|
399
|
-
cb: (err: any, data?: ImportBackendAuthCommandOutput) => void
|
|
384
|
+
cb: (err: any, data?: ImportBackendAuthCommandOutput) => void,
|
|
400
385
|
): void;
|
|
401
386
|
importBackendStorage(
|
|
402
387
|
args: ImportBackendStorageCommandInput,
|
|
403
|
-
options?: __HttpHandlerOptions
|
|
388
|
+
options?: __HttpHandlerOptions,
|
|
404
389
|
): Promise<ImportBackendStorageCommandOutput>;
|
|
405
390
|
importBackendStorage(
|
|
406
391
|
args: ImportBackendStorageCommandInput,
|
|
407
|
-
cb: (err: any, data?: ImportBackendStorageCommandOutput) => void
|
|
392
|
+
cb: (err: any, data?: ImportBackendStorageCommandOutput) => void,
|
|
408
393
|
): void;
|
|
409
394
|
importBackendStorage(
|
|
410
395
|
args: ImportBackendStorageCommandInput,
|
|
411
396
|
options: __HttpHandlerOptions,
|
|
412
|
-
cb: (err: any, data?: ImportBackendStorageCommandOutput) => void
|
|
397
|
+
cb: (err: any, data?: ImportBackendStorageCommandOutput) => void,
|
|
413
398
|
): void;
|
|
414
399
|
listBackendJobs(
|
|
415
400
|
args: ListBackendJobsCommandInput,
|
|
416
|
-
options?: __HttpHandlerOptions
|
|
401
|
+
options?: __HttpHandlerOptions,
|
|
417
402
|
): Promise<ListBackendJobsCommandOutput>;
|
|
418
403
|
listBackendJobs(
|
|
419
404
|
args: ListBackendJobsCommandInput,
|
|
420
|
-
cb: (err: any, data?: ListBackendJobsCommandOutput) => void
|
|
405
|
+
cb: (err: any, data?: ListBackendJobsCommandOutput) => void,
|
|
421
406
|
): void;
|
|
422
407
|
listBackendJobs(
|
|
423
408
|
args: ListBackendJobsCommandInput,
|
|
424
409
|
options: __HttpHandlerOptions,
|
|
425
|
-
cb: (err: any, data?: ListBackendJobsCommandOutput) => void
|
|
410
|
+
cb: (err: any, data?: ListBackendJobsCommandOutput) => void,
|
|
426
411
|
): void;
|
|
427
412
|
listS3Buckets(): Promise<ListS3BucketsCommandOutput>;
|
|
428
413
|
listS3Buckets(
|
|
429
414
|
args: ListS3BucketsCommandInput,
|
|
430
|
-
options?: __HttpHandlerOptions
|
|
415
|
+
options?: __HttpHandlerOptions,
|
|
431
416
|
): Promise<ListS3BucketsCommandOutput>;
|
|
432
417
|
listS3Buckets(
|
|
433
418
|
args: ListS3BucketsCommandInput,
|
|
434
|
-
cb: (err: any, data?: ListS3BucketsCommandOutput) => void
|
|
419
|
+
cb: (err: any, data?: ListS3BucketsCommandOutput) => void,
|
|
435
420
|
): void;
|
|
436
421
|
listS3Buckets(
|
|
437
422
|
args: ListS3BucketsCommandInput,
|
|
438
423
|
options: __HttpHandlerOptions,
|
|
439
|
-
cb: (err: any, data?: ListS3BucketsCommandOutput) => void
|
|
424
|
+
cb: (err: any, data?: ListS3BucketsCommandOutput) => void,
|
|
440
425
|
): void;
|
|
441
426
|
removeAllBackends(
|
|
442
427
|
args: RemoveAllBackendsCommandInput,
|
|
443
|
-
options?: __HttpHandlerOptions
|
|
428
|
+
options?: __HttpHandlerOptions,
|
|
444
429
|
): Promise<RemoveAllBackendsCommandOutput>;
|
|
445
430
|
removeAllBackends(
|
|
446
431
|
args: RemoveAllBackendsCommandInput,
|
|
447
|
-
cb: (err: any, data?: RemoveAllBackendsCommandOutput) => void
|
|
432
|
+
cb: (err: any, data?: RemoveAllBackendsCommandOutput) => void,
|
|
448
433
|
): void;
|
|
449
434
|
removeAllBackends(
|
|
450
435
|
args: RemoveAllBackendsCommandInput,
|
|
451
436
|
options: __HttpHandlerOptions,
|
|
452
|
-
cb: (err: any, data?: RemoveAllBackendsCommandOutput) => void
|
|
437
|
+
cb: (err: any, data?: RemoveAllBackendsCommandOutput) => void,
|
|
453
438
|
): void;
|
|
454
439
|
removeBackendConfig(
|
|
455
440
|
args: RemoveBackendConfigCommandInput,
|
|
456
|
-
options?: __HttpHandlerOptions
|
|
441
|
+
options?: __HttpHandlerOptions,
|
|
457
442
|
): Promise<RemoveBackendConfigCommandOutput>;
|
|
458
443
|
removeBackendConfig(
|
|
459
444
|
args: RemoveBackendConfigCommandInput,
|
|
460
|
-
cb: (err: any, data?: RemoveBackendConfigCommandOutput) => void
|
|
445
|
+
cb: (err: any, data?: RemoveBackendConfigCommandOutput) => void,
|
|
461
446
|
): void;
|
|
462
447
|
removeBackendConfig(
|
|
463
448
|
args: RemoveBackendConfigCommandInput,
|
|
464
449
|
options: __HttpHandlerOptions,
|
|
465
|
-
cb: (err: any, data?: RemoveBackendConfigCommandOutput) => void
|
|
450
|
+
cb: (err: any, data?: RemoveBackendConfigCommandOutput) => void,
|
|
466
451
|
): void;
|
|
467
452
|
updateBackendAPI(
|
|
468
453
|
args: UpdateBackendAPICommandInput,
|
|
469
|
-
options?: __HttpHandlerOptions
|
|
454
|
+
options?: __HttpHandlerOptions,
|
|
470
455
|
): Promise<UpdateBackendAPICommandOutput>;
|
|
471
456
|
updateBackendAPI(
|
|
472
457
|
args: UpdateBackendAPICommandInput,
|
|
473
|
-
cb: (err: any, data?: UpdateBackendAPICommandOutput) => void
|
|
458
|
+
cb: (err: any, data?: UpdateBackendAPICommandOutput) => void,
|
|
474
459
|
): void;
|
|
475
460
|
updateBackendAPI(
|
|
476
461
|
args: UpdateBackendAPICommandInput,
|
|
477
462
|
options: __HttpHandlerOptions,
|
|
478
|
-
cb: (err: any, data?: UpdateBackendAPICommandOutput) => void
|
|
463
|
+
cb: (err: any, data?: UpdateBackendAPICommandOutput) => void,
|
|
479
464
|
): void;
|
|
480
465
|
updateBackendAuth(
|
|
481
466
|
args: UpdateBackendAuthCommandInput,
|
|
482
|
-
options?: __HttpHandlerOptions
|
|
467
|
+
options?: __HttpHandlerOptions,
|
|
483
468
|
): Promise<UpdateBackendAuthCommandOutput>;
|
|
484
469
|
updateBackendAuth(
|
|
485
470
|
args: UpdateBackendAuthCommandInput,
|
|
486
|
-
cb: (err: any, data?: UpdateBackendAuthCommandOutput) => void
|
|
471
|
+
cb: (err: any, data?: UpdateBackendAuthCommandOutput) => void,
|
|
487
472
|
): void;
|
|
488
473
|
updateBackendAuth(
|
|
489
474
|
args: UpdateBackendAuthCommandInput,
|
|
490
475
|
options: __HttpHandlerOptions,
|
|
491
|
-
cb: (err: any, data?: UpdateBackendAuthCommandOutput) => void
|
|
476
|
+
cb: (err: any, data?: UpdateBackendAuthCommandOutput) => void,
|
|
492
477
|
): void;
|
|
493
478
|
updateBackendConfig(
|
|
494
479
|
args: UpdateBackendConfigCommandInput,
|
|
495
|
-
options?: __HttpHandlerOptions
|
|
480
|
+
options?: __HttpHandlerOptions,
|
|
496
481
|
): Promise<UpdateBackendConfigCommandOutput>;
|
|
497
482
|
updateBackendConfig(
|
|
498
483
|
args: UpdateBackendConfigCommandInput,
|
|
499
|
-
cb: (err: any, data?: UpdateBackendConfigCommandOutput) => void
|
|
484
|
+
cb: (err: any, data?: UpdateBackendConfigCommandOutput) => void,
|
|
500
485
|
): void;
|
|
501
486
|
updateBackendConfig(
|
|
502
487
|
args: UpdateBackendConfigCommandInput,
|
|
503
488
|
options: __HttpHandlerOptions,
|
|
504
|
-
cb: (err: any, data?: UpdateBackendConfigCommandOutput) => void
|
|
489
|
+
cb: (err: any, data?: UpdateBackendConfigCommandOutput) => void,
|
|
505
490
|
): void;
|
|
506
491
|
updateBackendJob(
|
|
507
492
|
args: UpdateBackendJobCommandInput,
|
|
508
|
-
options?: __HttpHandlerOptions
|
|
493
|
+
options?: __HttpHandlerOptions,
|
|
509
494
|
): Promise<UpdateBackendJobCommandOutput>;
|
|
510
495
|
updateBackendJob(
|
|
511
496
|
args: UpdateBackendJobCommandInput,
|
|
512
|
-
cb: (err: any, data?: UpdateBackendJobCommandOutput) => void
|
|
497
|
+
cb: (err: any, data?: UpdateBackendJobCommandOutput) => void,
|
|
513
498
|
): void;
|
|
514
499
|
updateBackendJob(
|
|
515
500
|
args: UpdateBackendJobCommandInput,
|
|
516
501
|
options: __HttpHandlerOptions,
|
|
517
|
-
cb: (err: any, data?: UpdateBackendJobCommandOutput) => void
|
|
502
|
+
cb: (err: any, data?: UpdateBackendJobCommandOutput) => void,
|
|
518
503
|
): void;
|
|
519
504
|
updateBackendStorage(
|
|
520
505
|
args: UpdateBackendStorageCommandInput,
|
|
521
|
-
options?: __HttpHandlerOptions
|
|
506
|
+
options?: __HttpHandlerOptions,
|
|
522
507
|
): Promise<UpdateBackendStorageCommandOutput>;
|
|
523
508
|
updateBackendStorage(
|
|
524
509
|
args: UpdateBackendStorageCommandInput,
|
|
525
|
-
cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void
|
|
510
|
+
cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void,
|
|
526
511
|
): void;
|
|
527
512
|
updateBackendStorage(
|
|
528
513
|
args: UpdateBackendStorageCommandInput,
|
|
529
514
|
options: __HttpHandlerOptions,
|
|
530
|
-
cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void
|
|
515
|
+
cb: (err: any, data?: UpdateBackendStorageCommandOutput) => void,
|
|
531
516
|
): void;
|
|
532
517
|
}
|
|
533
|
-
export declare class AmplifyBackend
|
|
534
|
-
extends AmplifyBackendClient
|
|
535
|
-
implements AmplifyBackend {}
|
|
518
|
+
export declare class AmplifyBackend extends AmplifyBackendClient implements AmplifyBackend {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -60,10 +57,7 @@ import {
|
|
|
60
57
|
CreateBackendStorageCommandInput,
|
|
61
58
|
CreateBackendStorageCommandOutput,
|
|
62
59
|
} from "./commands/CreateBackendStorageCommand";
|
|
63
|
-
import {
|
|
64
|
-
CreateTokenCommandInput,
|
|
65
|
-
CreateTokenCommandOutput,
|
|
66
|
-
} from "./commands/CreateTokenCommand";
|
|
60
|
+
import { CreateTokenCommandInput, CreateTokenCommandOutput } from "./commands/CreateTokenCommand";
|
|
67
61
|
import {
|
|
68
62
|
DeleteBackendAPICommandInput,
|
|
69
63
|
DeleteBackendAPICommandOutput,
|
|
@@ -80,10 +74,7 @@ import {
|
|
|
80
74
|
DeleteBackendStorageCommandInput,
|
|
81
75
|
DeleteBackendStorageCommandOutput,
|
|
82
76
|
} from "./commands/DeleteBackendStorageCommand";
|
|
83
|
-
import {
|
|
84
|
-
DeleteTokenCommandInput,
|
|
85
|
-
DeleteTokenCommandOutput,
|
|
86
|
-
} from "./commands/DeleteTokenCommand";
|
|
77
|
+
import { DeleteTokenCommandInput, DeleteTokenCommandOutput } from "./commands/DeleteTokenCommand";
|
|
87
78
|
import {
|
|
88
79
|
GenerateBackendAPIModelsCommandInput,
|
|
89
80
|
GenerateBackendAPIModelsCommandOutput,
|
|
@@ -100,10 +91,7 @@ import {
|
|
|
100
91
|
GetBackendAuthCommandInput,
|
|
101
92
|
GetBackendAuthCommandOutput,
|
|
102
93
|
} from "./commands/GetBackendAuthCommand";
|
|
103
|
-
import {
|
|
104
|
-
GetBackendCommandInput,
|
|
105
|
-
GetBackendCommandOutput,
|
|
106
|
-
} from "./commands/GetBackendCommand";
|
|
94
|
+
import { GetBackendCommandInput, GetBackendCommandOutput } from "./commands/GetBackendCommand";
|
|
107
95
|
import {
|
|
108
96
|
GetBackendJobCommandInput,
|
|
109
97
|
GetBackendJobCommandOutput,
|
|
@@ -112,10 +100,7 @@ import {
|
|
|
112
100
|
GetBackendStorageCommandInput,
|
|
113
101
|
GetBackendStorageCommandOutput,
|
|
114
102
|
} from "./commands/GetBackendStorageCommand";
|
|
115
|
-
import {
|
|
116
|
-
GetTokenCommandInput,
|
|
117
|
-
GetTokenCommandOutput,
|
|
118
|
-
} from "./commands/GetTokenCommand";
|
|
103
|
+
import { GetTokenCommandInput, GetTokenCommandOutput } from "./commands/GetTokenCommand";
|
|
119
104
|
import {
|
|
120
105
|
ImportBackendAuthCommandInput,
|
|
121
106
|
ImportBackendAuthCommandOutput,
|
|
@@ -231,8 +216,7 @@ export type ServiceOutputTypes =
|
|
|
231
216
|
| UpdateBackendConfigCommandOutput
|
|
232
217
|
| UpdateBackendJobCommandOutput
|
|
233
218
|
| UpdateBackendStorageCommandOutput;
|
|
234
|
-
export interface ClientDefaults
|
|
235
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
219
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
236
220
|
requestHandler?: __HttpHandlerUserInput;
|
|
237
221
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
238
222
|
urlParser?: __UrlParser;
|
|
@@ -257,9 +241,7 @@ export interface ClientDefaults
|
|
|
257
241
|
extensions?: RuntimeExtension[];
|
|
258
242
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
259
243
|
}
|
|
260
|
-
export type AmplifyBackendClientConfigType = Partial<
|
|
261
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
262
|
-
> &
|
|
244
|
+
export type AmplifyBackendClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
263
245
|
ClientDefaults &
|
|
264
246
|
UserAgentInputConfig &
|
|
265
247
|
RetryInputConfig &
|
|
@@ -268,8 +250,7 @@ export type AmplifyBackendClientConfigType = Partial<
|
|
|
268
250
|
EndpointInputConfig<EndpointParameters> &
|
|
269
251
|
HttpAuthSchemeInputConfig &
|
|
270
252
|
ClientInputEndpointParameters;
|
|
271
|
-
export interface AmplifyBackendClientConfig
|
|
272
|
-
extends AmplifyBackendClientConfigType {}
|
|
253
|
+
export interface AmplifyBackendClientConfig extends AmplifyBackendClientConfigType {}
|
|
273
254
|
export type AmplifyBackendClientResolvedConfigType =
|
|
274
255
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
275
256
|
Required<ClientDefaults> &
|
|
@@ -281,8 +262,7 @@ export type AmplifyBackendClientResolvedConfigType =
|
|
|
281
262
|
EndpointResolvedConfig<EndpointParameters> &
|
|
282
263
|
HttpAuthSchemeResolvedConfig &
|
|
283
264
|
ClientResolvedEndpointParameters;
|
|
284
|
-
export interface AmplifyBackendClientResolvedConfig
|
|
285
|
-
extends AmplifyBackendClientResolvedConfigType {}
|
|
265
|
+
export interface AmplifyBackendClientResolvedConfig extends AmplifyBackendClientResolvedConfigType {}
|
|
286
266
|
export declare class AmplifyBackendClient extends __Client<
|
|
287
267
|
__HttpHandlerOptions,
|
|
288
268
|
ServiceInputTypes,
|
|
@@ -290,8 +270,6 @@ export declare class AmplifyBackendClient extends __Client<
|
|
|
290
270
|
AmplifyBackendClientResolvedConfig
|
|
291
271
|
> {
|
|
292
272
|
readonly config: AmplifyBackendClientResolvedConfig;
|
|
293
|
-
constructor(
|
|
294
|
-
...[configuration]: __CheckOptionalClientConfig<AmplifyBackendClientConfig>
|
|
295
|
-
);
|
|
273
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<AmplifyBackendClientConfig>);
|
|
296
274
|
destroy(): void;
|
|
297
275
|
}
|