@aws-sdk/client-cognito-identity 3.1087.0 → 3.1089.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/CognitoIdentity.d.ts +72 -89
- package/dist-types/ts3.4/CognitoIdentityClient.d.ts +7 -20
- 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/CreateIdentityPoolCommand.d.ts +4 -7
- package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +4 -7
- package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetIdCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +4 -8
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +3 -5
- 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 +2 -4
- package/dist-types/ts3.4/models/errors.d.ts +11 -38
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -33
- package/dist-types/ts3.4/runtimeConfig.d.ts +13 -27
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -12
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -73,10 +73,7 @@ import {
|
|
|
73
73
|
SetPrincipalTagAttributeMapCommandInput,
|
|
74
74
|
SetPrincipalTagAttributeMapCommandOutput,
|
|
75
75
|
} from "./commands/SetPrincipalTagAttributeMapCommand";
|
|
76
|
-
import {
|
|
77
|
-
TagResourceCommandInput,
|
|
78
|
-
TagResourceCommandOutput,
|
|
79
|
-
} from "./commands/TagResourceCommand";
|
|
76
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
80
77
|
import {
|
|
81
78
|
UnlinkDeveloperIdentityCommandInput,
|
|
82
79
|
UnlinkDeveloperIdentityCommandOutput,
|
|
@@ -96,317 +93,303 @@ import {
|
|
|
96
93
|
export interface CognitoIdentity {
|
|
97
94
|
createIdentityPool(
|
|
98
95
|
args: CreateIdentityPoolCommandInput,
|
|
99
|
-
options?: __HttpHandlerOptions
|
|
96
|
+
options?: __HttpHandlerOptions,
|
|
100
97
|
): Promise<CreateIdentityPoolCommandOutput>;
|
|
101
98
|
createIdentityPool(
|
|
102
99
|
args: CreateIdentityPoolCommandInput,
|
|
103
|
-
cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void
|
|
100
|
+
cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void,
|
|
104
101
|
): void;
|
|
105
102
|
createIdentityPool(
|
|
106
103
|
args: CreateIdentityPoolCommandInput,
|
|
107
104
|
options: __HttpHandlerOptions,
|
|
108
|
-
cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void
|
|
105
|
+
cb: (err: any, data?: CreateIdentityPoolCommandOutput) => void,
|
|
109
106
|
): void;
|
|
110
107
|
deleteIdentities(
|
|
111
108
|
args: DeleteIdentitiesCommandInput,
|
|
112
|
-
options?: __HttpHandlerOptions
|
|
109
|
+
options?: __HttpHandlerOptions,
|
|
113
110
|
): Promise<DeleteIdentitiesCommandOutput>;
|
|
114
111
|
deleteIdentities(
|
|
115
112
|
args: DeleteIdentitiesCommandInput,
|
|
116
|
-
cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void
|
|
113
|
+
cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void,
|
|
117
114
|
): void;
|
|
118
115
|
deleteIdentities(
|
|
119
116
|
args: DeleteIdentitiesCommandInput,
|
|
120
117
|
options: __HttpHandlerOptions,
|
|
121
|
-
cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void
|
|
118
|
+
cb: (err: any, data?: DeleteIdentitiesCommandOutput) => void,
|
|
122
119
|
): void;
|
|
123
120
|
deleteIdentityPool(
|
|
124
121
|
args: DeleteIdentityPoolCommandInput,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
122
|
+
options?: __HttpHandlerOptions,
|
|
126
123
|
): Promise<DeleteIdentityPoolCommandOutput>;
|
|
127
124
|
deleteIdentityPool(
|
|
128
125
|
args: DeleteIdentityPoolCommandInput,
|
|
129
|
-
cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void
|
|
126
|
+
cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void,
|
|
130
127
|
): void;
|
|
131
128
|
deleteIdentityPool(
|
|
132
129
|
args: DeleteIdentityPoolCommandInput,
|
|
133
130
|
options: __HttpHandlerOptions,
|
|
134
|
-
cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void
|
|
131
|
+
cb: (err: any, data?: DeleteIdentityPoolCommandOutput) => void,
|
|
135
132
|
): void;
|
|
136
133
|
describeIdentity(
|
|
137
134
|
args: DescribeIdentityCommandInput,
|
|
138
|
-
options?: __HttpHandlerOptions
|
|
135
|
+
options?: __HttpHandlerOptions,
|
|
139
136
|
): Promise<DescribeIdentityCommandOutput>;
|
|
140
137
|
describeIdentity(
|
|
141
138
|
args: DescribeIdentityCommandInput,
|
|
142
|
-
cb: (err: any, data?: DescribeIdentityCommandOutput) => void
|
|
139
|
+
cb: (err: any, data?: DescribeIdentityCommandOutput) => void,
|
|
143
140
|
): void;
|
|
144
141
|
describeIdentity(
|
|
145
142
|
args: DescribeIdentityCommandInput,
|
|
146
143
|
options: __HttpHandlerOptions,
|
|
147
|
-
cb: (err: any, data?: DescribeIdentityCommandOutput) => void
|
|
144
|
+
cb: (err: any, data?: DescribeIdentityCommandOutput) => void,
|
|
148
145
|
): void;
|
|
149
146
|
describeIdentityPool(
|
|
150
147
|
args: DescribeIdentityPoolCommandInput,
|
|
151
|
-
options?: __HttpHandlerOptions
|
|
148
|
+
options?: __HttpHandlerOptions,
|
|
152
149
|
): Promise<DescribeIdentityPoolCommandOutput>;
|
|
153
150
|
describeIdentityPool(
|
|
154
151
|
args: DescribeIdentityPoolCommandInput,
|
|
155
|
-
cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void
|
|
152
|
+
cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void,
|
|
156
153
|
): void;
|
|
157
154
|
describeIdentityPool(
|
|
158
155
|
args: DescribeIdentityPoolCommandInput,
|
|
159
156
|
options: __HttpHandlerOptions,
|
|
160
|
-
cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void
|
|
157
|
+
cb: (err: any, data?: DescribeIdentityPoolCommandOutput) => void,
|
|
161
158
|
): void;
|
|
162
159
|
getCredentialsForIdentity(
|
|
163
160
|
args: GetCredentialsForIdentityCommandInput,
|
|
164
|
-
options?: __HttpHandlerOptions
|
|
161
|
+
options?: __HttpHandlerOptions,
|
|
165
162
|
): Promise<GetCredentialsForIdentityCommandOutput>;
|
|
166
163
|
getCredentialsForIdentity(
|
|
167
164
|
args: GetCredentialsForIdentityCommandInput,
|
|
168
|
-
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void
|
|
165
|
+
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void,
|
|
169
166
|
): void;
|
|
170
167
|
getCredentialsForIdentity(
|
|
171
168
|
args: GetCredentialsForIdentityCommandInput,
|
|
172
169
|
options: __HttpHandlerOptions,
|
|
173
|
-
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void
|
|
174
|
-
): void;
|
|
175
|
-
getId(
|
|
176
|
-
args: GetIdCommandInput,
|
|
177
|
-
options?: __HttpHandlerOptions
|
|
178
|
-
): Promise<GetIdCommandOutput>;
|
|
179
|
-
getId(
|
|
180
|
-
args: GetIdCommandInput,
|
|
181
|
-
cb: (err: any, data?: GetIdCommandOutput) => void
|
|
170
|
+
cb: (err: any, data?: GetCredentialsForIdentityCommandOutput) => void,
|
|
182
171
|
): void;
|
|
172
|
+
getId(args: GetIdCommandInput, options?: __HttpHandlerOptions): Promise<GetIdCommandOutput>;
|
|
173
|
+
getId(args: GetIdCommandInput, cb: (err: any, data?: GetIdCommandOutput) => void): void;
|
|
183
174
|
getId(
|
|
184
175
|
args: GetIdCommandInput,
|
|
185
176
|
options: __HttpHandlerOptions,
|
|
186
|
-
cb: (err: any, data?: GetIdCommandOutput) => void
|
|
177
|
+
cb: (err: any, data?: GetIdCommandOutput) => void,
|
|
187
178
|
): void;
|
|
188
179
|
getIdentityPoolRoles(
|
|
189
180
|
args: GetIdentityPoolRolesCommandInput,
|
|
190
|
-
options?: __HttpHandlerOptions
|
|
181
|
+
options?: __HttpHandlerOptions,
|
|
191
182
|
): Promise<GetIdentityPoolRolesCommandOutput>;
|
|
192
183
|
getIdentityPoolRoles(
|
|
193
184
|
args: GetIdentityPoolRolesCommandInput,
|
|
194
|
-
cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void
|
|
185
|
+
cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void,
|
|
195
186
|
): void;
|
|
196
187
|
getIdentityPoolRoles(
|
|
197
188
|
args: GetIdentityPoolRolesCommandInput,
|
|
198
189
|
options: __HttpHandlerOptions,
|
|
199
|
-
cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void
|
|
190
|
+
cb: (err: any, data?: GetIdentityPoolRolesCommandOutput) => void,
|
|
200
191
|
): void;
|
|
201
192
|
getOpenIdToken(
|
|
202
193
|
args: GetOpenIdTokenCommandInput,
|
|
203
|
-
options?: __HttpHandlerOptions
|
|
194
|
+
options?: __HttpHandlerOptions,
|
|
204
195
|
): Promise<GetOpenIdTokenCommandOutput>;
|
|
205
196
|
getOpenIdToken(
|
|
206
197
|
args: GetOpenIdTokenCommandInput,
|
|
207
|
-
cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void
|
|
198
|
+
cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void,
|
|
208
199
|
): void;
|
|
209
200
|
getOpenIdToken(
|
|
210
201
|
args: GetOpenIdTokenCommandInput,
|
|
211
202
|
options: __HttpHandlerOptions,
|
|
212
|
-
cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void
|
|
203
|
+
cb: (err: any, data?: GetOpenIdTokenCommandOutput) => void,
|
|
213
204
|
): void;
|
|
214
205
|
getOpenIdTokenForDeveloperIdentity(
|
|
215
206
|
args: GetOpenIdTokenForDeveloperIdentityCommandInput,
|
|
216
|
-
options?: __HttpHandlerOptions
|
|
207
|
+
options?: __HttpHandlerOptions,
|
|
217
208
|
): Promise<GetOpenIdTokenForDeveloperIdentityCommandOutput>;
|
|
218
209
|
getOpenIdTokenForDeveloperIdentity(
|
|
219
210
|
args: GetOpenIdTokenForDeveloperIdentityCommandInput,
|
|
220
|
-
cb: (
|
|
221
|
-
err: any,
|
|
222
|
-
data?: GetOpenIdTokenForDeveloperIdentityCommandOutput
|
|
223
|
-
) => void
|
|
211
|
+
cb: (err: any, data?: GetOpenIdTokenForDeveloperIdentityCommandOutput) => void,
|
|
224
212
|
): void;
|
|
225
213
|
getOpenIdTokenForDeveloperIdentity(
|
|
226
214
|
args: GetOpenIdTokenForDeveloperIdentityCommandInput,
|
|
227
215
|
options: __HttpHandlerOptions,
|
|
228
|
-
cb: (
|
|
229
|
-
err: any,
|
|
230
|
-
data?: GetOpenIdTokenForDeveloperIdentityCommandOutput
|
|
231
|
-
) => void
|
|
216
|
+
cb: (err: any, data?: GetOpenIdTokenForDeveloperIdentityCommandOutput) => void,
|
|
232
217
|
): void;
|
|
233
218
|
getPrincipalTagAttributeMap(
|
|
234
219
|
args: GetPrincipalTagAttributeMapCommandInput,
|
|
235
|
-
options?: __HttpHandlerOptions
|
|
220
|
+
options?: __HttpHandlerOptions,
|
|
236
221
|
): Promise<GetPrincipalTagAttributeMapCommandOutput>;
|
|
237
222
|
getPrincipalTagAttributeMap(
|
|
238
223
|
args: GetPrincipalTagAttributeMapCommandInput,
|
|
239
|
-
cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void
|
|
224
|
+
cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void,
|
|
240
225
|
): void;
|
|
241
226
|
getPrincipalTagAttributeMap(
|
|
242
227
|
args: GetPrincipalTagAttributeMapCommandInput,
|
|
243
228
|
options: __HttpHandlerOptions,
|
|
244
|
-
cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void
|
|
229
|
+
cb: (err: any, data?: GetPrincipalTagAttributeMapCommandOutput) => void,
|
|
245
230
|
): void;
|
|
246
231
|
listIdentities(
|
|
247
232
|
args: ListIdentitiesCommandInput,
|
|
248
|
-
options?: __HttpHandlerOptions
|
|
233
|
+
options?: __HttpHandlerOptions,
|
|
249
234
|
): Promise<ListIdentitiesCommandOutput>;
|
|
250
235
|
listIdentities(
|
|
251
236
|
args: ListIdentitiesCommandInput,
|
|
252
|
-
cb: (err: any, data?: ListIdentitiesCommandOutput) => void
|
|
237
|
+
cb: (err: any, data?: ListIdentitiesCommandOutput) => void,
|
|
253
238
|
): void;
|
|
254
239
|
listIdentities(
|
|
255
240
|
args: ListIdentitiesCommandInput,
|
|
256
241
|
options: __HttpHandlerOptions,
|
|
257
|
-
cb: (err: any, data?: ListIdentitiesCommandOutput) => void
|
|
242
|
+
cb: (err: any, data?: ListIdentitiesCommandOutput) => void,
|
|
258
243
|
): void;
|
|
259
244
|
listIdentityPools(
|
|
260
245
|
args: ListIdentityPoolsCommandInput,
|
|
261
|
-
options?: __HttpHandlerOptions
|
|
246
|
+
options?: __HttpHandlerOptions,
|
|
262
247
|
): Promise<ListIdentityPoolsCommandOutput>;
|
|
263
248
|
listIdentityPools(
|
|
264
249
|
args: ListIdentityPoolsCommandInput,
|
|
265
|
-
cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void
|
|
250
|
+
cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void,
|
|
266
251
|
): void;
|
|
267
252
|
listIdentityPools(
|
|
268
253
|
args: ListIdentityPoolsCommandInput,
|
|
269
254
|
options: __HttpHandlerOptions,
|
|
270
|
-
cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void
|
|
255
|
+
cb: (err: any, data?: ListIdentityPoolsCommandOutput) => void,
|
|
271
256
|
): void;
|
|
272
257
|
listTagsForResource(
|
|
273
258
|
args: ListTagsForResourceCommandInput,
|
|
274
|
-
options?: __HttpHandlerOptions
|
|
259
|
+
options?: __HttpHandlerOptions,
|
|
275
260
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
276
261
|
listTagsForResource(
|
|
277
262
|
args: ListTagsForResourceCommandInput,
|
|
278
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
263
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
279
264
|
): void;
|
|
280
265
|
listTagsForResource(
|
|
281
266
|
args: ListTagsForResourceCommandInput,
|
|
282
267
|
options: __HttpHandlerOptions,
|
|
283
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
268
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
284
269
|
): void;
|
|
285
270
|
lookupDeveloperIdentity(
|
|
286
271
|
args: LookupDeveloperIdentityCommandInput,
|
|
287
|
-
options?: __HttpHandlerOptions
|
|
272
|
+
options?: __HttpHandlerOptions,
|
|
288
273
|
): Promise<LookupDeveloperIdentityCommandOutput>;
|
|
289
274
|
lookupDeveloperIdentity(
|
|
290
275
|
args: LookupDeveloperIdentityCommandInput,
|
|
291
|
-
cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void
|
|
276
|
+
cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void,
|
|
292
277
|
): void;
|
|
293
278
|
lookupDeveloperIdentity(
|
|
294
279
|
args: LookupDeveloperIdentityCommandInput,
|
|
295
280
|
options: __HttpHandlerOptions,
|
|
296
|
-
cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void
|
|
281
|
+
cb: (err: any, data?: LookupDeveloperIdentityCommandOutput) => void,
|
|
297
282
|
): void;
|
|
298
283
|
mergeDeveloperIdentities(
|
|
299
284
|
args: MergeDeveloperIdentitiesCommandInput,
|
|
300
|
-
options?: __HttpHandlerOptions
|
|
285
|
+
options?: __HttpHandlerOptions,
|
|
301
286
|
): Promise<MergeDeveloperIdentitiesCommandOutput>;
|
|
302
287
|
mergeDeveloperIdentities(
|
|
303
288
|
args: MergeDeveloperIdentitiesCommandInput,
|
|
304
|
-
cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void
|
|
289
|
+
cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void,
|
|
305
290
|
): void;
|
|
306
291
|
mergeDeveloperIdentities(
|
|
307
292
|
args: MergeDeveloperIdentitiesCommandInput,
|
|
308
293
|
options: __HttpHandlerOptions,
|
|
309
|
-
cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void
|
|
294
|
+
cb: (err: any, data?: MergeDeveloperIdentitiesCommandOutput) => void,
|
|
310
295
|
): void;
|
|
311
296
|
setIdentityPoolRoles(
|
|
312
297
|
args: SetIdentityPoolRolesCommandInput,
|
|
313
|
-
options?: __HttpHandlerOptions
|
|
298
|
+
options?: __HttpHandlerOptions,
|
|
314
299
|
): Promise<SetIdentityPoolRolesCommandOutput>;
|
|
315
300
|
setIdentityPoolRoles(
|
|
316
301
|
args: SetIdentityPoolRolesCommandInput,
|
|
317
|
-
cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void
|
|
302
|
+
cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void,
|
|
318
303
|
): void;
|
|
319
304
|
setIdentityPoolRoles(
|
|
320
305
|
args: SetIdentityPoolRolesCommandInput,
|
|
321
306
|
options: __HttpHandlerOptions,
|
|
322
|
-
cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void
|
|
307
|
+
cb: (err: any, data?: SetIdentityPoolRolesCommandOutput) => void,
|
|
323
308
|
): void;
|
|
324
309
|
setPrincipalTagAttributeMap(
|
|
325
310
|
args: SetPrincipalTagAttributeMapCommandInput,
|
|
326
|
-
options?: __HttpHandlerOptions
|
|
311
|
+
options?: __HttpHandlerOptions,
|
|
327
312
|
): Promise<SetPrincipalTagAttributeMapCommandOutput>;
|
|
328
313
|
setPrincipalTagAttributeMap(
|
|
329
314
|
args: SetPrincipalTagAttributeMapCommandInput,
|
|
330
|
-
cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void
|
|
315
|
+
cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void,
|
|
331
316
|
): void;
|
|
332
317
|
setPrincipalTagAttributeMap(
|
|
333
318
|
args: SetPrincipalTagAttributeMapCommandInput,
|
|
334
319
|
options: __HttpHandlerOptions,
|
|
335
|
-
cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void
|
|
320
|
+
cb: (err: any, data?: SetPrincipalTagAttributeMapCommandOutput) => void,
|
|
336
321
|
): void;
|
|
337
322
|
tagResource(
|
|
338
323
|
args: TagResourceCommandInput,
|
|
339
|
-
options?: __HttpHandlerOptions
|
|
324
|
+
options?: __HttpHandlerOptions,
|
|
340
325
|
): Promise<TagResourceCommandOutput>;
|
|
341
326
|
tagResource(
|
|
342
327
|
args: TagResourceCommandInput,
|
|
343
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
328
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
344
329
|
): void;
|
|
345
330
|
tagResource(
|
|
346
331
|
args: TagResourceCommandInput,
|
|
347
332
|
options: __HttpHandlerOptions,
|
|
348
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
333
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
349
334
|
): void;
|
|
350
335
|
unlinkDeveloperIdentity(
|
|
351
336
|
args: UnlinkDeveloperIdentityCommandInput,
|
|
352
|
-
options?: __HttpHandlerOptions
|
|
337
|
+
options?: __HttpHandlerOptions,
|
|
353
338
|
): Promise<UnlinkDeveloperIdentityCommandOutput>;
|
|
354
339
|
unlinkDeveloperIdentity(
|
|
355
340
|
args: UnlinkDeveloperIdentityCommandInput,
|
|
356
|
-
cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void
|
|
341
|
+
cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void,
|
|
357
342
|
): void;
|
|
358
343
|
unlinkDeveloperIdentity(
|
|
359
344
|
args: UnlinkDeveloperIdentityCommandInput,
|
|
360
345
|
options: __HttpHandlerOptions,
|
|
361
|
-
cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void
|
|
346
|
+
cb: (err: any, data?: UnlinkDeveloperIdentityCommandOutput) => void,
|
|
362
347
|
): void;
|
|
363
348
|
unlinkIdentity(
|
|
364
349
|
args: UnlinkIdentityCommandInput,
|
|
365
|
-
options?: __HttpHandlerOptions
|
|
350
|
+
options?: __HttpHandlerOptions,
|
|
366
351
|
): Promise<UnlinkIdentityCommandOutput>;
|
|
367
352
|
unlinkIdentity(
|
|
368
353
|
args: UnlinkIdentityCommandInput,
|
|
369
|
-
cb: (err: any, data?: UnlinkIdentityCommandOutput) => void
|
|
354
|
+
cb: (err: any, data?: UnlinkIdentityCommandOutput) => void,
|
|
370
355
|
): void;
|
|
371
356
|
unlinkIdentity(
|
|
372
357
|
args: UnlinkIdentityCommandInput,
|
|
373
358
|
options: __HttpHandlerOptions,
|
|
374
|
-
cb: (err: any, data?: UnlinkIdentityCommandOutput) => void
|
|
359
|
+
cb: (err: any, data?: UnlinkIdentityCommandOutput) => void,
|
|
375
360
|
): void;
|
|
376
361
|
untagResource(
|
|
377
362
|
args: UntagResourceCommandInput,
|
|
378
|
-
options?: __HttpHandlerOptions
|
|
363
|
+
options?: __HttpHandlerOptions,
|
|
379
364
|
): Promise<UntagResourceCommandOutput>;
|
|
380
365
|
untagResource(
|
|
381
366
|
args: UntagResourceCommandInput,
|
|
382
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
367
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
383
368
|
): void;
|
|
384
369
|
untagResource(
|
|
385
370
|
args: UntagResourceCommandInput,
|
|
386
371
|
options: __HttpHandlerOptions,
|
|
387
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
372
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
388
373
|
): void;
|
|
389
374
|
updateIdentityPool(
|
|
390
375
|
args: UpdateIdentityPoolCommandInput,
|
|
391
|
-
options?: __HttpHandlerOptions
|
|
376
|
+
options?: __HttpHandlerOptions,
|
|
392
377
|
): Promise<UpdateIdentityPoolCommandOutput>;
|
|
393
378
|
updateIdentityPool(
|
|
394
379
|
args: UpdateIdentityPoolCommandInput,
|
|
395
|
-
cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void
|
|
380
|
+
cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void,
|
|
396
381
|
): void;
|
|
397
382
|
updateIdentityPool(
|
|
398
383
|
args: UpdateIdentityPoolCommandInput,
|
|
399
384
|
options: __HttpHandlerOptions,
|
|
400
|
-
cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void
|
|
385
|
+
cb: (err: any, data?: UpdateIdentityPoolCommandOutput) => void,
|
|
401
386
|
): void;
|
|
402
387
|
paginateListIdentityPools(
|
|
403
388
|
args: ListIdentityPoolsCommandInput,
|
|
404
389
|
paginationConfig?: Pick<
|
|
405
390
|
PaginationConfiguration,
|
|
406
391
|
Exclude<keyof PaginationConfiguration, "client">
|
|
407
|
-
|
|
392
|
+
>,
|
|
408
393
|
): Paginator<ListIdentityPoolsCommandOutput>;
|
|
409
394
|
}
|
|
410
|
-
export declare class CognitoIdentity
|
|
411
|
-
extends CognitoIdentityClient
|
|
412
|
-
implements CognitoIdentity {}
|
|
395
|
+
export declare class CognitoIdentity extends CognitoIdentityClient implements CognitoIdentity {}
|
|
@@ -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 {
|
|
@@ -105,10 +102,7 @@ import {
|
|
|
105
102
|
SetPrincipalTagAttributeMapCommandInput,
|
|
106
103
|
SetPrincipalTagAttributeMapCommandOutput,
|
|
107
104
|
} from "./commands/SetPrincipalTagAttributeMapCommand";
|
|
108
|
-
import {
|
|
109
|
-
TagResourceCommandInput,
|
|
110
|
-
TagResourceCommandOutput,
|
|
111
|
-
} from "./commands/TagResourceCommand";
|
|
105
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
112
106
|
import {
|
|
113
107
|
UnlinkDeveloperIdentityCommandInput,
|
|
114
108
|
UnlinkDeveloperIdentityCommandOutput,
|
|
@@ -180,8 +174,7 @@ export type ServiceOutputTypes =
|
|
|
180
174
|
| UnlinkIdentityCommandOutput
|
|
181
175
|
| UntagResourceCommandOutput
|
|
182
176
|
| UpdateIdentityPoolCommandOutput;
|
|
183
|
-
export interface ClientDefaults
|
|
184
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
177
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
185
178
|
requestHandler?: __HttpHandlerUserInput;
|
|
186
179
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
187
180
|
urlParser?: __UrlParser;
|
|
@@ -206,9 +199,7 @@ export interface ClientDefaults
|
|
|
206
199
|
extensions?: RuntimeExtension[];
|
|
207
200
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
208
201
|
}
|
|
209
|
-
export type CognitoIdentityClientConfigType = Partial<
|
|
210
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
211
|
-
> &
|
|
202
|
+
export type CognitoIdentityClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
212
203
|
ClientDefaults &
|
|
213
204
|
UserAgentInputConfig &
|
|
214
205
|
RetryInputConfig &
|
|
@@ -217,8 +208,7 @@ export type CognitoIdentityClientConfigType = Partial<
|
|
|
217
208
|
EndpointInputConfig<EndpointParameters> &
|
|
218
209
|
HttpAuthSchemeInputConfig &
|
|
219
210
|
ClientInputEndpointParameters;
|
|
220
|
-
export interface CognitoIdentityClientConfig
|
|
221
|
-
extends CognitoIdentityClientConfigType {}
|
|
211
|
+
export interface CognitoIdentityClientConfig extends CognitoIdentityClientConfigType {}
|
|
222
212
|
export type CognitoIdentityClientResolvedConfigType =
|
|
223
213
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
224
214
|
Required<ClientDefaults> &
|
|
@@ -230,8 +220,7 @@ export type CognitoIdentityClientResolvedConfigType =
|
|
|
230
220
|
EndpointResolvedConfig<EndpointParameters> &
|
|
231
221
|
HttpAuthSchemeResolvedConfig &
|
|
232
222
|
ClientResolvedEndpointParameters;
|
|
233
|
-
export interface CognitoIdentityClientResolvedConfig
|
|
234
|
-
extends CognitoIdentityClientResolvedConfigType {}
|
|
223
|
+
export interface CognitoIdentityClientResolvedConfig extends CognitoIdentityClientResolvedConfigType {}
|
|
235
224
|
export declare class CognitoIdentityClient extends __Client<
|
|
236
225
|
__HttpHandlerOptions,
|
|
237
226
|
ServiceInputTypes,
|
|
@@ -239,8 +228,6 @@ export declare class CognitoIdentityClient extends __Client<
|
|
|
239
228
|
CognitoIdentityClientResolvedConfig
|
|
240
229
|
> {
|
|
241
230
|
readonly config: CognitoIdentityClientResolvedConfig;
|
|
242
|
-
constructor(
|
|
243
|
-
...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>
|
|
244
|
-
);
|
|
231
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CognitoIdentityClientConfig>);
|
|
245
232
|
destroy(): void;
|
|
246
233
|
}
|
|
@@ -7,17 +7,10 @@ import { CognitoIdentityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): CognitoIdentityHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { CognitoIdentityClientResolvedConfig } from "../CognitoIdentityClient";
|
|
15
|
-
export interface CognitoIdentityHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface CognitoIdentityHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface CognitoIdentityHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface CognitoIdentityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
CognitoIdentityClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
CognitoIdentityHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultCognitoIdentityHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: CognitoIdentityClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<CognitoIdentityHttpAuthSchemeParameters>;
|
|
31
|
-
export interface CognitoIdentityHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface CognitoIdentityHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CognitoIdentityHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultCognitoIdentityHttpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: CognitoIdentityHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: CognitoIdentityHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./CognitoIdentityClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
CognitoIdentityClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
2
|
import { CreateIdentityPoolInput, IdentityPool } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
|
-
export interface CreateIdentityPoolCommandInput
|
|
5
|
-
|
|
6
|
-
export interface CreateIdentityPoolCommandOutput
|
|
7
|
-
extends IdentityPool,
|
|
8
|
-
__MetadataBearer {}
|
|
4
|
+
export interface CreateIdentityPoolCommandInput extends CreateIdentityPoolInput {}
|
|
5
|
+
export interface CreateIdentityPoolCommandOutput extends IdentityPool, __MetadataBearer {}
|
|
9
6
|
declare const CreateIdentityPoolCommand_base: {
|
|
10
7
|
new (
|
|
11
|
-
input: CreateIdentityPoolCommandInput
|
|
8
|
+
input: CreateIdentityPoolCommandInput,
|
|
12
9
|
): import("@smithy/core/client").CommandImpl<
|
|
13
10
|
CreateIdentityPoolCommandInput,
|
|
14
11
|
CreateIdentityPoolCommandOutput,
|
|
@@ -17,7 +14,7 @@ declare const CreateIdentityPoolCommand_base: {
|
|
|
17
14
|
import("..").ServiceOutputTypes
|
|
18
15
|
>;
|
|
19
16
|
new (
|
|
20
|
-
input: CreateIdentityPoolCommandInput
|
|
17
|
+
input: CreateIdentityPoolCommandInput,
|
|
21
18
|
): import("@smithy/core/client").CommandImpl<
|
|
22
19
|
CreateIdentityPoolCommandInput,
|
|
23
20
|
CreateIdentityPoolCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteIdentitiesInput,
|
|
4
|
-
DeleteIdentitiesResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteIdentitiesInput, DeleteIdentitiesResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface DeleteIdentitiesCommandInput extends DeleteIdentitiesInput {}
|
|
8
|
-
export interface DeleteIdentitiesCommandOutput
|
|
9
|
-
extends DeleteIdentitiesResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse, __MetadataBearer {}
|
|
11
6
|
declare const DeleteIdentitiesCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: DeleteIdentitiesCommandInput
|
|
8
|
+
input: DeleteIdentitiesCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
DeleteIdentitiesCommandInput,
|
|
16
11
|
DeleteIdentitiesCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const DeleteIdentitiesCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: DeleteIdentitiesCommandInput
|
|
17
|
+
input: DeleteIdentitiesCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
DeleteIdentitiesCommandInput,
|
|
25
20
|
DeleteIdentitiesCommandOutput,
|