@aws-sdk/client-cognito-identity-provider 3.321.1 → 3.326.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 (102) hide show
  1. package/dist-types/commands/AddCustomAttributesCommand.d.ts +4 -0
  2. package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +4 -0
  3. package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +4 -0
  4. package/dist-types/commands/AdminCreateUserCommand.d.ts +24 -0
  5. package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +4 -0
  6. package/dist-types/commands/AdminDeleteUserCommand.d.ts +4 -0
  7. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +4 -0
  8. package/dist-types/commands/AdminDisableUserCommand.d.ts +4 -0
  9. package/dist-types/commands/AdminEnableUserCommand.d.ts +4 -0
  10. package/dist-types/commands/AdminForgetDeviceCommand.d.ts +4 -0
  11. package/dist-types/commands/AdminGetDeviceCommand.d.ts +17 -0
  12. package/dist-types/commands/AdminGetUserCommand.d.ts +26 -0
  13. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +21 -0
  14. package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +4 -0
  15. package/dist-types/commands/AdminListDevicesCommand.d.ts +20 -0
  16. package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +17 -0
  17. package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +37 -0
  18. package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +4 -0
  19. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +4 -0
  20. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +21 -0
  21. package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +4 -0
  22. package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +4 -0
  23. package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +4 -0
  24. package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +4 -0
  25. package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +4 -0
  26. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +4 -0
  27. package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +4 -0
  28. package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +7 -0
  29. package/dist-types/commands/ChangePasswordCommand.d.ts +4 -0
  30. package/dist-types/commands/ConfirmDeviceCommand.d.ts +6 -0
  31. package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +4 -0
  32. package/dist-types/commands/ConfirmSignUpCommand.d.ts +4 -0
  33. package/dist-types/commands/CreateGroupCommand.d.ts +14 -0
  34. package/dist-types/commands/CreateIdentityProviderCommand.d.ts +21 -0
  35. package/dist-types/commands/CreateResourceServerCommand.d.ts +16 -0
  36. package/dist-types/commands/CreateUserImportJobCommand.d.ts +20 -0
  37. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +58 -0
  38. package/dist-types/commands/CreateUserPoolCommand.d.ts +136 -0
  39. package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +6 -0
  40. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +4 -0
  42. package/dist-types/commands/DeleteResourceServerCommand.d.ts +4 -0
  43. package/dist-types/commands/DeleteUserAttributesCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +4 -0
  46. package/dist-types/commands/DeleteUserPoolCommand.d.ts +4 -0
  47. package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +4 -0
  48. package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +21 -0
  49. package/dist-types/commands/DescribeResourceServerCommand.d.ts +16 -0
  50. package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +62 -0
  51. package/dist-types/commands/DescribeUserImportJobCommand.d.ts +20 -0
  52. package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +58 -0
  53. package/dist-types/commands/DescribeUserPoolCommand.d.ts +136 -0
  54. package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +17 -0
  55. package/dist-types/commands/ForgetDeviceCommand.d.ts +4 -0
  56. package/dist-types/commands/ForgotPasswordCommand.d.ts +10 -0
  57. package/dist-types/commands/GetCSVHeaderCommand.d.ts +9 -0
  58. package/dist-types/commands/GetDeviceCommand.d.ts +17 -0
  59. package/dist-types/commands/GetGroupCommand.d.ts +14 -0
  60. package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +21 -0
  61. package/dist-types/commands/GetSigningCertificateCommand.d.ts +6 -0
  62. package/dist-types/commands/GetUICustomizationCommand.d.ts +14 -0
  63. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +10 -0
  64. package/dist-types/commands/GetUserCommand.d.ts +22 -0
  65. package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +17 -0
  66. package/dist-types/commands/GlobalSignOutCommand.d.ts +4 -0
  67. package/dist-types/commands/InitiateAuthCommand.d.ts +21 -0
  68. package/dist-types/commands/ListDevicesCommand.d.ts +20 -0
  69. package/dist-types/commands/ListGroupsCommand.d.ts +17 -0
  70. package/dist-types/commands/ListIdentityProvidersCommand.d.ts +14 -0
  71. package/dist-types/commands/ListResourceServersCommand.d.ts +19 -0
  72. package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
  73. package/dist-types/commands/ListUserImportJobsCommand.d.ts +23 -0
  74. package/dist-types/commands/ListUserPoolClientsCommand.d.ts +13 -0
  75. package/dist-types/commands/ListUserPoolsCommand.d.ts +36 -0
  76. package/dist-types/commands/ListUsersCommand.d.ts +27 -0
  77. package/dist-types/commands/ListUsersInGroupCommand.d.ts +27 -0
  78. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +10 -0
  79. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +21 -0
  80. package/dist-types/commands/RevokeTokenCommand.d.ts +4 -0
  81. package/dist-types/commands/SetRiskConfigurationCommand.d.ts +62 -0
  82. package/dist-types/commands/SetUICustomizationCommand.d.ts +14 -0
  83. package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +4 -0
  84. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +17 -0
  85. package/dist-types/commands/SetUserSettingsCommand.d.ts +4 -0
  86. package/dist-types/commands/SignUpCommand.d.ts +12 -0
  87. package/dist-types/commands/StartUserImportJobCommand.d.ts +20 -0
  88. package/dist-types/commands/StopUserImportJobCommand.d.ts +20 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  90. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  91. package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +4 -0
  92. package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +4 -0
  93. package/dist-types/commands/UpdateGroupCommand.d.ts +14 -0
  94. package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +21 -0
  95. package/dist-types/commands/UpdateResourceServerCommand.d.ts +16 -0
  96. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +12 -0
  97. package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +58 -0
  98. package/dist-types/commands/UpdateUserPoolCommand.d.ts +4 -0
  99. package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +6 -0
  100. package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +7 -0
  101. package/dist-types/commands/VerifyUserAttributeCommand.d.ts +4 -0
  102. package/package.json +16 -16
