@aws-sdk/client-cognito-identity-provider 3.775.0 → 3.782.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +1 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +1 -0
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +1 -0
- package/dist-types/commands/AdminCreateUserCommand.d.ts +30 -30
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +1 -0
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminDisableUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminEnableUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +1 -0
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +1 -0
- package/dist-types/commands/AdminGetUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +1 -0
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminListDevicesCommand.d.ts +1 -0
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +1 -0
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +1 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +1 -0
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +1 -0
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +1 -0
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +1 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +1 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +1 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +1 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +1 -0
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +1 -0
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +1 -0
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +1 -0
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -0
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +1 -0
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +1 -0
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +62 -62
- package/dist-types/commands/CreateUserPoolCommand.d.ts +327 -327
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeleteManagedLoginBrandingCommand.d.ts +1 -0
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +1 -0
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +1 -0
- package/dist-types/commands/DescribeManagedLoginBrandingByClientCommand.d.ts +1 -0
- package/dist-types/commands/DescribeManagedLoginBrandingCommand.d.ts +1 -0
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +1 -0
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +1 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +1 -0
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +1 -0
- package/dist-types/commands/GetDeviceCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +1 -0
- package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +1 -0
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -0
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -0
- package/dist-types/commands/GetUserAuthFactorsCommand.d.ts +1 -0
- package/dist-types/commands/GetUserCommand.d.ts +1 -0
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +1 -0
- package/dist-types/commands/GlobalSignOutCommand.d.ts +1 -0
- package/dist-types/commands/InitiateAuthCommand.d.ts +21 -21
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -0
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +1 -0
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +1 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +1 -0
- package/dist-types/commands/ListUsersCommand.d.ts +40 -40
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +1 -0
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +1 -0
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +1 -0
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +1 -0
- package/dist-types/commands/RevokeTokenCommand.d.ts +1 -0
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -0
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +1 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +1 -0
- package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -0
- package/dist-types/commands/SignUpCommand.d.ts +1 -0
- package/dist-types/commands/StartUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +1 -0
- package/dist-types/commands/StopUserImportJobCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGroupCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +1 -0
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +1 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -0
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +1 -0
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +1 -0
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +1 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +1 -0
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -113,6 +113,7 @@ declare const AddCustomAttributesCommand_base: {
|
|
|
113
113
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class AddCustomAttributesCommand extends AddCustomAttributesCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const AdminAddUserToGroupCommand_base: {
|
|
|
97
97
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class AdminAddUserToGroupCommand extends AdminAddUserToGroupCommand_base {
|
|
@@ -122,6 +122,7 @@ declare const AdminConfirmSignUpCommand_base: {
|
|
|
122
122
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
123
123
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
124
124
|
*
|
|
125
|
+
*
|
|
125
126
|
* @public
|
|
126
127
|
*/
|
|
127
128
|
export declare class AdminConfirmSignUpCommand extends AdminConfirmSignUpCommand_base {
|
|
@@ -204,67 +204,67 @@ declare const AdminCreateUserCommand_base: {
|
|
|
204
204
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
205
205
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
206
206
|
*
|
|
207
|
-
*
|
|
207
|
+
*
|
|
208
208
|
* @example An AdminCreateUser request for for a test user named John.
|
|
209
209
|
* ```javascript
|
|
210
210
|
* // This request submits a value for all possible parameters for AdminCreateUser.
|
|
211
211
|
* const input = {
|
|
212
|
-
*
|
|
212
|
+
* DesiredDeliveryMediums: [
|
|
213
213
|
* "SMS"
|
|
214
214
|
* ],
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
215
|
+
* MessageAction: "SUPPRESS",
|
|
216
|
+
* TemporaryPassword: "This-is-my-test-99!",
|
|
217
|
+
* UserAttributes: [
|
|
218
218
|
* {
|
|
219
|
-
*
|
|
220
|
-
*
|
|
219
|
+
* Name: "name",
|
|
220
|
+
* Value: "John"
|
|
221
221
|
* },
|
|
222
222
|
* {
|
|
223
|
-
*
|
|
224
|
-
*
|
|
223
|
+
* Name: "phone_number",
|
|
224
|
+
* Value: "+12065551212"
|
|
225
225
|
* },
|
|
226
226
|
* {
|
|
227
|
-
*
|
|
228
|
-
*
|
|
227
|
+
* Name: "email",
|
|
228
|
+
* Value: "testuser@example.com"
|
|
229
229
|
* }
|
|
230
230
|
* ],
|
|
231
|
-
*
|
|
232
|
-
*
|
|
231
|
+
* UserPoolId: "us-east-1_EXAMPLE",
|
|
232
|
+
* Username: "testuser"
|
|
233
233
|
* };
|
|
234
234
|
* const command = new AdminCreateUserCommand(input);
|
|
235
235
|
* const response = await client.send(command);
|
|
236
|
-
* /* response
|
|
236
|
+
* /* response is
|
|
237
237
|
* {
|
|
238
|
-
*
|
|
239
|
-
*
|
|
238
|
+
* User: {
|
|
239
|
+
* Attributes: [
|
|
240
240
|
* {
|
|
241
|
-
*
|
|
242
|
-
*
|
|
241
|
+
* Name: "sub",
|
|
242
|
+
* Value: "d16b4aa8-8633-4abd-93b3-5062a8e1b5f8"
|
|
243
243
|
* },
|
|
244
244
|
* {
|
|
245
|
-
*
|
|
246
|
-
*
|
|
245
|
+
* Name: "name",
|
|
246
|
+
* Value: "John"
|
|
247
247
|
* },
|
|
248
248
|
* {
|
|
249
|
-
*
|
|
250
|
-
*
|
|
249
|
+
* Name: "phone_number",
|
|
250
|
+
* Value: "+12065551212"
|
|
251
251
|
* },
|
|
252
252
|
* {
|
|
253
|
-
*
|
|
254
|
-
*
|
|
253
|
+
* Name: "email",
|
|
254
|
+
* Value: "testuser@example.com"
|
|
255
255
|
* }
|
|
256
256
|
* ],
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
257
|
+
* Enabled: true,
|
|
258
|
+
* UserCreateDate: 1.689980857949E9,
|
|
259
|
+
* UserLastModifiedDate: 1.689980857949E9,
|
|
260
|
+
* UserStatus: "FORCE_CHANGE_PASSWORD",
|
|
261
|
+
* Username: "testuser"
|
|
262
262
|
* }
|
|
263
263
|
* }
|
|
264
264
|
* *\/
|
|
265
|
-
* // example id: an-admincreateuser-request-for-for-a-test-user-named-john-1689980900481
|
|
266
265
|
* ```
|
|
267
266
|
*
|
|
267
|
+
* @public
|
|
268
268
|
*/
|
|
269
269
|
export declare class AdminCreateUserCommand extends AdminCreateUserCommand_base {
|
|
270
270
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,6 +99,7 @@ declare const AdminDeleteUserAttributesCommand_base: {
|
|
|
99
99
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
101
101
|
*
|
|
102
|
+
*
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
105
|
export declare class AdminDeleteUserAttributesCommand extends AdminDeleteUserAttributesCommand_base {
|
|
@@ -94,6 +94,7 @@ declare const AdminDeleteUserCommand_base: {
|
|
|
94
94
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
96
96
|
*
|
|
97
|
+
*
|
|
97
98
|
* @public
|
|
98
99
|
*/
|
|
99
100
|
export declare class AdminDeleteUserCommand extends AdminDeleteUserCommand_base {
|
|
@@ -127,6 +127,7 @@ declare const AdminDisableProviderForUserCommand_base: {
|
|
|
127
127
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
129
129
|
*
|
|
130
|
+
*
|
|
130
131
|
* @public
|
|
131
132
|
*/
|
|
132
133
|
export declare class AdminDisableProviderForUserCommand extends AdminDisableProviderForUserCommand_base {
|
|
@@ -96,6 +96,7 @@ declare const AdminDisableUserCommand_base: {
|
|
|
96
96
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
98
98
|
*
|
|
99
|
+
*
|
|
99
100
|
* @public
|
|
100
101
|
*/
|
|
101
102
|
export declare class AdminDisableUserCommand extends AdminDisableUserCommand_base {
|
|
@@ -95,6 +95,7 @@ declare const AdminEnableUserCommand_base: {
|
|
|
95
95
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
97
97
|
*
|
|
98
|
+
*
|
|
98
99
|
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class AdminEnableUserCommand extends AdminEnableUserCommand_base {
|
|
@@ -100,6 +100,7 @@ declare const AdminForgetDeviceCommand_base: {
|
|
|
100
100
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class AdminForgetDeviceCommand extends AdminForgetDeviceCommand_base {
|
|
@@ -109,6 +109,7 @@ declare const AdminGetDeviceCommand_base: {
|
|
|
109
109
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
111
111
|
*
|
|
112
|
+
*
|
|
112
113
|
* @public
|
|
113
114
|
*/
|
|
114
115
|
export declare class AdminGetDeviceCommand extends AdminGetDeviceCommand_base {
|
|
@@ -119,6 +119,7 @@ declare const AdminGetUserCommand_base: {
|
|
|
119
119
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
120
120
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
121
121
|
*
|
|
122
|
+
*
|
|
122
123
|
* @public
|
|
123
124
|
*/
|
|
124
125
|
export declare class AdminGetUserCommand extends AdminGetUserCommand_base {
|
|
@@ -196,6 +196,7 @@ declare const AdminInitiateAuthCommand_base: {
|
|
|
196
196
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
197
197
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
198
198
|
*
|
|
199
|
+
*
|
|
199
200
|
* @public
|
|
200
201
|
*/
|
|
201
202
|
export declare class AdminInitiateAuthCommand extends AdminInitiateAuthCommand_base {
|
|
@@ -129,6 +129,7 @@ declare const AdminLinkProviderForUserCommand_base: {
|
|
|
129
129
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
130
130
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
131
131
|
*
|
|
132
|
+
*
|
|
132
133
|
* @public
|
|
133
134
|
*/
|
|
134
135
|
export declare class AdminLinkProviderForUserCommand extends AdminLinkProviderForUserCommand_base {
|
|
@@ -115,6 +115,7 @@ declare const AdminListDevicesCommand_base: {
|
|
|
115
115
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class AdminListDevicesCommand extends AdminListDevicesCommand_base {
|
|
@@ -111,6 +111,7 @@ declare const AdminListGroupsForUserCommand_base: {
|
|
|
111
111
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
112
112
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
113
113
|
*
|
|
114
|
+
*
|
|
114
115
|
* @public
|
|
115
116
|
*/
|
|
116
117
|
export declare class AdminListGroupsForUserCommand extends AdminListGroupsForUserCommand_base {
|
|
@@ -133,6 +133,7 @@ declare const AdminListUserAuthEventsCommand_base: {
|
|
|
133
133
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
134
134
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
135
135
|
*
|
|
136
|
+
*
|
|
136
137
|
* @public
|
|
137
138
|
*/
|
|
138
139
|
export declare class AdminListUserAuthEventsCommand extends AdminListUserAuthEventsCommand_base {
|
|
@@ -97,6 +97,7 @@ declare const AdminRemoveUserFromGroupCommand_base: {
|
|
|
97
97
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
99
99
|
*
|
|
100
|
+
*
|
|
100
101
|
* @public
|
|
101
102
|
*/
|
|
102
103
|
export declare class AdminRemoveUserFromGroupCommand extends AdminRemoveUserFromGroupCommand_base {
|
|
@@ -146,6 +146,7 @@ declare const AdminResetUserPasswordCommand_base: {
|
|
|
146
146
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
147
147
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
148
148
|
*
|
|
149
|
+
*
|
|
149
150
|
* @public
|
|
150
151
|
*/
|
|
151
152
|
export declare class AdminResetUserPasswordCommand extends AdminResetUserPasswordCommand_base {
|
|
@@ -220,6 +220,7 @@ declare const AdminRespondToAuthChallengeCommand_base: {
|
|
|
220
220
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
221
221
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
222
222
|
*
|
|
223
|
+
*
|
|
223
224
|
* @public
|
|
224
225
|
*/
|
|
225
226
|
export declare class AdminRespondToAuthChallengeCommand extends AdminRespondToAuthChallengeCommand_base {
|
|
@@ -112,6 +112,7 @@ declare const AdminSetUserMFAPreferenceCommand_base: {
|
|
|
112
112
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class AdminSetUserMFAPreferenceCommand extends AdminSetUserMFAPreferenceCommand_base {
|
|
@@ -128,6 +128,7 @@ declare const AdminSetUserPasswordCommand_base: {
|
|
|
128
128
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
130
130
|
*
|
|
131
|
+
*
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class AdminSetUserPasswordCommand extends AdminSetUserPasswordCommand_base {
|
|
@@ -99,6 +99,7 @@ declare const AdminSetUserSettingsCommand_base: {
|
|
|
99
99
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
101
101
|
*
|
|
102
|
+
*
|
|
102
103
|
* @public
|
|
103
104
|
*/
|
|
104
105
|
export declare class AdminSetUserSettingsCommand extends AdminSetUserSettingsCommand_base {
|
|
@@ -108,6 +108,7 @@ declare const AdminUpdateAuthEventFeedbackCommand_base: {
|
|
|
108
108
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
109
109
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
110
110
|
*
|
|
111
|
+
*
|
|
111
112
|
* @public
|
|
112
113
|
*/
|
|
113
114
|
export declare class AdminUpdateAuthEventFeedbackCommand extends AdminUpdateAuthEventFeedbackCommand_base {
|
|
@@ -104,6 +104,7 @@ declare const AdminUpdateDeviceStatusCommand_base: {
|
|
|
104
104
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
106
106
|
*
|
|
107
|
+
*
|
|
107
108
|
* @public
|
|
108
109
|
*/
|
|
109
110
|
export declare class AdminUpdateDeviceStatusCommand extends AdminUpdateDeviceStatusCommand_base {
|
|
@@ -159,6 +159,7 @@ declare const AdminUpdateUserAttributesCommand_base: {
|
|
|
159
159
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
160
160
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
161
161
|
*
|
|
162
|
+
*
|
|
162
163
|
* @public
|
|
163
164
|
*/
|
|
164
165
|
export declare class AdminUpdateUserAttributesCommand extends AdminUpdateUserAttributesCommand_base {
|
|
@@ -120,6 +120,7 @@ declare const AdminUserGlobalSignOutCommand_base: {
|
|
|
120
120
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
121
121
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
122
122
|
*
|
|
123
|
+
*
|
|
123
124
|
* @public
|
|
124
125
|
*/
|
|
125
126
|
export declare class AdminUserGlobalSignOutCommand extends AdminUserGlobalSignOutCommand_base {
|
|
@@ -93,6 +93,7 @@ declare const AssociateSoftwareTokenCommand_base: {
|
|
|
93
93
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
95
95
|
*
|
|
96
|
+
*
|
|
96
97
|
* @public
|
|
97
98
|
*/
|
|
98
99
|
export declare class AssociateSoftwareTokenCommand extends AssociateSoftwareTokenCommand_base {
|
|
@@ -103,6 +103,7 @@ declare const ChangePasswordCommand_base: {
|
|
|
103
103
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class ChangePasswordCommand extends ChangePasswordCommand_base {
|
|
@@ -101,6 +101,7 @@ declare const CompleteWebAuthnRegistrationCommand_base: {
|
|
|
101
101
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
103
103
|
*
|
|
104
|
+
*
|
|
104
105
|
* @public
|
|
105
106
|
*/
|
|
106
107
|
export declare class CompleteWebAuthnRegistrationCommand extends CompleteWebAuthnRegistrationCommand_base {
|
|
@@ -118,6 +118,7 @@ declare const ConfirmDeviceCommand_base: {
|
|
|
118
118
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
120
120
|
*
|
|
121
|
+
*
|
|
121
122
|
* @public
|
|
122
123
|
*/
|
|
123
124
|
export declare class ConfirmDeviceCommand extends ConfirmDeviceCommand_base {
|
|
@@ -134,6 +134,7 @@ declare const ConfirmForgotPasswordCommand_base: {
|
|
|
134
134
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
135
135
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
136
136
|
*
|
|
137
|
+
*
|
|
137
138
|
* @public
|
|
138
139
|
*/
|
|
139
140
|
export declare class ConfirmForgotPasswordCommand extends ConfirmForgotPasswordCommand_base {
|
|
@@ -141,6 +141,7 @@ declare const ConfirmSignUpCommand_base: {
|
|
|
141
141
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
142
142
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
143
143
|
*
|
|
144
|
+
*
|
|
144
145
|
* @public
|
|
145
146
|
*/
|
|
146
147
|
export declare class ConfirmSignUpCommand extends ConfirmSignUpCommand_base {
|
|
@@ -113,6 +113,7 @@ declare const CreateGroupCommand_base: {
|
|
|
113
113
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class CreateGroupCommand extends CreateGroupCommand_base {
|
|
@@ -128,6 +128,7 @@ declare const CreateIdentityProviderCommand_base: {
|
|
|
128
128
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
130
130
|
*
|
|
131
|
+
*
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class CreateIdentityProviderCommand extends CreateIdentityProviderCommand_base {
|
|
@@ -145,6 +145,7 @@ declare const CreateManagedLoginBrandingCommand_base: {
|
|
|
145
145
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
146
146
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
147
147
|
*
|
|
148
|
+
*
|
|
148
149
|
* @public
|
|
149
150
|
*/
|
|
150
151
|
export declare class CreateManagedLoginBrandingCommand extends CreateManagedLoginBrandingCommand_base {
|
|
@@ -116,6 +116,7 @@ declare const CreateResourceServerCommand_base: {
|
|
|
116
116
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
118
118
|
*
|
|
119
|
+
*
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
export declare class CreateResourceServerCommand extends CreateResourceServerCommand_base {
|
|
@@ -116,6 +116,7 @@ declare const CreateUserImportJobCommand_base: {
|
|
|
116
116
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
118
118
|
*
|
|
119
|
+
*
|
|
119
120
|
* @public
|
|
120
121
|
*/
|
|
121
122
|
export declare class CreateUserImportJobCommand extends CreateUserImportJobCommand_base {
|
|
@@ -208,135 +208,135 @@ declare const CreateUserPoolClientCommand_base: {
|
|
|
208
208
|
* @throws {@link CognitoIdentityProviderServiceException}
|
|
209
209
|
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
210
210
|
*
|
|
211
|
-
*
|
|
211
|
+
*
|
|
212
212
|
* @example Example user pool app client with email and username sign-in
|
|
213
213
|
* ```javascript
|
|
214
214
|
* // The following example creates an app client with all configurable properties set to an example value. The resulting user pool client connects to an analytics client, allows sign-in with username and password, and has two external identity providers associated with it.
|
|
215
215
|
* const input = {
|
|
216
|
-
*
|
|
217
|
-
*
|
|
216
|
+
* AccessTokenValidity: 6,
|
|
217
|
+
* AllowedOAuthFlows: [
|
|
218
218
|
* "code"
|
|
219
219
|
* ],
|
|
220
|
-
*
|
|
221
|
-
*
|
|
220
|
+
* AllowedOAuthFlowsUserPoolClient: true,
|
|
221
|
+
* AllowedOAuthScopes: [
|
|
222
222
|
* "aws.cognito.signin.user.admin",
|
|
223
223
|
* "openid"
|
|
224
224
|
* ],
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
225
|
+
* AnalyticsConfiguration: {
|
|
226
|
+
* ApplicationId: "d70b2ba36a8c4dc5a04a0451a31a1e12",
|
|
227
|
+
* ExternalId: "my-external-id",
|
|
228
|
+
* RoleArn: "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
|
|
229
|
+
* UserDataShared: true
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
231
|
+
* CallbackURLs: [
|
|
232
232
|
* "https://example.com",
|
|
233
233
|
* "http://localhost",
|
|
234
234
|
* "myapp://example"
|
|
235
235
|
* ],
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
236
|
+
* ClientName: "my-test-app-client",
|
|
237
|
+
* DefaultRedirectURI: "https://example.com",
|
|
238
|
+
* ExplicitAuthFlows: [
|
|
239
239
|
* "ALLOW_ADMIN_USER_PASSWORD_AUTH",
|
|
240
240
|
* "ALLOW_USER_PASSWORD_AUTH",
|
|
241
241
|
* "ALLOW_REFRESH_TOKEN_AUTH"
|
|
242
242
|
* ],
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
243
|
+
* GenerateSecret: true,
|
|
244
|
+
* IdTokenValidity: 6,
|
|
245
|
+
* LogoutURLs: [
|
|
246
246
|
* "https://example.com/logout"
|
|
247
247
|
* ],
|
|
248
|
-
*
|
|
249
|
-
*
|
|
248
|
+
* PreventUserExistenceErrors: "ENABLED",
|
|
249
|
+
* ReadAttributes: [
|
|
250
250
|
* "email",
|
|
251
251
|
* "address",
|
|
252
252
|
* "preferred_username"
|
|
253
253
|
* ],
|
|
254
|
-
*
|
|
255
|
-
*
|
|
254
|
+
* RefreshTokenValidity: 6,
|
|
255
|
+
* SupportedIdentityProviders: [
|
|
256
256
|
* "SignInWithApple",
|
|
257
257
|
* "MySSO"
|
|
258
258
|
* ],
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
259
|
+
* TokenValidityUnits: {
|
|
260
|
+
* AccessToken: "hours",
|
|
261
|
+
* IdToken: "minutes",
|
|
262
|
+
* RefreshToken: "days"
|
|
263
263
|
* },
|
|
264
|
-
*
|
|
265
|
-
*
|
|
264
|
+
* UserPoolId: "us-east-1_EXAMPLE",
|
|
265
|
+
* WriteAttributes: [
|
|
266
266
|
* "family_name",
|
|
267
267
|
* "email"
|
|
268
268
|
* ]
|
|
269
269
|
* };
|
|
270
270
|
* const command = new CreateUserPoolClientCommand(input);
|
|
271
271
|
* const response = await client.send(command);
|
|
272
|
-
* /* response
|
|
272
|
+
* /* response is
|
|
273
273
|
* {
|
|
274
|
-
*
|
|
275
|
-
*
|
|
276
|
-
*
|
|
274
|
+
* UserPoolClient: {
|
|
275
|
+
* AccessTokenValidity: 6,
|
|
276
|
+
* AllowedOAuthFlows: [
|
|
277
277
|
* "code"
|
|
278
278
|
* ],
|
|
279
|
-
*
|
|
280
|
-
*
|
|
279
|
+
* AllowedOAuthFlowsUserPoolClient: true,
|
|
280
|
+
* AllowedOAuthScopes: [
|
|
281
281
|
* "aws.cognito.signin.user.admin",
|
|
282
282
|
* "openid"
|
|
283
283
|
* ],
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
284
|
+
* AnalyticsConfiguration: {
|
|
285
|
+
* ApplicationId: "d70b2ba36a8c4dc5a04a0451a31a1e12",
|
|
286
|
+
* ExternalId: "my-external-id",
|
|
287
|
+
* RoleArn: "arn:aws:iam::123456789012:role/test-cognitouserpool-role",
|
|
288
|
+
* UserDataShared: true
|
|
289
289
|
* },
|
|
290
|
-
*
|
|
291
|
-
*
|
|
290
|
+
* AuthSessionValidity: 3,
|
|
291
|
+
* CallbackURLs: [
|
|
292
292
|
* "https://example.com",
|
|
293
293
|
* "http://localhost",
|
|
294
294
|
* "myapp://example"
|
|
295
295
|
* ],
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
296
|
+
* ClientId: "26cb2c60kq7nbmas7rbme9b6pp",
|
|
297
|
+
* ClientName: "my-test-app-client",
|
|
298
|
+
* ClientSecret: "13ka4h7u28d9oo44tqpq9djqsfvhvu8rk4d2ighvpu0k8fj1c2r9",
|
|
299
|
+
* CreationDate: 1.689885426107E9,
|
|
300
|
+
* DefaultRedirectURI: "https://example.com",
|
|
301
|
+
* EnablePropagateAdditionalUserContextData: false,
|
|
302
|
+
* EnableTokenRevocation: true,
|
|
303
|
+
* ExplicitAuthFlows: [
|
|
304
304
|
* "ALLOW_USER_PASSWORD_AUTH",
|
|
305
305
|
* "ALLOW_ADMIN_USER_PASSWORD_AUTH",
|
|
306
306
|
* "ALLOW_REFRESH_TOKEN_AUTH"
|
|
307
307
|
* ],
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
308
|
+
* IdTokenValidity: 6,
|
|
309
|
+
* LastModifiedDate: 1.689885426107E9,
|
|
310
|
+
* LogoutURLs: [
|
|
311
311
|
* "https://example.com/logout"
|
|
312
312
|
* ],
|
|
313
|
-
*
|
|
314
|
-
*
|
|
313
|
+
* PreventUserExistenceErrors: "ENABLED",
|
|
314
|
+
* ReadAttributes: [
|
|
315
315
|
* "address",
|
|
316
316
|
* "preferred_username",
|
|
317
317
|
* "email"
|
|
318
318
|
* ],
|
|
319
|
-
*
|
|
320
|
-
*
|
|
319
|
+
* RefreshTokenValidity: 6,
|
|
320
|
+
* SupportedIdentityProviders: [
|
|
321
321
|
* "SignInWithApple",
|
|
322
322
|
* "MySSO"
|
|
323
323
|
* ],
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
324
|
+
* TokenValidityUnits: {
|
|
325
|
+
* AccessToken: "hours",
|
|
326
|
+
* IdToken: "minutes",
|
|
327
|
+
* RefreshToken: "days"
|
|
328
328
|
* },
|
|
329
|
-
*
|
|
330
|
-
*
|
|
329
|
+
* UserPoolId: "us-east-1_EXAMPLE",
|
|
330
|
+
* WriteAttributes: [
|
|
331
331
|
* "family_name",
|
|
332
332
|
* "email"
|
|
333
333
|
* ]
|
|
334
334
|
* }
|
|
335
335
|
* }
|
|
336
336
|
* *\/
|
|
337
|
-
* // example id: example-user-pool-app-client-with-email-and-username-sign-in-1689885750745
|
|
338
337
|
* ```
|
|
339
338
|
*
|
|
339
|
+
* @public
|
|
340
340
|
*/
|
|
341
341
|
export declare class CreateUserPoolClientCommand extends CreateUserPoolClientCommand_base {
|
|
342
342
|
/** @internal type navigation helper, not in runtime. */
|