@aws-sdk/client-cognito-identity-provider 3.625.0 → 3.627.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 +24 -18
- package/dist-es/models/models_0.js +4 -12
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -2
- package/dist-types/commands/CreateUserPoolCommand.d.ts +6 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +3 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +41 -19
- package/dist-types/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +10 -8
- package/dist-types/ts3.4/models/models_1.d.ts +8 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -79,6 +79,7 @@ __export(src_exports, {
|
|
|
79
79
|
AdminUpdateUserAttributesRequestFilterSensitiveLog: () => AdminUpdateUserAttributesRequestFilterSensitiveLog,
|
|
80
80
|
AdminUserGlobalSignOutCommand: () => AdminUserGlobalSignOutCommand,
|
|
81
81
|
AdminUserGlobalSignOutRequestFilterSensitiveLog: () => AdminUserGlobalSignOutRequestFilterSensitiveLog,
|
|
82
|
+
AdvancedSecurityEnabledModeType: () => AdvancedSecurityEnabledModeType,
|
|
82
83
|
AdvancedSecurityModeType: () => AdvancedSecurityModeType,
|
|
83
84
|
AliasAttributeType: () => AliasAttributeType,
|
|
84
85
|
AliasExistsException: () => AliasExistsException,
|
|
@@ -1081,6 +1082,10 @@ var DeviceRememberedStatusType = {
|
|
|
1081
1082
|
NOT_REMEMBERED: "not_remembered",
|
|
1082
1083
|
REMEMBERED: "remembered"
|
|
1083
1084
|
};
|
|
1085
|
+
var AdvancedSecurityEnabledModeType = {
|
|
1086
|
+
AUDIT: "AUDIT",
|
|
1087
|
+
ENFORCED: "ENFORCED"
|
|
1088
|
+
};
|
|
1084
1089
|
var AdvancedSecurityModeType = {
|
|
1085
1090
|
AUDIT: "AUDIT",
|
|
1086
1091
|
ENFORCED: "ENFORCED",
|
|
@@ -1333,23 +1338,6 @@ var LogLevel = {
|
|
|
1333
1338
|
ERROR: "ERROR",
|
|
1334
1339
|
INFO: "INFO"
|
|
1335
1340
|
};
|
|
1336
|
-
var _UnauthorizedException = class _UnauthorizedException extends CognitoIdentityProviderServiceException {
|
|
1337
|
-
/**
|
|
1338
|
-
* @internal
|
|
1339
|
-
*/
|
|
1340
|
-
constructor(opts) {
|
|
1341
|
-
super({
|
|
1342
|
-
name: "UnauthorizedException",
|
|
1343
|
-
$fault: "client",
|
|
1344
|
-
...opts
|
|
1345
|
-
});
|
|
1346
|
-
this.name = "UnauthorizedException";
|
|
1347
|
-
this.$fault = "client";
|
|
1348
|
-
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
1349
|
-
}
|
|
1350
|
-
};
|
|
1351
|
-
__name(_UnauthorizedException, "UnauthorizedException");
|
|
1352
|
-
var UnauthorizedException = _UnauthorizedException;
|
|
1353
1341
|
var AdminAddUserToGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1354
1342
|
...obj,
|
|
1355
1343
|
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1710,6 +1698,23 @@ var RevokeTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1710
1698
|
|
|
1711
1699
|
// src/models/models_1.ts
|
|
1712
1700
|
|
|
1701
|
+
var _UnauthorizedException = class _UnauthorizedException extends CognitoIdentityProviderServiceException {
|
|
1702
|
+
/**
|
|
1703
|
+
* @internal
|
|
1704
|
+
*/
|
|
1705
|
+
constructor(opts) {
|
|
1706
|
+
super({
|
|
1707
|
+
name: "UnauthorizedException",
|
|
1708
|
+
$fault: "client",
|
|
1709
|
+
...opts
|
|
1710
|
+
});
|
|
1711
|
+
this.name = "UnauthorizedException";
|
|
1712
|
+
this.$fault = "client";
|
|
1713
|
+
Object.setPrototypeOf(this, _UnauthorizedException.prototype);
|
|
1714
|
+
}
|
|
1715
|
+
};
|
|
1716
|
+
__name(_UnauthorizedException, "UnauthorizedException");
|
|
1717
|
+
var UnauthorizedException = _UnauthorizedException;
|
|
1713
1718
|
var _UnsupportedOperationException = class _UnsupportedOperationException extends CognitoIdentityProviderServiceException {
|
|
1714
1719
|
/**
|
|
1715
1720
|
* @internal
|
|
@@ -6700,6 +6705,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
6700
6705
|
PasswordHistoryPolicyViolationException,
|
|
6701
6706
|
SoftwareTokenMFANotFoundException,
|
|
6702
6707
|
DeviceRememberedStatusType,
|
|
6708
|
+
AdvancedSecurityEnabledModeType,
|
|
6703
6709
|
AdvancedSecurityModeType,
|
|
6704
6710
|
AliasAttributeType,
|
|
6705
6711
|
ConcurrentModificationException,
|
|
@@ -6731,7 +6737,6 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
6731
6737
|
DomainStatusType,
|
|
6732
6738
|
EventSourceName,
|
|
6733
6739
|
LogLevel,
|
|
6734
|
-
UnauthorizedException,
|
|
6735
6740
|
AdminAddUserToGroupRequestFilterSensitiveLog,
|
|
6736
6741
|
AdminConfirmSignUpRequestFilterSensitiveLog,
|
|
6737
6742
|
AttributeTypeFilterSensitiveLog,
|
|
@@ -6806,6 +6811,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
6806
6811
|
RespondToAuthChallengeRequestFilterSensitiveLog,
|
|
6807
6812
|
RespondToAuthChallengeResponseFilterSensitiveLog,
|
|
6808
6813
|
RevokeTokenRequestFilterSensitiveLog,
|
|
6814
|
+
UnauthorizedException,
|
|
6809
6815
|
UnsupportedOperationException,
|
|
6810
6816
|
UnsupportedTokenTypeException,
|
|
6811
6817
|
EnableSoftwareTokenMFAException,
|
|
@@ -454,6 +454,10 @@ export const DeviceRememberedStatusType = {
|
|
|
454
454
|
NOT_REMEMBERED: "not_remembered",
|
|
455
455
|
REMEMBERED: "remembered",
|
|
456
456
|
};
|
|
457
|
+
export const AdvancedSecurityEnabledModeType = {
|
|
458
|
+
AUDIT: "AUDIT",
|
|
459
|
+
ENFORCED: "ENFORCED",
|
|
460
|
+
};
|
|
457
461
|
export const AdvancedSecurityModeType = {
|
|
458
462
|
AUDIT: "AUDIT",
|
|
459
463
|
ENFORCED: "ENFORCED",
|
|
@@ -666,18 +670,6 @@ export const LogLevel = {
|
|
|
666
670
|
ERROR: "ERROR",
|
|
667
671
|
INFO: "INFO",
|
|
668
672
|
};
|
|
669
|
-
export class UnauthorizedException extends __BaseException {
|
|
670
|
-
constructor(opts) {
|
|
671
|
-
super({
|
|
672
|
-
name: "UnauthorizedException",
|
|
673
|
-
$fault: "client",
|
|
674
|
-
...opts,
|
|
675
|
-
});
|
|
676
|
-
this.name = "UnauthorizedException";
|
|
677
|
-
this.$fault = "client";
|
|
678
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
673
|
export const AdminAddUserToGroupRequestFilterSensitiveLog = (obj) => ({
|
|
682
674
|
...obj,
|
|
683
675
|
...(obj.Username && { Username: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
3
|
import { AttributeTypeFilterSensitiveLog, RiskConfigurationTypeFilterSensitiveLog, UICustomizationTypeFilterSensitiveLog, UserPoolClientTypeFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class UnauthorizedException extends __BaseException {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "UnauthorizedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
this.name = "UnauthorizedException";
|
|
12
|
+
this.$fault = "client";
|
|
13
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
4
16
|
export class UnsupportedOperationException extends __BaseException {
|
|
5
17
|
constructor(opts) {
|
|
6
18
|
super({
|
|
@@ -2,8 +2,8 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CognitoIdentityProviderServiceException as __BaseException } from "../models/CognitoIdentityProviderServiceException";
|
|
5
|
-
import { AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DuplicateProviderException, ExpiredCodeException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TooManyFailedAttemptsException, TooManyRequestsException,
|
|
6
|
-
import { EnableSoftwareTokenMFAException, UnsupportedOperationException, UnsupportedTokenTypeException, } from "../models/models_1";
|
|
5
|
+
import { AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DuplicateProviderException, ExpiredCodeException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TooManyFailedAttemptsException, TooManyRequestsException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, } from "../models/models_0";
|
|
6
|
+
import { EnableSoftwareTokenMFAException, UnauthorizedException, UnsupportedOperationException, UnsupportedTokenTypeException, } from "../models/models_1";
|
|
7
7
|
export const se_AddCustomAttributesCommand = async (input, context) => {
|
|
8
8
|
const headers = sharedHeaders("AddCustomAttributes");
|
|
9
9
|
let body;
|
|
@@ -188,6 +188,9 @@ declare const CreateUserPoolCommand_base: {
|
|
|
188
188
|
* ],
|
|
189
189
|
* UserPoolAddOns: { // UserPoolAddOnsType
|
|
190
190
|
* AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
|
|
191
|
+
* AdvancedSecurityAdditionalFlows: { // AdvancedSecurityAdditionalFlowsType
|
|
192
|
+
* CustomAuthMode: "AUDIT" || "ENFORCED",
|
|
193
|
+
* },
|
|
191
194
|
* },
|
|
192
195
|
* UsernameConfiguration: { // UsernameConfigurationType
|
|
193
196
|
* CaseSensitive: true || false, // required
|
|
@@ -326,6 +329,9 @@ declare const CreateUserPoolCommand_base: {
|
|
|
326
329
|
* // },
|
|
327
330
|
* // UserPoolAddOns: { // UserPoolAddOnsType
|
|
328
331
|
* // AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
|
|
332
|
+
* // AdvancedSecurityAdditionalFlows: { // AdvancedSecurityAdditionalFlowsType
|
|
333
|
+
* // CustomAuthMode: "AUDIT" || "ENFORCED",
|
|
334
|
+
* // },
|
|
329
335
|
* // },
|
|
330
336
|
* // UsernameConfiguration: { // UsernameConfigurationType
|
|
331
337
|
* // CaseSensitive: true || false, // required
|
|
@@ -182,6 +182,9 @@ declare const DescribeUserPoolCommand_base: {
|
|
|
182
182
|
* // },
|
|
183
183
|
* // UserPoolAddOns: { // UserPoolAddOnsType
|
|
184
184
|
* // AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
|
|
185
|
+
* // AdvancedSecurityAdditionalFlows: { // AdvancedSecurityAdditionalFlowsType
|
|
186
|
+
* // CustomAuthMode: "AUDIT" || "ENFORCED",
|
|
187
|
+
* // },
|
|
185
188
|
* // },
|
|
186
189
|
* // UsernameConfiguration: { // UsernameConfigurationType
|
|
187
190
|
* // CaseSensitive: true || false, // required
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
-
import { RevokeTokenRequest
|
|
4
|
+
import { RevokeTokenRequest } from "../models/models_0";
|
|
5
|
+
import { RevokeTokenResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -165,6 +165,9 @@ declare const UpdateUserPoolCommand_base: {
|
|
|
165
165
|
* },
|
|
166
166
|
* UserPoolAddOns: { // UserPoolAddOnsType
|
|
167
167
|
* AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
|
|
168
|
+
* AdvancedSecurityAdditionalFlows: { // AdvancedSecurityAdditionalFlowsType
|
|
169
|
+
* CustomAuthMode: "AUDIT" || "ENFORCED",
|
|
170
|
+
* },
|
|
168
171
|
* },
|
|
169
172
|
* AccountRecoverySetting: { // AccountRecoverySettingType
|
|
170
173
|
* RecoveryMechanisms: [ // RecoveryMechanismsType
|
|
@@ -3143,6 +3143,35 @@ export interface AdminUserGlobalSignOutRequest {
|
|
|
3143
3143
|
*/
|
|
3144
3144
|
export interface AdminUserGlobalSignOutResponse {
|
|
3145
3145
|
}
|
|
3146
|
+
/**
|
|
3147
|
+
* @public
|
|
3148
|
+
* @enum
|
|
3149
|
+
*/
|
|
3150
|
+
export declare const AdvancedSecurityEnabledModeType: {
|
|
3151
|
+
readonly AUDIT: "AUDIT";
|
|
3152
|
+
readonly ENFORCED: "ENFORCED";
|
|
3153
|
+
};
|
|
3154
|
+
/**
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
export type AdvancedSecurityEnabledModeType = (typeof AdvancedSecurityEnabledModeType)[keyof typeof AdvancedSecurityEnabledModeType];
|
|
3158
|
+
/**
|
|
3159
|
+
* <p>Advanced security configuration options for additional authentication types
|
|
3160
|
+
* in your user pool, including custom authentication and refresh-token
|
|
3161
|
+
* authentication.
|
|
3162
|
+
* </p>
|
|
3163
|
+
* @public
|
|
3164
|
+
*/
|
|
3165
|
+
export interface AdvancedSecurityAdditionalFlowsType {
|
|
3166
|
+
/**
|
|
3167
|
+
* <p>The operating mode of advanced security features in custom authentication with
|
|
3168
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html">
|
|
3169
|
+
* Custom authentication challenge Lambda triggers</a>.
|
|
3170
|
+
* </p>
|
|
3171
|
+
* @public
|
|
3172
|
+
*/
|
|
3173
|
+
CustomAuthMode?: AdvancedSecurityEnabledModeType;
|
|
3174
|
+
}
|
|
3146
3175
|
/**
|
|
3147
3176
|
* @public
|
|
3148
3177
|
* @enum
|
|
@@ -4816,10 +4845,21 @@ export interface UsernameConfigurationType {
|
|
|
4816
4845
|
*/
|
|
4817
4846
|
export interface UserPoolAddOnsType {
|
|
4818
4847
|
/**
|
|
4819
|
-
* <p>The operating mode of advanced security features
|
|
4848
|
+
* <p>The operating mode of advanced security features for standard authentication types
|
|
4849
|
+
* in your user pool, including username-password and secure remote password (SRP)
|
|
4850
|
+
* authentication.
|
|
4851
|
+
* </p>
|
|
4820
4852
|
* @public
|
|
4821
4853
|
*/
|
|
4822
4854
|
AdvancedSecurityMode: AdvancedSecurityModeType | undefined;
|
|
4855
|
+
/**
|
|
4856
|
+
* <p>Advanced security configuration options for additional authentication types
|
|
4857
|
+
* in your user pool, including custom authentication and refresh-token
|
|
4858
|
+
* authentication.
|
|
4859
|
+
* </p>
|
|
4860
|
+
* @public
|
|
4861
|
+
*/
|
|
4862
|
+
AdvancedSecurityAdditionalFlows?: AdvancedSecurityAdditionalFlowsType;
|
|
4823
4863
|
}
|
|
4824
4864
|
/**
|
|
4825
4865
|
* @public
|
|
@@ -8589,24 +8629,6 @@ export interface RevokeTokenRequest {
|
|
|
8589
8629
|
*/
|
|
8590
8630
|
ClientSecret?: string;
|
|
8591
8631
|
}
|
|
8592
|
-
/**
|
|
8593
|
-
* @public
|
|
8594
|
-
*/
|
|
8595
|
-
export interface RevokeTokenResponse {
|
|
8596
|
-
}
|
|
8597
|
-
/**
|
|
8598
|
-
* <p>Exception that is thrown when the request isn't authorized. This can happen due to an
|
|
8599
|
-
* invalid access token in the request.</p>
|
|
8600
|
-
* @public
|
|
8601
|
-
*/
|
|
8602
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
8603
|
-
readonly name: "UnauthorizedException";
|
|
8604
|
-
readonly $fault: "client";
|
|
8605
|
-
/**
|
|
8606
|
-
* @internal
|
|
8607
|
-
*/
|
|
8608
|
-
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
8609
|
-
}
|
|
8610
8632
|
/**
|
|
8611
8633
|
* @internal
|
|
8612
8634
|
*/
|
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
3
|
import { AccountRecoverySettingType, AccountTakeoverRiskConfigurationType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CompromisedCredentialsRiskConfigurationType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, LogConfigurationType, LogDeliveryConfigurationType, MFAOptionType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, RiskConfigurationType, RiskExceptionConfigurationType, SmsConfigurationType, SmsMfaConfigType, SMSMfaSettingsType, SoftwareTokenMfaConfigType, SoftwareTokenMfaSettingsType, TokenValidityUnitsType, UICustomizationType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface RevokeTokenResponse {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Exception that is thrown when the request isn't authorized. This can happen due to an
|
|
11
|
+
* invalid access token in the request.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
15
|
+
readonly name: "UnauthorizedException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
21
|
+
}
|
|
4
22
|
/**
|
|
5
23
|
* <p>Exception that is thrown when you attempt to perform an operation that isn't enabled
|
|
6
24
|
* for the user pool client.</p>
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../CognitoIdentityProviderClient";
|
|
8
|
-
import { RevokeTokenRequest
|
|
8
|
+
import { RevokeTokenRequest } from "../models/models_0";
|
|
9
|
+
import { RevokeTokenResponse } from "../models/models_1";
|
|
9
10
|
export { __MetadataBearer };
|
|
10
11
|
export { $Command };
|
|
11
12
|
export interface RevokeTokenCommandInput extends RevokeTokenRequest {}
|
|
@@ -723,6 +723,15 @@ export interface AdminUserGlobalSignOutRequest {
|
|
|
723
723
|
Username: string | undefined;
|
|
724
724
|
}
|
|
725
725
|
export interface AdminUserGlobalSignOutResponse {}
|
|
726
|
+
export declare const AdvancedSecurityEnabledModeType: {
|
|
727
|
+
readonly AUDIT: "AUDIT";
|
|
728
|
+
readonly ENFORCED: "ENFORCED";
|
|
729
|
+
};
|
|
730
|
+
export type AdvancedSecurityEnabledModeType =
|
|
731
|
+
(typeof AdvancedSecurityEnabledModeType)[keyof typeof AdvancedSecurityEnabledModeType];
|
|
732
|
+
export interface AdvancedSecurityAdditionalFlowsType {
|
|
733
|
+
CustomAuthMode?: AdvancedSecurityEnabledModeType;
|
|
734
|
+
}
|
|
726
735
|
export declare const AdvancedSecurityModeType: {
|
|
727
736
|
readonly AUDIT: "AUDIT";
|
|
728
737
|
readonly ENFORCED: "ENFORCED";
|
|
@@ -1032,6 +1041,7 @@ export interface UsernameConfigurationType {
|
|
|
1032
1041
|
}
|
|
1033
1042
|
export interface UserPoolAddOnsType {
|
|
1034
1043
|
AdvancedSecurityMode: AdvancedSecurityModeType | undefined;
|
|
1044
|
+
AdvancedSecurityAdditionalFlows?: AdvancedSecurityAdditionalFlowsType;
|
|
1035
1045
|
}
|
|
1036
1046
|
export declare const DefaultEmailOptionType: {
|
|
1037
1047
|
readonly CONFIRM_WITH_CODE: "CONFIRM_WITH_CODE";
|
|
@@ -1674,14 +1684,6 @@ export interface RevokeTokenRequest {
|
|
|
1674
1684
|
ClientId: string | undefined;
|
|
1675
1685
|
ClientSecret?: string;
|
|
1676
1686
|
}
|
|
1677
|
-
export interface RevokeTokenResponse {}
|
|
1678
|
-
export declare class UnauthorizedException extends __BaseException {
|
|
1679
|
-
readonly name: "UnauthorizedException";
|
|
1680
|
-
readonly $fault: "client";
|
|
1681
|
-
constructor(
|
|
1682
|
-
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
1683
|
-
);
|
|
1684
|
-
}
|
|
1685
1687
|
export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
|
|
1686
1688
|
obj: AdminAddUserToGroupRequest
|
|
1687
1689
|
) => any;
|
|
@@ -45,6 +45,14 @@ import {
|
|
|
45
45
|
VerificationMessageTemplateType,
|
|
46
46
|
VerifiedAttributeType,
|
|
47
47
|
} from "./models_0";
|
|
48
|
+
export interface RevokeTokenResponse {}
|
|
49
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
50
|
+
readonly name: "UnauthorizedException";
|
|
51
|
+
readonly $fault: "client";
|
|
52
|
+
constructor(
|
|
53
|
+
opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
48
56
|
export declare class UnsupportedOperationException extends __BaseException {
|
|
49
57
|
readonly name: "UnsupportedOperationException";
|
|
50
58
|
readonly $fault: "client";
|
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.627.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",
|