@@ -32,6 +32,25 @@ export interface DescribeIdentityProviderCommandOutput extends DescribeIdentityP
32
32
  * };
33
33
  * const command = new DescribeIdentityProviderCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeIdentityProviderResponse
36
+ * // IdentityProvider: { // IdentityProviderType
37
+ * // UserPoolId: "STRING_VALUE",
38
+ * // ProviderName: "STRING_VALUE",
39
+ * // ProviderType: "SAML" || "Facebook" || "Google" || "LoginWithAmazon" || "SignInWithApple" || "OIDC",
40
+ * // ProviderDetails: { // ProviderDetailsType
41
+ * // "<keys>": "STRING_VALUE",
42
+ * // },
43
+ * // AttributeMapping: { // AttributeMappingType
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // IdpIdentifiers: [ // IdpIdentifiersListType
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // LastModifiedDate: new Date("TIMESTAMP"),
50
+ * // CreationDate: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
35
54
  * ```
36
55
  *
37
56
  * @param DescribeIdentityProviderCommandInput - {@link DescribeIdentityProviderCommandInput}
@@ -58,6 +77,8 @@ export interface DescribeIdentityProviderCommandOutput extends DescribeIdentityP
58
77
  * <p>This exception is thrown when the user has made too many requests for a given
59
78
  * operation.</p>
60
79
  *
80
+ * @throws {@link CognitoIdentityProviderServiceException}
81
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
61
82
  *
62
83
  */
63
84
  export declare class DescribeIdentityProviderCommand extends $Command<DescribeIdentityProviderCommandInput, DescribeIdentityProviderCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,20 @@ export interface DescribeResourceServerCommandOutput extends DescribeResourceSer
32
32
  * };
33
33
  * const command = new DescribeResourceServerCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeResourceServerResponse
36
+ * // ResourceServer: { // ResourceServerType
37
+ * // UserPoolId: "STRING_VALUE",
38
+ * // Identifier: "STRING_VALUE",
39
+ * // Name: "STRING_VALUE",
40
+ * // Scopes: [ // ResourceServerScopeListType
41
+ * // { // ResourceServerScopeType
42
+ * // ScopeName: "STRING_VALUE", // required
43
+ * // ScopeDescription: "STRING_VALUE", // required
44
+ * // },
45
+ * // ],
46
+ * // },
47
+ * // };
48
+ *
35
49
  * ```
36
50
  *
37
51
  * @param DescribeResourceServerCommandInput - {@link DescribeResourceServerCommandInput}
@@ -58,6 +72,8 @@ export interface DescribeResourceServerCommandOutput extends DescribeResourceSer
58
72
  * <p>This exception is thrown when the user has made too many requests for a given
59
73
  * operation.</p>
60
74
  *
75
+ * @throws {@link CognitoIdentityProviderServiceException}
76
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
61
77
  *
62
78
  */
63
79
  export declare class DescribeResourceServerCommand extends $Command<DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,66 @@ export interface DescribeRiskConfigurationCommandOutput extends DescribeRiskConf
32
32
  * };
33
33
  * const command = new DescribeRiskConfigurationCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeRiskConfigurationResponse
