@aws-sdk/client-cognito-identity-provider 3.1144.0 → 3.1146.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 +43 -29
- package/dist-es/models/errors.js +12 -12
- package/dist-es/schemas/schemas_0.js +30 -16
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +16 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +3 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +6 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +14 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +24 -2
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +14 -2
- package/dist-types/commands/CreateUserPoolReplicaCommand.d.ts +14 -2
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +3 -0
- package/dist-types/commands/DescribeTermsByClientCommand.d.ts +2 -4
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +5 -0
- package/dist-types/commands/GetClientTokenCommand.d.ts +1 -2
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +3 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +16 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +3 -0
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +14 -2
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -4
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +6 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +14 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +19 -2
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +14 -2
- package/dist-types/models/errors.d.ts +25 -13
- package/dist-types/models/models_0.d.ts +147 -51
- package/dist-types/models/models_1.d.ts +73 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/errors.d.ts +5 -5
- package/dist-types/ts3.4/models/models_0.d.ts +9 -8
- package/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -92,6 +92,9 @@ export interface AccountTakeoverRiskConfigurationType {
|
|
|
92
92
|
NotifyConfiguration?: NotifyConfigurationType | undefined;
|
|
93
93
|
Actions: AccountTakeoverActionsType | undefined;
|
|
94
94
|
}
|
|
95
|
+
export interface AcrLevelConfigType {
|
|
96
|
+
AcrValue: string | undefined;
|
|
97
|
+
}
|
|
95
98
|
export interface NumberAttributeConstraintsType {
|
|
96
99
|
MinValue?: string | undefined;
|
|
97
100
|
MaxValue?: string | undefined;
|
|
@@ -404,6 +407,7 @@ export interface AdminRespondToAuthChallengeResponse {
|
|
|
404
407
|
Session?: string | undefined;
|
|
405
408
|
ChallengeParameters?: Record<string, string> | undefined;
|
|
406
409
|
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
410
|
+
AvailableChallenges?: ChallengeNameType[] | undefined;
|
|
407
411
|
}
|
|
408
412
|
export interface EmailMfaSettingsType {
|
|
409
413
|
Enabled?: boolean | undefined;
|
|
@@ -563,6 +567,7 @@ export interface CreateIdentityProviderRequest {
|
|
|
563
567
|
ProviderDetails: Record<string, string> | undefined;
|
|
564
568
|
AttributeMapping?: Record<string, string> | undefined;
|
|
565
569
|
IdpIdentifiers?: string[] | undefined;
|
|
570
|
+
AcrMapping?: Record<string, string> | undefined;
|
|
566
571
|
}
|
|
567
572
|
export interface IdentityProviderType {
|
|
568
573
|
UserPoolId?: string | undefined;
|
|
@@ -571,6 +576,7 @@ export interface IdentityProviderType {
|
|
|
571
576
|
ProviderDetails?: Record<string, string> | undefined;
|
|
572
577
|
AttributeMapping?: Record<string, string> | undefined;
|
|
573
578
|
IdpIdentifiers?: string[] | undefined;
|
|
579
|
+
AcrMapping?: Record<string, string> | undefined;
|
|
574
580
|
LastModifiedDate?: Date | undefined;
|
|
575
581
|
CreationDate?: Date | undefined;
|
|
576
582
|
}
|
|
@@ -789,6 +795,7 @@ export interface CreateUserPoolRequest {
|
|
|
789
795
|
UserPoolTier?: UserPoolTierType | undefined;
|
|
790
796
|
KeyConfiguration?: KeyConfigurationType | undefined;
|
|
791
797
|
IssuerConfiguration?: IssuerConfigurationType | undefined;
|
|
798
|
+
AcrConfiguration?: Record<string, AcrLevelConfigType> | undefined;
|
|
792
799
|
}
|
|
793
800
|
export interface UserPoolType {
|
|
794
801
|
Id?: string | undefined;
|
|
@@ -827,6 +834,7 @@ export interface UserPoolType {
|
|
|
827
834
|
UserPoolTier?: UserPoolTierType | undefined;
|
|
828
835
|
KeyConfiguration?: KeyConfigurationType | undefined;
|
|
829
836
|
IssuerConfiguration?: IssuerConfigurationType | undefined;
|
|
837
|
+
AcrConfiguration?: Record<string, AcrLevelConfigType> | undefined;
|
|
830
838
|
}
|
|
831
839
|
export interface CreateUserPoolResponse {
|
|
832
840
|
UserPool?: UserPoolType | undefined;
|
|
@@ -1493,6 +1501,7 @@ export interface RespondToAuthChallengeResponse {
|
|
|
1493
1501
|
Session?: string | undefined;
|
|
1494
1502
|
ChallengeParameters?: Record<string, string> | undefined;
|
|
1495
1503
|
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
1504
|
+
AvailableChallenges?: ChallengeNameType[] | undefined;
|
|
1496
1505
|
}
|
|
1497
1506
|
export interface RevokeTokenRequest {
|
|
1498
1507
|
Token: string | undefined;
|
|
@@ -1534,11 +1543,3 @@ export interface SetUserMFAPreferenceRequest {
|
|
|
1534
1543
|
AccessToken: string | undefined;
|
|
1535
1544
|
}
|
|
1536
1545
|
export interface SetUserMFAPreferenceResponse {}
|
|
1537
|
-
export interface SetUserPoolMfaConfigRequest {
|
|
1538
|
-
UserPoolId: string | undefined;
|
|
1539
|
-
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
1540
|
-
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
|
|
1541
|
-
EmailMfaConfiguration?: EmailMfaConfigType | undefined;
|
|
1542
|
-
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
1543
|
-
WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
|
|
1544
|
-
}
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from "./enums";
|
|
17
17
|
import {
|
|
18
18
|
AccountRecoverySettingType,
|
|
19
|
+
AcrLevelConfigType,
|
|
19
20
|
AdminCreateUserConfigType,
|
|
20
21
|
AnalyticsConfigurationType,
|
|
21
22
|
AnalyticsMetadataType,
|
|
@@ -54,6 +55,14 @@ import {
|
|
|
54
55
|
VerificationMessageTemplateType,
|
|
55
56
|
WebAuthnConfigurationType,
|
|
56
57
|
} from "./models_0";
|
|
58
|
+
export interface SetUserPoolMfaConfigRequest {
|
|
59
|
+
UserPoolId: string | undefined;
|
|
60
|
+
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
61
|
+
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
|
|
62
|
+
EmailMfaConfiguration?: EmailMfaConfigType | undefined;
|
|
63
|
+
MfaConfiguration?: UserPoolMfaType | undefined;
|
|
64
|
+
WebAuthnConfiguration?: WebAuthnConfigurationType | undefined;
|
|
65
|
+
}
|
|
57
66
|
export interface SetUserPoolMfaConfigResponse {
|
|
58
67
|
SmsMfaConfiguration?: SmsMfaConfigType | undefined;
|
|
59
68
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType | undefined;
|
|
@@ -143,6 +152,7 @@ export interface UpdateIdentityProviderRequest {
|
|
|
143
152
|
ProviderDetails?: Record<string, string> | undefined;
|
|
144
153
|
AttributeMapping?: Record<string, string> | undefined;
|
|
145
154
|
IdpIdentifiers?: string[] | undefined;
|
|
155
|
+
AcrMapping?: Record<string, string> | undefined;
|
|
146
156
|
}
|
|
147
157
|
export interface UpdateIdentityProviderResponse {
|
|
148
158
|
IdentityProvider: IdentityProviderType | undefined;
|
|
@@ -216,6 +226,7 @@ export interface UpdateUserPoolRequest {
|
|
|
216
226
|
UserPoolTier?: UserPoolTierType | undefined;
|
|
217
227
|
KeyConfiguration?: KeyConfigurationType | undefined;
|
|
218
228
|
IssuerConfiguration?: IssuerConfigurationType | undefined;
|
|
229
|
+
AcrConfiguration?: Record<string, AcrLevelConfigType> | undefined;
|
|
219
230
|
}
|
|
220
231
|
export interface UpdateUserPoolResponse {}
|
|
221
232
|
export interface UpdateUserPoolClientRequest {
|
|
@@ -65,6 +65,7 @@ export declare var AccountRecoverySettingType$: StaticStructureSchema;
|
|
|
65
65
|
export declare var AccountTakeoverActionsType$: StaticStructureSchema;
|
|
66
66
|
export declare var AccountTakeoverActionType$: StaticStructureSchema;
|
|
67
67
|
export declare var AccountTakeoverRiskConfigurationType$: StaticStructureSchema;
|
|
68
|
+
export declare var AcrLevelConfigType$: StaticStructureSchema;
|
|
68
69
|
export declare var AddCustomAttributesRequest$: StaticStructureSchema;
|
|
69
70
|
export declare var AddCustomAttributesResponse$: StaticStructureSchema;
|
|
70
71
|
export declare var AddUserPoolClientSecretRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1146.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider",
|
|
6
6
|
"license": "Apache-2.0",
|