@aws-sdk/client-cognito-identity-provider 3.758.0 → 3.760.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.
Files changed (93) hide show
  1. package/README.md +4 -61
  2. package/dist-cjs/index.js +39 -6
  3. package/dist-es/models/models_0.js +13 -4
  4. package/dist-es/models/models_1.js +4 -0
  5. package/dist-es/protocols/Aws_json1_1.js +13 -1
  6. package/dist-types/CognitoIdentityProvider.d.ts +5 -62
  7. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -62
  8. package/dist-types/commands/AddCustomAttributesCommand.d.ts +0 -3
  9. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -2
  10. package/dist-types/commands/AdminCreateUserCommand.d.ts +12 -12
  11. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -2
  12. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +10 -13
  13. package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -1
  14. package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -1
  15. package/dist-types/commands/AdminGetUserCommand.d.ts +4 -3
  16. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +3 -0
  17. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +11 -12
  18. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -1
  19. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -12
  20. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +0 -3
  21. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +1 -1
  22. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +10 -7
  23. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +20 -20
  24. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +0 -12
  25. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  26. package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +2 -3
  27. package/dist-types/commands/ConfirmDeviceCommand.d.ts +4 -0
  28. package/dist-types/commands/ConfirmSignUpCommand.d.ts +7 -10
  29. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +0 -3
  31. package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -3
  32. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +4 -5
  33. package/dist-types/commands/CreateUserPoolCommand.d.ts +8 -10
  34. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteUserCommand.d.ts +2 -2
  37. package/dist-types/commands/DeleteUserPoolCommand.d.ts +7 -1
  38. package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -1
  40. package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -2
  41. package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -11
  42. package/dist-types/commands/GetCSVHeaderCommand.d.ts +26 -2
  43. package/dist-types/commands/GetDeviceCommand.d.ts +2 -1
  44. package/dist-types/commands/GetGroupCommand.d.ts +23 -2
  45. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +3 -1
  46. package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +22 -1
  47. package/dist-types/commands/GetSigningCertificateCommand.d.ts +26 -5
  48. package/dist-types/commands/GetUICustomizationCommand.d.ts +5 -5
  49. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -3
  50. package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +9 -3
  51. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  52. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +39 -1
  53. package/dist-types/commands/InitiateAuthCommand.d.ts +5 -2
  54. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  55. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  56. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -1
  57. package/dist-types/commands/ListResourceServersCommand.d.ts +2 -1
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -4
  59. package/dist-types/commands/ListUserImportJobsCommand.d.ts +3 -1
  60. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -1
  61. package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -2
  62. package/dist-types/commands/ListUsersCommand.d.ts +2 -1
  63. package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -1
  64. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +9 -2
  65. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +5 -2
  66. package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +3 -1
  67. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +24 -5
  68. package/dist-types/commands/SetUICustomizationCommand.d.ts +23 -10
  69. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +0 -3
  70. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
  71. package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
  72. package/dist-types/commands/SignUpCommand.d.ts +3 -5
  73. package/dist-types/commands/StartUserImportJobCommand.d.ts +3 -1
  74. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +4 -6
  75. package/dist-types/commands/StopUserImportJobCommand.d.ts +3 -1
  76. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  77. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +13 -3
  78. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +6 -2
  79. package/dist-types/commands/UpdateGroupCommand.d.ts +2 -1
  80. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +4 -1
  81. package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -5
  82. package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
  83. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +4 -5
  84. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +7 -4
  85. package/dist-types/commands/UpdateUserPoolCommand.d.ts +8 -7
  86. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +4 -3
  87. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +5 -3
  88. package/dist-types/index.d.ts +5 -62
  89. package/dist-types/models/models_0.d.ts +730 -642
  90. package/dist-types/models/models_1.d.ts +834 -558
  91. package/dist-types/ts3.4/models/models_0.d.ts +9 -6
  92. package/dist-types/ts3.4/models/models_1.d.ts +6 -1
  93. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ AWS SDK for JavaScript CognitoIdentityProvider Client for Node.js, Browser and R
9
9
  <p>With the Amazon Cognito user pools API, you can configure user pools and authenticate users. To
10
10
  authenticate users from third-party identity providers (IdPs) in this API, you can
11
11
  <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
12
- about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and hosted UI reference</a>.</p>
12
+ about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and managed login reference</a>.</p>
13
13
  <p>This API reference provides detailed information about API operations and object types