36
+ * // RiskConfiguration: { // RiskConfigurationType
37
+ * // UserPoolId: "STRING_VALUE",
38
+ * // ClientId: "STRING_VALUE",
39
+ * // CompromisedCredentialsRiskConfiguration: { // CompromisedCredentialsRiskConfigurationType
40
+ * // EventFilter: [ // EventFiltersType
41
+ * // "SIGN_IN" || "PASSWORD_CHANGE" || "SIGN_UP",
42
+ * // ],
43
+ * // Actions: { // CompromisedCredentialsActionsType
44
+ * // EventAction: "BLOCK" || "NO_ACTION", // required
45
+ * // },
46
+ * // },
47
+ * // AccountTakeoverRiskConfiguration: { // AccountTakeoverRiskConfigurationType
48
+ * // NotifyConfiguration: { // NotifyConfigurationType
49
+ * // From: "STRING_VALUE",
50
+ * // ReplyTo: "STRING_VALUE",
51
+ * // SourceArn: "STRING_VALUE", // required
52
+ * // BlockEmail: { // NotifyEmailType
53
+ * // Subject: "STRING_VALUE", // required
54
+ * // HtmlBody: "STRING_VALUE",
55
+ * // TextBody: "STRING_VALUE",
56
+ * // },
57
+ * // NoActionEmail: {
58
+ * // Subject: "STRING_VALUE", // required
59
+ * // HtmlBody: "STRING_VALUE",
60
+ * // TextBody: "STRING_VALUE",
61
+ * // },
62
+ * // MfaEmail: {
63
+ * // Subject: "STRING_VALUE", // required
64
+ * // HtmlBody: "STRING_VALUE",
65
+ * // TextBody: "STRING_VALUE",
66
+ * // },
67
+ * // },
68
+ * // Actions: { // AccountTakeoverActionsType
69
+ * // LowAction: { // AccountTakeoverActionType
70
+ * // Notify: true || false, // required
71
+ * // EventAction: "BLOCK" || "MFA_IF_CONFIGURED" || "MFA_REQUIRED" || "NO_ACTION", // required
72
+ * // },
73
+ * // MediumAction: {
74
+ * // Notify: true || false, // required
75
+ * // EventAction: "BLOCK" || "MFA_IF_CONFIGURED" || "MFA_REQUIRED" || "NO_ACTION", // required
76
+ * // },
77
+ * // HighAction: {
78
+ * // Notify: true || false, // required
79
+ * // EventAction: "BLOCK" || "MFA_IF_CONFIGURED" || "MFA_REQUIRED" || "NO_ACTION", // required
80
+ * // },
81
+ * // },
82
+ * // },
83
+ * // RiskExceptionConfiguration: { // RiskExceptionConfigurationType
84
+ * // BlockedIPRangeList: [ // BlockedIPRangeListType
85
+ * // "STRING_VALUE",
86
+ * // ],
87
+ * // SkippedIPRangeList: [ // SkippedIPRangeListType
88
+ * // "STRING_VALUE",
89
+ * // ],
90
+ * // },
91
+ * // LastModifiedDate: new Date("TIMESTAMP"),
92
+ * // },
93
+ * // };
94
+ *
35
95
  * ```
36
96
  *
37
97
  * @param DescribeRiskConfigurationCommandInput - {@link DescribeRiskConfigurationCommandInput}
@@ -61,6 +121,8 @@ export interface DescribeRiskConfigurationCommandOutput extends DescribeRiskConf
61
121
  * @throws {@link UserPoolAddOnNotEnabledException} (client fault)
62
122
  * <p>This exception is thrown when user pool add-ons aren't enabled.</p>
63
123
  *
124
+ * @throws {@link CognitoIdentityProviderServiceException}
125
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
64
126
  *
65
127
  */
66
128
  export declare class DescribeRiskConfigurationCommand extends $Command<DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,24 @@ export interface DescribeUserImportJobCommandOutput extends DescribeUserImportJo
32
32
  * };
33
33
  * const command = new DescribeUserImportJobCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeUserImportJobResponse
36
+ * // UserImportJob: { // UserImportJobType
37
+ * // JobName: "STRING_VALUE",
38
+ * // JobId: "STRING_VALUE",
39
+ * // UserPoolId: "STRING_VALUE",
40
+ * // PreSignedUrl: "STRING_VALUE",
41
+ * // CreationDate: new Date("TIMESTAMP"),
42
+ * // StartDate: new Date("TIMESTAMP"),
43
+ * // CompletionDate: new Date("TIMESTAMP"),
44
+ * // Status: "Created" || "Pending" || "InProgress" || "Stopping" || "Expired" || "Stopped" || "Failed" || "Succeeded",
45
+ * // CloudWatchLogsRoleArn: "STRING_VALUE",
46
+ * // ImportedUsers: Number("long"),
47
+ * // SkippedUsers: Number("long"),
48
+ * // FailedUsers: Number("long"),
49
+ * // CompletionMessage: "STRING_VALUE",
50
+ * // },
51
+ * // };
52
+ *
35
53
  * ```
36
54
  *
37
55
  * @param DescribeUserImportJobCommandInput - {@link DescribeUserImportJobCommandInput}
@@ -58,6 +76,8 @@ export interface DescribeUserImportJobCommandOutput extends DescribeUserImportJo
58
76
  * <p>This exception is thrown when the user has made too many requests for a given
