@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,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 { AdminForgetDeviceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminForgetDeviceCommand, serializeAws_json1_1AdminForgetDeviceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminForgetDeviceCommand = (function (_super) {
|
|
8
|
+
__extends(AdminForgetDeviceCommand, _super);
|
|
9
|
+
function AdminForgetDeviceCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminForgetDeviceCommand.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 = "AdminForgetDeviceCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminForgetDeviceRequestFilterSensitiveLog,
|
|
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
|
+
AdminForgetDeviceCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminForgetDeviceCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminForgetDeviceCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminForgetDeviceCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminForgetDeviceCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminForgetDeviceCommand };
|
|
@@ -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 { AdminGetDeviceRequestFilterSensitiveLog, AdminGetDeviceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminGetDeviceCommand, serializeAws_json1_1AdminGetDeviceCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminGetDeviceCommand = (function (_super) {
|
|
8
|
+
__extends(AdminGetDeviceCommand, _super);
|
|
9
|
+
function AdminGetDeviceCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminGetDeviceCommand.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 = "AdminGetDeviceCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminGetDeviceRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminGetDeviceResponseFilterSensitiveLog,
|
|
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
|
+
AdminGetDeviceCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminGetDeviceCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminGetDeviceCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminGetDeviceCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminGetDeviceCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminGetDeviceCommand };
|
|
@@ -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 { AdminGetUserRequestFilterSensitiveLog, AdminGetUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminGetUserCommand, serializeAws_json1_1AdminGetUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminGetUserCommand = (function (_super) {
|
|
8
|
+
__extends(AdminGetUserCommand, _super);
|
|
9
|
+
function AdminGetUserCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminGetUserCommand.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 = "AdminGetUserCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminGetUserRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminGetUserResponseFilterSensitiveLog,
|
|
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
|
+
AdminGetUserCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminGetUserCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminGetUserCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminGetUserCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminGetUserCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminGetUserCommand };
|
|
@@ -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 { AdminInitiateAuthRequestFilterSensitiveLog, AdminInitiateAuthResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminInitiateAuthCommand, serializeAws_json1_1AdminInitiateAuthCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminInitiateAuthCommand = (function (_super) {
|
|
8
|
+
__extends(AdminInitiateAuthCommand, _super);
|
|
9
|
+
function AdminInitiateAuthCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminInitiateAuthCommand.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 = "AdminInitiateAuthCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminInitiateAuthRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminInitiateAuthResponseFilterSensitiveLog,
|
|
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
|
+
AdminInitiateAuthCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminInitiateAuthCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminInitiateAuthCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminInitiateAuthCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminInitiateAuthCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminInitiateAuthCommand };
|
|
@@ -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 { AdminLinkProviderForUserRequestFilterSensitiveLog, AdminLinkProviderForUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminLinkProviderForUserCommand, serializeAws_json1_1AdminLinkProviderForUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminLinkProviderForUserCommand = (function (_super) {
|
|
8
|
+
__extends(AdminLinkProviderForUserCommand, _super);
|
|
9
|
+
function AdminLinkProviderForUserCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminLinkProviderForUserCommand.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 = "AdminLinkProviderForUserCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminLinkProviderForUserRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminLinkProviderForUserResponseFilterSensitiveLog,
|
|
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
|
+
AdminLinkProviderForUserCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminLinkProviderForUserCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminLinkProviderForUserCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminLinkProviderForUserCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminLinkProviderForUserCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminLinkProviderForUserCommand };
|
|
@@ -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 { AdminListDevicesRequestFilterSensitiveLog, AdminListDevicesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminListDevicesCommand, serializeAws_json1_1AdminListDevicesCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminListDevicesCommand = (function (_super) {
|
|
8
|
+
__extends(AdminListDevicesCommand, _super);
|
|
9
|
+
function AdminListDevicesCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminListDevicesCommand.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 = "AdminListDevicesCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminListDevicesRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminListDevicesResponseFilterSensitiveLog,
|
|
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
|
+
AdminListDevicesCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminListDevicesCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminListDevicesCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminListDevicesCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminListDevicesCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminListDevicesCommand };
|
|
@@ -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 { AdminListGroupsForUserRequestFilterSensitiveLog, AdminListGroupsForUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminListGroupsForUserCommand, serializeAws_json1_1AdminListGroupsForUserCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminListGroupsForUserCommand = (function (_super) {
|
|
8
|
+
__extends(AdminListGroupsForUserCommand, _super);
|
|
9
|
+
function AdminListGroupsForUserCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminListGroupsForUserCommand.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 = "AdminListGroupsForUserCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminListGroupsForUserRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminListGroupsForUserResponseFilterSensitiveLog,
|
|
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
|
+
AdminListGroupsForUserCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminListGroupsForUserCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminListGroupsForUserCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminListGroupsForUserCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminListGroupsForUserCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminListGroupsForUserCommand };
|
|
@@ -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 { AdminListUserAuthEventsRequestFilterSensitiveLog, AdminListUserAuthEventsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminListUserAuthEventsCommand, serializeAws_json1_1AdminListUserAuthEventsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminListUserAuthEventsCommand = (function (_super) {
|
|
8
|
+
__extends(AdminListUserAuthEventsCommand, _super);
|
|
9
|
+
function AdminListUserAuthEventsCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminListUserAuthEventsCommand.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 = "AdminListUserAuthEventsCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminListUserAuthEventsRequestFilterSensitiveLog,
|
|
23
26
|
outputFilterSensitiveLog: AdminListUserAuthEventsResponseFilterSensitiveLog,
|
|
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
|
+
AdminListUserAuthEventsCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminListUserAuthEventsCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminListUserAuthEventsCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminListUserAuthEventsCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminListUserAuthEventsCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminListUserAuthEventsCommand };
|
|
@@ -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 { AdminRemoveUserFromGroupRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
6
|
import { deserializeAws_json1_1AdminRemoveUserFromGroupCommand, serializeAws_json1_1AdminRemoveUserFromGroupCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var AdminRemoveUserFromGroupCommand = (function (_super) {
|
|
8
|
+
__extends(AdminRemoveUserFromGroupCommand, _super);
|
|
9
|
+
function AdminRemoveUserFromGroupCommand(input) {
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
11
|
+
_this.input = input;
|
|
12
|
+
return _this;
|
|
10
13
|
}
|
|
11
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
AdminRemoveUserFromGroupCommand.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 = "AdminRemoveUserFromGroupCommand";
|
|
21
|
+
var handlerExecutionContext = {
|
|
22
|
+
logger: logger,
|
|
23
|
+
clientName: clientName,
|
|
24
|
+
commandName: commandName,
|
|
22
25
|
inputFilterSensitiveLog: AdminRemoveUserFromGroupRequestFilterSensitiveLog,
|
|
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
|
+
AdminRemoveUserFromGroupCommand.prototype.serialize = function (input, context) {
|
|
29
34
|
return serializeAws_json1_1AdminRemoveUserFromGroupCommand(input, context);
|
|
30
|
-
}
|
|
31
|
-
deserialize(output, context) {
|
|
35
|
+
};
|
|
36
|
+
AdminRemoveUserFromGroupCommand.prototype.deserialize = function (output, context) {
|
|
32
37
|
return deserializeAws_json1_1AdminRemoveUserFromGroupCommand(output, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
38
|
+
};
|
|
39
|
+
return AdminRemoveUserFromGroupCommand;
|
|
40
|
+
}($Command));
|
|
41
|
+
export { AdminRemoveUserFromGroupCommand };
|