@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.
Files changed (124) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/CognitoIdentityProvider.js +413 -406
  4. package/dist-es/CognitoIdentityProviderClient.js +27 -21
  5. package/dist-es/commands/AddCustomAttributesCommand.js +28 -21
  6. package/dist-es/commands/AdminAddUserToGroupCommand.js +29 -22
  7. package/dist-es/commands/AdminConfirmSignUpCommand.js +28 -21
  8. package/dist-es/commands/AdminCreateUserCommand.js +28 -21
  9. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +28 -21
  10. package/dist-es/commands/AdminDeleteUserCommand.js +29 -22
  11. package/dist-es/commands/AdminDisableProviderForUserCommand.js +28 -21
  12. package/dist-es/commands/AdminDisableUserCommand.js +28 -21
  13. package/dist-es/commands/AdminEnableUserCommand.js +28 -21
  14. package/dist-es/commands/AdminForgetDeviceCommand.js +29 -22
  15. package/dist-es/commands/AdminGetDeviceCommand.js +28 -21
  16. package/dist-es/commands/AdminGetUserCommand.js +28 -21
  17. package/dist-es/commands/AdminInitiateAuthCommand.js +28 -21
  18. package/dist-es/commands/AdminLinkProviderForUserCommand.js +28 -21
  19. package/dist-es/commands/AdminListDevicesCommand.js +28 -21
  20. package/dist-es/commands/AdminListGroupsForUserCommand.js +28 -21
  21. package/dist-es/commands/AdminListUserAuthEventsCommand.js +28 -21
  22. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +29 -22
  23. package/dist-es/commands/AdminResetUserPasswordCommand.js +28 -21
  24. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +28 -21
  25. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +28 -21
  26. package/dist-es/commands/AdminSetUserPasswordCommand.js +28 -21
  27. package/dist-es/commands/AdminSetUserSettingsCommand.js +28 -21
  28. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +28 -21
  29. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +28 -21
  30. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +28 -21
  31. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +28 -21
  32. package/dist-es/commands/AssociateSoftwareTokenCommand.js +28 -21
  33. package/dist-es/commands/ChangePasswordCommand.js +28 -21
  34. package/dist-es/commands/ConfirmDeviceCommand.js +28 -21
  35. package/dist-es/commands/ConfirmForgotPasswordCommand.js +28 -21
  36. package/dist-es/commands/ConfirmSignUpCommand.js +28 -21
  37. package/dist-es/commands/CreateGroupCommand.js +28 -21
  38. package/dist-es/commands/CreateIdentityProviderCommand.js +28 -21
  39. package/dist-es/commands/CreateResourceServerCommand.js +28 -21
  40. package/dist-es/commands/CreateUserImportJobCommand.js +28 -21
  41. package/dist-es/commands/CreateUserPoolClientCommand.js +28 -21
  42. package/dist-es/commands/CreateUserPoolCommand.js +28 -21
  43. package/dist-es/commands/CreateUserPoolDomainCommand.js +28 -21
  44. package/dist-es/commands/DeleteGroupCommand.js +29 -22
  45. package/dist-es/commands/DeleteIdentityProviderCommand.js +29 -22
  46. package/dist-es/commands/DeleteResourceServerCommand.js +29 -22
  47. package/dist-es/commands/DeleteUserAttributesCommand.js +28 -21
  48. package/dist-es/commands/DeleteUserCommand.js +29 -22
  49. package/dist-es/commands/DeleteUserPoolClientCommand.js +29 -22
  50. package/dist-es/commands/DeleteUserPoolCommand.js +29 -22
  51. package/dist-es/commands/DeleteUserPoolDomainCommand.js +28 -21
  52. package/dist-es/commands/DescribeIdentityProviderCommand.js +28 -21
  53. package/dist-es/commands/DescribeResourceServerCommand.js +28 -21
  54. package/dist-es/commands/DescribeRiskConfigurationCommand.js +28 -21
  55. package/dist-es/commands/DescribeUserImportJobCommand.js +28 -21
  56. package/dist-es/commands/DescribeUserPoolClientCommand.js +28 -21
  57. package/dist-es/commands/DescribeUserPoolCommand.js +28 -21
  58. package/dist-es/commands/DescribeUserPoolDomainCommand.js +28 -21
  59. package/dist-es/commands/ForgetDeviceCommand.js +29 -22
  60. package/dist-es/commands/ForgotPasswordCommand.js +28 -21
  61. package/dist-es/commands/GetCSVHeaderCommand.js +28 -21
  62. package/dist-es/commands/GetDeviceCommand.js +28 -21
  63. package/dist-es/commands/GetGroupCommand.js +28 -21
  64. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +28 -21
  65. package/dist-es/commands/GetSigningCertificateCommand.js +28 -21
  66. package/dist-es/commands/GetUICustomizationCommand.js +28 -21
  67. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +28 -21
  68. package/dist-es/commands/GetUserCommand.js +28 -21
  69. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +28 -21
  70. package/dist-es/commands/GlobalSignOutCommand.js +28 -21
  71. package/dist-es/commands/InitiateAuthCommand.js +28 -21
  72. package/dist-es/commands/ListDevicesCommand.js +28 -21
  73. package/dist-es/commands/ListGroupsCommand.js +28 -21
  74. package/dist-es/commands/ListIdentityProvidersCommand.js +28 -21
  75. package/dist-es/commands/ListResourceServersCommand.js +28 -21
  76. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  77. package/dist-es/commands/ListUserImportJobsCommand.js +28 -21
  78. package/dist-es/commands/ListUserPoolClientsCommand.js +28 -21
  79. package/dist-es/commands/ListUserPoolsCommand.js +28 -21
  80. package/dist-es/commands/ListUsersCommand.js +28 -21
  81. package/dist-es/commands/ListUsersInGroupCommand.js +28 -21
  82. package/dist-es/commands/ResendConfirmationCodeCommand.js +28 -21
  83. package/dist-es/commands/RespondToAuthChallengeCommand.js +28 -21
  84. package/dist-es/commands/RevokeTokenCommand.js +28 -21
  85. package/dist-es/commands/SetRiskConfigurationCommand.js +28 -21
  86. package/dist-es/commands/SetUICustomizationCommand.js +28 -21
  87. package/dist-es/commands/SetUserMFAPreferenceCommand.js +28 -21
  88. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +28 -21
  89. package/dist-es/commands/SetUserSettingsCommand.js +28 -21
  90. package/dist-es/commands/SignUpCommand.js +28 -21
  91. package/dist-es/commands/StartUserImportJobCommand.js +28 -21
  92. package/dist-es/commands/StopUserImportJobCommand.js +28 -21
  93. package/dist-es/commands/TagResourceCommand.js +28 -21
  94. package/dist-es/commands/UntagResourceCommand.js +28 -21
  95. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +28 -21
  96. package/dist-es/commands/UpdateDeviceStatusCommand.js +28 -21
  97. package/dist-es/commands/UpdateGroupCommand.js +28 -21
  98. package/dist-es/commands/UpdateIdentityProviderCommand.js +28 -21
  99. package/dist-es/commands/UpdateResourceServerCommand.js +28 -21
  100. package/dist-es/commands/UpdateUserAttributesCommand.js +28 -21
  101. package/dist-es/commands/UpdateUserPoolClientCommand.js +28 -21
  102. package/dist-es/commands/UpdateUserPoolCommand.js +28 -21
  103. package/dist-es/commands/UpdateUserPoolDomainCommand.js +28 -21
  104. package/dist-es/commands/VerifySoftwareTokenCommand.js +28 -21
  105. package/dist-es/commands/VerifyUserAttributeCommand.js +28 -21
  106. package/dist-es/endpoints.js +8 -8
  107. package/dist-es/models/CognitoIdentityProviderServiceException.js +10 -5
  108. package/dist-es/models/models_0.js +732 -1290
  109. package/dist-es/models/models_1.js +45 -115
  110. package/dist-es/pagination/AdminListGroupsForUserPaginator.js +68 -25
  111. package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +68 -25
  112. package/dist-es/pagination/ListGroupsPaginator.js +68 -25
  113. package/dist-es/pagination/ListIdentityProvidersPaginator.js +68 -25
  114. package/dist-es/pagination/ListResourceServersPaginator.js +68 -25
  115. package/dist-es/pagination/ListUserPoolClientsPaginator.js +68 -25
  116. package/dist-es/pagination/ListUserPoolsPaginator.js +68 -25
  117. package/dist-es/pagination/ListUsersInGroupPaginator.js +68 -25
  118. package/dist-es/pagination/ListUsersPaginator.js +68 -25
  119. package/dist-es/protocols/Aws_json1_1.js +10565 -8461
  120. package/dist-es/runtimeConfig.browser.js +12 -26
  121. package/dist-es/runtimeConfig.js +12 -30
  122. package/dist-es/runtimeConfig.native.js +5 -8
  123. package/dist-es/runtimeConfig.shared.js +11 -8
  124. 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 { ListUsersRequestFilterSensitiveLog, ListUsersResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1ListUsersCommand, serializeAws_json1_1ListUsersCommand } from "../protocols/Aws_json1_1";