59
77
  * operation.</p>
60
78
  *
79
+ * @throws {@link CognitoIdentityProviderServiceException}
80
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
61
81
  *
62
82
  */
63
83
  export declare class DescribeUserImportJobCommand extends $Command<DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -33,6 +33,62 @@ export interface DescribeUserPoolClientCommandOutput extends DescribeUserPoolCli
33
33
  * };
34
34
  * const command = new DescribeUserPoolClientCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // DescribeUserPoolClientResponse
37
+ * // UserPoolClient: { // UserPoolClientType
38
+ * // UserPoolId: "STRING_VALUE",
39
+ * // ClientName: "STRING_VALUE",
40
+ * // ClientId: "STRING_VALUE",
41
+ * // ClientSecret: "STRING_VALUE",
42
+ * // LastModifiedDate: new Date("TIMESTAMP"),
43
+ * // CreationDate: new Date("TIMESTAMP"),
44
+ * // RefreshTokenValidity: Number("int"),
45
+ * // AccessTokenValidity: Number("int"),
46
+ * // IdTokenValidity: Number("int"),
47
+ * // TokenValidityUnits: { // TokenValidityUnitsType
48
+ * // AccessToken: "seconds" || "minutes" || "hours" || "days",
49
+ * // IdToken: "seconds" || "minutes" || "hours" || "days",
50
+ * // RefreshToken: "seconds" || "minutes" || "hours" || "days",
51
+ * // },
52
+ * // ReadAttributes: [ // ClientPermissionListType
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // WriteAttributes: [
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // ExplicitAuthFlows: [ // ExplicitAuthFlowsListType
59
+ * // "ADMIN_NO_SRP_AUTH" || "CUSTOM_AUTH_FLOW_ONLY" || "USER_PASSWORD_AUTH" || "ALLOW_ADMIN_USER_PASSWORD_AUTH" || "ALLOW_CUSTOM_AUTH" || "ALLOW_USER_PASSWORD_AUTH" || "ALLOW_USER_SRP_AUTH" || "ALLOW_REFRESH_TOKEN_AUTH",
60
+ * // ],
61
+ * // SupportedIdentityProviders: [ // SupportedIdentityProvidersListType
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // CallbackURLs: [ // CallbackURLsListType
65
+ * // "STRING_VALUE",
66
+ * // ],
67
+ * // LogoutURLs: [ // LogoutURLsListType
68
+ * // "STRING_VALUE",
69
+ * // ],
70
+ * // DefaultRedirectURI: "STRING_VALUE",
71
+ * // AllowedOAuthFlows: [ // OAuthFlowsType
72
+ * // "code" || "implicit" || "client_credentials",
73
+ * // ],
74
+ * // AllowedOAuthScopes: [ // ScopeListType
75
+ * // "STRING_VALUE",
76
+ * // ],
77
+ * // AllowedOAuthFlowsUserPoolClient: true || false,
78
+ * // AnalyticsConfiguration: { // AnalyticsConfigurationType
79
+ * // ApplicationId: "STRING_VALUE",
80
+ * // ApplicationArn: "STRING_VALUE",
81
+ * // RoleArn: "STRING_VALUE",
82
+ * // ExternalId: "STRING_VALUE",
83
+ * // UserDataShared: true || false,
84
+ * // },
85
+ * // PreventUserExistenceErrors: "LEGACY" || "ENABLED",
86
+ * // EnableTokenRevocation: true || false,
87
+ * // EnablePropagateAdditionalUserContextData: true || false,
88
+ * // AuthSessionValidity: Number("int"),
89
+ * // },
90
+ * // };
91
+ *
36
92
  * ```
37
93
  *
38
94
  * @param DescribeUserPoolClientCommandInput - {@link DescribeUserPoolClientCommandInput}
@@ -59,6 +115,8 @@ export interface DescribeUserPoolClientCommandOutput extends DescribeUserPoolCli
59
115
  * <p>This exception is thrown when the user has made too many requests for a given
60
116
  * operation.</p>
61
117
  *
118
+ * @throws {@link CognitoIdentityProviderServiceException}
119
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
62
120
  *
63
121
  */
64
122
  export declare class DescribeUserPoolClientCommand extends $Command<DescribeUserPoolClientCommandInput, DescribeUserPoolClientCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -31,6 +31,140 @@ export interface DescribeUserPoolCommandOutput extends DescribeUserPoolResponse,
31
31
  * };
32
32
  * const command = new DescribeUserPoolCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeUserPoolResponse
35
+ * // UserPool: { // UserPoolType
36
+ * // Id: "STRING_VALUE",
37
+ * // Name: "STRING_VALUE",
38
+ * // Policies: { // UserPoolPolicyType
39
+ * // PasswordPolicy: { // PasswordPolicyType
40
+ * // MinimumLength: Number("int"),
41
+ * // RequireUppercase: true || false,
42
+ * // RequireLowercase: true || false,
43
+ * // RequireNumbers: true || false,
44
+ * // RequireSymbols: true || false,
45
+ * // TemporaryPasswordValidityDays: Number("int"),
46
+ * // },
47
+ * // },
48
+ * // DeletionProtection: "ACTIVE" || "INACTIVE",
49
+ * // LambdaConfig: { // LambdaConfigType
50
+ * // PreSignUp: "STRING_VALUE",
51
+ * // CustomMessage: "STRING_VALUE",
52
+ * // PostConfirmation: "STRING_VALUE",
53
+ * // PreAuthentication: "STRING_VALUE",
54
+ * // PostAuthentication: "STRING_VALUE",
55
+ * // DefineAuthChallenge: "STRING_VALUE",
56
+ * // CreateAuthChallenge: "STRING_VALUE",
57
+ * // VerifyAuthChallengeResponse: "STRING_VALUE",
58
+ * // PreTokenGeneration: "STRING_VALUE",
59
+ * // UserMigration: "STRING_VALUE",
60
+ * // CustomSMSSender: { // CustomSMSLambdaVersionConfigType
61
+ * // LambdaVersion: "V1_0", // required
62
+ * // LambdaArn: "STRING_VALUE", // required
63
+ * // },
64
+ * // CustomEmailSender: { // CustomEmailLambdaVersionConfigType
65
+ * // LambdaVersion: "V1_0", // required
66
+ * // LambdaArn: "STRING_VALUE", // required
67
+ * // },
68
+ * // KMSKeyID: "STRING_VALUE",
69
+ * // },
70
+ * // Status: "Enabled" || "Disabled",
71
+ * // LastModifiedDate: new Date("TIMESTAMP"),
72
+ * // CreationDate: new Date("TIMESTAMP"),
73
+ * // SchemaAttributes: [ // SchemaAttributesListType
74
+ * // { // SchemaAttributeType
75
+ * // Name: "STRING_VALUE",
76
+ * // AttributeDataType: "String" || "Number" || "DateTime" || "Boolean",
77
+ * // DeveloperOnlyAttribute: true || false,
78
+ * // Mutable: true || false,
79
+ * // Required: true || false,
80
+ * // NumberAttributeConstraints: { // NumberAttributeConstraintsType
81
+ * // MinValue: "STRING_VALUE",
82
+ * // MaxValue: "STRING_VALUE",
83
+ * // },
84
+ * // StringAttributeConstraints: { // StringAttributeConstraintsType
85
+ * // MinLength: "STRING_VALUE",
86
+ * // MaxLength: "STRING_VALUE",
87
+ * // },
88
+ * // },
89
+ * // ],
90
+ * // AutoVerifiedAttributes: [ // VerifiedAttributesListType
91
+ * // "phone_number" || "email",
92
+ * // ],
93
+ * // AliasAttributes: [ // AliasAttributesListType
94
+ * // "phone_number" || "email" || "preferred_username",
95
+ * // ],
96
+ * // UsernameAttributes: [ // UsernameAttributesListType
97
+ * // "phone_number" || "email",
98
+ * // ],
99
+ * // SmsVerificationMessage: "STRING_VALUE",
100
+ * // EmailVerificationMessage: "STRING_VALUE",
101
+ * // EmailVerificationSubject: "STRING_VALUE",
102
+ * // VerificationMessageTemplate: { // VerificationMessageTemplateType
103
+ * // SmsMessage: "STRING_VALUE",
104
+ * // EmailMessage: "STRING_VALUE",
105
+ * // EmailSubject: "STRING_VALUE",
106
+ * // EmailMessageByLink: "STRING_VALUE",
107
+ * // EmailSubjectByLink: "STRING_VALUE",
108
+ * // DefaultEmailOption: "CONFIRM_WITH_LINK" || "CONFIRM_WITH_CODE",
109
+ * // },
110
+ * // SmsAuthenticationMessage: "STRING_VALUE",
111
+ * // UserAttributeUpdateSettings: { // UserAttributeUpdateSettingsType
112
+ * // AttributesRequireVerificationBeforeUpdate: [ // AttributesRequireVerificationBeforeUpdateType
113
+ * // "phone_number" || "email",
114
+ * // ],
115
+ * // },
116
+ * // MfaConfiguration: "OFF" || "ON" || "OPTIONAL",
117
+ * // DeviceConfiguration: { // DeviceConfigurationType
118
+ * // ChallengeRequiredOnNewDevice: true || false,
119
+ * // DeviceOnlyRememberedOnUserPrompt: true || false,
120
+ * // },
121
+ * // EstimatedNumberOfUsers: Number("int"),
122
+ * // EmailConfiguration: { // EmailConfigurationType
123
+ * // SourceArn: "STRING_VALUE",
124
+ * // ReplyToEmailAddress: "STRING_VALUE",
125
+ * // EmailSendingAccount: "COGNITO_DEFAULT" || "DEVELOPER",
126
+ * // From: "STRING_VALUE",
127
+ * // ConfigurationSet: "STRING_VALUE",
128
+ * // },
129
+ * // SmsConfiguration: { // SmsConfigurationType
130
+ * // SnsCallerArn: "STRING_VALUE", // required
131
+ * // ExternalId: "STRING_VALUE",
132
+ * // SnsRegion: "STRING_VALUE",
133
+ * // },
134
+ * // UserPoolTags: { // UserPoolTagsType
135
+ * // "<keys>": "STRING_VALUE",
136
+ * // },
137
+ * // SmsConfigurationFailure: "STRING_VALUE",
138
+ * // EmailConfigurationFailure: "STRING_VALUE",
139
+ * // Domain: "STRING_VALUE",
140
+ * // CustomDomain: "STRING_VALUE",
141
+ * // AdminCreateUserConfig: { // AdminCreateUserConfigType
142
+ * // AllowAdminCreateUserOnly: true || false,
143
+ * // UnusedAccountValidityDays: Number("int"),
144
+ * // InviteMessageTemplate: { // MessageTemplateType
145
+ * // SMSMessage: "STRING_VALUE",
146
+ * // EmailMessage: "STRING_VALUE",
147
+ * // EmailSubject: "STRING_VALUE",
148
+ * // },
149
+ * // },
150
+ * // UserPoolAddOns: { // UserPoolAddOnsType
151
+ * // AdvancedSecurityMode: "OFF" || "AUDIT" || "ENFORCED", // required
152
+ * // },
153
+ * // UsernameConfiguration: { // UsernameConfigurationType
154
+ * // CaseSensitive: true || false, // required
155
+ * // },
156
+ * // Arn: "STRING_VALUE",
157
+ * // AccountRecoverySetting: { // AccountRecoverySettingType
158
+ * // RecoveryMechanisms: [ // RecoveryMechanismsType
159
+ * // { // RecoveryOptionType
160
+ * // Priority: Number("int"), // required
161
+ * // Name: "verified_email" || "verified_phone_number" || "admin_only", // required
162
+ * // },
163
+ * // ],
164
+ * // },
165
+ * // },
166
+ * // };
167
+ *
34
168
  * ```