14
14
  in Amazon Cognito.</p>
15
15
  <p>Along with resource management operations, the Amazon Cognito user pools API includes classes
@@ -30,68 +30,11 @@ privileges to manage, authenticate, or authorize a user.</p>
30
30
  requests to manage, authenticate, or authorize a user.</p>
31
31
  </li>
32
32
  </ol>
33
- <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
34
- in the <i>Amazon Cognito Developer Guide</i>.</p>
33
+ <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flows-public-server-side.html#user-pools-API-operations">Understanding API, OIDC, and managed login pages
34
+ authentication</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
35
35
  <p>With your Amazon Web Services SDK, you can build the logic to support operational flows in every use
36
36
  case for this API. You can also make direct REST API requests to <a href="https://docs.aws.amazon.com/general/latest/gr/cognito_identity.html#cognito_identity_your_user_pools_region">Amazon Cognito user pools service endpoints</a>. The following links can get you started
37
- with the <code>CognitoIdentityProvider</code> client in other supported Amazon Web Services
38
- SDKs.</p>
39
- <ul>
40
- <li>
41
- <p>
42
- <a href="https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/index.html#cli-aws-cognito-idp">Amazon Web Services
43
- Command Line Interface</a>
44
- </p>
45
- </li>
46
- <li>
47
- <p>
48
- <a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CognitoIdentityProvider/TCognitoIdentityProviderClient.html">Amazon Web Services SDK for .NET</a>
49
- </p>
50
- </li>
51
- <li>
52
- <p>
53
- <a href="https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-cognito-idp/html/class_aws_1_1_cognito_identity_provider_1_1_cognito_identity_provider_client.html">Amazon Web Services SDK for C++</a>
54
- </p>
55
- </li>
56
- <li>
57
- <p>
58
- <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider">Amazon Web Services SDK for Go</a>
59
- </p>
60
- </li>
61
- <li>
62
- <p>
63
- <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/cognitoidentityprovider/CognitoIdentityProviderClient.html">Amazon Web Services SDK for Java V2</a>
64
- </p>
65
- </li>
66
- <li>
67
- <p>
68
- <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html">Amazon Web Services
69
- SDK for JavaScript</a>
70
- </p>
71
- </li>
72
- <li>
73
- <p>
74
- <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html">Amazon Web Services SDK for PHP
75
- V3</a>
76
- </p>
77
- </li>
78
- <li>
79
- <p>
80
- <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp.html">Amazon Web Services SDK for Python</a>
81
- </p>
82
- </li>
83
- <li>
84
- <p>
85
- <a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html">Amazon Web Services SDK
86
- for Ruby V3</a>
87
- </p>
88
- </li>
89
- <li>
90
- <p>
91
- <a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
92
- </p>
93
- </li>
94
- </ul>
37
+ with the <code>CognitoIdentityProvider</code> client in supported Amazon Web Services SDKs.</p>
95
38
  <p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
96
39
  SDKs</a>.</p>
97
40
 
package/dist-cjs/index.js CHANGED
@@ -158,6 +158,7 @@ __export(src_exports, {
158
158
  DescribeUserPoolClientResponseFilterSensitiveLog: () => DescribeUserPoolClientResponseFilterSensitiveLog,
159
159
  DescribeUserPoolCommand: () => DescribeUserPoolCommand,
160
160
  DescribeUserPoolDomainCommand: () => DescribeUserPoolDomainCommand,
161
+ DeviceKeyExistsException: () => DeviceKeyExistsException,
161
162
  DeviceRememberedStatusType: () => DeviceRememberedStatusType,
162
163
  DeviceTypeFilterSensitiveLog: () => DeviceTypeFilterSensitiveLog,
163
164
  DomainStatusType: () => DomainStatusType,
@@ -1364,6 +1365,24 @@ var WebAuthnRelyingPartyMismatchException = class _WebAuthnRelyingPartyMismatchE
1364
1365
  Object.setPrototypeOf(this, _WebAuthnRelyingPartyMismatchException.prototype);
1365
1366
  }
1366
1367
  };
