@aws-sdk/client-cognito-identity-provider 3.185.0 → 3.188.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 +16 -0
- package/dist-es/CognitoIdentityProvider.js +406 -413
- package/dist-es/CognitoIdentityProviderClient.js +21 -27
- package/dist-es/commands/AddCustomAttributesCommand.js +21 -28
- package/dist-es/commands/AdminAddUserToGroupCommand.js +22 -29
- package/dist-es/commands/AdminConfirmSignUpCommand.js +21 -28
- package/dist-es/commands/AdminCreateUserCommand.js +21 -28
- package/dist-es/commands/AdminDeleteUserAttributesCommand.js +21 -28
- package/dist-es/commands/AdminDeleteUserCommand.js +22 -29
- package/dist-es/commands/AdminDisableProviderForUserCommand.js +21 -28
- package/dist-es/commands/AdminDisableUserCommand.js +21 -28
- package/dist-es/commands/AdminEnableUserCommand.js +21 -28
- package/dist-es/commands/AdminForgetDeviceCommand.js +22 -29
- package/dist-es/commands/AdminGetDeviceCommand.js +21 -28
- package/dist-es/commands/AdminGetUserCommand.js +21 -28
- package/dist-es/commands/AdminInitiateAuthCommand.js +21 -28
- package/dist-es/commands/AdminLinkProviderForUserCommand.js +21 -28
- package/dist-es/commands/AdminListDevicesCommand.js +21 -28
- package/dist-es/commands/AdminListGroupsForUserCommand.js +21 -28
- package/dist-es/commands/AdminListUserAuthEventsCommand.js +21 -28
- package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +22 -29
- package/dist-es/commands/AdminResetUserPasswordCommand.js +21 -28
- package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +21 -28
- package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +21 -28
- package/dist-es/commands/AdminSetUserPasswordCommand.js +21 -28
- package/dist-es/commands/AdminSetUserSettingsCommand.js +21 -28
- package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +21 -28
- package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +21 -28
- package/dist-es/commands/AdminUpdateUserAttributesCommand.js +21 -28
- package/dist-es/commands/AdminUserGlobalSignOutCommand.js +21 -28
- package/dist-es/commands/AssociateSoftwareTokenCommand.js +21 -28
- package/dist-es/commands/ChangePasswordCommand.js +21 -28
- package/dist-es/commands/ConfirmDeviceCommand.js +21 -28
- package/dist-es/commands/ConfirmForgotPasswordCommand.js +21 -28
- package/dist-es/commands/ConfirmSignUpCommand.js +21 -28
- package/dist-es/commands/CreateGroupCommand.js +21 -28
- package/dist-es/commands/CreateIdentityProviderCommand.js +21 -28
- package/dist-es/commands/CreateResourceServerCommand.js +21 -28
- package/dist-es/commands/CreateUserImportJobCommand.js +21 -28
- package/dist-es/commands/CreateUserPoolClientCommand.js +21 -28
- package/dist-es/commands/CreateUserPoolCommand.js +21 -28
- package/dist-es/commands/CreateUserPoolDomainCommand.js +21 -28
- package/dist-es/commands/DeleteGroupCommand.js +22 -29
- package/dist-es/commands/DeleteIdentityProviderCommand.js +22 -29
- package/dist-es/commands/DeleteResourceServerCommand.js +22 -29
- package/dist-es/commands/DeleteUserAttributesCommand.js +21 -28
- package/dist-es/commands/DeleteUserCommand.js +22 -29
- package/dist-es/commands/DeleteUserPoolClientCommand.js +22 -29
- package/dist-es/commands/DeleteUserPoolCommand.js +22 -29
- package/dist-es/commands/DeleteUserPoolDomainCommand.js +21 -28
- package/dist-es/commands/DescribeIdentityProviderCommand.js +21 -28
- package/dist-es/commands/DescribeResourceServerCommand.js +21 -28
- package/dist-es/commands/DescribeRiskConfigurationCommand.js +21 -28
- package/dist-es/commands/DescribeUserImportJobCommand.js +21 -28
- package/dist-es/commands/DescribeUserPoolClientCommand.js +21 -28
- package/dist-es/commands/DescribeUserPoolCommand.js +21 -28
- package/dist-es/commands/DescribeUserPoolDomainCommand.js +21 -28
- package/dist-es/commands/ForgetDeviceCommand.js +22 -29
- package/dist-es/commands/ForgotPasswordCommand.js +21 -28
- package/dist-es/commands/GetCSVHeaderCommand.js +21 -28
- package/dist-es/commands/GetDeviceCommand.js +21 -28
- package/dist-es/commands/GetGroupCommand.js +21 -28
- package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +21 -28
- package/dist-es/commands/GetSigningCertificateCommand.js +21 -28
- package/dist-es/commands/GetUICustomizationCommand.js +21 -28
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +21 -28
- package/dist-es/commands/GetUserCommand.js +21 -28
- package/dist-es/commands/GetUserPoolMfaConfigCommand.js +21 -28
- package/dist-es/commands/GlobalSignOutCommand.js +21 -28
- package/dist-es/commands/InitiateAuthCommand.js +21 -28
- package/dist-es/commands/ListDevicesCommand.js +21 -28
- package/dist-es/commands/ListGroupsCommand.js +21 -28
- package/dist-es/commands/ListIdentityProvidersCommand.js +21 -28
- package/dist-es/commands/ListResourceServersCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListUserImportJobsCommand.js +21 -28
- package/dist-es/commands/ListUserPoolClientsCommand.js +21 -28
- package/dist-es/commands/ListUserPoolsCommand.js +21 -28
- package/dist-es/commands/ListUsersCommand.js +21 -28
- package/dist-es/commands/ListUsersInGroupCommand.js +21 -28
- package/dist-es/commands/ResendConfirmationCodeCommand.js +21 -28
- package/dist-es/commands/RespondToAuthChallengeCommand.js +21 -28
- package/dist-es/commands/RevokeTokenCommand.js +21 -28
- package/dist-es/commands/SetRiskConfigurationCommand.js +21 -28
- package/dist-es/commands/SetUICustomizationCommand.js +21 -28
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +21 -28
- package/dist-es/commands/SetUserPoolMfaConfigCommand.js +21 -28
- package/dist-es/commands/SetUserSettingsCommand.js +21 -28
- package/dist-es/commands/SignUpCommand.js +21 -28
- package/dist-es/commands/StartUserImportJobCommand.js +21 -28
- package/dist-es/commands/StopUserImportJobCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +21 -28
- package/dist-es/commands/UpdateDeviceStatusCommand.js +21 -28
- package/dist-es/commands/UpdateGroupCommand.js +21 -28
- package/dist-es/commands/UpdateIdentityProviderCommand.js +21 -28
- package/dist-es/commands/UpdateResourceServerCommand.js +21 -28
- package/dist-es/commands/UpdateUserAttributesCommand.js +21 -28
- package/dist-es/commands/UpdateUserPoolClientCommand.js +21 -28
- package/dist-es/commands/UpdateUserPoolCommand.js +21 -28
- package/dist-es/commands/UpdateUserPoolDomainCommand.js +21 -28
- package/dist-es/commands/VerifySoftwareTokenCommand.js +21 -28
- package/dist-es/commands/VerifyUserAttributeCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CognitoIdentityProviderServiceException.js +5 -10
- package/dist-es/models/models_0.js +1290 -732
- package/dist-es/models/models_1.js +115 -45
- package/dist-es/pagination/AdminListGroupsForUserPaginator.js +25 -68
- package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +25 -68
- package/dist-es/pagination/ListGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +25 -68
- package/dist-es/pagination/ListResourceServersPaginator.js +25 -68
- package/dist-es/pagination/ListUserPoolClientsPaginator.js +25 -68
- package/dist-es/pagination/ListUserPoolsPaginator.js +25 -68
- package/dist-es/pagination/ListUsersInGroupPaginator.js +25 -68
- package/dist-es/pagination/ListUsersPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +8461 -10565
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
3
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -9,30 +8,25 @@ import { resolveAwsAuthConfig } from "@aws-sdk/middleware-signing";
|
|
|
9
8
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
9
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
10
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
-
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
31
|
-
return _this;
|
|
11
|
+
export class CognitoIdentityProviderClient extends __Client {
|
|
12
|
+
constructor(configuration) {
|
|
13
|
+
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
+
const _config_1 = resolveRegionConfig(_config_0);
|
|
15
|
+
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
16
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
17
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
18
|
+
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
19
|
+
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
20
|
+
super(_config_6);
|
|
21
|
+
this.config = _config_6;
|
|
22
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
25
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
26
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
27
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
28
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
}(__Client));
|
|
38
|
-
export { CognitoIdentityProviderClient };
|
|
29
|
+
destroy() {
|
|
30
|
+
super.destroy();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AddCustomAttributesRequestFilterSensitiveLog, AddCustomAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AddCustomAttributesCommand, serializeAws_json1_1AddCustomAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AddCustomAttributesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AddCustomAttributesCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AddCustomAttributesRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AddCustomAttributesResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AddCustomAttributesCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AddCustomAttributesCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AddCustomAttributesCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AddCustomAttributesCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminAddUserToGroupRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminAddUserToGroupCommand, serializeAws_json1_1AdminAddUserToGroupCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminAddUserToGroupCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminAddUserToGroupCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminAddUserToGroupRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminAddUserToGroupCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminAddUserToGroupCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminAddUserToGroupCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminAddUserToGroupCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminConfirmSignUpRequestFilterSensitiveLog, AdminConfirmSignUpResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminConfirmSignUpCommand, serializeAws_json1_1AdminConfirmSignUpCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminConfirmSignUpCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminConfirmSignUpCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminConfirmSignUpRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AdminConfirmSignUpResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminConfirmSignUpCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminConfirmSignUpCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminConfirmSignUpCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminConfirmSignUpCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminCreateUserRequestFilterSensitiveLog, AdminCreateUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminCreateUserCommand, serializeAws_json1_1AdminCreateUserCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminCreateUserCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminCreateUserCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminCreateUserRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AdminCreateUserResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminCreateUserCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminCreateUserCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminCreateUserCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminCreateUserCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminDeleteUserAttributesRequestFilterSensitiveLog, AdminDeleteUserAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminDeleteUserAttributesCommand, serializeAws_json1_1AdminDeleteUserAttributesCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminDeleteUserAttributesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminDeleteUserAttributesCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminDeleteUserAttributesRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AdminDeleteUserAttributesResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminDeleteUserAttributesCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminDeleteUserAttributesCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminDeleteUserAttributesCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminDeleteUserAttributesCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminDeleteUserRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminDeleteUserCommand, serializeAws_json1_1AdminDeleteUserCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminDeleteUserCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminDeleteUserCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminDeleteUserRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminDeleteUserCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminDeleteUserCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminDeleteUserCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminDeleteUserCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminDisableProviderForUserRequestFilterSensitiveLog, AdminDisableProviderForUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminDisableProviderForUserCommand, serializeAws_json1_1AdminDisableProviderForUserCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminDisableProviderForUserCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminDisableProviderForUserCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminDisableProviderForUserRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AdminDisableProviderForUserResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminDisableProviderForUserCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminDisableProviderForUserCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminDisableProviderForUserCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminDisableProviderForUserCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { AdminDisableUserRequestFilterSensitiveLog, AdminDisableUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_json1_1AdminDisableUserCommand, serializeAws_json1_1AdminDisableUserCommand, } from "../protocols/Aws_json1_1";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class AdminDisableUserCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getAwsAuthPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "CognitoIdentityProviderClient";
|
|
17
|
+
const commandName = "AdminDisableUserCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: AdminDisableUserRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: AdminDisableUserResponseFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
AdminDisableUserCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_json1_1AdminDisableUserCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_json1_1AdminDisableUserCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { AdminDisableUserCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|