35
169
  *
36
170
  * @param DescribeUserPoolCommandInput - {@link DescribeUserPoolCommandInput}
@@ -60,6 +194,8 @@ export interface DescribeUserPoolCommandOutput extends DescribeUserPoolResponse,
60
194
  * @throws {@link UserPoolTaggingException} (client fault)
61
195
  * <p>This exception is thrown when a user pool tag can't be set or updated.</p>
62
196
  *
197
+ * @throws {@link CognitoIdentityProviderServiceException}
198
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
63
199
  *
64
200
  */
65
201
  export declare class DescribeUserPoolCommand extends $Command<DescribeUserPoolCommandInput, DescribeUserPoolCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -31,6 +31,21 @@ export interface DescribeUserPoolDomainCommandOutput extends DescribeUserPoolDom
31
31
  * };
32
32
  * const command = new DescribeUserPoolDomainCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeUserPoolDomainResponse
35
+ * // DomainDescription: { // DomainDescriptionType
36
+ * // UserPoolId: "STRING_VALUE",
37
+ * // AWSAccountId: "STRING_VALUE",
38
+ * // Domain: "STRING_VALUE",
39
+ * // S3Bucket: "STRING_VALUE",
40
+ * // CloudFrontDistribution: "STRING_VALUE",
41
+ * // Version: "STRING_VALUE",
42
+ * // Status: "CREATING" || "DELETING" || "UPDATING" || "ACTIVE" || "FAILED",
43
+ * // CustomDomainConfig: { // CustomDomainConfigType
44
+ * // CertificateArn: "STRING_VALUE", // required
45
+ * // },
46
+ * // },
47
+ * // };
48
+ *
34
49
  * ```
35
50
  *
36
51
  * @param DescribeUserPoolDomainCommandInput - {@link DescribeUserPoolDomainCommandInput}
@@ -53,6 +68,8 @@ export interface DescribeUserPoolDomainCommandOutput extends DescribeUserPoolDom
53
68
  * <p>This exception is thrown when the Amazon Cognito service can't find the requested
54
69
  * resource.</p>
55
70
  *
71
+ * @throws {@link CognitoIdentityProviderServiceException}
72
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
56
73
  *
57
74
  */
58
75
  export declare class DescribeUserPoolDomainCommand extends $Command<DescribeUserPoolDomainCommandInput, DescribeUserPoolDomainCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface ForgetDeviceCommandOutput extends __MetadataBearer {
32
32
  * };
33
33
  * const command = new ForgetDeviceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param ForgetDeviceCommandInput - {@link ForgetDeviceCommandInput}
@@ -73,6 +75,8 @@ export interface ForgetDeviceCommandOutput extends __MetadataBearer {
73
75
  * @throws {@link UserNotFoundException} (client fault)
74
76
  * <p>This exception is thrown when a user isn't found.</p>
75
77
  *
78
+ * @throws {@link CognitoIdentityProviderServiceException}
79
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
76
80
  *
77
81
  */
78
82
  export declare class ForgetDeviceCommand extends $Command<ForgetDeviceCommandInput, ForgetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -68,6 +68,14 @@ export interface ForgotPasswordCommandOutput extends ForgotPasswordResponse, __M
68
68
  * };
69
69
  * const command = new ForgotPasswordCommand(input);
70
70
  * const response = await client.send(command);
71
+ * // { // ForgotPasswordResponse
72
+ * // CodeDeliveryDetails: { // CodeDeliveryDetailsType
73
+ * // Destination: "STRING_VALUE",
74
+ * // DeliveryMedium: "SMS" || "EMAIL",
75
+ * // AttributeName: "STRING_VALUE",
76
+ * // },
77
+ * // };
78
+ *
71
79
  * ```
