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