1368
+ var DeviceKeyExistsException = class _DeviceKeyExistsException extends CognitoIdentityProviderServiceException {
1369
+ static {
1370
+ __name(this, "DeviceKeyExistsException");
1371
+ }
1372
+ name = "DeviceKeyExistsException";
1373
+ $fault = "client";
1374
+ /**
1375
+ * @internal
1376
+ */
1377
+ constructor(opts) {
1378
+ super({
1379
+ name: "DeviceKeyExistsException",
1380
+ $fault: "client",
1381
+ ...opts
1382
+ });
1383
+ Object.setPrototypeOf(this, _DeviceKeyExistsException.prototype);
1384
+ }
1385
+ };
1367
1386
  var GroupExistsException = class _GroupExistsException extends CognitoIdentityProviderServiceException {
1368
1387
  static {
1369
1388
  __name(this, "GroupExistsException");
@@ -1452,7 +1471,8 @@ var CustomSMSSenderLambdaVersionType = {
1452
1471
  };
1453
1472
  var PreTokenGenerationLambdaVersionType = {
1454
1473
  V1_0: "V1_0",
1455
- V2_0: "V2_0"
1474
+ V2_0: "V2_0",
1475
+ V3_0: "V3_0"
1456
1476
  };
1457
1477
  var UserPoolMfaType = {
1458
1478
  OFF: "OFF",
@@ -1634,10 +1654,6 @@ var LogLevel = {
1634
1654
  ERROR: "ERROR",
1635
1655
  INFO: "INFO"
1636
1656
  };
1637
- var UserVerificationType = {
1638
- PREFERRED: "preferred",
1639
- REQUIRED: "required"
1640
- };
1641
1657
  var AdminAddUserToGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1642
1658
  ...obj,
1643
1659
  ...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING }
@@ -1959,6 +1975,10 @@ var GetUserAuthFactorsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj)
1959
1975
 
1960
1976
  // src/models/models_1.ts
1961
1977
 
1978
+ var UserVerificationType = {
1979
+ PREFERRED: "preferred",
1980
+ REQUIRED: "required"
1981
+ };
1962
1982
  var UnauthorizedException = class _UnauthorizedException extends CognitoIdentityProviderServiceException {
1963
1983
  static {
1964
1984
  __name(this, "UnauthorizedException");
@@ -4445,6 +4465,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
4445
4465
  case "WebAuthnRelyingPartyMismatchException":
4446
4466
  case "com.amazonaws.cognitoidentityprovider#WebAuthnRelyingPartyMismatchException":
4447
4467
  throw await de_WebAuthnRelyingPartyMismatchExceptionRes(parsedOutput, context);
4468
+ case "DeviceKeyExistsException":
4469
+ case "com.amazonaws.cognitoidentityprovider#DeviceKeyExistsException":
4470
+ throw await de_DeviceKeyExistsExceptionRes(parsedOutput, context);
4448
4471
  case "GroupExistsException":
4449
4472
  case "com.amazonaws.cognitoidentityprovider#GroupExistsException":
4450
4473
  throw await de_GroupExistsExceptionRes(parsedOutput, context);
@@ -4532,6 +4555,15 @@ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsed
4532
4555
  });
4533
4556
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4534
4557
  }, "de_ConcurrentModificationExceptionRes");
4558
+ var de_DeviceKeyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4559
+ const body = parsedOutput.body;
4560
+ const deserialized = (0, import_smithy_client._json)(body);
4561
+ const exception = new DeviceKeyExistsException({
4562
+ $metadata: deserializeMetadata(parsedOutput),
4563
+ ...deserialized
4564
+ });
4565
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
4566
+ }, "de_DeviceKeyExistsExceptionRes");
4535
4567
  var de_DuplicateProviderExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4536
4568
  const body = parsedOutput.body;
4537
4569
  const deserialized = (0, import_smithy_client._json)(body);
@@ -7579,6 +7611,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
7579
7611
  WebAuthnNotEnabledException,
7580
7612
  WebAuthnOriginNotAllowedException,
7581
7613
  WebAuthnRelyingPartyMismatchException,
7614
+ DeviceKeyExistsException,
7582
7615
  GroupExistsException,
7583
7616
  IdentityProviderTypeType,
7584
7617
  DuplicateProviderException,
@@ -7609,7 +7642,6 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
7609
7642
  DomainStatusType,
7610
7643
  EventSourceName,
7611
7644
  LogLevel,
7612
- UserVerificationType,
7613
7645
  AdminAddUserToGroupRequestFilterSensitiveLog,
7614
7646
  AdminConfirmSignUpRequestFilterSensitiveLog,
7615
7647
  AttributeTypeFilterSensitiveLog,
@@ -7678,6 +7710,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
7678
7710
  GetUserAttributeVerificationCodeRequestFilterSensitiveLog,