6
- export class ListUsersCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListUsersCommand = (function (_super) {
8
+ __extends(ListUsersCommand, _super);
9
+ function ListUsersCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListUsersCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "ListUsersCommand";
18
- const handlerExecutionContext = {
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 = "ListUsersCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListUsersRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListUsersResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListUsersCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1ListUsersCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListUsersCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1ListUsersCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListUsersCommand;
40
+ }($Command));
41
+ export { ListUsersCommand };
@@ -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 { ListUsersInGroupRequestFilterSensitiveLog, ListUsersInGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1ListUsersInGroupCommand, serializeAws_json1_1ListUsersInGroupCommand, } from "../protocols/Aws_json1_1";
6
- export class ListUsersInGroupCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListUsersInGroupCommand = (function (_super) {
8
+ __extends(ListUsersInGroupCommand, _super);
9
+ function ListUsersInGroupCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListUsersInGroupCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "ListUsersInGroupCommand";
18
- const handlerExecutionContext = {
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 = "ListUsersInGroupCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListUsersInGroupRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListUsersInGroupResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListUsersInGroupCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1ListUsersInGroupCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListUsersInGroupCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1ListUsersInGroupCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListUsersInGroupCommand;
40
+ }($Command));
41
+ export { ListUsersInGroupCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ResendConfirmationCodeRequestFilterSensitiveLog, ResendConfirmationCodeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ResendConfirmationCodeCommand, serializeAws_json1_1ResendConfirmationCodeCommand, } from "../protocols/Aws_json1_1";
5
- export class ResendConfirmationCodeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ResendConfirmationCodeCommand = (function (_super) {
7
+ __extends(ResendConfirmationCodeCommand, _super);
8
+ function ResendConfirmationCodeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ResendConfirmationCodeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CognitoIdentityProviderClient";
15
- const commandName = "ResendConfirmationCodeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CognitoIdentityProviderClient";
18
+ var commandName = "ResendConfirmationCodeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ResendConfirmationCodeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ResendConfirmationCodeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ResendConfirmationCodeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ResendConfirmationCodeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ResendConfirmationCodeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ResendConfirmationCodeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ResendConfirmationCodeCommand;
38
+ }($Command));
39
+ export { ResendConfirmationCodeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { RespondToAuthChallengeRequestFilterSensitiveLog, RespondToAuthChallengeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1RespondToAuthChallengeCommand, serializeAws_json1_1RespondToAuthChallengeCommand, } from "../protocols/Aws_json1_1";
5
- export class RespondToAuthChallengeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RespondToAuthChallengeCommand = (function (_super) {
7
+ __extends(RespondToAuthChallengeCommand, _super);
8
+ function RespondToAuthChallengeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RespondToAuthChallengeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CognitoIdentityProviderClient";
15
- const commandName = "RespondToAuthChallengeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CognitoIdentityProviderClient";
18
+ var commandName = "RespondToAuthChallengeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RespondToAuthChallengeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RespondToAuthChallengeResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RespondToAuthChallengeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1RespondToAuthChallengeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RespondToAuthChallengeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1RespondToAuthChallengeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RespondToAuthChallengeCommand;
38
+ }($Command));
39
+ export { RespondToAuthChallengeCommand };
@@ -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 { RevokeTokenRequestFilterSensitiveLog, RevokeTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1RevokeTokenCommand, serializeAws_json1_1RevokeTokenCommand, } from "../protocols/Aws_json1_1";
6
- export class RevokeTokenCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var RevokeTokenCommand = (function (_super) {
8
+ __extends(RevokeTokenCommand, _super);
9
+ function RevokeTokenCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ RevokeTokenCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "RevokeTokenCommand";
18
- const handlerExecutionContext = {
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 = "RevokeTokenCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: RevokeTokenRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: RevokeTokenResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ RevokeTokenCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1RevokeTokenCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ RevokeTokenCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1RevokeTokenCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return RevokeTokenCommand;
40
+ }($Command));
41
+ export { RevokeTokenCommand };
@@ -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 { SetRiskConfigurationRequestFilterSensitiveLog, SetRiskConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1SetRiskConfigurationCommand, serializeAws_json1_1SetRiskConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- export class SetRiskConfigurationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var SetRiskConfigurationCommand = (function (_super) {
8
+ __extends(SetRiskConfigurationCommand, _super);
9
+ function SetRiskConfigurationCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ SetRiskConfigurationCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "SetRiskConfigurationCommand";
18
- const handlerExecutionContext = {
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 = "SetRiskConfigurationCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: SetRiskConfigurationRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: SetRiskConfigurationResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ SetRiskConfigurationCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1SetRiskConfigurationCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ SetRiskConfigurationCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1SetRiskConfigurationCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return SetRiskConfigurationCommand;
40
+ }($Command));
41
+ export { SetRiskConfigurationCommand };
@@ -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 { SetUICustomizationRequestFilterSensitiveLog, SetUICustomizationResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1SetUICustomizationCommand, serializeAws_json1_1SetUICustomizationCommand, } from "../protocols/Aws_json1_1";
6
- export class SetUICustomizationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var SetUICustomizationCommand = (function (_super) {
8
+ __extends(SetUICustomizationCommand, _super);
9
+ function SetUICustomizationCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ SetUICustomizationCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "SetUICustomizationCommand";
18
- const handlerExecutionContext = {
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 = "SetUICustomizationCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: SetUICustomizationRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: SetUICustomizationResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ SetUICustomizationCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1SetUICustomizationCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ SetUICustomizationCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1SetUICustomizationCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return SetUICustomizationCommand;
40
+ }($Command));
41
+ export { SetUICustomizationCommand };
@@ -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 { SetUserMFAPreferenceRequestFilterSensitiveLog, SetUserMFAPreferenceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1SetUserMFAPreferenceCommand, serializeAws_json1_1SetUserMFAPreferenceCommand, } from "../protocols/Aws_json1_1";
6
- export class SetUserMFAPreferenceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var SetUserMFAPreferenceCommand = (function (_super) {
8
+ __extends(SetUserMFAPreferenceCommand, _super);
9
+ function SetUserMFAPreferenceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ SetUserMFAPreferenceCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "SetUserMFAPreferenceCommand";
18
- const handlerExecutionContext = {
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 = "SetUserMFAPreferenceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: SetUserMFAPreferenceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: SetUserMFAPreferenceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ SetUserMFAPreferenceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1SetUserMFAPreferenceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ SetUserMFAPreferenceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1SetUserMFAPreferenceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return SetUserMFAPreferenceCommand;
40
+ }($Command));
41
+ export { SetUserMFAPreferenceCommand };
@@ -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 { SetUserPoolMfaConfigRequestFilterSensitiveLog, SetUserPoolMfaConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_1SetUserPoolMfaConfigCommand, serializeAws_json1_1SetUserPoolMfaConfigCommand, } from "../protocols/Aws_json1_1";
6
- export class SetUserPoolMfaConfigCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var SetUserPoolMfaConfigCommand = (function (_super) {
8
+ __extends(SetUserPoolMfaConfigCommand, _super);
9
+ function SetUserPoolMfaConfigCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ SetUserPoolMfaConfigCommand.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
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "CognitoIdentityProviderClient";
17
- const commandName = "SetUserPoolMfaConfigCommand";
18
- const handlerExecutionContext = {
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 = "SetUserPoolMfaConfigCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: SetUserPoolMfaConfigRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: SetUserPoolMfaConfigResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ SetUserPoolMfaConfigCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_1SetUserPoolMfaConfigCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ SetUserPoolMfaConfigCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_1SetUserPoolMfaConfigCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return SetUserPoolMfaConfigCommand;
40
+ }($Command));
41
+ export { SetUserPoolMfaConfigCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { SetUserSettingsRequestFilterSensitiveLog, SetUserSettingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1SetUserSettingsCommand, serializeAws_json1_1SetUserSettingsCommand, } from "../protocols/Aws_json1_1";
5
- export class SetUserSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetUserSettingsCommand = (function (_super) {
7
+ __extends(SetUserSettingsCommand, _super);
8
+ function SetUserSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetUserSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CognitoIdentityProviderClient";
15
- const commandName = "SetUserSettingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CognitoIdentityProviderClient";
18
+ var commandName = "SetUserSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetUserSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SetUserSettingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ SetUserSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1SetUserSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetUserSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1SetUserSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetUserSettingsCommand;
38
+ }($Command));
39
+ export { SetUserSettingsCommand };