@aws-sdk/client-cognito-identity-provider 3.185.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/CognitoIdentityProvider.js +406 -413
  3. package/dist-es/CognitoIdentityProviderClient.js +21 -27
  4. package/dist-es/commands/AddCustomAttributesCommand.js +21 -28
  5. package/dist-es/commands/AdminAddUserToGroupCommand.js +22 -29
  6. package/dist-es/commands/AdminConfirmSignUpCommand.js +21 -28
  7. package/dist-es/commands/AdminCreateUserCommand.js +21 -28
  8. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +21 -28
  9. package/dist-es/commands/AdminDeleteUserCommand.js +22 -29
  10. package/dist-es/commands/AdminDisableProviderForUserCommand.js +21 -28
  11. package/dist-es/commands/AdminDisableUserCommand.js +21 -28
  12. package/dist-es/commands/AdminEnableUserCommand.js +21 -28
  13. package/dist-es/commands/AdminForgetDeviceCommand.js +22 -29
  14. package/dist-es/commands/AdminGetDeviceCommand.js +21 -28
  15. package/dist-es/commands/AdminGetUserCommand.js +21 -28
  16. package/dist-es/commands/AdminInitiateAuthCommand.js +21 -28
  17. package/dist-es/commands/AdminLinkProviderForUserCommand.js +21 -28
  18. package/dist-es/commands/AdminListDevicesCommand.js +21 -28
  19. package/dist-es/commands/AdminListGroupsForUserCommand.js +21 -28
  20. package/dist-es/commands/AdminListUserAuthEventsCommand.js +21 -28
  21. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +22 -29
  22. package/dist-es/commands/AdminResetUserPasswordCommand.js +21 -28
  23. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +21 -28
  24. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +21 -28
  25. package/dist-es/commands/AdminSetUserPasswordCommand.js +21 -28
  26. package/dist-es/commands/AdminSetUserSettingsCommand.js +21 -28
  27. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +21 -28
  28. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +21 -28
  29. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +21 -28
  30. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +21 -28
  31. package/dist-es/commands/AssociateSoftwareTokenCommand.js +21 -28
  32. package/dist-es/commands/ChangePasswordCommand.js +21 -28
  33. package/dist-es/commands/ConfirmDeviceCommand.js +21 -28
  34. package/dist-es/commands/ConfirmForgotPasswordCommand.js +21 -28
  35. package/dist-es/commands/ConfirmSignUpCommand.js +21 -28
  36. package/dist-es/commands/CreateGroupCommand.js +21 -28
  37. package/dist-es/commands/CreateIdentityProviderCommand.js +21 -28
  38. package/dist-es/commands/CreateResourceServerCommand.js +21 -28
  39. package/dist-es/commands/CreateUserImportJobCommand.js +21 -28
  40. package/dist-es/commands/CreateUserPoolClientCommand.js +21 -28
  41. package/dist-es/commands/CreateUserPoolCommand.js +21 -28
  42. package/dist-es/commands/CreateUserPoolDomainCommand.js +21 -28
  43. package/dist-es/commands/DeleteGroupCommand.js +22 -29
  44. package/dist-es/commands/DeleteIdentityProviderCommand.js +22 -29
  45. package/dist-es/commands/DeleteResourceServerCommand.js +22 -29
  46. package/dist-es/commands/DeleteUserAttributesCommand.js +21 -28
  47. package/dist-es/commands/DeleteUserCommand.js +22 -29
  48. package/dist-es/commands/DeleteUserPoolClientCommand.js +22 -29
  49. package/dist-es/commands/DeleteUserPoolCommand.js +22 -29
  50. package/dist-es/commands/DeleteUserPoolDomainCommand.js +21 -28
  51. package/dist-es/commands/DescribeIdentityProviderCommand.js +21 -28
  52. package/dist-es/commands/DescribeResourceServerCommand.js +21 -28
  53. package/dist-es/commands/DescribeRiskConfigurationCommand.js +21 -28
  54. package/dist-es/commands/DescribeUserImportJobCommand.js +21 -28
  55. package/dist-es/commands/DescribeUserPoolClientCommand.js +21 -28
  56. package/dist-es/commands/DescribeUserPoolCommand.js +21 -28
  57. package/dist-es/commands/DescribeUserPoolDomainCommand.js +21 -28
  58. package/dist-es/commands/ForgetDeviceCommand.js +22 -29
  59. package/dist-es/commands/ForgotPasswordCommand.js +21 -28
  60. package/dist-es/commands/GetCSVHeaderCommand.js +21 -28
  61. package/dist-es/commands/GetDeviceCommand.js +21 -28
  62. package/dist-es/commands/GetGroupCommand.js +21 -28
  63. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +21 -28
  64. package/dist-es/commands/GetSigningCertificateCommand.js +21 -28
  65. package/dist-es/commands/GetUICustomizationCommand.js +21 -28
  66. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +21 -28
  67. package/dist-es/commands/GetUserCommand.js +21 -28
  68. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +21 -28
  69. package/dist-es/commands/GlobalSignOutCommand.js +21 -28
  70. package/dist-es/commands/InitiateAuthCommand.js +21 -28
  71. package/dist-es/commands/ListDevicesCommand.js +21 -28
  72. package/dist-es/commands/ListGroupsCommand.js +21 -28
  73. package/dist-es/commands/ListIdentityProvidersCommand.js +21 -28
  74. package/dist-es/commands/ListResourceServersCommand.js +21 -28
  75. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  76. package/dist-es/commands/ListUserImportJobsCommand.js +21 -28
  77. package/dist-es/commands/ListUserPoolClientsCommand.js +21 -28
  78. package/dist-es/commands/ListUserPoolsCommand.js +21 -28
  79. package/dist-es/commands/ListUsersCommand.js +21 -28
  80. package/dist-es/commands/ListUsersInGroupCommand.js +21 -28
  81. package/dist-es/commands/ResendConfirmationCodeCommand.js +21 -28
  82. package/dist-es/commands/RespondToAuthChallengeCommand.js +21 -28
  83. package/dist-es/commands/RevokeTokenCommand.js +21 -28
  84. package/dist-es/commands/SetRiskConfigurationCommand.js +21 -28
  85. package/dist-es/commands/SetUICustomizationCommand.js +21 -28
  86. package/dist-es/commands/SetUserMFAPreferenceCommand.js +21 -28
  87. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +21 -28
  88. package/dist-es/commands/SetUserSettingsCommand.js +21 -28
  89. package/dist-es/commands/SignUpCommand.js +21 -28
  90. package/dist-es/commands/StartUserImportJobCommand.js +21 -28
  91. package/dist-es/commands/StopUserImportJobCommand.js +21 -28
  92. package/dist-es/commands/TagResourceCommand.js +21 -28
  93. package/dist-es/commands/UntagResourceCommand.js +21 -28
  94. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +21 -28
  95. package/dist-es/commands/UpdateDeviceStatusCommand.js +21 -28
  96. package/dist-es/commands/UpdateGroupCommand.js +21 -28
  97. package/dist-es/commands/UpdateIdentityProviderCommand.js +21 -28
  98. package/dist-es/commands/UpdateResourceServerCommand.js +21 -28
  99. package/dist-es/commands/UpdateUserAttributesCommand.js +21 -28
  100. package/dist-es/commands/UpdateUserPoolClientCommand.js +21 -28
  101. package/dist-es/commands/UpdateUserPoolCommand.js +21 -28
  102. package/dist-es/commands/UpdateUserPoolDomainCommand.js +21 -28
  103. package/dist-es/commands/VerifySoftwareTokenCommand.js +21 -28
  104. package/dist-es/commands/VerifyUserAttributeCommand.js +21 -28
  105. package/dist-es/endpoints.js +8 -8
  106. package/dist-es/models/CognitoIdentityProviderServiceException.js +5 -10
  107. package/dist-es/models/models_0.js +1290 -732
  108. package/dist-es/models/models_1.js +115 -45
  109. package/dist-es/pagination/AdminListGroupsForUserPaginator.js +25 -68
  110. package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +25 -68
  111. package/dist-es/pagination/ListGroupsPaginator.js +25 -68
  112. package/dist-es/pagination/ListIdentityProvidersPaginator.js +25 -68
  113. package/dist-es/pagination/ListResourceServersPaginator.js +25 -68
  114. package/dist-es/pagination/ListUserPoolClientsPaginator.js +25 -68
  115. package/dist-es/pagination/ListUserPoolsPaginator.js +25 -68
  116. package/dist-es/pagination/ListUsersInGroupPaginator.js +25 -68
  117. package/dist-es/pagination/ListUsersPaginator.js +25 -68
  118. package/dist-es/protocols/Aws_json1_1.js +8461 -10565
  119. package/dist-es/runtimeConfig.browser.js +26 -12
  120. package/dist-es/runtimeConfig.js +30 -12
  121. package/dist-es/runtimeConfig.native.js +8 -5
  122. package/dist-es/runtimeConfig.shared.js +8 -11
  123. package/package.json +33 -33
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { GetUserPoolMfaConfigRequestFilterSensitiveLog, GetUserPoolMfaConfigResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1GetUserPoolMfaConfigCommand, serializeAws_json1_1GetUserPoolMfaConfigCommand, } from "../protocols/Aws_json1_1";
7
- var GetUserPoolMfaConfigCommand = (function (_super) {
8
- __extends(GetUserPoolMfaConfigCommand, _super);
9
- function GetUserPoolMfaConfigCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GetUserPoolMfaConfigCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GetUserPoolMfaConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "GetUserPoolMfaConfigCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "GetUserPoolMfaConfigCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: GetUserPoolMfaConfigRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: GetUserPoolMfaConfigResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- GetUserPoolMfaConfigCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1GetUserPoolMfaConfigCommand(input, context);
35
- };
36
- GetUserPoolMfaConfigCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1GetUserPoolMfaConfigCommand(output, context);
38
- };
39
- return GetUserPoolMfaConfigCommand;
40
- }($Command));
41
- export { GetUserPoolMfaConfigCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { GlobalSignOutRequestFilterSensitiveLog, GlobalSignOutResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1GlobalSignOutCommand, serializeAws_json1_1GlobalSignOutCommand, } from "../protocols/Aws_json1_1";
7
- var GlobalSignOutCommand = (function (_super) {
8
- __extends(GlobalSignOutCommand, _super);
9
- function GlobalSignOutCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class GlobalSignOutCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- GlobalSignOutCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "GlobalSignOutCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "GlobalSignOutCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: GlobalSignOutRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: GlobalSignOutResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- GlobalSignOutCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1GlobalSignOutCommand(input, context);
35
- };
36
- GlobalSignOutCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1GlobalSignOutCommand(output, context);
38
- };
39
- return GlobalSignOutCommand;
40
- }($Command));
41
- export { GlobalSignOutCommand };
33
+ }
34
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { InitiateAuthRequestFilterSensitiveLog, InitiateAuthResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1InitiateAuthCommand, serializeAws_json1_1InitiateAuthCommand, } from "../protocols/Aws_json1_1";
6
- var InitiateAuthCommand = (function (_super) {
7
- __extends(InitiateAuthCommand, _super);
8
- function InitiateAuthCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class InitiateAuthCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- InitiateAuthCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CognitoIdentityProviderClient";
18
- var commandName = "InitiateAuthCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CognitoIdentityProviderClient";
15
+ const commandName = "InitiateAuthCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: InitiateAuthRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: InitiateAuthResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- InitiateAuthCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1InitiateAuthCommand(input, context);
33
- };
34
- InitiateAuthCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1InitiateAuthCommand(output, context);
36
- };
37
- return InitiateAuthCommand;
38
- }($Command));
39
- export { InitiateAuthCommand };
31
+ }
32
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListDevicesRequestFilterSensitiveLog, ListDevicesResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListDevicesCommand, serializeAws_json1_1ListDevicesCommand, } from "../protocols/Aws_json1_1";
7
- var ListDevicesCommand = (function (_super) {
8
- __extends(ListDevicesCommand, _super);
9
- function ListDevicesCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListDevicesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListDevicesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListDevicesCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListDevicesCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListDevicesRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListDevicesResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListDevicesCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListDevicesCommand(input, context);
35
- };
36
- ListDevicesCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListDevicesCommand(output, context);
38
- };
39
- return ListDevicesCommand;
40
- }($Command));
41
- export { ListDevicesCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListGroupsRequestFilterSensitiveLog, ListGroupsResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListGroupsCommand, serializeAws_json1_1ListGroupsCommand, } from "../protocols/Aws_json1_1";
7
- var ListGroupsCommand = (function (_super) {
8
- __extends(ListGroupsCommand, _super);
9
- function ListGroupsCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListGroupsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListGroupsCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListGroupsCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListGroupsRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListGroupsResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListGroupsCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListGroupsCommand(input, context);
35
- };
36
- ListGroupsCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListGroupsCommand(output, context);
38
- };
39
- return ListGroupsCommand;
40
- }($Command));
41
- export { ListGroupsCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListIdentityProvidersRequestFilterSensitiveLog, ListIdentityProvidersResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListIdentityProvidersCommand, serializeAws_json1_1ListIdentityProvidersCommand, } from "../protocols/Aws_json1_1";
7
- var ListIdentityProvidersCommand = (function (_super) {
8
- __extends(ListIdentityProvidersCommand, _super);
9
- function ListIdentityProvidersCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListIdentityProvidersCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListIdentityProvidersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListIdentityProvidersCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListIdentityProvidersCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListIdentityProvidersRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListIdentityProvidersResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListIdentityProvidersCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListIdentityProvidersCommand(input, context);
35
- };
36
- ListIdentityProvidersCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListIdentityProvidersCommand(output, context);
38
- };
39
- return ListIdentityProvidersCommand;
40
- }($Command));
41
- export { ListIdentityProvidersCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListResourceServersRequestFilterSensitiveLog, ListResourceServersResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListResourceServersCommand, serializeAws_json1_1ListResourceServersCommand, } from "../protocols/Aws_json1_1";
7
- var ListResourceServersCommand = (function (_super) {
8
- __extends(ListResourceServersCommand, _super);
9
- function ListResourceServersCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListResourceServersCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListResourceServersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListResourceServersCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListResourceServersCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListResourceServersRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListResourceServersResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListResourceServersCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListResourceServersCommand(input, context);
35
- };
36
- ListResourceServersCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListResourceServersCommand(output, context);
38
- };
39
- return ListResourceServersCommand;
40
- }($Command));
41
- export { ListResourceServersCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
7
- var ListTagsForResourceCommand = (function (_super) {
8
- __extends(ListTagsForResourceCommand, _super);
9
- function ListTagsForResourceCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListTagsForResourceCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListTagsForResourceCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListTagsForResourceCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
35
- };
36
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
38
- };
39
- return ListTagsForResourceCommand;
40
- }($Command));
41
- export { ListTagsForResourceCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListUserImportJobsRequestFilterSensitiveLog, ListUserImportJobsResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListUserImportJobsCommand, serializeAws_json1_1ListUserImportJobsCommand, } from "../protocols/Aws_json1_1";
7
- var ListUserImportJobsCommand = (function (_super) {
8
- __extends(ListUserImportJobsCommand, _super);
9
- function ListUserImportJobsCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListUserImportJobsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListUserImportJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListUserImportJobsCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListUserImportJobsCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListUserImportJobsRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListUserImportJobsResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListUserImportJobsCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListUserImportJobsCommand(input, context);
35
- };
36
- ListUserImportJobsCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListUserImportJobsCommand(output, context);
38
- };
39
- return ListUserImportJobsCommand;
40
- }($Command));
41
- export { ListUserImportJobsCommand };
33
+ }
34
+ }
@@ -1,41 +1,34 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
4
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
4
  import { ListUserPoolClientsRequestFilterSensitiveLog, ListUserPoolClientsResponseFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_json1_1ListUserPoolClientsCommand, serializeAws_json1_1ListUserPoolClientsCommand, } from "../protocols/Aws_json1_1";
7
- var ListUserPoolClientsCommand = (function (_super) {
8
- __extends(ListUserPoolClientsCommand, _super);
9
- function ListUserPoolClientsCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class ListUserPoolClientsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- ListUserPoolClientsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "CognitoIdentityProviderClient";
20
- var commandName = "ListUserPoolClientsCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "CognitoIdentityProviderClient";
17
+ const commandName = "ListUserPoolClientsCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: ListUserPoolClientsRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: ListUserPoolClientsResponseFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- ListUserPoolClientsCommand.prototype.serialize = function (input, context) {
25
+ const { requestHandler } = configuration;
26
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
+ }
28
+ serialize(input, context) {
34
29
  return serializeAws_json1_1ListUserPoolClientsCommand(input, context);
35
- };
36
- ListUserPoolClientsCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_json1_1ListUserPoolClientsCommand(output, context);
38
- };
39
- return ListUserPoolClientsCommand;
40
- }($Command));
41
- export { ListUserPoolClientsCommand };
33
+ }
34
+ }