@aws-sdk/client-cognito-identity 3.529.1 → 3.535.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-types/CognitoIdentity.d.ts +1 -1
- package/dist-types/CognitoIdentityClient.d.ts +1 -1
- package/dist-types/commands/CreateIdentityPoolCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIdentitiesCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIdentityCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +2 -1
- package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +2 -1
- package/dist-types/commands/GetIdCommand.d.ts +2 -1
- package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +2 -1
- package/dist-types/commands/GetOpenIdTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +2 -1
- package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +2 -1
- package/dist-types/commands/ListIdentitiesCommand.d.ts +2 -1
- package/dist-types/commands/ListIdentityPoolsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +2 -1
- package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +2 -1
- package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +2 -1
- package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +2 -1
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +172 -172
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetIdCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +41 -41
|
@@ -13,23 +13,22 @@ export declare const AmbiguousRoleResolutionType: {
|
|
|
13
13
|
*/
|
|
14
14
|
export type AmbiguousRoleResolutionType = (typeof AmbiguousRoleResolutionType)[keyof typeof AmbiguousRoleResolutionType];
|
|
15
15
|
/**
|
|
16
|
-
* @public
|
|
17
16
|
* <p>A provider representing an Amazon Cognito user pool and its client ID.</p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export interface CognitoIdentityProvider {
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>The provider name for an Amazon Cognito user pool. For example,
|
|
23
22
|
* <code>cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789</code>.</p>
|
|
23
|
+
* @public
|
|
24
24
|
*/
|
|
25
25
|
ProviderName?: string;
|
|
26
26
|
/**
|
|
27
|
-
* @public
|
|
28
27
|
* <p>The client ID for the Amazon Cognito user pool.</p>
|
|
28
|
+
* @public
|
|
29
29
|
*/
|
|
30
30
|
ClientId?: string;
|
|
31
31
|
/**
|
|
32
|
-
* @public
|
|
33
32
|
* <p>TRUE if server-side token validation is enabled for the identity provider’s
|
|
34
33
|
* token.</p>
|
|
35
34
|
* <p>Once you set <code>ServerSideTokenCheck</code> to TRUE for an identity pool, that
|
|
@@ -38,37 +37,37 @@ export interface CognitoIdentityProvider {
|
|
|
38
37
|
* credentials for the user.</p>
|
|
39
38
|
* <p>If the user is signed out or deleted, the identity pool will return a 400 Not
|
|
40
39
|
* Authorized error.</p>
|
|
40
|
+
* @public
|
|
41
41
|
*/
|
|
42
42
|
ServerSideTokenCheck?: boolean;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* @public
|
|
46
45
|
* <p>Input to the CreateIdentityPool action.</p>
|
|
46
|
+
* @public
|
|
47
47
|
*/
|
|
48
48
|
export interface CreateIdentityPoolInput {
|
|
49
49
|
/**
|
|
50
|
-
* @public
|
|
51
50
|
* <p>A string that you provide.</p>
|
|
51
|
+
* @public
|
|
52
52
|
*/
|
|
53
53
|
IdentityPoolName: string | undefined;
|
|
54
54
|
/**
|
|
55
|
-
* @public
|
|
56
55
|
* <p>TRUE if the identity pool supports unauthenticated logins.</p>
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
AllowUnauthenticatedIdentities: boolean | undefined;
|
|
59
59
|
/**
|
|
60
|
-
* @public
|
|
61
60
|
* <p>Enables or disables the Basic (Classic) authentication flow. For more information, see
|
|
62
61
|
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Identity Pools (Federated Identities) Authentication Flow</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
62
|
+
* @public
|
|
63
63
|
*/
|
|
64
64
|
AllowClassicFlow?: boolean;
|
|
65
65
|
/**
|
|
66
|
-
* @public
|
|
67
66
|
* <p>Optional key:value pairs mapping provider names to provider app IDs.</p>
|
|
67
|
+
* @public
|
|
68
68
|
*/
|
|
69
69
|
SupportedLoginProviders?: Record<string, string>;
|
|
70
70
|
/**
|
|
71
|
-
* @public
|
|
72
71
|
* <p>The "domain" by which Cognito will refer to your users. This name acts as a
|
|
73
72
|
* placeholder that allows your backend and the Cognito service to communicate about the
|
|
74
73
|
* developer provider. For the <code>DeveloperProviderName</code>, you can use letters as well
|
|
@@ -76,95 +75,96 @@ export interface CreateIdentityPoolInput {
|
|
|
76
75
|
* (<code>-</code>).</p>
|
|
77
76
|
* <p>Once you have set a developer provider name, you cannot change it. Please take care
|
|
78
77
|
* in setting this parameter.</p>
|
|
78
|
+
* @public
|
|
79
79
|
*/
|
|
80
80
|
DeveloperProviderName?: string;
|
|
81
81
|
/**
|
|
82
|
-
* @public
|
|
83
82
|
* <p>The Amazon Resource Names (ARN) of the OpenID Connect providers.</p>
|
|
83
|
+
* @public
|
|
84
84
|
*/
|
|
85
85
|
OpenIdConnectProviderARNs?: string[];
|
|
86
86
|
/**
|
|
87
|
-
* @public
|
|
88
87
|
* <p>An array of Amazon Cognito user pools and their client IDs.</p>
|
|
88
|
+
* @public
|
|
89
89
|
*/
|
|
90
90
|
CognitoIdentityProviders?: CognitoIdentityProvider[];
|
|
91
91
|
/**
|
|
92
|
-
* @public
|
|
93
92
|
* <p>An array of Amazon Resource Names (ARNs) of the SAML provider for your identity
|
|
94
93
|
* pool.</p>
|
|
94
|
+
* @public
|
|
95
95
|
*/
|
|
96
96
|
SamlProviderARNs?: string[];
|
|
97
97
|
/**
|
|
98
|
-
* @public
|
|
99
98
|
* <p>Tags to assign to the identity pool. A tag is a label that you can apply to identity
|
|
100
99
|
* pools to categorize and manage them in different ways, such as by purpose, owner,
|
|
101
100
|
* environment, or other criteria.</p>
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
IdentityPoolTags?: Record<string, string>;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
* @public
|
|
107
106
|
* <p>An object representing an Amazon Cognito identity pool.</p>
|
|
107
|
+
* @public
|
|
108
108
|
*/
|
|
109
109
|
export interface IdentityPool {
|
|
110
110
|
/**
|
|
111
|
-
* @public
|
|
112
111
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
IdentityPoolId: string | undefined;
|
|
115
115
|
/**
|
|
116
|
-
* @public
|
|
117
116
|
* <p>A string that you provide.</p>
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
IdentityPoolName: string | undefined;
|
|
120
120
|
/**
|
|
121
|
-
* @public
|
|
122
121
|
* <p>TRUE if the identity pool supports unauthenticated logins.</p>
|
|
122
|
+
* @public
|
|
123
123
|
*/
|
|
124
124
|
AllowUnauthenticatedIdentities: boolean | undefined;
|
|
125
125
|
/**
|
|
126
|
-
* @public
|
|
127
126
|
* <p>Enables or disables the Basic (Classic) authentication flow. For more information, see
|
|
128
127
|
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html">Identity Pools (Federated Identities) Authentication Flow</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
|
|
128
|
+
* @public
|
|
129
129
|
*/
|
|
130
130
|
AllowClassicFlow?: boolean;
|
|
131
131
|
/**
|
|
132
|
-
* @public
|
|
133
132
|
* <p>Optional key:value pairs mapping provider names to provider app IDs.</p>
|
|
133
|
+
* @public
|
|
134
134
|
*/
|
|
135
135
|
SupportedLoginProviders?: Record<string, string>;
|
|
136
136
|
/**
|
|
137
|
-
* @public
|
|
138
137
|
* <p>The "domain" by which Cognito will refer to your users.</p>
|
|
138
|
+
* @public
|
|
139
139
|
*/
|
|
140
140
|
DeveloperProviderName?: string;
|
|
141
141
|
/**
|
|
142
|
-
* @public
|
|
143
142
|
* <p>The ARNs of the OpenID Connect providers.</p>
|
|
143
|
+
* @public
|
|
144
144
|
*/
|
|
145
145
|
OpenIdConnectProviderARNs?: string[];
|
|
146
146
|
/**
|
|
147
|
-
* @public
|
|
148
147
|
* <p>A list representing an Amazon Cognito user pool and its client ID.</p>
|
|
148
|
+
* @public
|
|
149
149
|
*/
|
|
150
150
|
CognitoIdentityProviders?: CognitoIdentityProvider[];
|
|
151
151
|
/**
|
|
152
|
-
* @public
|
|
153
152
|
* <p>An array of Amazon Resource Names (ARNs) of the SAML provider for your identity
|
|
154
153
|
* pool.</p>
|
|
154
|
+
* @public
|
|
155
155
|
*/
|
|
156
156
|
SamlProviderARNs?: string[];
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>The tags that are assigned to the identity pool. A tag is a label that you can apply to
|
|
160
159
|
* identity pools to categorize and manage them in different ways, such as by purpose, owner,
|
|
161
160
|
* environment, or other criteria.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
IdentityPoolTags?: Record<string, string>;
|
|
164
164
|
}
|
|
165
165
|
/**
|
|
166
|
-
* @public
|
|
167
166
|
* <p>Thrown when the service encounters an error during processing the request.</p>
|
|
167
|
+
* @public
|
|
168
168
|
*/
|
|
169
169
|
export declare class InternalErrorException extends __BaseException {
|
|
170
170
|
readonly name: "InternalErrorException";
|
|
@@ -175,8 +175,8 @@ export declare class InternalErrorException extends __BaseException {
|
|
|
175
175
|
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>Thrown for missing or bad input parameter(s).</p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export declare class InvalidParameterException extends __BaseException {
|
|
182
182
|
readonly name: "InvalidParameterException";
|
|
@@ -187,8 +187,8 @@ export declare class InvalidParameterException extends __BaseException {
|
|
|
187
187
|
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
|
-
* @public
|
|
191
190
|
* <p>Thrown when the total number of user pools has exceeded a preset limit.</p>
|
|
191
|
+
* @public
|
|
192
192
|
*/
|
|
193
193
|
export declare class LimitExceededException extends __BaseException {
|
|
194
194
|
readonly name: "LimitExceededException";
|
|
@@ -199,8 +199,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
199
199
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
|
-
* @public
|
|
203
202
|
* <p>Thrown when a user is not authorized to access the requested resource.</p>
|
|
203
|
+
* @public
|
|
204
204
|
*/
|
|
205
205
|
export declare class NotAuthorizedException extends __BaseException {
|
|
206
206
|
readonly name: "NotAuthorizedException";
|
|
@@ -211,9 +211,9 @@ export declare class NotAuthorizedException extends __BaseException {
|
|
|
211
211
|
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
|
-
* @public
|
|
215
214
|
* <p>Thrown when a user tries to use a login which is already linked to another
|
|
216
215
|
* account.</p>
|
|
216
|
+
* @public
|
|
217
217
|
*/
|
|
218
218
|
export declare class ResourceConflictException extends __BaseException {
|
|
219
219
|
readonly name: "ResourceConflictException";
|
|
@@ -224,8 +224,8 @@ export declare class ResourceConflictException extends __BaseException {
|
|
|
224
224
|
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
|
-
* @public
|
|
228
227
|
* <p>Thrown when a request is throttled.</p>
|
|
228
|
+
* @public
|
|
229
229
|
*/
|
|
230
230
|
export declare class TooManyRequestsException extends __BaseException {
|
|
231
231
|
readonly name: "TooManyRequestsException";
|
|
@@ -236,13 +236,13 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
236
236
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
|
-
* @public
|
|
240
239
|
* <p>Input to the <code>DeleteIdentities</code> action.</p>
|
|
240
|
+
* @public
|
|
241
241
|
*/
|
|
242
242
|
export interface DeleteIdentitiesInput {
|
|
243
243
|
/**
|
|
244
|
-
* @public
|
|
245
244
|
* <p>A list of 1-60 identities that you want to delete.</p>
|
|
245
|
+
* @public
|
|
246
246
|
*/
|
|
247
247
|
IdentityIdsToDelete: string[] | undefined;
|
|
248
248
|
}
|
|
@@ -259,50 +259,50 @@ export declare const ErrorCode: {
|
|
|
259
259
|
*/
|
|
260
260
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
261
261
|
/**
|
|
262
|
-
* @public
|
|
263
262
|
* <p>An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and
|
|
264
263
|
* IdentityId.</p>
|
|
264
|
+
* @public
|
|
265
265
|
*/
|
|
266
266
|
export interface UnprocessedIdentityId {
|
|
267
267
|
/**
|
|
268
|
-
* @public
|
|
269
268
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
269
|
+
* @public
|
|
270
270
|
*/
|
|
271
271
|
IdentityId?: string;
|
|
272
272
|
/**
|
|
273
|
-
* @public
|
|
274
273
|
* <p>The error code indicating the type of error that occurred.</p>
|
|
274
|
+
* @public
|
|
275
275
|
*/
|
|
276
276
|
ErrorCode?: ErrorCode;
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
|
-
* @public
|
|
280
279
|
* <p>Returned in response to a successful <code>DeleteIdentities</code>
|
|
281
280
|
* operation.</p>
|
|
281
|
+
* @public
|
|
282
282
|
*/
|
|
283
283
|
export interface DeleteIdentitiesResponse {
|
|
284
284
|
/**
|
|
285
|
-
* @public
|
|
286
285
|
* <p>An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and
|
|
287
286
|
* IdentityId.</p>
|
|
287
|
+
* @public
|
|
288
288
|
*/
|
|
289
289
|
UnprocessedIdentityIds?: UnprocessedIdentityId[];
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
|
-
* @public
|
|
293
292
|
* <p>Input to the DeleteIdentityPool action.</p>
|
|
293
|
+
* @public
|
|
294
294
|
*/
|
|
295
295
|
export interface DeleteIdentityPoolInput {
|
|
296
296
|
/**
|
|
297
|
-
* @public
|
|
298
297
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
298
|
+
* @public
|
|
299
299
|
*/
|
|
300
300
|
IdentityPoolId: string | undefined;
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
|
-
* @public
|
|
304
303
|
* <p>Thrown when the requested resource (for example, a dataset or record) does not
|
|
305
304
|
* exist.</p>
|
|
305
|
+
* @public
|
|
306
306
|
*/
|
|
307
307
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
308
308
|
readonly name: "ResourceNotFoundException";
|
|
@@ -313,57 +313,57 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
313
313
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
314
314
|
}
|
|
315
315
|
/**
|
|
316
|
-
* @public
|
|
317
316
|
* <p>Input to the <code>DescribeIdentity</code> action.</p>
|
|
317
|
+
* @public
|
|
318
318
|
*/
|
|
319
319
|
export interface DescribeIdentityInput {
|
|
320
320
|
/**
|
|
321
|
-
* @public
|
|
322
321
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
322
|
+
* @public
|
|
323
323
|
*/
|
|
324
324
|
IdentityId: string | undefined;
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
|
-
* @public
|
|
328
327
|
* <p>A description of the identity.</p>
|
|
328
|
+
* @public
|
|
329
329
|
*/
|
|
330
330
|
export interface IdentityDescription {
|
|
331
331
|
/**
|
|
332
|
-
* @public
|
|
333
332
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
333
|
+
* @public
|
|
334
334
|
*/
|
|
335
335
|
IdentityId?: string;
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* <p>The provider names.</p>
|
|
338
|
+
* @public
|
|
339
339
|
*/
|
|
340
340
|
Logins?: string[];
|
|
341
341
|
/**
|
|
342
|
-
* @public
|
|
343
342
|
* <p>Date on which the identity was created.</p>
|
|
343
|
+
* @public
|
|
344
344
|
*/
|
|
345
345
|
CreationDate?: Date;
|
|
346
346
|
/**
|
|
347
|
-
* @public
|
|
348
347
|
* <p>Date on which the identity was last modified.</p>
|
|
348
|
+
* @public
|
|
349
349
|
*/
|
|
350
350
|
LastModifiedDate?: Date;
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
|
-
* @public
|
|
354
353
|
* <p>Input to the DescribeIdentityPool action.</p>
|
|
354
|
+
* @public
|
|
355
355
|
*/
|
|
356
356
|
export interface DescribeIdentityPoolInput {
|
|
357
357
|
/**
|
|
358
|
-
* @public
|
|
359
358
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
359
|
+
* @public
|
|
360
360
|
*/
|
|
361
361
|
IdentityPoolId: string | undefined;
|
|
362
362
|
}
|
|
363
363
|
/**
|
|
364
|
-
* @public
|
|
365
364
|
* <p>An exception thrown when a dependent service such as Facebook or Twitter is not
|
|
366
365
|
* responding</p>
|
|
366
|
+
* @public
|
|
367
367
|
*/
|
|
368
368
|
export declare class ExternalServiceException extends __BaseException {
|
|
369
369
|
readonly name: "ExternalServiceException";
|
|
@@ -374,17 +374,16 @@ export declare class ExternalServiceException extends __BaseException {
|
|
|
374
374
|
constructor(opts: __ExceptionOptionType<ExternalServiceException, __BaseException>);
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
|
-
* @public
|
|
378
377
|
* <p>Input to the <code>GetCredentialsForIdentity</code> action.</p>
|
|
378
|
+
* @public
|
|
379
379
|
*/
|
|
380
380
|
export interface GetCredentialsForIdentityInput {
|
|
381
381
|
/**
|
|
382
|
-
* @public
|
|
383
382
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
IdentityId: string | undefined;
|
|
386
386
|
/**
|
|
387
|
-
* @public
|
|
388
387
|
* <p>A set of optional name-value pairs that map provider names to provider tokens. The
|
|
389
388
|
* name-value pair will follow the syntax "provider_name":
|
|
390
389
|
* "provider_user_identifier".</p>
|
|
@@ -394,64 +393,65 @@ export interface GetCredentialsForIdentityInput {
|
|
|
394
393
|
* identity providers such as Facebook. For examples of <code>Logins</code> maps, see the code
|
|
395
394
|
* examples in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html">External Identity Providers</a> section of the Amazon Cognito Developer
|
|
396
395
|
* Guide.</p>
|
|
396
|
+
* @public
|
|
397
397
|
*/
|
|
398
398
|
Logins?: Record<string, string>;
|
|
399
399
|
/**
|
|
400
|
-
* @public
|
|
401
400
|
* <p>The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were
|
|
402
401
|
* received in the token from the identity provider. For example, a SAML-based identity
|
|
403
402
|
* provider. This parameter is optional for identity providers that do not support role
|
|
404
403
|
* customization.</p>
|
|
404
|
+
* @public
|
|
405
405
|
*/
|
|
406
406
|
CustomRoleArn?: string;
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* <p>Credentials for the provided identity ID.</p>
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
export interface Credentials {
|
|
413
413
|
/**
|
|
414
|
-
* @public
|
|
415
414
|
* <p>The Access Key portion of the credentials.</p>
|
|
415
|
+
* @public
|
|
416
416
|
*/
|
|
417
417
|
AccessKeyId?: string;
|
|
418
418
|
/**
|
|
419
|
-
* @public
|
|
420
419
|
* <p>The Secret Access Key portion of the credentials</p>
|
|
420
|
+
* @public
|
|
421
421
|
*/
|
|
422
422
|
SecretKey?: string;
|
|
423
423
|
/**
|
|
424
|
-
* @public
|
|
425
424
|
* <p>The Session Token portion of the credentials</p>
|
|
425
|
+
* @public
|
|
426
426
|
*/
|
|
427
427
|
SessionToken?: string;
|
|
428
428
|
/**
|
|
429
|
-
* @public
|
|
430
429
|
* <p>The date at which these credentials will expire.</p>
|
|
430
|
+
* @public
|
|
431
431
|
*/
|
|
432
432
|
Expiration?: Date;
|
|
433
433
|
}
|
|
434
434
|
/**
|
|
435
|
-
* @public
|
|
436
435
|
* <p>Returned in response to a successful <code>GetCredentialsForIdentity</code>
|
|
437
436
|
* operation.</p>
|
|
437
|
+
* @public
|
|
438
438
|
*/
|
|
439
439
|
export interface GetCredentialsForIdentityResponse {
|
|
440
440
|
/**
|
|
441
|
-
* @public
|
|
442
441
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
442
|
+
* @public
|
|
443
443
|
*/
|
|
444
444
|
IdentityId?: string;
|
|
445
445
|
/**
|
|
446
|
-
* @public
|
|
447
446
|
* <p>Credentials for the provided identity ID.</p>
|
|
447
|
+
* @public
|
|
448
448
|
*/
|
|
449
449
|
Credentials?: Credentials;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
|
-
* @public
|
|
453
452
|
* <p>Thrown if the identity pool has no role associated for the given auth type
|
|
454
453
|
* (auth/unauth) or if the AssumeRole fails.</p>
|
|
454
|
+
* @public
|
|
455
455
|
*/
|
|
456
456
|
export declare class InvalidIdentityPoolConfigurationException extends __BaseException {
|
|
457
457
|
readonly name: "InvalidIdentityPoolConfigurationException";
|
|
@@ -462,22 +462,21 @@ export declare class InvalidIdentityPoolConfigurationException extends __BaseExc
|
|
|
462
462
|
constructor(opts: __ExceptionOptionType<InvalidIdentityPoolConfigurationException, __BaseException>);
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
|
-
* @public
|
|
466
465
|
* <p>Input to the GetId action.</p>
|
|
466
|
+
* @public
|
|
467
467
|
*/
|
|
468
468
|
export interface GetIdInput {
|
|
469
469
|
/**
|
|
470
|
-
* @public
|
|
471
470
|
* <p>A standard AWS account ID (9+ digits).</p>
|
|
471
|
+
* @public
|
|
472
472
|
*/
|
|
473
473
|
AccountId?: string;
|
|
474
474
|
/**
|
|
475
|
-
* @public
|
|
476
475
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
476
|
+
* @public
|
|
477
477
|
*/
|
|
478
478
|
IdentityPoolId: string | undefined;
|
|
479
479
|
/**
|
|
480
|
-
* @public
|
|
481
480
|
* <p>A set of optional name-value pairs that map provider names to provider tokens. The
|
|
482
481
|
* available provider names for <code>Logins</code> are as follows:</p>
|
|
483
482
|
* <ul>
|
|
@@ -508,28 +507,29 @@ export interface GetIdInput {
|
|
|
508
507
|
* </p>
|
|
509
508
|
* </li>
|
|
510
509
|
* </ul>
|
|
510
|
+
* @public
|
|
511
511
|
*/
|
|
512
512
|
Logins?: Record<string, string>;
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
* @public
|
|
516
515
|
* <p>Returned in response to a GetId request.</p>
|
|
516
|
+
* @public
|
|
517
517
|
*/
|
|
518
518
|
export interface GetIdResponse {
|
|
519
519
|
/**
|
|
520
|
-
* @public
|
|
521
520
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
521
|
+
* @public
|
|
522
522
|
*/
|
|
523
523
|
IdentityId?: string;
|
|
524
524
|
}
|
|
525
525
|
/**
|
|
526
|
-
* @public
|
|
527
526
|
* <p>Input to the <code>GetIdentityPoolRoles</code> action.</p>
|
|
527
|
+
* @public
|
|
528
528
|
*/
|
|
529
529
|
export interface GetIdentityPoolRolesInput {
|
|
530
530
|
/**
|
|
531
|
-
* @public
|
|
532
531
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
532
|
+
* @public
|
|
533
533
|
*/
|
|
534
534
|
IdentityPoolId: string | undefined;
|
|
535
535
|
}
|
|
@@ -548,43 +548,43 @@ export declare const MappingRuleMatchType: {
|
|
|
548
548
|
*/
|
|
549
549
|
export type MappingRuleMatchType = (typeof MappingRuleMatchType)[keyof typeof MappingRuleMatchType];
|
|
550
550
|
/**
|
|
551
|
-
* @public
|
|
552
551
|
* <p>A rule that maps a claim name, a claim value, and a match type to a role
|
|
553
552
|
* ARN.</p>
|
|
553
|
+
* @public
|
|
554
554
|
*/
|
|
555
555
|
export interface MappingRule {
|
|
556
556
|
/**
|
|
557
|
-
* @public
|
|
558
557
|
* <p>The claim name that must be present in the token, for example, "isAdmin" or
|
|
559
558
|
* "paid".</p>
|
|
559
|
+
* @public
|
|
560
560
|
*/
|
|
561
561
|
Claim: string | undefined;
|
|
562
562
|
/**
|
|
563
|
-
* @public
|
|
564
563
|
* <p>The match condition that specifies how closely the claim value in the IdP token must
|
|
565
564
|
* match <code>Value</code>.</p>
|
|
565
|
+
* @public
|
|
566
566
|
*/
|
|
567
567
|
MatchType: MappingRuleMatchType | undefined;
|
|
568
568
|
/**
|
|
569
|
-
* @public
|
|
570
569
|
* <p>A brief string that the claim must match, for example, "paid" or "yes".</p>
|
|
570
|
+
* @public
|
|
571
571
|
*/
|
|
572
572
|
Value: string | undefined;
|
|
573
573
|
/**
|
|
574
|
-
* @public
|
|
575
574
|
* <p>The role ARN.</p>
|
|
575
|
+
* @public
|
|
576
576
|
*/
|
|
577
577
|
RoleARN: string | undefined;
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
|
-
* @public
|
|
581
580
|
* <p>A container for rules.</p>
|
|
581
|
+
* @public
|
|
582
582
|
*/
|
|
583
583
|
export interface RulesConfigurationType {
|
|
584
584
|
/**
|
|
585
|
-
* @public
|
|
586
585
|
* <p>An array of rules. You can specify up to 25 rules per identity provider.</p>
|
|
587
586
|
* <p>Rules are evaluated in order. The first one to match specifies the role.</p>
|
|
587
|
+
* @public
|
|
588
588
|
*/
|
|
589
589
|
Rules: MappingRule[] | undefined;
|
|
590
590
|
}
|
|
@@ -601,102 +601,102 @@ export declare const RoleMappingType: {
|
|
|
601
601
|
*/
|
|
602
602
|
export type RoleMappingType = (typeof RoleMappingType)[keyof typeof RoleMappingType];
|
|
603
603
|
/**
|
|
604
|
-
* @public
|
|
605
604
|
* <p>A role mapping.</p>
|
|
605
|
+
* @public
|
|
606
606
|
*/
|
|
607
607
|
export interface RoleMapping {
|
|
608
608
|
/**
|
|
609
|
-
* @public
|
|
610
609
|
* <p>The role mapping type. Token will use <code>cognito:roles</code> and
|
|
611
610
|
* <code>cognito:preferred_role</code> claims from the Cognito identity provider token to
|
|
612
611
|
* map groups to roles. Rules will attempt to match claims from the token to map to a
|
|
613
612
|
* role.</p>
|
|
613
|
+
* @public
|
|
614
614
|
*/
|
|
615
615
|
Type: RoleMappingType | undefined;
|
|
616
616
|
/**
|
|
617
|
-
* @public
|
|
618
617
|
* <p>If you specify Token or Rules as the <code>Type</code>,
|
|
619
618
|
* <code>AmbiguousRoleResolution</code> is required.</p>
|
|
620
619
|
* <p>Specifies the action to be taken if either no rules match the claim value for the
|
|
621
620
|
* <code>Rules</code> type, or there is no <code>cognito:preferred_role</code> claim and
|
|
622
621
|
* there are multiple <code>cognito:roles</code> matches for the <code>Token</code>
|
|
623
622
|
* type.</p>
|
|
623
|
+
* @public
|
|
624
624
|
*/
|
|
625
625
|
AmbiguousRoleResolution?: AmbiguousRoleResolutionType;
|
|
626
626
|
/**
|
|
627
|
-
* @public
|
|
628
627
|
* <p>The rules to be used for mapping users to roles.</p>
|
|
629
628
|
* <p>If you specify Rules as the role mapping type, <code>RulesConfiguration</code> is
|
|
630
629
|
* required.</p>
|
|
630
|
+
* @public
|
|
631
631
|
*/
|
|
632
632
|
RulesConfiguration?: RulesConfigurationType;
|
|
633
633
|
}
|
|
634
634
|
/**
|
|
635
|
-
* @public
|
|
636
635
|
* <p>Returned in response to a successful <code>GetIdentityPoolRoles</code>
|
|
637
636
|
* operation.</p>
|
|
637
|
+
* @public
|
|
638
638
|
*/
|
|
639
639
|
export interface GetIdentityPoolRolesResponse {
|
|
640
640
|
/**
|
|
641
|
-
* @public
|
|
642
641
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
642
|
+
* @public
|
|
643
643
|
*/
|
|
644
644
|
IdentityPoolId?: string;
|
|
645
645
|
/**
|
|
646
|
-
* @public
|
|
647
646
|
* <p>The map of roles associated with this pool. Currently only authenticated and
|
|
648
647
|
* unauthenticated roles are supported.</p>
|
|
648
|
+
* @public
|
|
649
649
|
*/
|
|
650
650
|
Roles?: Record<string, string>;
|
|
651
651
|
/**
|
|
652
|
-
* @public
|
|
653
652
|
* <p>How users for a specific identity provider are to mapped to roles. This is a
|
|
654
653
|
* String-to-<a>RoleMapping</a> object map. The string identifies the identity
|
|
655
654
|
* provider, for example, "graph.facebook.com" or
|
|
656
655
|
* "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".</p>
|
|
656
|
+
* @public
|
|
657
657
|
*/
|
|
658
658
|
RoleMappings?: Record<string, RoleMapping>;
|
|
659
659
|
}
|
|
660
660
|
/**
|
|
661
|
-
* @public
|
|
662
661
|
* <p>Input to the GetOpenIdToken action.</p>
|
|
662
|
+
* @public
|
|
663
663
|
*/
|
|
664
664
|
export interface GetOpenIdTokenInput {
|
|
665
665
|
/**
|
|
666
|
-
* @public
|
|
667
666
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
667
|
+
* @public
|
|
668
668
|
*/
|
|
669
669
|
IdentityId: string | undefined;
|
|
670
670
|
/**
|
|
671
|
-
* @public
|
|
672
671
|
* <p>A set of optional name-value pairs that map provider names to provider tokens. When
|
|
673
672
|
* using graph.facebook.com and www.amazon.com, supply the access_token returned from the
|
|
674
673
|
* provider's authflow. For accounts.google.com, an Amazon Cognito user pool provider, or any
|
|
675
674
|
* other OpenID Connect provider, always include the <code>id_token</code>.</p>
|
|
675
|
+
* @public
|
|
676
676
|
*/
|
|
677
677
|
Logins?: Record<string, string>;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
|
-
* @public
|
|
681
680
|
* <p>Returned in response to a successful GetOpenIdToken request.</p>
|
|
681
|
+
* @public
|
|
682
682
|
*/
|
|
683
683
|
export interface GetOpenIdTokenResponse {
|
|
684
684
|
/**
|
|
685
|
-
* @public
|
|
686
685
|
* <p>A unique identifier in the format REGION:GUID. Note that the IdentityId returned may
|
|
687
686
|
* not match the one passed on input.</p>
|
|
687
|
+
* @public
|
|
688
688
|
*/
|
|
689
689
|
IdentityId?: string;
|
|
690
690
|
/**
|
|
691
|
-
* @public
|
|
692
691
|
* <p>An OpenID token, valid for 10 minutes.</p>
|
|
692
|
+
* @public
|
|
693
693
|
*/
|
|
694
694
|
Token?: string;
|
|
695
695
|
}
|
|
696
696
|
/**
|
|
697
|
-
* @public
|
|
698
697
|
* <p>The provided developer user identifier is already registered with Cognito under a
|
|
699
698
|
* different identity ID.</p>
|
|
699
|
+
* @public
|
|
700
700
|
*/
|
|
701
701
|
export declare class DeveloperUserAlreadyRegisteredException extends __BaseException {
|
|
702
702
|
readonly name: "DeveloperUserAlreadyRegisteredException";
|
|
@@ -707,22 +707,21 @@ export declare class DeveloperUserAlreadyRegisteredException extends __BaseExcep
|
|
|
707
707
|
constructor(opts: __ExceptionOptionType<DeveloperUserAlreadyRegisteredException, __BaseException>);
|
|
708
708
|
}
|
|
709
709
|
/**
|
|
710
|
-
* @public
|
|
711
710
|
* <p>Input to the <code>GetOpenIdTokenForDeveloperIdentity</code> action.</p>
|
|
711
|
+
* @public
|
|
712
712
|
*/
|
|
713
713
|
export interface GetOpenIdTokenForDeveloperIdentityInput {
|
|
714
714
|
/**
|
|
715
|
-
* @public
|
|
716
715
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
716
|
+
* @public
|
|
717
717
|
*/
|
|
718
718
|
IdentityPoolId: string | undefined;
|
|
719
719
|
/**
|
|
720
|
-
* @public
|
|
721
720
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
721
|
+
* @public
|
|
722
722
|
*/
|
|
723
723
|
IdentityId?: string;
|
|
724
724
|
/**
|
|
725
|
-
* @public
|
|
726
725
|
* <p>A set of optional name-value pairs that map provider names to provider tokens. Each
|
|
727
726
|
* name-value pair represents a user from a public provider or developer provider. If the user
|
|
728
727
|
* is from a developer provider, the name-value pair will follow the syntax
|
|
@@ -731,15 +730,15 @@ export interface GetOpenIdTokenForDeveloperIdentityInput {
|
|
|
731
730
|
* domain while creating/updating the identity pool. The developer user identifier is an
|
|
732
731
|
* identifier from your backend that uniquely identifies a user. When you create an identity
|
|
733
732
|
* pool, you can specify the supported logins.</p>
|
|
733
|
+
* @public
|
|
734
734
|
*/
|
|
735
735
|
Logins: Record<string, string> | undefined;
|
|
736
736
|
/**
|
|
737
|
-
* @public
|
|
738
737
|
* <p>Use this operation to configure attribute mappings for custom providers. </p>
|
|
738
|
+
* @public
|
|
739
739
|
*/
|
|
740
740
|
PrincipalTags?: Record<string, string>;
|
|
741
741
|
/**
|
|
742
|
-
* @public
|
|
743
742
|
* <p>The expiration time of the token, in seconds. You can specify a custom expiration
|
|
744
743
|
* time for the token so that you can cache it. If you don't provide an expiration time, the
|
|
745
744
|
* token is valid for 15 minutes. You can exchange the token with Amazon STS for temporary AWS
|
|
@@ -750,23 +749,24 @@ export interface GetOpenIdTokenForDeveloperIdentityInput {
|
|
|
750
749
|
* <note>
|
|
751
750
|
* <p>Please provide for a small grace period, usually no more than 5 minutes, to account for clock skew.</p>
|
|
752
751
|
* </note>
|
|
752
|
+
* @public
|
|
753
753
|
*/
|
|
754
754
|
TokenDuration?: number;
|
|
755
755
|
}
|
|
756
756
|
/**
|
|
757
|
-
* @public
|
|
758
757
|
* <p>Returned in response to a successful <code>GetOpenIdTokenForDeveloperIdentity</code>
|
|
759
758
|
* request.</p>
|
|
759
|
+
* @public
|
|
760
760
|
*/
|
|
761
761
|
export interface GetOpenIdTokenForDeveloperIdentityResponse {
|
|
762
762
|
/**
|
|
763
|
-
* @public
|
|
764
763
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
764
|
+
* @public
|
|
765
765
|
*/
|
|
766
766
|
IdentityId?: string;
|
|
767
767
|
/**
|
|
768
|
-
* @public
|
|
769
768
|
* <p>An OpenID token.</p>
|
|
769
|
+
* @public
|
|
770
770
|
*/
|
|
771
771
|
Token?: string;
|
|
772
772
|
}
|
|
@@ -775,13 +775,13 @@ export interface GetOpenIdTokenForDeveloperIdentityResponse {
|
|
|
775
775
|
*/
|
|
776
776
|
export interface GetPrincipalTagAttributeMapInput {
|
|
777
777
|
/**
|
|
778
|
-
* @public
|
|
779
778
|
* <p>You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.</p>
|
|
779
|
+
* @public
|
|
780
780
|
*/
|
|
781
781
|
IdentityPoolId: string | undefined;
|
|
782
782
|
/**
|
|
783
|
-
* @public
|
|
784
783
|
* <p>You can use this operation to get the provider name.</p>
|
|
784
|
+
* @public
|
|
785
785
|
*/
|
|
786
786
|
IdentityProviderName: string | undefined;
|
|
787
787
|
}
|
|
@@ -790,119 +790,119 @@ export interface GetPrincipalTagAttributeMapInput {
|
|
|
790
790
|
*/
|
|
791
791
|
export interface GetPrincipalTagAttributeMapResponse {
|
|
792
792
|
/**
|
|
793
|
-
* @public
|
|
794
793
|
* <p>You can use this operation to get the ID of the Identity Pool you setup attribute mappings for.</p>
|
|
794
|
+
* @public
|
|
795
795
|
*/
|
|
796
796
|
IdentityPoolId?: string;
|
|
797
797
|
/**
|
|
798
|
-
* @public
|
|
799
798
|
* <p>You can use this operation to get the provider name.</p>
|
|
799
|
+
* @public
|
|
800
800
|
*/
|
|
801
801
|
IdentityProviderName?: string;
|
|
802
802
|
/**
|
|
803
|
-
* @public
|
|
804
803
|
* <p>You can use this operation to list </p>
|
|
804
|
+
* @public
|
|
805
805
|
*/
|
|
806
806
|
UseDefaults?: boolean;
|
|
807
807
|
/**
|
|
808
|
-
* @public
|
|
809
808
|
* <p>You can use this operation to add principal tags. The <code>PrincipalTags</code>operation enables you to reference user attributes in your IAM permissions policy.</p>
|
|
809
|
+
* @public
|
|
810
810
|
*/
|
|
811
811
|
PrincipalTags?: Record<string, string>;
|
|
812
812
|
}
|
|
813
813
|
/**
|
|
814
|
-
* @public
|
|
815
814
|
* <p>Input to the ListIdentities action.</p>
|
|
815
|
+
* @public
|
|
816
816
|
*/
|
|
817
817
|
export interface ListIdentitiesInput {
|
|
818
818
|
/**
|
|
819
|
-
* @public
|
|
820
819
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
820
|
+
* @public
|
|
821
821
|
*/
|
|
822
822
|
IdentityPoolId: string | undefined;
|
|
823
823
|
/**
|
|
824
|
-
* @public
|
|
825
824
|
* <p>The maximum number of identities to return.</p>
|
|
825
|
+
* @public
|
|
826
826
|
*/
|
|
827
827
|
MaxResults: number | undefined;
|
|
828
828
|
/**
|
|
829
|
-
* @public
|
|
830
829
|
* <p>A pagination token.</p>
|
|
830
|
+
* @public
|
|
831
831
|
*/
|
|
832
832
|
NextToken?: string;
|
|
833
833
|
/**
|
|
834
|
-
* @public
|
|
835
834
|
* <p>An optional boolean parameter that allows you to hide disabled identities. If
|
|
836
835
|
* omitted, the ListIdentities API will include disabled identities in the response.</p>
|
|
836
|
+
* @public
|
|
837
837
|
*/
|
|
838
838
|
HideDisabled?: boolean;
|
|
839
839
|
}
|
|
840
840
|
/**
|
|
841
|
-
* @public
|
|
842
841
|
* <p>The response to a ListIdentities request.</p>
|
|
842
|
+
* @public
|
|
843
843
|
*/
|
|
844
844
|
export interface ListIdentitiesResponse {
|
|
845
845
|
/**
|
|
846
|
-
* @public
|
|
847
846
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
847
|
+
* @public
|
|
848
848
|
*/
|
|
849
849
|
IdentityPoolId?: string;
|
|
850
850
|
/**
|
|
851
|
-
* @public
|
|
852
851
|
* <p>An object containing a set of identities and associated mappings.</p>
|
|
852
|
+
* @public
|
|
853
853
|
*/
|
|
854
854
|
Identities?: IdentityDescription[];
|
|
855
855
|
/**
|
|
856
|
-
* @public
|
|
857
856
|
* <p>A pagination token.</p>
|
|
857
|
+
* @public
|
|
858
858
|
*/
|
|
859
859
|
NextToken?: string;
|
|
860
860
|
}
|
|
861
861
|
/**
|
|
862
|
-
* @public
|
|
863
862
|
* <p>Input to the ListIdentityPools action.</p>
|
|
863
|
+
* @public
|
|
864
864
|
*/
|
|
865
865
|
export interface ListIdentityPoolsInput {
|
|
866
866
|
/**
|
|
867
|
-
* @public
|
|
868
867
|
* <p>The maximum number of identities to return.</p>
|
|
868
|
+
* @public
|
|
869
869
|
*/
|
|
870
870
|
MaxResults: number | undefined;
|
|
871
871
|
/**
|
|
872
|
-
* @public
|
|
873
872
|
* <p>A pagination token.</p>
|
|
873
|
+
* @public
|
|
874
874
|
*/
|
|
875
875
|
NextToken?: string;
|
|
876
876
|
}
|
|
877
877
|
/**
|
|
878
|
-
* @public
|
|
879
878
|
* <p>A description of the identity pool.</p>
|
|
879
|
+
* @public
|
|
880
880
|
*/
|
|
881
881
|
export interface IdentityPoolShortDescription {
|
|
882
882
|
/**
|
|
883
|
-
* @public
|
|
884
883
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
884
|
+
* @public
|
|
885
885
|
*/
|
|
886
886
|
IdentityPoolId?: string;
|
|
887
887
|
/**
|
|
888
|
-
* @public
|
|
889
888
|
* <p>A string that you provide.</p>
|
|
889
|
+
* @public
|
|
890
890
|
*/
|
|
891
891
|
IdentityPoolName?: string;
|
|
892
892
|
}
|
|
893
893
|
/**
|
|
894
|
-
* @public
|
|
895
894
|
* <p>The result of a successful ListIdentityPools action.</p>
|
|
895
|
+
* @public
|
|
896
896
|
*/
|
|
897
897
|
export interface ListIdentityPoolsResponse {
|
|
898
898
|
/**
|
|
899
|
-
* @public
|
|
900
899
|
* <p>The identity pools returned by the ListIdentityPools action.</p>
|
|
900
|
+
* @public
|
|
901
901
|
*/
|
|
902
902
|
IdentityPools?: IdentityPoolShortDescription[];
|
|
903
903
|
/**
|
|
904
|
-
* @public
|
|
905
904
|
* <p>A pagination token.</p>
|
|
905
|
+
* @public
|
|
906
906
|
*/
|
|
907
907
|
NextToken?: string;
|
|
908
908
|
}
|
|
@@ -911,9 +911,9 @@ export interface ListIdentityPoolsResponse {
|
|
|
911
911
|
*/
|
|
912
912
|
export interface ListTagsForResourceInput {
|
|
913
913
|
/**
|
|
914
|
-
* @public
|
|
915
914
|
* <p>The Amazon Resource Name (ARN) of the identity pool that the tags are assigned
|
|
916
915
|
* to.</p>
|
|
916
|
+
* @public
|
|
917
917
|
*/
|
|
918
918
|
ResourceArn: string | undefined;
|
|
919
919
|
}
|
|
@@ -922,125 +922,125 @@ export interface ListTagsForResourceInput {
|
|
|
922
922
|
*/
|
|
923
923
|
export interface ListTagsForResourceResponse {
|
|
924
924
|
/**
|
|
925
|
-
* @public
|
|
926
925
|
* <p>The tags that are assigned to the identity pool.</p>
|
|
926
|
+
* @public
|
|
927
927
|
*/
|
|
928
928
|
Tags?: Record<string, string>;
|
|
929
929
|
}
|
|
930
930
|
/**
|
|
931
|
-
* @public
|
|
932
931
|
* <p>Input to the <code>LookupDeveloperIdentityInput</code> action.</p>
|
|
932
|
+
* @public
|
|
933
933
|
*/
|
|
934
934
|
export interface LookupDeveloperIdentityInput {
|
|
935
935
|
/**
|
|
936
|
-
* @public
|
|
937
936
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
937
|
+
* @public
|
|
938
938
|
*/
|
|
939
939
|
IdentityPoolId: string | undefined;
|
|
940
940
|
/**
|
|
941
|
-
* @public
|
|
942
941
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
942
|
+
* @public
|
|
943
943
|
*/
|
|
944
944
|
IdentityId?: string;
|
|
945
945
|
/**
|
|
946
|
-
* @public
|
|
947
946
|
* <p>A unique ID used by your backend authentication process to identify a user.
|
|
948
947
|
* Typically, a developer identity provider would issue many developer user identifiers, in
|
|
949
948
|
* keeping with the number of users.</p>
|
|
949
|
+
* @public
|
|
950
950
|
*/
|
|
951
951
|
DeveloperUserIdentifier?: string;
|
|
952
952
|
/**
|
|
953
|
-
* @public
|
|
954
953
|
* <p>The maximum number of identities to return.</p>
|
|
954
|
+
* @public
|
|
955
955
|
*/
|
|
956
956
|
MaxResults?: number;
|
|
957
957
|
/**
|
|
958
|
-
* @public
|
|
959
958
|
* <p>A pagination token. The first call you make will have <code>NextToken</code> set to
|
|
960
959
|
* null. After that the service will return <code>NextToken</code> values as needed. For
|
|
961
960
|
* example, let's say you make a request with <code>MaxResults</code> set to 10, and there are
|
|
962
961
|
* 20 matches in the database. The service will return a pagination token as a part of the
|
|
963
962
|
* response. This token can be used to call the API again and get results starting from the
|
|
964
963
|
* 11th match.</p>
|
|
964
|
+
* @public
|
|
965
965
|
*/
|
|
966
966
|
NextToken?: string;
|
|
967
967
|
}
|
|
968
968
|
/**
|
|
969
|
-
* @public
|
|
970
969
|
* <p>Returned in response to a successful <code>LookupDeveloperIdentity</code>
|
|
971
970
|
* action.</p>
|
|
971
|
+
* @public
|
|
972
972
|
*/
|
|
973
973
|
export interface LookupDeveloperIdentityResponse {
|
|
974
974
|
/**
|
|
975
|
-
* @public
|
|
976
975
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
976
|
+
* @public
|
|
977
977
|
*/
|
|
978
978
|
IdentityId?: string;
|
|
979
979
|
/**
|
|
980
|
-
* @public
|
|
981
980
|
* <p>This is the list of developer user identifiers associated with an identity ID.
|
|
982
981
|
* Cognito supports the association of multiple developer user identifiers with an identity
|
|
983
982
|
* ID.</p>
|
|
983
|
+
* @public
|
|
984
984
|
*/
|
|
985
985
|
DeveloperUserIdentifierList?: string[];
|
|
986
986
|
/**
|
|
987
|
-
* @public
|
|
988
987
|
* <p>A pagination token. The first call you make will have <code>NextToken</code> set to
|
|
989
988
|
* null. After that the service will return <code>NextToken</code> values as needed. For
|
|
990
989
|
* example, let's say you make a request with <code>MaxResults</code> set to 10, and there are
|
|
991
990
|
* 20 matches in the database. The service will return a pagination token as a part of the
|
|
992
991
|
* response. This token can be used to call the API again and get results starting from the
|
|
993
992
|
* 11th match.</p>
|
|
993
|
+
* @public
|
|
994
994
|
*/
|
|
995
995
|
NextToken?: string;
|
|
996
996
|
}
|
|
997
997
|
/**
|
|
998
|
-
* @public
|
|
999
998
|
* <p>Input to the <code>MergeDeveloperIdentities</code> action.</p>
|
|
999
|
+
* @public
|
|
1000
1000
|
*/
|
|
1001
1001
|
export interface MergeDeveloperIdentitiesInput {
|
|
1002
1002
|
/**
|
|
1003
|
-
* @public
|
|
1004
1003
|
* <p>User identifier for the source user. The value should be a
|
|
1005
1004
|
* <code>DeveloperUserIdentifier</code>.</p>
|
|
1005
|
+
* @public
|
|
1006
1006
|
*/
|
|
1007
1007
|
SourceUserIdentifier: string | undefined;
|
|
1008
1008
|
/**
|
|
1009
|
-
* @public
|
|
1010
1009
|
* <p>User identifier for the destination user. The value should be a
|
|
1011
1010
|
* <code>DeveloperUserIdentifier</code>.</p>
|
|
1011
|
+
* @public
|
|
1012
1012
|
*/
|
|
1013
1013
|
DestinationUserIdentifier: string | undefined;
|
|
1014
1014
|
/**
|
|
1015
|
-
* @public
|
|
1016
1015
|
* <p>The "domain" by which Cognito will refer to your users. This is a (pseudo) domain
|
|
1017
1016
|
* name that you provide while creating an identity pool. This name acts as a placeholder that
|
|
1018
1017
|
* allows your backend and the Cognito service to communicate about the developer provider.
|
|
1019
1018
|
* For the <code>DeveloperProviderName</code>, you can use letters as well as period (.),
|
|
1020
1019
|
* underscore (_), and dash (-).</p>
|
|
1020
|
+
* @public
|
|
1021
1021
|
*/
|
|
1022
1022
|
DeveloperProviderName: string | undefined;
|
|
1023
1023
|
/**
|
|
1024
|
-
* @public
|
|
1025
1024
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
1025
|
+
* @public
|
|
1026
1026
|
*/
|
|
1027
1027
|
IdentityPoolId: string | undefined;
|
|
1028
1028
|
}
|
|
1029
1029
|
/**
|
|
1030
|
-
* @public
|
|
1031
1030
|
* <p>Returned in response to a successful <code>MergeDeveloperIdentities</code>
|
|
1032
1031
|
* action.</p>
|
|
1032
|
+
* @public
|
|
1033
1033
|
*/
|
|
1034
1034
|
export interface MergeDeveloperIdentitiesResponse {
|
|
1035
1035
|
/**
|
|
1036
|
-
* @public
|
|
1037
1036
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
1037
|
+
* @public
|
|
1038
1038
|
*/
|
|
1039
1039
|
IdentityId?: string;
|
|
1040
1040
|
}
|
|
1041
1041
|
/**
|
|
1042
|
-
* @public
|
|
1043
1042
|
* <p>Thrown if there are parallel requests to modify a resource.</p>
|
|
1043
|
+
* @public
|
|
1044
1044
|
*/
|
|
1045
1045
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
1046
1046
|
readonly name: "ConcurrentModificationException";
|
|
@@ -1051,28 +1051,28 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
1051
1051
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
1052
1052
|
}
|
|
1053
1053
|
/**
|
|
1054
|
-
* @public
|
|
1055
1054
|
* <p>Input to the <code>SetIdentityPoolRoles</code> action.</p>
|
|
1055
|
+
* @public
|
|
1056
1056
|
*/
|
|
1057
1057
|
export interface SetIdentityPoolRolesInput {
|
|
1058
1058
|
/**
|
|
1059
|
-
* @public
|
|
1060
1059
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
1060
|
+
* @public
|
|
1061
1061
|
*/
|
|
1062
1062
|
IdentityPoolId: string | undefined;
|
|
1063
1063
|
/**
|
|
1064
|
-
* @public
|
|
1065
1064
|
* <p>The map of roles associated with this pool. For a given role, the key will be either
|
|
1066
1065
|
* "authenticated" or "unauthenticated" and the value will be the Role ARN.</p>
|
|
1066
|
+
* @public
|
|
1067
1067
|
*/
|
|
1068
1068
|
Roles: Record<string, string> | undefined;
|
|
1069
1069
|
/**
|
|
1070
|
-
* @public
|
|
1071
1070
|
* <p>How users for a specific identity provider are to mapped to roles. This is a string
|
|
1072
1071
|
* to <a>RoleMapping</a> object map. The string identifies the identity provider,
|
|
1073
1072
|
* for example, "graph.facebook.com" or
|
|
1074
1073
|
* "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".</p>
|
|
1075
1074
|
* <p>Up to 25 rules can be specified per identity provider.</p>
|
|
1075
|
+
* @public
|
|
1076
1076
|
*/
|
|
1077
1077
|
RoleMappings?: Record<string, RoleMapping>;
|
|
1078
1078
|
}
|
|
@@ -1081,23 +1081,23 @@ export interface SetIdentityPoolRolesInput {
|
|
|
1081
1081
|
*/
|
|
1082
1082
|
export interface SetPrincipalTagAttributeMapInput {
|
|
1083
1083
|
/**
|
|
1084
|
-
* @public
|
|
1085
1084
|
* <p>The ID of the Identity Pool you want to set attribute mappings for.</p>
|
|
1085
|
+
* @public
|
|
1086
1086
|
*/
|
|
1087
1087
|
IdentityPoolId: string | undefined;
|
|
1088
1088
|
/**
|
|
1089
|
-
* @public
|
|
1090
1089
|
* <p>The provider name you want to use for attribute mappings.</p>
|
|
1090
|
+
* @public
|
|
1091
1091
|
*/
|
|
1092
1092
|
IdentityProviderName: string | undefined;
|
|
1093
1093
|
/**
|
|
1094
|
-
* @public
|
|
1095
1094
|
* <p>You can use this operation to use default (username and clientID) attribute mappings.</p>
|
|
1095
|
+
* @public
|
|
1096
1096
|
*/
|
|
1097
1097
|
UseDefaults?: boolean;
|
|
1098
1098
|
/**
|
|
1099
|
-
* @public
|
|
1100
1099
|
* <p>You can use this operation to add principal tags.</p>
|
|
1100
|
+
* @public
|
|
1101
1101
|
*/
|
|
1102
1102
|
PrincipalTags?: Record<string, string>;
|
|
1103
1103
|
}
|
|
@@ -1106,23 +1106,23 @@ export interface SetPrincipalTagAttributeMapInput {
|
|
|
1106
1106
|
*/
|
|
1107
1107
|
export interface SetPrincipalTagAttributeMapResponse {
|
|
1108
1108
|
/**
|
|
1109
|
-
* @public
|
|
1110
1109
|
* <p>The ID of the Identity Pool you want to set attribute mappings for.</p>
|
|
1110
|
+
* @public
|
|
1111
1111
|
*/
|
|
1112
1112
|
IdentityPoolId?: string;
|
|
1113
1113
|
/**
|
|
1114
|
-
* @public
|
|
1115
1114
|
* <p>The provider name you want to use for attribute mappings.</p>
|
|
1115
|
+
* @public
|
|
1116
1116
|
*/
|
|
1117
1117
|
IdentityProviderName?: string;
|
|
1118
1118
|
/**
|
|
1119
|
-
* @public
|
|
1120
1119
|
* <p>You can use this operation to select default (username and clientID) attribute mappings.</p>
|
|
1120
|
+
* @public
|
|
1121
1121
|
*/
|
|
1122
1122
|
UseDefaults?: boolean;
|
|
1123
1123
|
/**
|
|
1124
|
-
* @public
|
|
1125
1124
|
* <p>You can use this operation to add principal tags. The <code>PrincipalTags</code>operation enables you to reference user attributes in your IAM permissions policy.</p>
|
|
1125
|
+
* @public
|
|
1126
1126
|
*/
|
|
1127
1127
|
PrincipalTags?: Record<string, string>;
|
|
1128
1128
|
}
|
|
@@ -1131,13 +1131,13 @@ export interface SetPrincipalTagAttributeMapResponse {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
export interface TagResourceInput {
|
|
1133
1133
|
/**
|
|
1134
|
-
* @public
|
|
1135
1134
|
* <p>The Amazon Resource Name (ARN) of the identity pool.</p>
|
|
1135
|
+
* @public
|
|
1136
1136
|
*/
|
|
1137
1137
|
ResourceArn: string | undefined;
|
|
1138
1138
|
/**
|
|
1139
|
-
* @public
|
|
1140
1139
|
* <p>The tags to assign to the identity pool.</p>
|
|
1140
|
+
* @public
|
|
1141
1141
|
*/
|
|
1142
1142
|
Tags: Record<string, string> | undefined;
|
|
1143
1143
|
}
|
|
@@ -1147,50 +1147,50 @@ export interface TagResourceInput {
|
|
|
1147
1147
|
export interface TagResourceResponse {
|
|
1148
1148
|
}
|
|
1149
1149
|
/**
|
|
1150
|
-
* @public
|
|
1151
1150
|
* <p>Input to the <code>UnlinkDeveloperIdentity</code> action.</p>
|
|
1151
|
+
* @public
|
|
1152
1152
|
*/
|
|
1153
1153
|
export interface UnlinkDeveloperIdentityInput {
|
|
1154
1154
|
/**
|
|
1155
|
-
* @public
|
|
1156
1155
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
1156
|
+
* @public
|
|
1157
1157
|
*/
|
|
1158
1158
|
IdentityId: string | undefined;
|
|
1159
1159
|
/**
|
|
1160
|
-
* @public
|
|
1161
1160
|
* <p>An identity pool ID in the format REGION:GUID.</p>
|
|
1161
|
+
* @public
|
|
1162
1162
|
*/
|
|
1163
1163
|
IdentityPoolId: string | undefined;
|
|
1164
1164
|
/**
|
|
1165
|
-
* @public
|
|
1166
1165
|
* <p>The "domain" by which Cognito will refer to your users.</p>
|
|
1166
|
+
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
DeveloperProviderName: string | undefined;
|
|
1169
1169
|
/**
|
|
1170
|
-
* @public
|
|
1171
1170
|
* <p>A unique ID used by your backend authentication process to identify a user.</p>
|
|
1171
|
+
* @public
|
|
1172
1172
|
*/
|
|
1173
1173
|
DeveloperUserIdentifier: string | undefined;
|
|
1174
1174
|
}
|
|
1175
1175
|
/**
|
|
1176
|
-
* @public
|
|
1177
1176
|
* <p>Input to the UnlinkIdentity action.</p>
|
|
1177
|
+
* @public
|
|
1178
1178
|
*/
|
|
1179
1179
|
export interface UnlinkIdentityInput {
|
|
1180
1180
|
/**
|
|
1181
|
-
* @public
|
|
1182
1181
|
* <p>A unique identifier in the format REGION:GUID.</p>
|
|
1182
|
+
* @public
|
|
1183
1183
|
*/
|
|
1184
1184
|
IdentityId: string | undefined;
|
|
1185
1185
|
/**
|
|
1186
|
-
* @public
|
|
1187
1186
|
* <p>A set of optional name-value pairs that map provider names to provider
|
|
1188
1187
|
* tokens.</p>
|
|
1188
|
+
* @public
|
|
1189
1189
|
*/
|
|
1190
1190
|
Logins: Record<string, string> | undefined;
|
|
1191
1191
|
/**
|
|
1192
|
-
* @public
|
|
1193
1192
|
* <p>Provider names to unlink from this identity.</p>
|
|
1193
|
+
* @public
|
|
1194
1194
|
*/
|
|
1195
1195
|
LoginsToRemove: string[] | undefined;
|
|
1196
1196
|
}
|
|
@@ -1199,13 +1199,13 @@ export interface UnlinkIdentityInput {
|
|
|
1199
1199
|
*/
|
|
1200
1200
|
export interface UntagResourceInput {
|
|
1201
1201
|
/**
|
|
1202
|
-
* @public
|
|
1203
1202
|
* <p>The Amazon Resource Name (ARN) of the identity pool.</p>
|
|
1203
|
+
* @public
|
|
1204
1204
|
*/
|
|
1205
1205
|
ResourceArn: string | undefined;
|
|
1206
1206
|
/**
|
|
1207
|
-
* @public
|
|
1208
1207
|
* <p>The keys of the tags to remove from the user pool.</p>
|
|
1208
|
+
* @public
|
|
1209
1209
|
*/
|
|
1210
1210
|
TagKeys: string[] | undefined;
|
|
1211
1211
|
}
|