7679
7711
  GetUserAuthFactorsRequestFilterSensitiveLog,
7680
7712
  GetUserAuthFactorsResponseFilterSensitiveLog,
7713
+ UserVerificationType,
7681
7714
  UnauthorizedException,
7682
7715
  UnsupportedOperationException,
7683
7716
  UnsupportedTokenTypeException,
@@ -612,6 +612,18 @@ export class WebAuthnRelyingPartyMismatchException extends __BaseException {
612
612
  Object.setPrototypeOf(this, WebAuthnRelyingPartyMismatchException.prototype);
613
613
  }
614
614
  }
615
+ export class DeviceKeyExistsException extends __BaseException {
616
+ name = "DeviceKeyExistsException";
617
+ $fault = "client";
618
+ constructor(opts) {
619
+ super({
620
+ name: "DeviceKeyExistsException",
621
+ $fault: "client",
622
+ ...opts,
623
+ });
624
+ Object.setPrototypeOf(this, DeviceKeyExistsException.prototype);
625
+ }
626
+ }
615
627
  export class GroupExistsException extends __BaseException {
616
628
  name = "GroupExistsException";
617
629
  $fault = "client";
@@ -683,6 +695,7 @@ export const CustomSMSSenderLambdaVersionType = {
683
695
  export const PreTokenGenerationLambdaVersionType = {
684
696
  V1_0: "V1_0",
685
697
  V2_0: "V2_0",
698
+ V3_0: "V3_0",
686
699
  };
687
700
  export const UserPoolMfaType = {
688
701
  OFF: "OFF",
@@ -828,10 +841,6 @@ export const LogLevel = {
828
841
  ERROR: "ERROR",
829
842
  INFO: "INFO",
830
843
  };
831
- export const UserVerificationType = {
832
- PREFERRED: "preferred",
833
- REQUIRED: "required",
834
- };
835
844
  export const AdminAddUserToGroupRequestFilterSensitiveLog = (obj) => ({
836
845
  ...obj,
837
846
  ...(obj.Username && { Username: SENSITIVE_STRING }),
@@ -1,6 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
3
  import { AttributeTypeFilterSensitiveLog, AuthenticationResultTypeFilterSensitiveLog, RiskConfigurationTypeFilterSensitiveLog, UICustomizationTypeFilterSensitiveLog, UserPoolClientTypeFilterSensitiveLog, UserTypeFilterSensitiveLog, } from "./models_0";
4
+ export const UserVerificationType = {
5
+ PREFERRED: "preferred",
6
+ REQUIRED: "required",
7
+ };
4
8
  export class UnauthorizedException extends __BaseException {
5
9
  name = "UnauthorizedException";
6
10
  $fault = "client";
@@ -2,7 +2,7 @@ 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, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException, } from "../models/models_0";
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, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException, } from "../models/models_0";
6
6
  import { EnableSoftwareTokenMFAException, UnauthorizedException, UnsupportedOperationException, UnsupportedTokenTypeException, WebAuthnConfigurationMissingException, } from "../models/models_1";
7
7
  export const se_AddCustomAttributesCommand = async (input, context) => {
8
8
  const headers = sharedHeaders("AddCustomAttributes");
@@ -2236,6 +2236,9 @@ const de_CommandError = async (output, context) => {
2236
2236
  case "WebAuthnRelyingPartyMismatchException":
2237
2237
  case "com.amazonaws.cognitoidentityprovider#WebAuthnRelyingPartyMismatchException":
2238
2238
  throw await de_WebAuthnRelyingPartyMismatchExceptionRes(parsedOutput, context);
2239
+ case "DeviceKeyExistsException":
2240
+ case "com.amazonaws.cognitoidentityprovider#DeviceKeyExistsException":
2241
+ throw await de_DeviceKeyExistsExceptionRes(parsedOutput, context);
2239
2242
  case "GroupExistsException":
2240
2243
  case "com.amazonaws.cognitoidentityprovider#GroupExistsException":
2241
2244
  throw await de_GroupExistsExceptionRes(parsedOutput, context);
@@ -2323,6 +2326,15 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
2323
2326
  });
2324
2327
  return __decorateServiceException(exception, body);
2325
2328
  };
2329
+ const de_DeviceKeyExistsExceptionRes = async (parsedOutput, context) => {
2330
+ const body = parsedOutput.body;
2331
+ const deserialized = _json(body);
2332
+ const exception = new DeviceKeyExistsException({
2333
+ $metadata: deserializeMetadata(parsedOutput),
2334
+ ...deserialized,
2335
+ });
2336
+ return __decorateServiceException(exception, body);
2337
+ };
2326
2338
  const de_DuplicateProviderExceptionRes = async (parsedOutput, context) => {
2327
2339
  const body = parsedOutput.body;
2328
2340
  const deserialized = _json(body);
@@ -798,8 +798,8 @@ export interface CognitoIdentityProvider {
798
798
  /**
799
799
  * <p>With the Amazon Cognito user pools API, you can configure user pools and authenticate users. To
800
800
  * authenticate users from third-party identity providers (IdPs) in this API, you can
801
- * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
802
- * about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and hosted UI reference</a>.</p>
801
+ * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
802
+ * about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and managed login reference</a>.</p>
803
803
  * <p>This API reference provides detailed information about API operations and object types
804
804
  * in Amazon Cognito.</p>
805
805
  * <p>Along with resource management operations, the Amazon Cognito user pools API includes classes
@@ -820,68 +820,11 @@ export interface CognitoIdentityProvider {
820
820
  * requests to manage, authenticate, or authorize a user.</p>
821
821
  * </li>
822
822
  * </ol>
823
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
824
- * in the <i>Amazon Cognito Developer Guide</i>.</p>
823
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flows-public-server-side.html#user-pools-API-operations">Understanding API, OIDC, and managed login pages
824
+ * authentication</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
825
825
  * <p>With your Amazon Web Services SDK, you can build the logic to support operational flows in every use
826
826
  * case for this API. You can also make direct REST API requests to <a href="https://docs.aws.amazon.com/general/latest/gr/cognito_identity.html#cognito_identity_your_user_pools_region">Amazon Cognito user pools service endpoints</a>. The following links can get you started
827
- * with the <code>CognitoIdentityProvider</code> client in other supported Amazon Web Services
828
- * SDKs.</p>
829
- * <ul>
830
- * <li>
831
- * <p>
832
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/index.html#cli-aws-cognito-idp">Amazon Web Services
833
- * Command Line Interface</a>
834
- * </p>
835
- * </li>
836
- * <li>
837
- * <p>
838
- * <a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CognitoIdentityProvider/TCognitoIdentityProviderClient.html">Amazon Web Services SDK for .NET</a>
839
- * </p>
840
- * </li>
841
- * <li>
842
- * <p>
843
- * <a href="https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-cognito-idp/html/class_aws_1_1_cognito_identity_provider_1_1_cognito_identity_provider_client.html">Amazon Web Services SDK for C++</a>
844
- * </p>
845
- * </li>
846
- * <li>
847
- * <p>
848
- * <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider">Amazon Web Services SDK for Go</a>
849
- * </p>
850
- * </li>
851
- * <li>
852
- * <p>
853
- * <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/cognitoidentityprovider/CognitoIdentityProviderClient.html">Amazon Web Services SDK for Java V2</a>
854
- * </p>
855
- * </li>
856
- * <li>
857
- * <p>
858
- * <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html">Amazon Web Services
859
- * SDK for JavaScript</a>
860
- * </p>
861
- * </li>
862
- * <li>
863
- * <p>
864
- * <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html">Amazon Web Services SDK for PHP
865
- * V3</a>
866
- * </p>
867
- * </li>
868
- * <li>
869
- * <p>
870
- * <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp.html">Amazon Web Services SDK for Python</a>
871
- * </p>
872
- * </li>
873
- * <li>
874
- * <p>
875
- * <a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html">Amazon Web Services SDK
876
- * for Ruby V3</a>
877
- * </p>
878
- * </li>
879
- * <li>
880
- * <p>
881
- * <a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
882
- * </p>
883
- * </li>
884
- * </ul>
827
+ * with the <code>CognitoIdentityProvider</code> client in supported Amazon Web Services SDKs.</p>
885
828
  * <p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
886
829
  * SDKs</a>.</p>
887
830
  * @public
@@ -284,8 +284,8 @@ export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIden
284
284
  /**
285
285
  * <p>With the Amazon Cognito user pools API, you can configure user pools and authenticate users. To
286
286
  * authenticate users from third-party identity providers (IdPs) in this API, you can
287
- * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
288
- * about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and hosted UI reference</a>.</p>
287
+ * <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation-consolidate-users.html">link IdP users to native user profiles</a>. Learn more
288
+ * about the authentication and authorization of federated users at <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-federation.html">Adding user pool sign-in through a third party</a> and in the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-userpools-server-contract-reference.html">User pool federation endpoints and managed login reference</a>.</p>
289
289
  * <p>This API reference provides detailed information about API operations and object types
290
290
  * in Amazon Cognito.</p>
291
291
  * <p>Along with resource management operations, the Amazon Cognito user pools API includes classes
@@ -306,68 +306,11 @@ export interface CognitoIdentityProviderClientResolvedConfig extends CognitoIden
306
306
  * requests to manage, authenticate, or authorize a user.</p>
307
307
  * </li>
308
308
  * </ol>
309
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
310
- * in the <i>Amazon Cognito Developer Guide</i>.</p>
309
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flows-public-server-side.html#user-pools-API-operations">Understanding API, OIDC, and managed login pages
310
+ * authentication</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
311
311
  * <p>With your Amazon Web Services SDK, you can build the logic to support operational flows in every use
312
312
  * case for this API. You can also make direct REST API requests to <a href="https://docs.aws.amazon.com/general/latest/gr/cognito_identity.html#cognito_identity_your_user_pools_region">Amazon Cognito user pools service endpoints</a>. The following links can get you started
313
- * with the <code>CognitoIdentityProvider</code> client in other supported Amazon Web Services
314
- * SDKs.</p>
315
- * <ul>
316
- * <li>
317
- * <p>
318
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/index.html#cli-aws-cognito-idp">Amazon Web Services
319
- * Command Line Interface</a>
320
- * </p>
321
- * </li>
322
- * <li>
323
- * <p>
324
- * <a href="https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/CognitoIdentityProvider/TCognitoIdentityProviderClient.html">Amazon Web Services SDK for .NET</a>
325
- * </p>
326
- * </li>
327
- * <li>
328
- * <p>
329
- * <a href="https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-cognito-idp/html/class_aws_1_1_cognito_identity_provider_1_1_cognito_identity_provider_client.html">Amazon Web Services SDK for C++</a>
330
- * </p>
331
- * </li>
332
- * <li>
333
- * <p>
334
- * <a href="https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider">Amazon Web Services SDK for Go</a>
335
- * </p>
336
- * </li>
337
- * <li>
338
- * <p>
339
- * <a href="https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/cognitoidentityprovider/CognitoIdentityProviderClient.html">Amazon Web Services SDK for Java V2</a>
340
- * </p>
341
- * </li>
342
- * <li>
343
- * <p>
344
- * <a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html">Amazon Web Services
345
- * SDK for JavaScript</a>
346
- * </p>
347
- * </li>
348
- * <li>
349
- * <p>
350
- * <a href="https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-cognito-idp-2016-04-18.html">Amazon Web Services SDK for PHP
351
- * V3</a>
352
- * </p>
353
- * </li>
354
- * <li>
355
- * <p>
356
- * <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp.html">Amazon Web Services SDK for Python</a>
357
- * </p>
358
- * </li>
359
- * <li>
360
- * <p>
361
- * <a href="https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html">Amazon Web Services SDK
362
- * for Ruby V3</a>
363
- * </p>
364
- * </li>
365
- * <li>
366
- * <p>
367
- * <a href="https://sdk.amazonaws.com/kotlin/api/latest/cognitoidentityprovider/aws.sdk.kotlin.services.cognitoidentityprovider/-cognito-identity-provider-client/index.html">Amazon Web Services SDK for Kotlin</a>
368
- * </p>
369
- * </li>
370
- * </ul>
313
+ * with the <code>CognitoIdentityProvider</code> client in supported Amazon Web Services SDKs.</p>
371
314
  * <p>To get started with an Amazon Web Services SDK, see <a href="http://aws.amazon.com/developer/tools/">Tools to Build on Amazon Web Services</a>. For example actions and scenarios, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/service_code_examples_cognito-identity-provider.html">Code examples for Amazon Cognito Identity Provider using Amazon Web Services
372
315
  * SDKs</a>.</p>
373
316
  * @public
@@ -30,9 +30,6 @@ declare const AddCustomAttributesCommand_base: {
30
30
  * <p>Adds additional user attributes to the user pool schema. Custom attributes can be
31
31
  * mutable or immutable and have a <code>custom:</code> or <code>dev:</code> prefix. For
32
32
  * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-custom-attributes">Custom attributes</a>.</p>
33
- * <p>You can also create custom attributes in the <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html#CognitoUserPools-CreateUserPool-request-Schema">Schema parameter</a> of <code>CreateUserPool</code> and
34
- * <code>UpdateUserPool</code>. You can't delete custom attributes after you
35
- * create them.</p>
36
33
  * <note>
37
34
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
38
35
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -27,8 +27,7 @@ declare const AdminConfirmSignUpCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Confirms user sign-up as an administrator. Unlike <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmSignUp.html">ConfirmSignUp</a>, your IAM credentials authorize user account confirmation.
31
- * No confirmation code is required.</p>
30
+ * <p>Confirms user sign-up as an administrator. </p>
32
31
  * <p>This request sets a user account active in a user pool that <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#signing-up-users-in-your-app-and-confirming-them-as-admin">requires confirmation of new user accounts</a> before they can sign in. You can
33
32
  * configure your user pool to not send confirmation codes to new users and instead confirm
34
33
  * them with this API operation on the back end.</p>
@@ -30,6 +30,18 @@ declare const AdminCreateUserCommand_base: {
30
30
  * <p>Creates a new user in the specified user pool.</p>
31
31
  * <p>If <code>MessageAction</code> isn't set, the default is to send a welcome message via
32
32
  * email or phone (SMS).</p>
33
+ * <p>This message is based on a template that you configured in your call to create or
34
+ * update a user pool. This template includes your custom sign-up instructions and
35
+ * placeholders for user name and temporary password.</p>
36
+ * <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code>
37
+ * for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
38
+ * <p>In either case, if the user has a password, they will be in the
39
+ * <code>FORCE_CHANGE_PASSWORD</code> state until they sign in and set their password.
40
+ * Your invitation message template must have the <code>\{####\}</code> password placeholder
41
+ * if your users have passwords. If your template doesn't have this placeholder, Amazon Cognito
42
+ * doesn't deliver the invitation message. In this case, you must update your message
43
+ * template and resend the password with a new <code>AdminCreateUser</code> request with a
44
+ * <code>MessageAction</code> value of <code>RESEND</code>.</p>
33
45
  * <note>
34
46
  * <p>This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers
35
47
  * require you to register an origination phone number before you can send SMS messages
@@ -47,18 +59,6 @@ declare const AdminCreateUserCommand_base: {
47
59
  * of the sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html"> SMS message settings for Amazon Cognito user pools</a> in the <i>Amazon Cognito
48
60
  * Developer Guide</i>.</p>
49
61
  * </note>
50
- * <p>This message is based on a template that you configured in your call to create or
51
- * update a user pool. This template includes your custom sign-up instructions and
52
- * placeholders for user name and temporary password.</p>
53
- * <p>Alternatively, you can call <code>AdminCreateUser</code> with <code>SUPPRESS</code>
54
- * for the <code>MessageAction</code> parameter, and Amazon Cognito won't send any email. </p>
55
- * <p>In either case, if the user has a password, they will be in the
56
- * <code>FORCE_CHANGE_PASSWORD</code> state until they sign in and set their password.
57
- * Your invitation message template must have the <code>\{####\}</code> password placeholder
58
- * if your users have passwords. If your template doesn't have this placeholder, Amazon Cognito
59
- * doesn't deliver the invitation message. In this case, you must update your message
60
- * template and resend the password with a new <code>AdminCreateUser</code> request with a
61
- * <code>MessageAction</code> value of <code>RESEND</code>.</p>
62
62
  * <note>
63
63
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
64
64
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -28,8 +28,8 @@ declare const AdminDeleteUserAttributesCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Deletes attribute values from a user. This operation doesn't affect tokens for
31
- * existing user sessions. The next ID token that the user receives will no longer have
32
- * this attribute.</p>
31
+ * existing user sessions. The next ID token that the user receives will no longer have the
32
+ * deleted attributes.</p>
33
33
  * <note>
34
34
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
35
35
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -33,13 +33,11 @@ declare const AdminDisableProviderForUserCommand_base: {
33
33
  * to deactivate is a linked external IdP user, any link between that user and an existing
34
34
  * user is removed. When the external user signs in again, and the user is no longer
35
35
  * attached to the previously linked <code>DestinationUser</code>, the user must create a
36
- * new user account. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminLinkProviderForUser.html">AdminLinkProviderForUser</a>.</p>
37
- * <p>The <code>ProviderName</code> must match the value specified when creating an IdP for
38
- * the pool. </p>
39
- * <p>To deactivate a native username + password user, the <code>ProviderName</code> value
40
- * must be <code>Cognito</code> and the <code>ProviderAttributeName</code> must be
41
- * <code>Cognito_Subject</code>. The <code>ProviderAttributeValue</code> must be the
42
- * name that is used in the user pool for the user.</p>
36
+ * new user account.</p>
37
+ * <p>The value of <code>ProviderName</code> must match the name of a user pool IdP.</p>
38
+ * <p>To deactivate a local user, set <code>ProviderName</code> to <code>Cognito</code> and
39
+ * the <code>ProviderAttributeName</code> to <code>Cognito_Subject</code>. The
40
+ * <code>ProviderAttributeValue</code> must be user's local username.</p>
43
41
  * <p>The <code>ProviderAttributeName</code> must always be <code>Cognito_Subject</code> for
44
42
  * social IdPs. The <code>ProviderAttributeValue</code> must always be the exact subject
45
43
  * that was used when the user was originally linked as a source user.</p>
@@ -47,12 +45,11 @@ declare const AdminDisableProviderForUserCommand_base: {
47
45
  * not yet been used to sign in, the <code>ProviderAttributeName</code> and
48
46
  * <code>ProviderAttributeValue</code> must be the same values that were used for the
49
47
  * <code>SourceUser</code> when the identities were originally linked using <code>
50
- * AdminLinkProviderForUser</code> call. (If the linking was done with
51
- * <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>, the same
52
- * applies here). However, if the user has already signed in, the
53
- * <code>ProviderAttributeName</code> must be <code>Cognito_Subject</code> and
54
- * <code>ProviderAttributeValue</code> must be the subject of the SAML
55
- * assertion.</p>
48
+ * AdminLinkProviderForUser</code> call. This is also true if the linking was done with
49
+ * <code>ProviderAttributeName</code> set to <code>Cognito_Subject</code>. If the user
50
+ * has already signed in, the <code>ProviderAttributeName</code> must be
51
+ * <code>Cognito_Subject</code> and <code>ProviderAttributeValue</code> must be the
52
+ * <code>NameID</code> from their SAML assertion.</p>
56
53
  * <note>
57
54
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
58
55
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -27,7 +27,7 @@ declare const AdminEnableUserCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Activate sign-in for a user profile that previously had sign-in access
30
+ * <p>Activates sign-in for a user profile that previously had sign-in access
31
31
  * disabled.</p>
32
32
  * <note>
33
33
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
@@ -27,7 +27,7 @@ declare const AdminGetDeviceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Given the device key, returns details for a user' device. For more information,
30
+ * <p>Given the device key, returns details for a user's device. For more information,
31
31
  * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
32
32
  * <note>
33
33
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
@@ -27,9 +27,10 @@ declare const AdminGetUserCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Given the username, returns details about a user profile in a user pool. This
31
- * operation contributes to your monthly active user (MAU) count for the purpose of
32
- * billing. You can specify alias attributes in the <code>Username</code> parameter.</p>
30
+ * <p>Given a username, returns details about a user profile in a user pool. You can specify
31
+ * alias attributes in the <code>Username</code> request parameter.</p>
32
+ * <p>This operation contributes to your monthly active user (MAU) count for the purpose of
33
+ * billing.</p>
33
34
  * <note>
34
35
  * <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
35
36
  * this operation, you must use IAM credentials to authorize requests, and you must
@@ -121,6 +121,9 @@ declare const AdminInitiateAuthCommand_base: {
121
121
  * // DeviceGroupKey: "STRING_VALUE",
122
122
  * // },
123
123
  * // },
124
+ * // AvailableChallenges: [ // AvailableChallengeListType
125
+ * // "SMS_MFA" || "EMAIL_OTP" || "SOFTWARE_TOKEN_MFA" || "SELECT_MFA_TYPE" || "MFA_SETUP" || "PASSWORD_VERIFIER" || "CUSTOM_CHALLENGE" || "SELECT_CHALLENGE" || "DEVICE_SRP_AUTH" || "DEVICE_PASSWORD_VERIFIER" || "ADMIN_NO_SRP_AUTH" || "NEW_PASSWORD_REQUIRED" || "SMS_OTP" || "PASSWORD" || "WEB_AUTHN" || "PASSWORD_SRP",
126
+ * // ],
124
127
  * // };
125
128
  *
126
129
  * ```