@aws-sdk/client-cognito-identity-provider 3.95.0 → 3.98.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/CHANGELOG.md +11 -0
- package/README.md +5 -2
- package/dist-cjs/commands/StartUserImportJobCommand.js +1 -2
- package/dist-cjs/models/models_0.js +15 -15
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_json1_1.js +51 -0
- package/dist-es/commands/StartUserImportJobCommand.js +1 -2
- package/dist-es/models/models_0.js +9 -9
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +87 -39
- package/dist-types/CognitoIdentityProvider.d.ts +261 -157
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +9 -7
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +27 -16
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +0 -1
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +17 -12
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +10 -6
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +5 -3
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +10 -5
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +3 -3
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +3 -2
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +6 -3
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +6 -2
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +10 -6
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +8 -8
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -1
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -2
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +3 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +5 -2
- package/dist-types/commands/InitiateAuthCommand.d.ts +2 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -1
- package/dist-types/commands/RevokeTokenCommand.d.ts +3 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +5 -2
- package/dist-types/commands/SetUICustomizationCommand.d.ts +13 -7
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +8 -5
- package/dist-types/commands/SetUserSettingsCommand.d.ts +3 -2
- package/dist-types/commands/SignUpCommand.d.ts +2 -1
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -2
- package/dist-types/commands/TagResourceCommand.d.ts +14 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +4 -3
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +8 -7
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +4 -3
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +19 -12
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +3 -2
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1940 -1245
- package/dist-types/models/models_1.d.ts +247 -123
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +17 -15
- package/dist-types/ts3.4/models/models_1.d.ts +14 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
3
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import { StartUserImportJobRequest } from "../models/
|
|
5
|
-
import { StartUserImportJobResponse } from "../models/models_1";
|
|
4
|
+
import { StartUserImportJobRequest, StartUserImportJobResponse } from "../models/models_1";
|
|
6
5
|
export interface StartUserImportJobCommandInput extends StartUserImportJobRequest {
|
|
7
6
|
}
|
|
8
7
|
export interface StartUserImportJobCommandOutput extends StartUserImportJobResponse, __MetadataBearer {
|
|
@@ -1361,6 +1361,10 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
1361
1361
|
|
|
1362
1362
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
1363
1363
|
}
|
|
1364
|
+
export declare enum VerifiedAttributeType {
|
|
1365
|
+
EMAIL = "email",
|
|
1366
|
+
PHONE_NUMBER = "phone_number"
|
|
1367
|
+
}
|
|
1364
1368
|
|
|
1365
1369
|
export interface ChangePasswordRequest {
|
|
1366
1370
|
|
|
@@ -1705,10 +1709,6 @@ export declare namespace CreateUserImportJobResponse {
|
|
|
1705
1709
|
|
|
1706
1710
|
const filterSensitiveLog: (obj: CreateUserImportJobResponse) => any;
|
|
1707
1711
|
}
|
|
1708
|
-
export declare enum VerifiedAttributeType {
|
|
1709
|
-
EMAIL = "email",
|
|
1710
|
-
PHONE_NUMBER = "phone_number"
|
|
1711
|
-
}
|
|
1712
1712
|
|
|
1713
1713
|
export interface DeviceConfigurationType {
|
|
1714
1714
|
|
|
@@ -1848,6 +1848,15 @@ export declare namespace SmsConfigurationType {
|
|
|
1848
1848
|
|
|
1849
1849
|
const filterSensitiveLog: (obj: SmsConfigurationType) => any;
|
|
1850
1850
|
}
|
|
1851
|
+
|
|
1852
|
+
export interface UserAttributeUpdateSettingsType {
|
|
1853
|
+
|
|
1854
|
+
AttributesRequireVerificationBeforeUpdate?: (VerifiedAttributeType | string)[];
|
|
1855
|
+
}
|
|
1856
|
+
export declare namespace UserAttributeUpdateSettingsType {
|
|
1857
|
+
|
|
1858
|
+
const filterSensitiveLog: (obj: UserAttributeUpdateSettingsType) => any;
|
|
1859
|
+
}
|
|
1851
1860
|
export declare enum UsernameAttributeType {
|
|
1852
1861
|
EMAIL = "email",
|
|
1853
1862
|
PHONE_NUMBER = "phone_number"
|
|
@@ -1920,6 +1929,8 @@ export interface CreateUserPoolRequest {
|
|
|
1920
1929
|
|
|
1921
1930
|
MfaConfiguration?: UserPoolMfaType | string;
|
|
1922
1931
|
|
|
1932
|
+
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
1933
|
+
|
|
1923
1934
|
DeviceConfiguration?: DeviceConfigurationType;
|
|
1924
1935
|
|
|
1925
1936
|
EmailConfiguration?: EmailConfigurationType;
|
|
@@ -1983,6 +1994,8 @@ export interface UserPoolType {
|
|
|
1983
1994
|
|
|
1984
1995
|
SmsAuthenticationMessage?: string;
|
|
1985
1996
|
|
|
1997
|
+
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
1998
|
+
|
|
1986
1999
|
MfaConfiguration?: UserPoolMfaType | string;
|
|
1987
2000
|
|
|
1988
2001
|
DeviceConfiguration?: DeviceConfigurationType;
|
|
@@ -3411,14 +3424,3 @@ export declare namespace SignUpResponse {
|
|
|
3411
3424
|
|
|
3412
3425
|
const filterSensitiveLog: (obj: SignUpResponse) => any;
|
|
3413
3426
|
}
|
|
3414
|
-
|
|
3415
|
-
export interface StartUserImportJobRequest {
|
|
3416
|
-
|
|
3417
|
-
UserPoolId: string | undefined;
|
|
3418
|
-
|
|
3419
|
-
JobId: string | undefined;
|
|
3420
|
-
}
|
|
3421
|
-
export declare namespace StartUserImportJobRequest {
|
|
3422
|
-
|
|
3423
|
-
const filterSensitiveLog: (obj: StartUserImportJobRequest) => any;
|
|
3424
|
-
}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
|
-
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
3
|
+
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
4
|
+
|
|
5
|
+
export interface StartUserImportJobRequest {
|
|
6
|
+
|
|
7
|
+
UserPoolId: string | undefined;
|
|
8
|
+
|
|
9
|
+
JobId: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace StartUserImportJobRequest {
|
|
12
|
+
|
|
13
|
+
const filterSensitiveLog: (obj: StartUserImportJobRequest) => any;
|
|
14
|
+
}
|
|
4
15
|
|
|
5
16
|
export interface StartUserImportJobResponse {
|
|
6
17
|
|
|
@@ -225,6 +236,8 @@ export interface UpdateUserPoolRequest {
|
|
|
225
236
|
|
|
226
237
|
SmsAuthenticationMessage?: string;
|
|
227
238
|
|
|
239
|
+
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
240
|
+
|
|
228
241
|
MfaConfiguration?: UserPoolMfaType | string;
|
|
229
242
|
|
|
230
243
|
DeviceConfiguration?: DeviceConfigurationType;
|
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.98.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|