72
80
  *
73
81
  * @param ForgotPasswordCommandInput - {@link ForgotPasswordCommandInput}
@@ -133,6 +141,8 @@ export interface ForgotPasswordCommandOutput extends ForgotPasswordResponse, __M
133
141
  * @throws {@link UserNotFoundException} (client fault)
134
142
  * <p>This exception is thrown when a user isn't found.</p>
135
143
  *
144
+ * @throws {@link CognitoIdentityProviderServiceException}
145
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
136
146
  *
137
147
  */
138
148
  export declare class ForgotPasswordCommand extends $Command<ForgotPasswordCommandInput, ForgotPasswordCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,13 @@ export interface GetCSVHeaderCommandOutput extends GetCSVHeaderResponse, __Metad
32
32
  * };
33
33
  * const command = new GetCSVHeaderCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetCSVHeaderResponse
36
+ * // UserPoolId: "STRING_VALUE",
37
+ * // CSVHeader: [ // ListOfStringTypes
38
+ * // "STRING_VALUE",
39
+ * // ],
40
+ * // };
41
+ *
35
42
  * ```
36
43
  *
37
44
  * @param GetCSVHeaderCommandInput - {@link GetCSVHeaderCommandInput}
@@ -58,6 +65,8 @@ export interface GetCSVHeaderCommandOutput extends GetCSVHeaderResponse, __Metad
58
65
  * <p>This exception is thrown when the user has made too many requests for a given
59
66
  * operation.</p>
60
67
  *
68
+ * @throws {@link CognitoIdentityProviderServiceException}
69
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
61
70
  *
62
71
  */
63
72
  export declare class GetCSVHeaderCommand extends $Command<GetCSVHeaderCommandInput, GetCSVHeaderCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,21 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
32
32
  * };
33
33
  * const command = new GetDeviceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetDeviceResponse
36
+ * // Device: { // DeviceType
37
+ * // DeviceKey: "STRING_VALUE",
38
+ * // DeviceAttributes: [ // AttributeListType
39
+ * // { // AttributeType
40
+ * // Name: "STRING_VALUE", // required
41
+ * // Value: "STRING_VALUE",
42
+ * // },
43
+ * // ],
44
+ * // DeviceCreateDate: new Date("TIMESTAMP"),
45
+ * // DeviceLastModifiedDate: new Date("TIMESTAMP"),
46
+ * // DeviceLastAuthenticatedDate: new Date("TIMESTAMP"),
47
+ * // },
48
+ * // };
49
+ *
35
50
  * ```
