-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
awstools
committed
Aug 30, 2023
1 parent
36c8ce9
commit fa8ecad
Showing
37 changed files
with
1,140 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,6 +218,66 @@ export interface AdminCreateUserCommandOutput extends AdminCreateUserResponse, _ | |
* @throws {@link CognitoIdentityProviderServiceException} | ||
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p> | ||
* | ||
* @example An AdminCreateUser request for for a test user named John. | ||
* ```javascript | ||
* // This request submits a value for all possible parameters for AdminCreateUser. | ||
* const input = { | ||
* "DesiredDeliveryMediums": [ | ||
* "SMS" | ||
* ], | ||
* "MessageAction": "SUPPRESS", | ||
* "TemporaryPassword": "This-is-my-test-99!", | ||
* "UserAttributes": [ | ||
* { | ||
* "Name": "name", | ||
* "Value": "John" | ||
* }, | ||
* { | ||
* "Name": "phone_number", | ||
* "Value": "+12065551212" | ||
* }, | ||
* { | ||
* "Name": "email", | ||
* "Value": "[email protected]" | ||
* } | ||
* ], | ||
* "UserPoolId": "us-east-1_EXAMPLE", | ||
* "Username": "testuser" | ||
* }; | ||
* const command = new AdminCreateUserCommand(input); | ||
* const response = await client.send(command); | ||
* /* response == | ||
* { | ||
* "User": { | ||
* "Attributes": [ | ||
* { | ||
* "Name": "sub", | ||
* "Value": "d16b4aa8-8633-4abd-93b3-5062a8e1b5f8" | ||
* }, | ||
* { | ||
* "Name": "name", | ||
* "Value": "John" | ||
* }, | ||
* { | ||
* "Name": "phone_number", | ||
* "Value": "+12065551212" | ||
* }, | ||
* { | ||
* "Name": "email", | ||
* "Value": "[email protected]" | ||
* } | ||
* ], | ||
* "Enabled": true, | ||
* "UserCreateDate": 1689980857.949, | ||
* "UserLastModifiedDate": 1689980857.949, | ||
* "UserStatus": "FORCE_CHANGE_PASSWORD", | ||
* "Username": "testuser" | ||
* } | ||
* } | ||
* *\/ | ||
* // example id: an-admincreateuser-request-for-for-a-test-user-named-john-1689980900481 | ||
* ``` | ||
* | ||
*/ | ||
export class AdminCreateUserCommand extends $Command< | ||
AdminCreateUserCommandInput, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.