@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
|
@@ -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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Removes the specified tags from an Amazon Cognito user pool. You can use this action
|
|
11
|
-
* up to 5 times per second, per account</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CognitoIdentityProviderClient, UntagResourceCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
16
|
-
* // const { CognitoIdentityProviderClient, UntagResourceCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
17
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
18
|
-
* const command = new UntagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class UntagResourceCommand 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,37 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Provides the feedback for an authentication event whether it was from a valid user or
|
|
11
|
-
* not. This feedback is used for improving the risk evaluation decision for the user pool
|
|
12
|
-
* as part of Amazon Cognito advanced security.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CognitoIdentityProviderClient, UpdateAuthEventFeedbackCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
17
|
-
* // const { CognitoIdentityProviderClient, UpdateAuthEventFeedbackCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
18
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
19
|
-
* const command = new UpdateAuthEventFeedbackCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UpdateAuthEventFeedbackCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UpdateAuthEventFeedbackCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
class UpdateAuthEventFeedbackCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the device status.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { CognitoIdentityProviderClient, UpdateDeviceStatusCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, UpdateDeviceStatusCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new UpdateDeviceStatusCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateDeviceStatusCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateDeviceStatusCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class UpdateDeviceStatusCommand 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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the specified group with the specified attributes.</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, UpdateGroupCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
16
|
-
* // const { CognitoIdentityProviderClient, UpdateGroupCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
17
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
18
|
-
* const command = new UpdateGroupCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateGroupCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateGroupCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class UpdateGroupCommand 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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates identity provider information 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, UpdateIdentityProviderCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
15
|
-
* // const { CognitoIdentityProviderClient, UpdateIdentityProviderCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
16
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
17
|
-
* const command = new UpdateIdentityProviderCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateIdentityProviderCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateIdentityProviderCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
9
|
class UpdateIdentityProviderCommand 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,39 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the name and scopes of resource server. All other fields are read-only.</p>
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
13
|
-
* value.</p>
|
|
14
|
-
* </important>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { CognitoIdentityProviderClient, UpdateResourceServerCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
19
|
-
* // const { CognitoIdentityProviderClient, UpdateResourceServerCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
20
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
21
|
-
* const command = new UpdateResourceServerCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link UpdateResourceServerCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link UpdateResourceServerCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
9
|
class UpdateResourceServerCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
10
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
11
|
super();
|
|
36
12
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -5,52 +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_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Allows a user to update a specific attribute (one at a time).</p>
|
|
10
|
-
*
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
13
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
14
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
15
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
16
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
17
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
18
|
-
* in.</p>
|
|
19
|
-
* <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>
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
21
|
-
* mode</a>
|
|
22
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
23
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
24
|
-
* 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
|
|
25
|
-
* Cognito Developer Guide</i>. </p>
|
|
26
|
-
* </note>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CognitoIdentityProviderClient, UpdateUserAttributesCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
31
|
-
* // const { CognitoIdentityProviderClient, UpdateUserAttributesCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
32
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
33
|
-
* const command = new UpdateUserAttributesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateUserAttributesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateUserAttributesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
8
|
class UpdateUserAttributesCommand extends smithy_client_1.Command {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
9
|
constructor(input) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
10
|
super();
|
|
48
11
|
this.input = input;
|
|
49
|
-
// End section: command_constructor
|
|
50
12
|
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
55
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -6,42 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the specified user pool app client with the specified attributes. You can get
|
|
11
|
-
* a list of the current user pool app client settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPoolClient.html">DescribeUserPoolClient</a>.</p>
|
|
12
|
-
* <important>
|
|
13
|
-
* <p>If you don't provide a value for an attribute, it will be set to the default
|
|
14
|
-
* value.</p>
|
|
15
|
-
* </important>
|
|
16
|
-
* <p>You can also use this operation to enable token revocation for user pool clients. For more information
|
|
17
|
-
* about revoking tokens, see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
22
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
23
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
24
|
-
* const command = new UpdateUserPoolClientCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link UpdateUserPoolClientCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link UpdateUserPoolClientCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
9
|
class UpdateUserPoolClientCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
10
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
11
|
super();
|
|
39
12
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
13
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,54 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the specified user pool with the specified attributes. You can get a list of
|
|
11
|
-
* the current user pool settings using <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeUserPool.html">DescribeUserPool</a>. If you don't provide a value for an attribute, it will be set to the default
|
|
12
|
-
* value.</p>
|
|
13
|
-
*
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>This action might generate an SMS text message. Starting June 1, 2021, U.S.
|
|
16
|
-
* telecom carriers require that you register an origination phone number before you can
|
|
17
|
-
* send SMS messages to U.S. phone numbers. If you use SMS text messages in Amazon Cognito,
|
|
18
|
-
* you must register a phone number with <a href="https://console.aws.amazon.com/pinpoint/home/">Amazon Pinpoint</a>.
|
|
19
|
-
* Cognito will use the the registered number automatically. Otherwise, Cognito users that must
|
|
20
|
-
* receive SMS messages might be unable to sign up, activate their accounts, or sign
|
|
21
|
-
* in.</p>
|
|
22
|
-
* <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>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html">sandbox
|
|
24
|
-
* mode</a>
|
|
25
|
-
* </i>, you’ll have limitations, such as sending messages
|
|
26
|
-
* to only verified phone numbers. After testing in the sandbox environment, you can
|
|
27
|
-
* 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
|
|
28
|
-
* Cognito Developer Guide</i>. </p>
|
|
29
|
-
* </note>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
34
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
35
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
36
|
-
* const command = new UpdateUserPoolCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link UpdateUserPoolCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link UpdateUserPoolCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
9
|
class UpdateUserPoolCommand extends smithy_client_1.Command {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
10
|
constructor(input) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
11
|
super();
|
|
51
12
|
this.input = input;
|
|
52
|
-
// End section: command_constructor
|
|
53
13
|
}
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
58
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
59
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,55 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user
|
|
11
|
-
* pool.</p>
|
|
12
|
-
* <p>You can use this operation to provide the Amazon Resource Name (ARN) of a new
|
|
13
|
-
* certificate to Amazon Cognito. You cannot use it to change the domain for a user
|
|
14
|
-
* pool.</p>
|
|
15
|
-
* <p>A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up
|
|
16
|
-
* and sign-in pages for your application. When you set up a custom domain, you provide a
|
|
17
|
-
* certificate that you manage with Certificate Manager (ACM). When necessary, you can
|
|
18
|
-
* use this operation to change the certificate that you applied to your custom
|
|
19
|
-
* domain.</p>
|
|
20
|
-
* <p>Usually, this is unnecessary following routine certificate renewal with ACM. When you
|
|
21
|
-
* renew your existing certificate in ACM, the ARN for your certificate remains the same,
|
|
22
|
-
* and your custom domain uses the new certificate automatically.</p>
|
|
23
|
-
* <p>However, if you replace your existing certificate with a new one, ACM gives the new
|
|
24
|
-
* certificate a new ARN. To apply the new certificate to your custom domain, you must
|
|
25
|
-
* provide this ARN to Amazon Cognito.</p>
|
|
26
|
-
* <p>When you add your new certificate in ACM, you must choose US East (N. Virginia) as the
|
|
27
|
-
* Region.</p>
|
|
28
|
-
* <p>After you submit your request, Amazon Cognito requires up to 1 hour to distribute your
|
|
29
|
-
* new certificate to your custom domain.</p>
|
|
30
|
-
* <p>For more information about adding a custom domain to your user pool, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html">Using Your Own Domain for the Hosted UI</a>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
35
|
-
* // const { CognitoIdentityProviderClient, UpdateUserPoolDomainCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
36
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
37
|
-
* const command = new UpdateUserPoolDomainCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateUserPoolDomainCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateUserPoolDomainCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
9
|
class UpdateUserPoolDomainCommand extends smithy_client_1.Command {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
10
|
constructor(input) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
11
|
super();
|
|
52
12
|
this.input = input;
|
|
53
|
-
// End section: command_constructor
|
|
54
13
|
}
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
59
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -6,37 +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_1_1 = require("../models/models_1");
|
|
8
8
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Use this API to register a user's entered TOTP code and mark the user's software token
|
|
11
|
-
* MFA status as "verified" if successful. The request takes an access token or a session
|
|
12
|
-
* string, but not both.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
17
|
-
* // const { CognitoIdentityProviderClient, VerifySoftwareTokenCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
18
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
19
|
-
* const command = new VerifySoftwareTokenCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link VerifySoftwareTokenCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link VerifySoftwareTokenCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
class VerifySoftwareTokenCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
16
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(configuration));
|
|
@@ -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_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Verifies the specified user attributes in the user pool.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CognitoIdentityProviderClient, VerifyUserAttributeCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
14
|
-
* // const { CognitoIdentityProviderClient, VerifyUserAttributeCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
15
|
-
* const client = new CognitoIdentityProviderClient(config);
|
|
16
|
-
* const command = new VerifyUserAttributeCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link VerifyUserAttributeCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link VerifyUserAttributeCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class VerifyUserAttributeCommand 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);
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AddCustomAttributesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AdminAddUserToGroupCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AdminConfirmSignUpCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./AdminCreateUserCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./AdminDeleteUserAttributesCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./AdminDeleteUserCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./AdminDisableProviderForUserCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./AdminDisableUserCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./AdminEnableUserCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./AdminForgetDeviceCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./AdminGetDeviceCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./AdminGetUserCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./AdminInitiateAuthCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./AdminLinkProviderForUserCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./AdminListDevicesCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./AdminListGroupsForUserCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./AdminListUserAuthEventsCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./AdminRemoveUserFromGroupCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./AdminResetUserPasswordCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./AdminRespondToAuthChallengeCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./AdminSetUserMFAPreferenceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./AdminSetUserPasswordCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./AdminSetUserSettingsCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./AdminUpdateAuthEventFeedbackCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./AdminUpdateDeviceStatusCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./AdminUpdateUserAttributesCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./AdminUserGlobalSignOutCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./AssociateSoftwareTokenCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ChangePasswordCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./ConfirmDeviceCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./ConfirmForgotPasswordCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ConfirmSignUpCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./CreateGroupCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./CreateIdentityProviderCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./CreateResourceServerCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./CreateUserImportJobCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./CreateUserPoolClientCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./CreateUserPoolCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./CreateUserPoolDomainCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./DeleteGroupCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./DeleteIdentityProviderCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./DeleteResourceServerCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./DeleteUserAttributesCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./DeleteUserCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./DeleteUserPoolClientCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./DeleteUserPoolCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./DeleteUserPoolDomainCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./DescribeIdentityProviderCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./DescribeResourceServerCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./DescribeRiskConfigurationCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./DescribeUserImportJobCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./DescribeUserPoolClientCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./DescribeUserPoolCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./DescribeUserPoolDomainCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./ForgetDeviceCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./ForgotPasswordCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./GetCSVHeaderCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./GetDeviceCommand"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./GetGroupCommand"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./GetIdentityProviderByIdentifierCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./GetSigningCertificateCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./GetUICustomizationCommand"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./GetUserAttributeVerificationCodeCommand"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./GetUserCommand"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./GetUserPoolMfaConfigCommand"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./GlobalSignOutCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./InitiateAuthCommand"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./ListDevicesCommand"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./ListGroupsCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./ListIdentityProvidersCommand"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./ListResourceServersCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./ListUserImportJobsCommand"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./ListUserPoolClientsCommand"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./ListUserPoolsCommand"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./ListUsersCommand"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./ListUsersInGroupCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./ResendConfirmationCodeCommand"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./RespondToAuthChallengeCommand"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./RevokeTokenCommand"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./SetRiskConfigurationCommand"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./SetUICustomizationCommand"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./SetUserMFAPreferenceCommand"), exports);
|
|
87
|
+
tslib_1.__exportStar(require("./SetUserPoolMfaConfigCommand"), exports);
|
|
88
|
+
tslib_1.__exportStar(require("./SetUserSettingsCommand"), exports);
|
|
89
|
+
tslib_1.__exportStar(require("./SignUpCommand"), exports);
|
|
90
|
+
tslib_1.__exportStar(require("./StartUserImportJobCommand"), exports);
|
|
91
|
+
tslib_1.__exportStar(require("./StopUserImportJobCommand"), exports);
|
|
92
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
93
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
94
|
+
tslib_1.__exportStar(require("./UpdateAuthEventFeedbackCommand"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./UpdateDeviceStatusCommand"), exports);
|
|
96
|
+
tslib_1.__exportStar(require("./UpdateGroupCommand"), exports);
|
|
97
|
+
tslib_1.__exportStar(require("./UpdateIdentityProviderCommand"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./UpdateResourceServerCommand"), exports);
|
|
99
|
+
tslib_1.__exportStar(require("./UpdateUserAttributesCommand"), exports);
|
|
100
|
+
tslib_1.__exportStar(require("./UpdateUserPoolClientCommand"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./UpdateUserPoolCommand"), exports);
|
|
102
|
+
tslib_1.__exportStar(require("./UpdateUserPoolDomainCommand"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./VerifySoftwareTokenCommand"), exports);
|
|
104
|
+
tslib_1.__exportStar(require("./VerifyUserAttributeCommand"), exports);
|