36
51
  *
37
52
  * @param GetDeviceCommandInput - {@link GetDeviceCommandInput}
@@ -73,6 +88,8 @@ export interface GetDeviceCommandOutput extends GetDeviceResponse, __MetadataBea
73
88
  * @throws {@link UserNotFoundException} (client fault)
74
89
  * <p>This exception is thrown when a user isn't found.</p>
75
90
  *
91
+ * @throws {@link CognitoIdentityProviderServiceException}
92
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
76
93
  *
77
94
  */
78
95
  export declare class GetDeviceCommand extends $Command<GetDeviceCommandInput, GetDeviceCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -33,6 +33,18 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
33
33
  * };
34
34
  * const command = new GetGroupCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetGroupResponse
37
+ * // Group: { // GroupType
38
+ * // GroupName: "STRING_VALUE",
39
+ * // UserPoolId: "STRING_VALUE",
40
+ * // Description: "STRING_VALUE",
41
+ * // RoleArn: "STRING_VALUE",
42
+ * // Precedence: Number("int"),
43
+ * // LastModifiedDate: new Date("TIMESTAMP"),
44
+ * // CreationDate: new Date("TIMESTAMP"),
45
+ * // },
46
+ * // };
47
+ *
36
48
  * ```
37
49
  *
38
50
  * @param GetGroupCommandInput - {@link GetGroupCommandInput}
@@ -59,6 +71,8 @@ export interface GetGroupCommandOutput extends GetGroupResponse, __MetadataBeare
59
71
  * <p>This exception is thrown when the user has made too many requests for a given
60
72
  * operation.</p>
61
73
  *
74
+ * @throws {@link CognitoIdentityProviderServiceException}
75
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
62
76
  *
63
77
  */
64
78
  export declare class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -32,6 +32,25 @@ export interface GetIdentityProviderByIdentifierCommandOutput extends GetIdentit
32
32
  * };
33
33
  * const command = new GetIdentityProviderByIdentifierCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetIdentityProviderByIdentifierResponse
36
+ * // IdentityProvider: { // IdentityProviderType
37
+ * // UserPoolId: "STRING_VALUE",
38
+ * // ProviderName: "STRING_VALUE",
39
+ * // ProviderType: "SAML" || "Facebook" || "Google" || "LoginWithAmazon" || "SignInWithApple" || "OIDC",
40
+ * // ProviderDetails: { // ProviderDetailsType
41
+ * // "<keys>": "STRING_VALUE",
42
+ * // },
43
+ * // AttributeMapping: { // AttributeMappingType
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // IdpIdentifiers: [ // IdpIdentifiersListType
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // LastModifiedDate: new Date("TIMESTAMP"),
50
+ * // CreationDate: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
35
54
  * ```
