@aws-sdk/client-cognito-identity-provider 3.865.0 → 3.873.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/README.md +40 -0
- package/dist-cjs/index.js +361 -58
- package/dist-es/CognitoIdentityProvider.js +10 -0
- package/dist-es/commands/CreateTermsCommand.js +23 -0
- package/dist-es/commands/DeleteTermsCommand.js +22 -0
- package/dist-es/commands/DescribeTermsCommand.js +23 -0
- package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +2 -1
- package/dist-es/commands/GetUICustomizationCommand.js +1 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -1
- package/dist-es/commands/GetUserCommand.js +1 -1
- package/dist-es/commands/ListTermsCommand.js +22 -0
- package/dist-es/commands/UpdateTermsCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +34 -45
- package/dist-es/models/models_1.js +50 -1
- package/dist-es/protocols/Aws_json1_1.js +157 -2
- package/dist-types/CognitoIdentityProvider.d.ts +35 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +7 -2
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +6 -2
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/commands/CreateTermsCommand.d.ts +151 -0
- package/dist-types/commands/DeleteTermsCommand.d.ts +113 -0
- package/dist-types/commands/DescribeTermsCommand.d.ts +123 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -3
- package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/ListTermsCommand.d.ts +121 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTermsCommand.d.ts +147 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +485 -366
- package/dist-types/models/models_1.d.ts +600 -119
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +85 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTermsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeTermsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -65
- package/dist-types/ts3.4/models/models_1.d.ts +98 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +11 -11
|
@@ -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, DeviceKeyExistsException, DuplicateProviderException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException,
|
|
6
|
-
import { EnableSoftwareTokenMFAException, UnauthorizedException, UnsupportedTokenTypeException, WebAuthnConfigurationMissingException, } from "../models/models_1";
|
|
5
|
+
import { AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DeviceKeyExistsException, DuplicateProviderException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TermsExistsException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedOperationException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException, } from "../models/models_0";
|
|
6
|
+
import { EnableSoftwareTokenMFAException, RefreshTokenReuseException, UnauthorizedException, UnsupportedTokenTypeException, WebAuthnConfigurationMissingException, } from "../models/models_1";
|
|
7
7
|
export const se_AddCustomAttributesCommand = async (input, context) => {
|
|
8
8
|
const headers = sharedHeaders("AddCustomAttributes");
|
|
9
9
|
let body;
|
|
@@ -226,6 +226,12 @@ export const se_CreateResourceServerCommand = async (input, context) => {
|
|
|
226
226
|
body = JSON.stringify(_json(input));
|
|
227
227
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
228
|
};
|
|
229
|
+
export const se_CreateTermsCommand = async (input, context) => {
|
|
230
|
+
const headers = sharedHeaders("CreateTerms");
|
|
231
|
+
let body;
|
|
232
|
+
body = JSON.stringify(_json(input));
|
|
233
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
+
};
|
|
229
235
|
export const se_CreateUserImportJobCommand = async (input, context) => {
|
|
230
236
|
const headers = sharedHeaders("CreateUserImportJob");
|
|
231
237
|
let body;
|
|
@@ -274,6 +280,12 @@ export const se_DeleteResourceServerCommand = async (input, context) => {
|
|
|
274
280
|
body = JSON.stringify(_json(input));
|
|
275
281
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
276
282
|
};
|
|
283
|
+
export const se_DeleteTermsCommand = async (input, context) => {
|
|
284
|
+
const headers = sharedHeaders("DeleteTerms");
|
|
285
|
+
let body;
|
|
286
|
+
body = JSON.stringify(_json(input));
|
|
287
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
+
};
|
|
277
289
|
export const se_DeleteUserCommand = async (input, context) => {
|
|
278
290
|
const headers = sharedHeaders("DeleteUser");
|
|
279
291
|
let body;
|
|
@@ -340,6 +352,12 @@ export const se_DescribeRiskConfigurationCommand = async (input, context) => {
|
|
|
340
352
|
body = JSON.stringify(_json(input));
|
|
341
353
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
342
354
|
};
|
|
355
|
+
export const se_DescribeTermsCommand = async (input, context) => {
|
|
356
|
+
const headers = sharedHeaders("DescribeTerms");
|
|
357
|
+
let body;
|
|
358
|
+
body = JSON.stringify(_json(input));
|
|
359
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
360
|
+
};
|
|
343
361
|
export const se_DescribeUserImportJobCommand = async (input, context) => {
|
|
344
362
|
const headers = sharedHeaders("DescribeUserImportJob");
|
|
345
363
|
let body;
|
|
@@ -490,6 +508,12 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
490
508
|
body = JSON.stringify(_json(input));
|
|
491
509
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
510
|
};
|
|
511
|
+
export const se_ListTermsCommand = async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("ListTerms");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify(_json(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
|
+
};
|
|
493
517
|
export const se_ListUserImportJobsCommand = async (input, context) => {
|
|
494
518
|
const headers = sharedHeaders("ListUserImportJobs");
|
|
495
519
|
let body;
|
|
@@ -652,6 +676,12 @@ export const se_UpdateResourceServerCommand = async (input, context) => {
|
|
|
652
676
|
body = JSON.stringify(_json(input));
|
|
653
677
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
654
678
|
};
|
|
679
|
+
export const se_UpdateTermsCommand = async (input, context) => {
|
|
680
|
+
const headers = sharedHeaders("UpdateTerms");
|
|
681
|
+
let body;
|
|
682
|
+
body = JSON.stringify(_json(input));
|
|
683
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
684
|
+
};
|
|
655
685
|
export const se_UpdateUserAttributesCommand = async (input, context) => {
|
|
656
686
|
const headers = sharedHeaders("UpdateUserAttributes");
|
|
657
687
|
let body;
|
|
@@ -1157,6 +1187,19 @@ export const de_CreateResourceServerCommand = async (output, context) => {
|
|
|
1157
1187
|
};
|
|
1158
1188
|
return response;
|
|
1159
1189
|
};
|
|
1190
|
+
export const de_CreateTermsCommand = async (output, context) => {
|
|
1191
|
+
if (output.statusCode >= 300) {
|
|
1192
|
+
return de_CommandError(output, context);
|
|
1193
|
+
}
|
|
1194
|
+
const data = await parseBody(output.body, context);
|
|
1195
|
+
let contents = {};
|
|
1196
|
+
contents = de_CreateTermsResponse(data, context);
|
|
1197
|
+
const response = {
|
|
1198
|
+
$metadata: deserializeMetadata(output),
|
|
1199
|
+
...contents,
|
|
1200
|
+
};
|
|
1201
|
+
return response;
|
|
1202
|
+
};
|
|
1160
1203
|
export const de_CreateUserImportJobCommand = async (output, context) => {
|
|
1161
1204
|
if (output.statusCode >= 300) {
|
|
1162
1205
|
return de_CommandError(output, context);
|
|
@@ -1249,6 +1292,16 @@ export const de_DeleteResourceServerCommand = async (output, context) => {
|
|
|
1249
1292
|
};
|
|
1250
1293
|
return response;
|
|
1251
1294
|
};
|
|
1295
|
+
export const de_DeleteTermsCommand = async (output, context) => {
|
|
1296
|
+
if (output.statusCode >= 300) {
|
|
1297
|
+
return de_CommandError(output, context);
|
|
1298
|
+
}
|
|
1299
|
+
await collectBody(output.body, context);
|
|
1300
|
+
const response = {
|
|
1301
|
+
$metadata: deserializeMetadata(output),
|
|
1302
|
+
};
|
|
1303
|
+
return response;
|
|
1304
|
+
};
|
|
1252
1305
|
export const de_DeleteUserCommand = async (output, context) => {
|
|
1253
1306
|
if (output.statusCode >= 300) {
|
|
1254
1307
|
return de_CommandError(output, context);
|
|
@@ -1383,6 +1436,19 @@ export const de_DescribeRiskConfigurationCommand = async (output, context) => {
|
|
|
1383
1436
|
};
|
|
1384
1437
|
return response;
|
|
1385
1438
|
};
|
|
1439
|
+
export const de_DescribeTermsCommand = async (output, context) => {
|
|
1440
|
+
if (output.statusCode >= 300) {
|
|
1441
|
+
return de_CommandError(output, context);
|
|
1442
|
+
}
|
|
1443
|
+
const data = await parseBody(output.body, context);
|
|
1444
|
+
let contents = {};
|
|
1445
|
+
contents = de_DescribeTermsResponse(data, context);
|
|
1446
|
+
const response = {
|
|
1447
|
+
$metadata: deserializeMetadata(output),
|
|
1448
|
+
...contents,
|
|
1449
|
+
};
|
|
1450
|
+
return response;
|
|
1451
|
+
};
|
|
1386
1452
|
export const de_DescribeUserImportJobCommand = async (output, context) => {
|
|
1387
1453
|
if (output.statusCode >= 300) {
|
|
1388
1454
|
return de_CommandError(output, context);
|
|
@@ -1705,6 +1771,19 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1705
1771
|
};
|
|
1706
1772
|
return response;
|
|
1707
1773
|
};
|
|
1774
|
+
export const de_ListTermsCommand = async (output, context) => {
|
|
1775
|
+
if (output.statusCode >= 300) {
|
|
1776
|
+
return de_CommandError(output, context);
|
|
1777
|
+
}
|
|
1778
|
+
const data = await parseBody(output.body, context);
|
|
1779
|
+
let contents = {};
|
|
1780
|
+
contents = de_ListTermsResponse(data, context);
|
|
1781
|
+
const response = {
|
|
1782
|
+
$metadata: deserializeMetadata(output),
|
|
1783
|
+
...contents,
|
|
1784
|
+
};
|
|
1785
|
+
return response;
|
|
1786
|
+
};
|
|
1708
1787
|
export const de_ListUserImportJobsCommand = async (output, context) => {
|
|
1709
1788
|
if (output.statusCode >= 300) {
|
|
1710
1789
|
return de_CommandError(output, context);
|
|
@@ -2056,6 +2135,19 @@ export const de_UpdateResourceServerCommand = async (output, context) => {
|
|
|
2056
2135
|
};
|
|
2057
2136
|
return response;
|
|
2058
2137
|
};
|
|
2138
|
+
export const de_UpdateTermsCommand = async (output, context) => {
|
|
2139
|
+
if (output.statusCode >= 300) {
|
|
2140
|
+
return de_CommandError(output, context);
|
|
2141
|
+
}
|
|
2142
|
+
const data = await parseBody(output.body, context);
|
|
2143
|
+
let contents = {};
|
|
2144
|
+
contents = de_UpdateTermsResponse(data, context);
|
|
2145
|
+
const response = {
|
|
2146
|
+
$metadata: deserializeMetadata(output),
|
|
2147
|
+
...contents,
|
|
2148
|
+
};
|
|
2149
|
+
return response;
|
|
2150
|
+
};
|
|
2059
2151
|
export const de_UpdateUserAttributesCommand = async (output, context) => {
|
|
2060
2152
|
if (output.statusCode >= 300) {
|
|
2061
2153
|
return de_CommandError(output, context);
|
|
@@ -2270,6 +2362,9 @@ const de_CommandError = async (output, context) => {
|
|
|
2270
2362
|
case "ManagedLoginBrandingExistsException":
|
|
2271
2363
|
case "com.amazonaws.cognitoidentityprovider#ManagedLoginBrandingExistsException":
|
|
2272
2364
|
throw await de_ManagedLoginBrandingExistsExceptionRes(parsedOutput, context);
|
|
2365
|
+
case "TermsExistsException":
|
|
2366
|
+
case "com.amazonaws.cognitoidentityprovider#TermsExistsException":
|
|
2367
|
+
throw await de_TermsExistsExceptionRes(parsedOutput, context);
|
|
2273
2368
|
case "FeatureUnavailableInTierException":
|
|
2274
2369
|
case "com.amazonaws.cognitoidentityprovider#FeatureUnavailableInTierException":
|
|
2275
2370
|
throw await de_FeatureUnavailableInTierExceptionRes(parsedOutput, context);
|
|
@@ -2591,6 +2686,15 @@ const de_SoftwareTokenMFANotFoundExceptionRes = async (parsedOutput, context) =>
|
|
|
2591
2686
|
});
|
|
2592
2687
|
return __decorateServiceException(exception, body);
|
|
2593
2688
|
};
|
|
2689
|
+
const de_TermsExistsExceptionRes = async (parsedOutput, context) => {
|
|
2690
|
+
const body = parsedOutput.body;
|
|
2691
|
+
const deserialized = _json(body);
|
|
2692
|
+
const exception = new TermsExistsException({
|
|
2693
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2694
|
+
...deserialized,
|
|
2695
|
+
});
|
|
2696
|
+
return __decorateServiceException(exception, body);
|
|
2697
|
+
};
|
|
2594
2698
|
const de_TierChangeNotAllowedExceptionRes = async (parsedOutput, context) => {
|
|
2595
2699
|
const body = parsedOutput.body;
|
|
2596
2700
|
const deserialized = _json(body);
|
|
@@ -2942,6 +3046,11 @@ const de_CreateManagedLoginBrandingResponse = (output, context) => {
|
|
|
2942
3046
|
ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context),
|
|
2943
3047
|
});
|
|
2944
3048
|
};
|
|
3049
|
+
const de_CreateTermsResponse = (output, context) => {
|
|
3050
|
+
return take(output, {
|
|
3051
|
+
Terms: (_) => de_TermsType(_, context),
|
|
3052
|
+
});
|
|
3053
|
+
};
|
|
2945
3054
|
const de_CreateUserImportJobResponse = (output, context) => {
|
|
2946
3055
|
return take(output, {
|
|
2947
3056
|
UserImportJob: (_) => de_UserImportJobType(_, context),
|
|
@@ -2977,6 +3086,11 @@ const de_DescribeRiskConfigurationResponse = (output, context) => {
|
|
|
2977
3086
|
RiskConfiguration: (_) => de_RiskConfigurationType(_, context),
|
|
2978
3087
|
});
|
|
2979
3088
|
};
|
|
3089
|
+
const de_DescribeTermsResponse = (output, context) => {
|
|
3090
|
+
return take(output, {
|
|
3091
|
+
Terms: (_) => de_TermsType(_, context),
|
|
3092
|
+
});
|
|
3093
|
+
};
|
|
2980
3094
|
const de_DescribeUserImportJobResponse = (output, context) => {
|
|
2981
3095
|
return take(output, {
|
|
2982
3096
|
UserImportJob: (_) => de_UserImportJobType(_, context),
|
|
@@ -3088,6 +3202,12 @@ const de_ListIdentityProvidersResponse = (output, context) => {
|
|
|
3088
3202
|
Providers: (_) => de_ProvidersListType(_, context),
|
|
3089
3203
|
});
|
|
3090
3204
|
};
|
|
3205
|
+
const de_ListTermsResponse = (output, context) => {
|
|
3206
|
+
return take(output, {
|
|
3207
|
+
NextToken: __expectString,
|
|
3208
|
+
Terms: (_) => de_TermsDescriptionListType(_, context),
|
|
3209
|
+
});
|
|
3210
|
+
};
|
|
3091
3211
|
const de_ListUserImportJobsResponse = (output, context) => {
|
|
3092
3212
|
return take(output, {
|
|
3093
3213
|
PaginationToken: __expectString,
|
|
@@ -3180,6 +3300,36 @@ const de_StopUserImportJobResponse = (output, context) => {
|
|
|
3180
3300
|
UserImportJob: (_) => de_UserImportJobType(_, context),
|
|
3181
3301
|
});
|
|
3182
3302
|
};
|
|
3303
|
+
const de_TermsDescriptionListType = (output, context) => {
|
|
3304
|
+
const retVal = (output || [])
|
|
3305
|
+
.filter((e) => e != null)
|
|
3306
|
+
.map((entry) => {
|
|
3307
|
+
return de_TermsDescriptionType(entry, context);
|
|
3308
|
+
});
|
|
3309
|
+
return retVal;
|
|
3310
|
+
};
|
|
3311
|
+
const de_TermsDescriptionType = (output, context) => {
|
|
3312
|
+
return take(output, {
|
|
3313
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3314
|
+
Enforcement: __expectString,
|
|
3315
|
+
LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3316
|
+
TermsId: __expectString,
|
|
3317
|
+
TermsName: __expectString,
|
|
3318
|
+
});
|
|
3319
|
+
};
|
|
3320
|
+
const de_TermsType = (output, context) => {
|
|
3321
|
+
return take(output, {
|
|
3322
|
+
ClientId: __expectString,
|
|
3323
|
+
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3324
|
+
Enforcement: __expectString,
|
|
3325
|
+
LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3326
|
+
Links: _json,
|
|
3327
|
+
TermsId: __expectString,
|
|
3328
|
+
TermsName: __expectString,
|
|
3329
|
+
TermsSource: __expectString,
|
|
3330
|
+
UserPoolId: __expectString,
|
|
3331
|
+
});
|
|
3332
|
+
};
|
|
3183
3333
|
const de_UICustomizationType = (output, context) => {
|
|
3184
3334
|
return take(output, {
|
|
3185
3335
|
CSS: __expectString,
|
|
@@ -3206,6 +3356,11 @@ const de_UpdateManagedLoginBrandingResponse = (output, context) => {
|
|
|
3206
3356
|
ManagedLoginBranding: (_) => de_ManagedLoginBrandingType(_, context),
|
|
3207
3357
|
});
|
|
3208
3358
|
};
|
|
3359
|
+
const de_UpdateTermsResponse = (output, context) => {
|
|
3360
|
+
return take(output, {
|
|
3361
|
+
Terms: (_) => de_TermsType(_, context),
|
|
3362
|
+
});
|
|
3363
|
+
};
|
|
3209
3364
|
const de_UpdateUserPoolClientResponse = (output, context) => {
|
|
3210
3365
|
return take(output, {
|
|
3211
3366
|
UserPoolClient: (_) => de_UserPoolClientType(_, context),
|
|
@@ -37,6 +37,7 @@ import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/Cr
|
|
|
37
37
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
38
38
|
import { CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput } from "./commands/CreateManagedLoginBrandingCommand";
|
|
39
39
|
import { CreateResourceServerCommandInput, CreateResourceServerCommandOutput } from "./commands/CreateResourceServerCommand";
|
|
40
|
+
import { CreateTermsCommandInput, CreateTermsCommandOutput } from "./commands/CreateTermsCommand";
|
|
40
41
|
import { CreateUserImportJobCommandInput, CreateUserImportJobCommandOutput } from "./commands/CreateUserImportJobCommand";
|
|
41
42
|
import { CreateUserPoolClientCommandInput, CreateUserPoolClientCommandOutput } from "./commands/CreateUserPoolClientCommand";
|
|
42
43
|
import { CreateUserPoolCommandInput, CreateUserPoolCommandOutput } from "./commands/CreateUserPoolCommand";
|
|
@@ -45,6 +46,7 @@ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/De
|
|
|
45
46
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
46
47
|
import { DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput } from "./commands/DeleteManagedLoginBrandingCommand";
|
|
47
48
|
import { DeleteResourceServerCommandInput, DeleteResourceServerCommandOutput } from "./commands/DeleteResourceServerCommand";
|
|
49
|
+
import { DeleteTermsCommandInput, DeleteTermsCommandOutput } from "./commands/DeleteTermsCommand";
|
|
48
50
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
49
51
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
50
52
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
@@ -56,6 +58,7 @@ import { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginB
|
|
|
56
58
|
import { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
57
59
|
import { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
58
60
|
import { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
61
|
+
import { DescribeTermsCommandInput, DescribeTermsCommandOutput } from "./commands/DescribeTermsCommand";
|
|
59
62
|
import { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
60
63
|
import { DescribeUserPoolClientCommandInput, DescribeUserPoolClientCommandOutput } from "./commands/DescribeUserPoolClientCommand";
|
|
61
64
|
import { DescribeUserPoolCommandInput, DescribeUserPoolCommandOutput } from "./commands/DescribeUserPoolCommand";
|
|
@@ -81,6 +84,7 @@ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/List
|
|
|
81
84
|
import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
|
|
82
85
|
import { ListResourceServersCommandInput, ListResourceServersCommandOutput } from "./commands/ListResourceServersCommand";
|
|
83
86
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
87
|
+
import { ListTermsCommandInput, ListTermsCommandOutput } from "./commands/ListTermsCommand";
|
|
84
88
|
import { ListUserImportJobsCommandInput, ListUserImportJobsCommandOutput } from "./commands/ListUserImportJobsCommand";
|
|
85
89
|
import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } from "./commands/ListUserPoolClientsCommand";
|
|
86
90
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
@@ -108,6 +112,7 @@ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/Up
|
|
|
108
112
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
109
113
|
import { UpdateManagedLoginBrandingCommandInput, UpdateManagedLoginBrandingCommandOutput } from "./commands/UpdateManagedLoginBrandingCommand";
|
|
110
114
|
import { UpdateResourceServerCommandInput, UpdateResourceServerCommandOutput } from "./commands/UpdateResourceServerCommand";
|
|
115
|
+
import { UpdateTermsCommandInput, UpdateTermsCommandOutput } from "./commands/UpdateTermsCommand";
|
|
111
116
|
import { UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput } from "./commands/UpdateUserAttributesCommand";
|
|
112
117
|
import { UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput } from "./commands/UpdateUserPoolClientCommand";
|
|
113
118
|
import { UpdateUserPoolCommandInput, UpdateUserPoolCommandOutput } from "./commands/UpdateUserPoolCommand";
|
|
@@ -338,6 +343,12 @@ export interface CognitoIdentityProvider {
|
|
|
338
343
|
createResourceServer(args: CreateResourceServerCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceServerCommandOutput>;
|
|
339
344
|
createResourceServer(args: CreateResourceServerCommandInput, cb: (err: any, data?: CreateResourceServerCommandOutput) => void): void;
|
|
340
345
|
createResourceServer(args: CreateResourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceServerCommandOutput) => void): void;
|
|
346
|
+
/**
|
|
347
|
+
* @see {@link CreateTermsCommand}
|
|
348
|
+
*/
|
|
349
|
+
createTerms(args: CreateTermsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTermsCommandOutput>;
|
|
350
|
+
createTerms(args: CreateTermsCommandInput, cb: (err: any, data?: CreateTermsCommandOutput) => void): void;
|
|
351
|
+
createTerms(args: CreateTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTermsCommandOutput) => void): void;
|
|
341
352
|
/**
|
|
342
353
|
* @see {@link CreateUserImportJobCommand}
|
|
343
354
|
*/
|
|
@@ -386,6 +397,12 @@ export interface CognitoIdentityProvider {
|
|
|
386
397
|
deleteResourceServer(args: DeleteResourceServerCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceServerCommandOutput>;
|
|
387
398
|
deleteResourceServer(args: DeleteResourceServerCommandInput, cb: (err: any, data?: DeleteResourceServerCommandOutput) => void): void;
|
|
388
399
|
deleteResourceServer(args: DeleteResourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceServerCommandOutput) => void): void;
|
|
400
|
+
/**
|
|
401
|
+
* @see {@link DeleteTermsCommand}
|
|
402
|
+
*/
|
|
403
|
+
deleteTerms(args: DeleteTermsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTermsCommandOutput>;
|
|
404
|
+
deleteTerms(args: DeleteTermsCommandInput, cb: (err: any, data?: DeleteTermsCommandOutput) => void): void;
|
|
405
|
+
deleteTerms(args: DeleteTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTermsCommandOutput) => void): void;
|
|
389
406
|
/**
|
|
390
407
|
* @see {@link DeleteUserCommand}
|
|
391
408
|
*/
|
|
@@ -452,6 +469,12 @@ export interface CognitoIdentityProvider {
|
|
|
452
469
|
describeRiskConfiguration(args: DescribeRiskConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRiskConfigurationCommandOutput>;
|
|
453
470
|
describeRiskConfiguration(args: DescribeRiskConfigurationCommandInput, cb: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void): void;
|
|
454
471
|
describeRiskConfiguration(args: DescribeRiskConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRiskConfigurationCommandOutput) => void): void;
|
|
472
|
+
/**
|
|
473
|
+
* @see {@link DescribeTermsCommand}
|
|
474
|
+
*/
|
|
475
|
+
describeTerms(args: DescribeTermsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTermsCommandOutput>;
|
|
476
|
+
describeTerms(args: DescribeTermsCommandInput, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
|
|
477
|
+
describeTerms(args: DescribeTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
|
|
455
478
|
/**
|
|
456
479
|
* @see {@link DescribeUserImportJobCommand}
|
|
457
480
|
*/
|
|
@@ -602,6 +625,12 @@ export interface CognitoIdentityProvider {
|
|
|
602
625
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
603
626
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
604
627
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
628
|
+
/**
|
|
629
|
+
* @see {@link ListTermsCommand}
|
|
630
|
+
*/
|
|
631
|
+
listTerms(args: ListTermsCommandInput, options?: __HttpHandlerOptions): Promise<ListTermsCommandOutput>;
|
|
632
|
+
listTerms(args: ListTermsCommandInput, cb: (err: any, data?: ListTermsCommandOutput) => void): void;
|
|
633
|
+
listTerms(args: ListTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTermsCommandOutput) => void): void;
|
|
605
634
|
/**
|
|
606
635
|
* @see {@link ListUserImportJobsCommand}
|
|
607
636
|
*/
|
|
@@ -765,6 +794,12 @@ export interface CognitoIdentityProvider {
|
|
|
765
794
|
updateResourceServer(args: UpdateResourceServerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateResourceServerCommandOutput>;
|
|
766
795
|
updateResourceServer(args: UpdateResourceServerCommandInput, cb: (err: any, data?: UpdateResourceServerCommandOutput) => void): void;
|
|
767
796
|
updateResourceServer(args: UpdateResourceServerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceServerCommandOutput) => void): void;
|
|
797
|
+
/**
|
|
798
|
+
* @see {@link UpdateTermsCommand}
|
|
799
|
+
*/
|
|
800
|
+
updateTerms(args: UpdateTermsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTermsCommandOutput>;
|
|
801
|
+
updateTerms(args: UpdateTermsCommandInput, cb: (err: any, data?: UpdateTermsCommandOutput) => void): void;
|
|
802
|
+
updateTerms(args: UpdateTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTermsCommandOutput) => void): void;
|
|
768
803
|
/**
|
|
769
804
|
* @see {@link UpdateUserAttributesCommand}
|
|
770
805
|
*/
|
|
@@ -44,6 +44,7 @@ import { CreateGroupCommandInput, CreateGroupCommandOutput } from "./commands/Cr
|
|
|
44
44
|
import { CreateIdentityProviderCommandInput, CreateIdentityProviderCommandOutput } from "./commands/CreateIdentityProviderCommand";
|
|
45
45
|
import { CreateManagedLoginBrandingCommandInput, CreateManagedLoginBrandingCommandOutput } from "./commands/CreateManagedLoginBrandingCommand";
|
|
46
46
|
import { CreateResourceServerCommandInput, CreateResourceServerCommandOutput } from "./commands/CreateResourceServerCommand";
|
|
47
|
+
import { CreateTermsCommandInput, CreateTermsCommandOutput } from "./commands/CreateTermsCommand";
|
|
47
48
|
import { CreateUserImportJobCommandInput, CreateUserImportJobCommandOutput } from "./commands/CreateUserImportJobCommand";
|
|
48
49
|
import { CreateUserPoolClientCommandInput, CreateUserPoolClientCommandOutput } from "./commands/CreateUserPoolClientCommand";
|
|
49
50
|
import { CreateUserPoolCommandInput, CreateUserPoolCommandOutput } from "./commands/CreateUserPoolCommand";
|
|
@@ -52,6 +53,7 @@ import { DeleteGroupCommandInput, DeleteGroupCommandOutput } from "./commands/De
|
|
|
52
53
|
import { DeleteIdentityProviderCommandInput, DeleteIdentityProviderCommandOutput } from "./commands/DeleteIdentityProviderCommand";
|
|
53
54
|
import { DeleteManagedLoginBrandingCommandInput, DeleteManagedLoginBrandingCommandOutput } from "./commands/DeleteManagedLoginBrandingCommand";
|
|
54
55
|
import { DeleteResourceServerCommandInput, DeleteResourceServerCommandOutput } from "./commands/DeleteResourceServerCommand";
|
|
56
|
+
import { DeleteTermsCommandInput, DeleteTermsCommandOutput } from "./commands/DeleteTermsCommand";
|
|
55
57
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
56
58
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
57
59
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
@@ -63,6 +65,7 @@ import { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedLoginB
|
|
|
63
65
|
import { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
64
66
|
import { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
65
67
|
import { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
68
|
+
import { DescribeTermsCommandInput, DescribeTermsCommandOutput } from "./commands/DescribeTermsCommand";
|
|
66
69
|
import { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
67
70
|
import { DescribeUserPoolClientCommandInput, DescribeUserPoolClientCommandOutput } from "./commands/DescribeUserPoolClientCommand";
|
|
68
71
|
import { DescribeUserPoolCommandInput, DescribeUserPoolCommandOutput } from "./commands/DescribeUserPoolCommand";
|
|
@@ -88,6 +91,7 @@ import { ListGroupsCommandInput, ListGroupsCommandOutput } from "./commands/List
|
|
|
88
91
|
import { ListIdentityProvidersCommandInput, ListIdentityProvidersCommandOutput } from "./commands/ListIdentityProvidersCommand";
|
|
89
92
|
import { ListResourceServersCommandInput, ListResourceServersCommandOutput } from "./commands/ListResourceServersCommand";
|
|
90
93
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
94
|
+
import { ListTermsCommandInput, ListTermsCommandOutput } from "./commands/ListTermsCommand";
|
|
91
95
|
import { ListUserImportJobsCommandInput, ListUserImportJobsCommandOutput } from "./commands/ListUserImportJobsCommand";
|
|
92
96
|
import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } from "./commands/ListUserPoolClientsCommand";
|
|
93
97
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
@@ -115,6 +119,7 @@ import { UpdateGroupCommandInput, UpdateGroupCommandOutput } from "./commands/Up
|
|
|
115
119
|
import { UpdateIdentityProviderCommandInput, UpdateIdentityProviderCommandOutput } from "./commands/UpdateIdentityProviderCommand";
|
|
116
120
|
import { UpdateManagedLoginBrandingCommandInput, UpdateManagedLoginBrandingCommandOutput } from "./commands/UpdateManagedLoginBrandingCommand";
|
|
117
121
|
import { UpdateResourceServerCommandInput, UpdateResourceServerCommandOutput } from "./commands/UpdateResourceServerCommand";
|
|
122
|
+
import { UpdateTermsCommandInput, UpdateTermsCommandOutput } from "./commands/UpdateTermsCommand";
|
|
118
123
|
import { UpdateUserAttributesCommandInput, UpdateUserAttributesCommandOutput } from "./commands/UpdateUserAttributesCommand";
|
|
119
124
|
import { UpdateUserPoolClientCommandInput, UpdateUserPoolClientCommandOutput } from "./commands/UpdateUserPoolClientCommand";
|
|
120
125
|
import { UpdateUserPoolCommandInput, UpdateUserPoolCommandOutput } from "./commands/UpdateUserPoolCommand";
|
|
@@ -127,11 +132,11 @@ export { __Client };
|
|
|
127
132
|
/**
|
|
128
133
|
* @public
|
|
129
134
|
*/
|
|
130
|
-
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | CompleteWebAuthnRegistrationCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateManagedLoginBrandingCommandInput | CreateResourceServerCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateResourceServerCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
135
|
+
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | CompleteWebAuthnRegistrationCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateManagedLoginBrandingCommandInput | CreateResourceServerCommandInput | CreateTermsCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
131
136
|
/**
|
|
132
137
|
* @public
|
|
133
138
|
*/
|
|
134
|
-
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | CompleteWebAuthnRegistrationCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateManagedLoginBrandingCommandOutput | CreateResourceServerCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateResourceServerCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
139
|
+
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | CompleteWebAuthnRegistrationCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateManagedLoginBrandingCommandOutput | CreateResourceServerCommandOutput | CreateTermsCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
135
140
|
/**
|
|
136
141
|
* @public
|
|
137
142
|
*/
|
|
@@ -27,8 +27,12 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
*
|
|
30
|
+
* <p>Begins the password reset process. Sets the requested user’s account into a
|
|
31
|
+
* <code>RESET_REQUIRED</code> status, and sends them a password-reset code. Your user
|
|
32
|
+
* pool also sends the user a notification with a reset code and the information that their
|
|
33
|
+
* password has been reset. At sign-in, your application or the managed login session
|
|
34
|
+
* receives a challenge to complete the reset by confirming the code and setting a new
|
|
35
|
+
* password.</p>
|
|
32
36
|
* <p>To use this API operation, your user pool must have self-service account recovery
|
|
33
37
|
* configured.</p>
|
|
34
38
|
* <note>
|
|
@@ -29,7 +29,7 @@ declare const CreateManagedLoginBrandingCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new set of branding settings for a user pool style and associates it with an
|
|
31
31
|
* app client. This operation is the programmatic option for the creation of a new style in
|
|
32
|
-
* the branding
|
|
32
|
+
* the branding editor.</p>
|
|
33
33
|
* <p>Provides values for UI customization in a <code>Settings</code> JSON object and image
|
|
34
34
|
* files in an <code>Assets</code> array. To send the JSON object <code>Document</code>
|
|
35
35
|
* type parameter in <code>Settings</code>, you might need to update to the most recent
|