@aws-sdk/client-cognito-identity-provider 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/CognitoIdentityProvider.js +0 -9
- package/dist-cjs/CognitoIdentityProviderClient.js +0 -14
- package/dist-cjs/commands/AddCustomAttributesCommand.js +0 -24
- package/dist-cjs/commands/AdminAddUserToGroupCommand.js +0 -25
- package/dist-cjs/commands/AdminConfirmSignUpCommand.js +0 -26
- package/dist-cjs/commands/AdminCreateUserCommand.js +0 -53
- package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +0 -26
- package/dist-cjs/commands/AdminDeleteUserCommand.js +0 -25
- package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +0 -51
- package/dist-cjs/commands/AdminDisableUserCommand.js +0 -25
- package/dist-cjs/commands/AdminEnableUserCommand.js +0 -25
- package/dist-cjs/commands/AdminForgetDeviceCommand.js +0 -25
- package/dist-cjs/commands/AdminGetDeviceCommand.js +0 -25
- package/dist-cjs/commands/AdminGetUserCommand.js +0 -26
- package/dist-cjs/commands/AdminInitiateAuthCommand.js +0 -44
- package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +0 -44
- package/dist-cjs/commands/AdminListDevicesCommand.js +0 -25
- package/dist-cjs/commands/AdminListGroupsForUserCommand.js +0 -25
- package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +0 -25
- package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +0 -25
- package/dist-cjs/commands/AdminResetUserPasswordCommand.js +0 -53
- package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +0 -43
- package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +0 -28
- package/dist-cjs/commands/AdminSetUserPasswordCommand.js +0 -33
- package/dist-cjs/commands/AdminSetUserSettingsCommand.js +0 -27
- package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +0 -26
- package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +0 -25
- package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +0 -48
- package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +0 -27
- package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +0 -33
- package/dist-cjs/commands/ChangePasswordCommand.js +0 -24
- package/dist-cjs/commands/ConfirmDeviceCommand.js +0 -25
- package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +0 -24
- package/dist-cjs/commands/ConfirmSignUpCommand.js +0 -25
- package/dist-cjs/commands/CreateGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateIdentityProviderCommand.js +0 -24
- package/dist-cjs/commands/CreateResourceServerCommand.js +0 -24
- package/dist-cjs/commands/CreateUserImportJobCommand.js +0 -24
- package/dist-cjs/commands/CreateUserPoolClientCommand.js +0 -26
- package/dist-cjs/commands/CreateUserPoolCommand.js +0 -42
- package/dist-cjs/commands/CreateUserPoolDomainCommand.js +0 -24
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteIdentityProviderCommand.js +0 -24
- package/dist-cjs/commands/DeleteResourceServerCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserAttributesCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserPoolClientCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserPoolCommand.js +0 -24
- package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +0 -24
- package/dist-cjs/commands/DescribeIdentityProviderCommand.js +0 -24
- package/dist-cjs/commands/DescribeResourceServerCommand.js +0 -24
- package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +0 -24
- package/dist-cjs/commands/DescribeUserImportJobCommand.js +0 -24
- package/dist-cjs/commands/DescribeUserPoolClientCommand.js +0 -25
- package/dist-cjs/commands/DescribeUserPoolCommand.js +0 -24
- package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +0 -24
- package/dist-cjs/commands/ForgetDeviceCommand.js +0 -24
- package/dist-cjs/commands/ForgotPasswordCommand.js +0 -48
- package/dist-cjs/commands/GetCSVHeaderCommand.js +0 -25
- package/dist-cjs/commands/GetDeviceCommand.js +0 -24
- package/dist-cjs/commands/GetGroupCommand.js +0 -25
- package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +0 -24
- package/dist-cjs/commands/GetSigningCertificateCommand.js +0 -24
- package/dist-cjs/commands/GetUICustomizationCommand.js +0 -27
- package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +0 -41
- package/dist-cjs/commands/GetUserCommand.js +0 -24
- package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +0 -24
- package/dist-cjs/commands/GlobalSignOutCommand.js +0 -26
- package/dist-cjs/commands/InitiateAuthCommand.js +0 -41
- package/dist-cjs/commands/ListDevicesCommand.js +0 -24
- package/dist-cjs/commands/ListGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +0 -24
- package/dist-cjs/commands/ListResourceServersCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/ListUserImportJobsCommand.js +0 -24
- package/dist-cjs/commands/ListUserPoolClientsCommand.js +0 -24
- package/dist-cjs/commands/ListUserPoolsCommand.js +0 -24
- package/dist-cjs/commands/ListUsersCommand.js +0 -24
- package/dist-cjs/commands/ListUsersInGroupCommand.js +0 -25
- package/dist-cjs/commands/ResendConfirmationCodeCommand.js +0 -42
- package/dist-cjs/commands/RespondToAuthChallengeCommand.js +0 -41
- package/dist-cjs/commands/RevokeTokenCommand.js +0 -25
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +0 -28
- package/dist-cjs/commands/SetUICustomizationCommand.js +0 -35
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +0 -32
- package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +0 -41
- package/dist-cjs/commands/SetUserSettingsCommand.js +0 -27
- package/dist-cjs/commands/SignUpCommand.js +0 -42
- package/dist-cjs/commands/StartUserImportJobCommand.js +0 -24
- package/dist-cjs/commands/StopUserImportJobCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -37
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +0 -26
- package/dist-cjs/commands/UpdateDeviceStatusCommand.js +0 -24
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -25
- package/dist-cjs/commands/UpdateIdentityProviderCommand.js +0 -24
- package/dist-cjs/commands/UpdateResourceServerCommand.js +0 -28
- package/dist-cjs/commands/UpdateUserAttributesCommand.js +0 -41
- package/dist-cjs/commands/UpdateUserPoolClientCommand.js +0 -31
- package/dist-cjs/commands/UpdateUserPoolCommand.js +0 -43
- package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +0 -44
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +0 -26
- package/dist-cjs/commands/VerifyUserAttributeCommand.js +0 -24
- package/dist-cjs/commands/index.js +104 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -113
- package/dist-cjs/models/models_0.js +0 -795
- package/dist-cjs/models/models_1.js +0 -90
- package/dist-cjs/pagination/AdminListGroupsForUserPaginator.js +0 -10
- package/dist-cjs/pagination/AdminListUserAuthEventsPaginator.js +0 -10
- package/dist-cjs/pagination/ListGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +0 -10
- package/dist-cjs/pagination/ListResourceServersPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserPoolClientsPaginator.js +0 -10
- package/dist-cjs/pagination/ListUserPoolsPaginator.js +0 -10
- package/dist-cjs/pagination/ListUsersInGroupPaginator.js +0 -10
- package/dist-cjs/pagination/ListUsersPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +101 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -113
- package/dist-es/pagination/index.js +10 -0
- package/dist-types/commands/index.d.ts +101 -0
- package/dist-types/index.d.ts +4 -113
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +102 -805
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +24 -95
- package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +101 -0
- package/dist-types/ts3.4/index.d.ts +4 -113
- package/dist-types/ts3.4/models/models_0.d.ts +1183 -5804
- package/dist-types/ts3.4/models/models_1.d.ts +134 -604
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +32 -32
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the attributes for a user.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoIdentityProviderClient, DeleteUserAttributesCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
14
|
-
* // const { CognitoIdentityProviderClient, DeleteUserAttributesCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
15
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
16
|
-
* const command = new DeleteUserAttributesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteUserAttributesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteUserAttributesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteUserAttributesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows a user to delete himself or herself.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoIdentityProviderClient, DeleteUserCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
14
|
-
* // const { CognitoIdentityProviderClient, DeleteUserCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
15
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
16
|
-
* const command = new DeleteUserCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteUserCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteUserCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteUserCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Allows the developer to delete the user pool client.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DeleteUserPoolClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DeleteUserPoolClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DeleteUserPoolClientCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteUserPoolClientCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteUserPoolClientCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DeleteUserPoolClientCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Deletes the specified Amazon Cognito user pool.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DeleteUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DeleteUserPoolCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DeleteUserPoolCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteUserPoolCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteUserPoolCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DeleteUserPoolCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Deletes a domain for a user pool.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DeleteUserPoolDomainCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DeleteUserPoolDomainCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DeleteUserPoolDomainCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteUserPoolDomainCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteUserPoolDomainCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DeleteUserPoolDomainCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Gets information about a specific identity provider.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeIdentityProviderCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeIdentityProviderCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeIdentityProviderCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeIdentityProviderCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeIdentityProviderCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeIdentityProviderCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Describes a resource server.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeResourceServerCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeResourceServerCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeResourceServerCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeResourceServerCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeResourceServerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeResourceServerCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Describes the risk configuration.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeRiskConfigurationCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeRiskConfigurationCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeRiskConfigurationCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeRiskConfigurationCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeRiskConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeRiskConfigurationCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Describes the user import job.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeUserImportJobCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeUserImportJobCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeUserImportJobCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeUserImportJobCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeUserImportJobCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeUserImportJobCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,36 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Client method for returning the configuration information and metadata of the
|
|
11
|
-
* specified user pool app client.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CognitoIdentityProviderClient, DescribeUserPoolClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
16
|
-
* // const { CognitoIdentityProviderClient, DescribeUserPoolClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
17
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
18
|
-
* const command = new DescribeUserPoolClientCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DescribeUserPoolClientCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DescribeUserPoolClientCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class DescribeUserPoolClientCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
10
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
11
|
super();
|
|
33
12
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
13
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Returns the configuration information and metadata of the specified user pool.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeUserPoolCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeUserPoolCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeUserPoolCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeUserPoolCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeUserPoolCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Gets information about a domain.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, DescribeUserPoolDomainCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, DescribeUserPoolDomainCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new DescribeUserPoolDomainCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeUserPoolDomainCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeUserPoolDomainCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class DescribeUserPoolDomainCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Forgets the specified device.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, ForgetDeviceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, ForgetDeviceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new ForgetDeviceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link ForgetDeviceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link ForgetDeviceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class ForgetDeviceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -5,59 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Calling this API causes a message to be sent to the end user with a confirmation code
|
|
10
|
-
* that is required to change the user's password. For the <code>Username</code> parameter,
|
|
11
|
-
* you can use the username or user alias. The method used to send the confirmation code is
|
|
12
|
-
* sent according to the specified AccountRecoverySetting. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-recover-a-user-account.html">Recovering
|
|
13
|
-
* User Accounts</a> in the <i>Amazon Cognito Developer Guide</i>. If
|
|
14
|
-
* neither a verified phone number nor a verified email exists, an
|
|
15
|
-
* <code>InvalidParameterException</code> is thrown. To use the confirmation code for
|
|
16
|
-
* resetting the password, call <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ConfirmForgotPassword.html">ConfirmForgotPassword</a>.</p>
|
|
17
|
-
*
|
|
18
|
-
* <note>
|
|
19
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
20
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
21
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
22
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
23
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
24
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
25
|
-
* in.</p>
|
|
26
|
-
* <p>If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon SNS might place your account in SMS sandbox. In <i>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
28
|
-
* mode</a>
|
|
29
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
30
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
31
|
-
* move out of the SMS sandbox and into production. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-sms-userpool-settings.html"> SMS message settings for Cognito User Pools</a> in the <i>Amazon
|
|
32
|
-
* Cognito Developer Guide</i>. </p>
|
|
33
|
-
* </note>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CognitoIdentityProviderClient, ForgotPasswordCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
38
|
-
* // const { CognitoIdentityProviderClient, ForgotPasswordCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
39
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
40
|
-
* const command = new ForgotPasswordCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link ForgotPasswordCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link ForgotPasswordCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
8
|
class ForgotPasswordCommand extends smithy_client_1.Command {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
9
|
constructor(input) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
10
|
super();
|
|
55
11
|
this.input = input;
|
|
56
|
-
// End section: command_constructor
|
|
57
12
|
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
62
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,36 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Gets the header information for the .csv file to be used as input for the user import
|
|
11
|
-
* job.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CognitoIdentityProviderClient, GetCSVHeaderCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
16
|
-
* // const { CognitoIdentityProviderClient, GetCSVHeaderCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
17
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
18
|
-
* const command = new GetCSVHeaderCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetCSVHeaderCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetCSVHeaderCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class GetCSVHeaderCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
10
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
11
|
super();
|
|
33
12
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
13
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,35 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Gets the device.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, GetDeviceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, GetDeviceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new GetDeviceCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetDeviceCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetDeviceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class GetDeviceCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
10
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
11
|
super();
|
|
32
12
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
13
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,36 +6,11 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Gets a group.</p>
|
|
11
|
-
* <p>Calling this action requires developer credentials.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CognitoIdentityProviderClient, GetGroupCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
16
|
-
* // const { CognitoIdentityProviderClient, GetGroupCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
17
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
18
|
-
* const command = new GetGroupCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetGroupCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetGroupCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class GetGroupCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
10
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
11
|
super();
|
|
33
12
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
13
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|