36
55
  *
37
56
  * @param GetIdentityProviderByIdentifierCommandInput - {@link GetIdentityProviderByIdentifierCommandInput}
@@ -58,6 +77,8 @@ export interface GetIdentityProviderByIdentifierCommandOutput extends GetIdentit
58
77
  * <p>This exception is thrown when the user has made too many requests for a given
59
78
  * operation.</p>
60
79
  *
80
+ * @throws {@link CognitoIdentityProviderServiceException}
81
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
61
82
  *
62
83
  */
63
84
  export declare class GetIdentityProviderByIdentifierCommand extends $Command<GetIdentityProviderByIdentifierCommandInput, GetIdentityProviderByIdentifierCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -33,6 +33,10 @@ export interface GetSigningCertificateCommandOutput extends GetSigningCertificat
33
33
  * };
34
34
  * const command = new GetSigningCertificateCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetSigningCertificateResponse
37
+ * // Certificate: "STRING_VALUE",
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param GetSigningCertificateCommandInput - {@link GetSigningCertificateCommandInput}
@@ -52,6 +56,8 @@ export interface GetSigningCertificateCommandOutput extends GetSigningCertificat
52
56
  * <p>This exception is thrown when the Amazon Cognito service can't find the requested
53
57
  * resource.</p>
54
58
  *
59
+ * @throws {@link CognitoIdentityProviderServiceException}
60
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
55
61
  *
56
62
  */
57
63
  export declare class GetSigningCertificateCommand extends $Command<GetSigningCertificateCommandInput, GetSigningCertificateCommandOutput, CognitoIdentityProviderClientResolvedConfig> {
@@ -36,6 +36,18 @@ export interface GetUICustomizationCommandOutput extends GetUICustomizationRespo
36
36
  * };
37
37
  * const command = new GetUICustomizationCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // GetUICustomizationResponse
40
+ * // UICustomization: { // UICustomizationType
41
+ * // UserPoolId: "STRING_VALUE",
42
+ * // ClientId: "STRING_VALUE",
43
+ * // ImageUrl: "STRING_VALUE",
44
+ * // CSS: "STRING_VALUE",
45
+ * // CSSVersion: "STRING_VALUE",
46
+ * // LastModifiedDate: new Date("TIMESTAMP"),
47
+ * // CreationDate: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
39
51
  * ```
40
52
  *
41
53
  * @param GetUICustomizationCommandInput - {@link GetUICustomizationCommandInput}
@@ -62,6 +74,8 @@ export interface GetUICustomizationCommandOutput extends GetUICustomizationRespo
62
74
  * <p>This exception is thrown when the user has made too many requests for a given
63
75
  * operation.</p>
64
76
  *
77
+ * @throws {@link CognitoIdentityProviderServiceException}
78
+ * <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
65
79
  *
66
80
  */
67
81
  export declare class GetUICustomizationCommand extends $Command<GetUICustomizationCommandInput, GetUICustomizationCommandOutput, CognitoIdentityProviderClientResolvedConfig> {