@aws-sdk/client-cognito-identity-provider 3.687.0 → 3.691.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.
|
@@ -50,15 +50,15 @@ import {
|
|
|
50
50
|
VerifiedAttributeType,
|
|
51
51
|
} from "./models_0";
|
|
52
52
|
export interface RespondToAuthChallengeResponse {
|
|
53
|
-
ChallengeName?: ChallengeNameType;
|
|
54
|
-
Session?: string;
|
|
55
|
-
ChallengeParameters?: Record<string, string
|
|
56
|
-
AuthenticationResult?: AuthenticationResultType;
|
|
53
|
+
ChallengeName?: ChallengeNameType | undefined;
|
|
54
|
+
Session?: string | undefined;
|
|
55
|
+
ChallengeParameters?: Record<string, string> | undefined;
|
|
56
|
+
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
57
57
|
}
|
|
58
58
|
export interface RevokeTokenRequest {
|
|
59
59
|
Token: string | undefined;
|
|
60
60
|
ClientId: string | undefined;
|
|
61
|
-
ClientSecret?: string;
|
|
61
|
+
ClientSecret?: string | undefined;
|
|
62
62
|
}
|
|
63
63
|
export interface RevokeTokenResponse {}
|
|
64
64
|
export declare class UnauthorizedException extends __BaseException {
|
|
@@ -87,46 +87,50 @@ export interface SetLogDeliveryConfigurationRequest {
|
|
|
87
87
|
LogConfigurations: LogConfigurationType[] | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface SetLogDeliveryConfigurationResponse {
|
|
90
|
-
LogDeliveryConfiguration?: LogDeliveryConfigurationType;
|
|
90
|
+
LogDeliveryConfiguration?: LogDeliveryConfigurationType | undefined;
|
|
91
91
|
}
|
|
92
92
|
export interface SetRiskConfigurationRequest {
|
|
93
93
|
UserPoolId: string | undefined;
|
|
94
|
-
ClientId?: string;
|
|
95
|
-
CompromisedCredentialsRiskConfiguration?:
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
ClientId?: string | undefined;
|
|
95
|
+
CompromisedCredentialsRiskConfiguration?:
|
|
96
|
+
| CompromisedCredentialsRiskConfigurationType
|
|
97
|
+
| undefined;
|
|
98
|
+
AccountTakeoverRiskConfiguration?:
|
|
99
|
+
| AccountTakeoverRiskConfigurationType
|
|
100
|
+
| undefined;
|
|
101
|
+
RiskExceptionConfiguration?: RiskExceptionConfigurationType | undefined;
|
|
98
102
|
}
|
|
99
103
|
export interface SetRiskConfigurationResponse {
|
|
100
104
|
RiskConfiguration: RiskConfigurationType | undefined;
|
|
101
105
|
}
|
|
102
106
|
export interface SetUICustomizationRequest {
|
|
103
107
|
UserPoolId: string | undefined;
|
|
104
|
-
ClientId?: string;
|
|
105
|
-
CSS?: string;
|
|
106
|
-
ImageFile?: Uint8Array;
|
|
108
|
+
ClientId?: string | undefined;
|
|
109
|
+
CSS?: string | undefined;
|
|
110
|
+
ImageFile?: Uint8Array | undefined;
|
|
107
111
|
}
|
|
108
112
|
export interface SetUICustomizationResponse {
|
|
109
113
|
UICustomization: UICustomizationType | undefined;
|
|
110
114
|
}
|
|
111
115
|
export interface SetUserMFAPreferenceRequest {
|
|
112
|
-
SMSMfaSettings?: SMSMfaSettingsType;
|
|
113
|
-
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
|
|
114
|
-
EmailMfaSettings?: EmailMfaSettingsType;
|
|
116
|
+
SMSMfaSettings?: SMSMfaSettingsType | undefined;
|
|
117
|
+
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType | undefined;
|
|
118
|
+
EmailMfaSettings?: EmailMfaSettingsType | undefined;
|
|
115
119
|
AccessToken: string | undefined;
|
|
116
120
|
}
|
|
117
121
|
export interface SetUserMFAPreferenceResponse {}
|
|
118
122
|
export interface SetUserPoolMfaConfigRequest {
|
|
119
123
|
UserPoolId: string | undefined;
|
|
120
|
-
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
121
|
-
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
122
|
-
EmailMfaConfiguration?: EmailMfaConfigType;
|
|
123
|
-
MfaConfiguration?: UserPoolMfaType;
|
|
124
|
+
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
125
|
+
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
|
|
126
|
+
EmailMfaConfiguration?: EmailMfaConfigType | undefined;
|
|
127
|
+
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
124
128
|
}
|
|
125
129
|
export interface SetUserPoolMfaConfigResponse {
|
|
126
|
-
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
127
|
-
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
128
|
-
EmailMfaConfiguration?: EmailMfaConfigType;
|
|
129
|
-
MfaConfiguration?: UserPoolMfaType;
|
|
130
|
+
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
131
|
+
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
|
|
132
|
+
EmailMfaConfiguration?: EmailMfaConfigType | undefined;
|
|
133
|
+
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
130
134
|
}
|
|
131
135
|
export interface SetUserSettingsRequest {
|
|
132
136
|
AccessToken: string | undefined;
|
|
@@ -135,18 +139,18 @@ export interface SetUserSettingsRequest {
|
|
|
135
139
|
export interface SetUserSettingsResponse {}
|
|
136
140
|
export interface SignUpRequest {
|
|
137
141
|
ClientId: string | undefined;
|
|
138
|
-
SecretHash?: string;
|
|
142
|
+
SecretHash?: string | undefined;
|
|
139
143
|
Username: string | undefined;
|
|
140
144
|
Password: string | undefined;
|
|
141
|
-
UserAttributes?: AttributeType[];
|
|
142
|
-
ValidationData?: AttributeType[];
|
|
143
|
-
AnalyticsMetadata?: AnalyticsMetadataType;
|
|
144
|
-
UserContextData?: UserContextDataType;
|
|
145
|
-
ClientMetadata?: Record<string, string
|
|
145
|
+
UserAttributes?: AttributeType[] | undefined;
|
|
146
|
+
ValidationData?: AttributeType[] | undefined;
|
|
147
|
+
AnalyticsMetadata?: AnalyticsMetadataType | undefined;
|
|
148
|
+
UserContextData?: UserContextDataType | undefined;
|
|
149
|
+
ClientMetadata?: Record<string, string> | undefined;
|
|
146
150
|
}
|
|
147
151
|
export interface SignUpResponse {
|
|
148
152
|
UserConfirmed: boolean | undefined;
|
|
149
|
-
CodeDeliveryDetails?: CodeDeliveryDetailsType;
|
|
153
|
+
CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
|
|
150
154
|
UserSub: string | undefined;
|
|
151
155
|
}
|
|
152
156
|
export interface StartUserImportJobRequest {
|
|
@@ -154,14 +158,14 @@ export interface StartUserImportJobRequest {
|
|
|
154
158
|
JobId: string | undefined;
|
|
155
159
|
}
|
|
156
160
|
export interface StartUserImportJobResponse {
|
|
157
|
-
UserImportJob?: UserImportJobType;
|
|
161
|
+
UserImportJob?: UserImportJobType | undefined;
|
|
158
162
|
}
|
|
159
163
|
export interface StopUserImportJobRequest {
|
|
160
164
|
UserPoolId: string | undefined;
|
|
161
165
|
JobId: string | undefined;
|
|
162
166
|
}
|
|
163
167
|
export interface StopUserImportJobResponse {
|
|
164
|
-
UserImportJob?: UserImportJobType;
|
|
168
|
+
UserImportJob?: UserImportJobType | undefined;
|
|
165
169
|
}
|
|
166
170
|
export interface TagResourceRequest {
|
|
167
171
|
ResourceArn: string | undefined;
|
|
@@ -184,25 +188,25 @@ export interface UpdateAuthEventFeedbackResponse {}
|
|
|
184
188
|
export interface UpdateDeviceStatusRequest {
|
|
185
189
|
AccessToken: string | undefined;
|
|
186
190
|
DeviceKey: string | undefined;
|
|
187
|
-
DeviceRememberedStatus?: DeviceRememberedStatusType;
|
|
191
|
+
DeviceRememberedStatus?: DeviceRememberedStatusType | undefined;
|
|
188
192
|
}
|
|
189
193
|
export interface UpdateDeviceStatusResponse {}
|
|
190
194
|
export interface UpdateGroupRequest {
|
|
191
195
|
GroupName: string | undefined;
|
|
192
196
|
UserPoolId: string | undefined;
|
|
193
|
-
Description?: string;
|
|
194
|
-
RoleArn?: string;
|
|
195
|
-
Precedence?: number;
|
|
197
|
+
Description?: string | undefined;
|
|
198
|
+
RoleArn?: string | undefined;
|
|
199
|
+
Precedence?: number | undefined;
|
|
196
200
|
}
|
|
197
201
|
export interface UpdateGroupResponse {
|
|
198
|
-
Group?: GroupType;
|
|
202
|
+
Group?: GroupType | undefined;
|
|
199
203
|
}
|
|
200
204
|
export interface UpdateIdentityProviderRequest {
|
|
201
205
|
UserPoolId: string | undefined;
|
|
202
206
|
ProviderName: string | undefined;
|
|
203
|
-
ProviderDetails?: Record<string, string
|
|
204
|
-
AttributeMapping?: Record<string, string
|
|
205
|
-
IdpIdentifiers?: string[];
|
|
207
|
+
ProviderDetails?: Record<string, string> | undefined;
|
|
208
|
+
AttributeMapping?: Record<string, string> | undefined;
|
|
209
|
+
IdpIdentifiers?: string[] | undefined;
|
|
206
210
|
}
|
|
207
211
|
export interface UpdateIdentityProviderResponse {
|
|
208
212
|
IdentityProvider: IdentityProviderType | undefined;
|
|
@@ -211,7 +215,7 @@ export interface UpdateResourceServerRequest {
|
|
|
211
215
|
UserPoolId: string | undefined;
|
|
212
216
|
Identifier: string | undefined;
|
|
213
217
|
Name: string | undefined;
|
|
214
|
-
Scopes?: ResourceServerScopeType[];
|
|
218
|
+
Scopes?: ResourceServerScopeType[] | undefined;
|
|
215
219
|
}
|
|
216
220
|
export interface UpdateResourceServerResponse {
|
|
217
221
|
ResourceServer: ResourceServerType | undefined;
|
|
@@ -219,59 +223,59 @@ export interface UpdateResourceServerResponse {
|
|
|
219
223
|
export interface UpdateUserAttributesRequest {
|
|
220
224
|
UserAttributes: AttributeType[] | undefined;
|
|
221
225
|
AccessToken: string | undefined;
|
|
222
|
-
ClientMetadata?: Record<string, string
|
|
226
|
+
ClientMetadata?: Record<string, string> | undefined;
|
|
223
227
|
}
|
|
224
228
|
export interface UpdateUserAttributesResponse {
|
|
225
|
-
CodeDeliveryDetailsList?: CodeDeliveryDetailsType[];
|
|
229
|
+
CodeDeliveryDetailsList?: CodeDeliveryDetailsType[] | undefined;
|
|
226
230
|
}
|
|
227
231
|
export interface UpdateUserPoolRequest {
|
|
228
232
|
UserPoolId: string | undefined;
|
|
229
|
-
Policies?: UserPoolPolicyType;
|
|
230
|
-
DeletionProtection?: DeletionProtectionType;
|
|
231
|
-
LambdaConfig?: LambdaConfigType;
|
|
232
|
-
AutoVerifiedAttributes?: VerifiedAttributeType[];
|
|
233
|
-
SmsVerificationMessage?: string;
|
|
234
|
-
EmailVerificationMessage?: string;
|
|
235
|
-
EmailVerificationSubject?: string;
|
|
236
|
-
VerificationMessageTemplate?: VerificationMessageTemplateType;
|
|
237
|
-
SmsAuthenticationMessage?: string;
|
|
238
|
-
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
239
|
-
MfaConfiguration?: UserPoolMfaType;
|
|
240
|
-
DeviceConfiguration?: DeviceConfigurationType;
|
|
241
|
-
EmailConfiguration?: EmailConfigurationType;
|
|
242
|
-
SmsConfiguration?: SmsConfigurationType;
|
|
243
|
-
UserPoolTags?: Record<string, string
|
|
244
|
-
AdminCreateUserConfig?: AdminCreateUserConfigType;
|
|
245
|
-
UserPoolAddOns?: UserPoolAddOnsType;
|
|
246
|
-
AccountRecoverySetting?: AccountRecoverySettingType;
|
|
233
|
+
Policies?: UserPoolPolicyType | undefined;
|
|
234
|
+
DeletionProtection?: DeletionProtectionType | undefined;
|
|
235
|
+
LambdaConfig?: LambdaConfigType | undefined;
|
|
236
|
+
AutoVerifiedAttributes?: VerifiedAttributeType[] | undefined;
|
|
237
|
+
SmsVerificationMessage?: string | undefined;
|
|
238
|
+
EmailVerificationMessage?: string | undefined;
|
|
239
|
+
EmailVerificationSubject?: string | undefined;
|
|
240
|
+
VerificationMessageTemplate?: VerificationMessageTemplateType | undefined;
|
|
241
|
+
SmsAuthenticationMessage?: string | undefined;
|
|
242
|
+
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType | undefined;
|
|
243
|
+
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
244
|
+
DeviceConfiguration?: DeviceConfigurationType | undefined;
|
|
245
|
+
EmailConfiguration?: EmailConfigurationType | undefined;
|
|
246
|
+
SmsConfiguration?: SmsConfigurationType | undefined;
|
|
247
|
+
UserPoolTags?: Record<string, string> | undefined;
|
|
248
|
+
AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
|
|
249
|
+
UserPoolAddOns?: UserPoolAddOnsType | undefined;
|
|
250
|
+
AccountRecoverySetting?: AccountRecoverySettingType | undefined;
|
|
247
251
|
}
|
|
248
252
|
export interface UpdateUserPoolResponse {}
|
|
249
253
|
export interface UpdateUserPoolClientRequest {
|
|
250
254
|
UserPoolId: string | undefined;
|
|
251
255
|
ClientId: string | undefined;
|
|
252
|
-
ClientName?: string;
|
|
253
|
-
RefreshTokenValidity?: number;
|
|
254
|
-
AccessTokenValidity?: number;
|
|
255
|
-
IdTokenValidity?: number;
|
|
256
|
-
TokenValidityUnits?: TokenValidityUnitsType;
|
|
257
|
-
ReadAttributes?: string[];
|
|
258
|
-
WriteAttributes?: string[];
|
|
259
|
-
ExplicitAuthFlows?: ExplicitAuthFlowsType[];
|
|
260
|
-
SupportedIdentityProviders?: string[];
|
|
261
|
-
CallbackURLs?: string[];
|
|
262
|
-
LogoutURLs?: string[];
|
|
263
|
-
DefaultRedirectURI?: string;
|
|
264
|
-
AllowedOAuthFlows?: OAuthFlowType[];
|
|
265
|
-
AllowedOAuthScopes?: string[];
|
|
266
|
-
AllowedOAuthFlowsUserPoolClient?: boolean;
|
|
267
|
-
AnalyticsConfiguration?: AnalyticsConfigurationType;
|
|
268
|
-
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
|
|
269
|
-
EnableTokenRevocation?: boolean;
|
|
270
|
-
EnablePropagateAdditionalUserContextData?: boolean;
|
|
271
|
-
AuthSessionValidity?: number;
|
|
256
|
+
ClientName?: string | undefined;
|
|
257
|
+
RefreshTokenValidity?: number | undefined;
|
|
258
|
+
AccessTokenValidity?: number | undefined;
|
|
259
|
+
IdTokenValidity?: number | undefined;
|
|
260
|
+
TokenValidityUnits?: TokenValidityUnitsType | undefined;
|
|
261
|
+
ReadAttributes?: string[] | undefined;
|
|
262
|
+
WriteAttributes?: string[] | undefined;
|
|
263
|
+
ExplicitAuthFlows?: ExplicitAuthFlowsType[] | undefined;
|
|
264
|
+
SupportedIdentityProviders?: string[] | undefined;
|
|
265
|
+
CallbackURLs?: string[] | undefined;
|
|
266
|
+
LogoutURLs?: string[] | undefined;
|
|
267
|
+
DefaultRedirectURI?: string | undefined;
|
|
268
|
+
AllowedOAuthFlows?: OAuthFlowType[] | undefined;
|
|
269
|
+
AllowedOAuthScopes?: string[] | undefined;
|
|
270
|
+
AllowedOAuthFlowsUserPoolClient?: boolean | undefined;
|
|
271
|
+
AnalyticsConfiguration?: AnalyticsConfigurationType | undefined;
|
|
272
|
+
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes | undefined;
|
|
273
|
+
EnableTokenRevocation?: boolean | undefined;
|
|
274
|
+
EnablePropagateAdditionalUserContextData?: boolean | undefined;
|
|
275
|
+
AuthSessionValidity?: number | undefined;
|
|
272
276
|
}
|
|
273
277
|
export interface UpdateUserPoolClientResponse {
|
|
274
|
-
UserPoolClient?: UserPoolClientType;
|
|
278
|
+
UserPoolClient?: UserPoolClientType | undefined;
|
|
275
279
|
}
|
|
276
280
|
export interface UpdateUserPoolDomainRequest {
|
|
277
281
|
Domain: string | undefined;
|
|
@@ -279,7 +283,7 @@ export interface UpdateUserPoolDomainRequest {
|
|
|
279
283
|
CustomDomainConfig: CustomDomainConfigType | undefined;
|
|
280
284
|
}
|
|
281
285
|
export interface UpdateUserPoolDomainResponse {
|
|
282
|
-
CloudFrontDomain?: string;
|
|
286
|
+
CloudFrontDomain?: string | undefined;
|
|
283
287
|
}
|
|
284
288
|
export declare class EnableSoftwareTokenMFAException extends __BaseException {
|
|
285
289
|
readonly name: "EnableSoftwareTokenMFAException";
|
|
@@ -292,10 +296,10 @@ export declare class EnableSoftwareTokenMFAException extends __BaseException {
|
|
|
292
296
|
);
|
|
293
297
|
}
|
|
294
298
|
export interface VerifySoftwareTokenRequest {
|
|
295
|
-
AccessToken?: string;
|
|
296
|
-
Session?: string;
|
|
299
|
+
AccessToken?: string | undefined;
|
|
300
|
+
Session?: string | undefined;
|
|
297
301
|
UserCode: string | undefined;
|
|
298
|
-
FriendlyDeviceName?: string;
|
|
302
|
+
FriendlyDeviceName?: string | undefined;
|
|
299
303
|
}
|
|
300
304
|
export declare const VerifySoftwareTokenResponseType: {
|
|
301
305
|
readonly ERROR: "ERROR";
|
|
@@ -304,8 +308,8 @@ export declare const VerifySoftwareTokenResponseType: {
|
|
|
304
308
|
export type VerifySoftwareTokenResponseType =
|
|
305
309
|
(typeof VerifySoftwareTokenResponseType)[keyof typeof VerifySoftwareTokenResponseType];
|
|
306
310
|
export interface VerifySoftwareTokenResponse {
|
|
307
|
-
Status?: VerifySoftwareTokenResponseType;
|
|
308
|
-
Session?: string;
|
|
311
|
+
Status?: VerifySoftwareTokenResponseType | undefined;
|
|
312
|
+
Session?: string | undefined;
|
|
309
313
|
}
|
|
310
314
|
export interface VerifyUserAttributeRequest {
|
|
311
315
|
AccessToken: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|