@aws-sdk/client-cognito-identity-provider 3.414.0 → 3.421.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 (209) hide show
  1. package/README.md +7 -10
  2. package/dist-cjs/commands/AddCustomAttributesCommand.js +5 -0
  3. package/dist-cjs/commands/AdminAddUserToGroupCommand.js +5 -0
  4. package/dist-cjs/commands/AdminConfirmSignUpCommand.js +5 -0
  5. package/dist-cjs/commands/AdminCreateUserCommand.js +5 -0
  6. package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +5 -0
  7. package/dist-cjs/commands/AdminDeleteUserCommand.js +5 -0
  8. package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +5 -0
  9. package/dist-cjs/commands/AdminDisableUserCommand.js +5 -0
  10. package/dist-cjs/commands/AdminEnableUserCommand.js +5 -0
  11. package/dist-cjs/commands/AdminForgetDeviceCommand.js +5 -0
  12. package/dist-cjs/commands/AdminGetDeviceCommand.js +5 -0
  13. package/dist-cjs/commands/AdminGetUserCommand.js +5 -0
  14. package/dist-cjs/commands/AdminInitiateAuthCommand.js +5 -0
  15. package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +5 -0
  16. package/dist-cjs/commands/AdminListDevicesCommand.js +5 -0
  17. package/dist-cjs/commands/AdminListGroupsForUserCommand.js +5 -0
  18. package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +5 -0
  19. package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +5 -0
  20. package/dist-cjs/commands/AdminResetUserPasswordCommand.js +5 -0
  21. package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +5 -0
  22. package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +5 -0
  23. package/dist-cjs/commands/AdminSetUserPasswordCommand.js +5 -0
  24. package/dist-cjs/commands/AdminSetUserSettingsCommand.js +5 -0
  25. package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +5 -0
  26. package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +5 -0
  27. package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +5 -0
  28. package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +5 -0
  29. package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +5 -0
  30. package/dist-cjs/commands/ChangePasswordCommand.js +5 -0
  31. package/dist-cjs/commands/ConfirmDeviceCommand.js +5 -0
  32. package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +5 -0
  33. package/dist-cjs/commands/ConfirmSignUpCommand.js +5 -0
  34. package/dist-cjs/commands/CreateGroupCommand.js +5 -0
  35. package/dist-cjs/commands/CreateIdentityProviderCommand.js +5 -0
  36. package/dist-cjs/commands/CreateResourceServerCommand.js +5 -0
  37. package/dist-cjs/commands/CreateUserImportJobCommand.js +5 -0
  38. package/dist-cjs/commands/CreateUserPoolClientCommand.js +5 -0
  39. package/dist-cjs/commands/CreateUserPoolCommand.js +5 -0
  40. package/dist-cjs/commands/CreateUserPoolDomainCommand.js +5 -0
  41. package/dist-cjs/commands/DeleteGroupCommand.js +5 -0
  42. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +5 -0
  43. package/dist-cjs/commands/DeleteResourceServerCommand.js +5 -0
  44. package/dist-cjs/commands/DeleteUserAttributesCommand.js +5 -0
  45. package/dist-cjs/commands/DeleteUserCommand.js +5 -0
  46. package/dist-cjs/commands/DeleteUserPoolClientCommand.js +5 -0
  47. package/dist-cjs/commands/DeleteUserPoolCommand.js +5 -0
  48. package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +5 -0
  49. package/dist-cjs/commands/DescribeIdentityProviderCommand.js +5 -0
  50. package/dist-cjs/commands/DescribeResourceServerCommand.js +5 -0
  51. package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +5 -0
  52. package/dist-cjs/commands/DescribeUserImportJobCommand.js +5 -0
  53. package/dist-cjs/commands/DescribeUserPoolClientCommand.js +5 -0
  54. package/dist-cjs/commands/DescribeUserPoolCommand.js +5 -0
  55. package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +5 -0
  56. package/dist-cjs/commands/ForgetDeviceCommand.js +5 -0
  57. package/dist-cjs/commands/ForgotPasswordCommand.js +5 -0
  58. package/dist-cjs/commands/GetCSVHeaderCommand.js +5 -0
  59. package/dist-cjs/commands/GetDeviceCommand.js +5 -0
  60. package/dist-cjs/commands/GetGroupCommand.js +5 -0
  61. package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +5 -0
  62. package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +5 -0
  63. package/dist-cjs/commands/GetSigningCertificateCommand.js +5 -0
  64. package/dist-cjs/commands/GetUICustomizationCommand.js +5 -0
  65. package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +5 -0
  66. package/dist-cjs/commands/GetUserCommand.js +5 -0
  67. package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +5 -0
  68. package/dist-cjs/commands/GlobalSignOutCommand.js +5 -0
  69. package/dist-cjs/commands/InitiateAuthCommand.js +5 -0
  70. package/dist-cjs/commands/ListDevicesCommand.js +5 -0
  71. package/dist-cjs/commands/ListGroupsCommand.js +5 -0
  72. package/dist-cjs/commands/ListIdentityProvidersCommand.js +5 -0
  73. package/dist-cjs/commands/ListResourceServersCommand.js +5 -0
  74. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  75. package/dist-cjs/commands/ListUserImportJobsCommand.js +5 -0
  76. package/dist-cjs/commands/ListUserPoolClientsCommand.js +5 -0
  77. package/dist-cjs/commands/ListUserPoolsCommand.js +5 -0
  78. package/dist-cjs/commands/ListUsersCommand.js +5 -0
  79. package/dist-cjs/commands/ListUsersInGroupCommand.js +5 -0
  80. package/dist-cjs/commands/ResendConfirmationCodeCommand.js +5 -0
  81. package/dist-cjs/commands/RespondToAuthChallengeCommand.js +5 -0
  82. package/dist-cjs/commands/RevokeTokenCommand.js +5 -0
  83. package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +5 -0
  84. package/dist-cjs/commands/SetRiskConfigurationCommand.js +5 -0
  85. package/dist-cjs/commands/SetUICustomizationCommand.js +5 -0
  86. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +5 -0
  87. package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +5 -0
  88. package/dist-cjs/commands/SetUserSettingsCommand.js +5 -0
  89. package/dist-cjs/commands/SignUpCommand.js +5 -0
  90. package/dist-cjs/commands/StartUserImportJobCommand.js +5 -0
  91. package/dist-cjs/commands/StopUserImportJobCommand.js +5 -0
  92. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  93. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  94. package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +5 -0
  95. package/dist-cjs/commands/UpdateDeviceStatusCommand.js +5 -0
  96. package/dist-cjs/commands/UpdateGroupCommand.js +5 -0
  97. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +5 -0
  98. package/dist-cjs/commands/UpdateResourceServerCommand.js +5 -0
  99. package/dist-cjs/commands/UpdateUserAttributesCommand.js +5 -0
  100. package/dist-cjs/commands/UpdateUserPoolClientCommand.js +5 -0
  101. package/dist-cjs/commands/UpdateUserPoolCommand.js +5 -0
  102. package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +5 -0
  103. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +5 -0
  104. package/dist-cjs/commands/VerifyUserAttributeCommand.js +5 -0
  105. package/dist-es/commands/AddCustomAttributesCommand.js +5 -0
  106. package/dist-es/commands/AdminAddUserToGroupCommand.js +5 -0
  107. package/dist-es/commands/AdminConfirmSignUpCommand.js +5 -0
  108. package/dist-es/commands/AdminCreateUserCommand.js +5 -0
  109. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +5 -0
  110. package/dist-es/commands/AdminDeleteUserCommand.js +5 -0
  111. package/dist-es/commands/AdminDisableProviderForUserCommand.js +5 -0
  112. package/dist-es/commands/AdminDisableUserCommand.js +5 -0
  113. package/dist-es/commands/AdminEnableUserCommand.js +5 -0
  114. package/dist-es/commands/AdminForgetDeviceCommand.js +5 -0
  115. package/dist-es/commands/AdminGetDeviceCommand.js +5 -0
  116. package/dist-es/commands/AdminGetUserCommand.js +5 -0
  117. package/dist-es/commands/AdminInitiateAuthCommand.js +5 -0
  118. package/dist-es/commands/AdminLinkProviderForUserCommand.js +5 -0
  119. package/dist-es/commands/AdminListDevicesCommand.js +5 -0
  120. package/dist-es/commands/AdminListGroupsForUserCommand.js +5 -0
  121. package/dist-es/commands/AdminListUserAuthEventsCommand.js +5 -0
  122. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +5 -0
  123. package/dist-es/commands/AdminResetUserPasswordCommand.js +5 -0
  124. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +5 -0
  125. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +5 -0
  126. package/dist-es/commands/AdminSetUserPasswordCommand.js +5 -0
  127. package/dist-es/commands/AdminSetUserSettingsCommand.js +5 -0
  128. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +5 -0
  129. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +5 -0
  130. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +5 -0
  131. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +5 -0
  132. package/dist-es/commands/AssociateSoftwareTokenCommand.js +5 -0
  133. package/dist-es/commands/ChangePasswordCommand.js +5 -0
  134. package/dist-es/commands/ConfirmDeviceCommand.js +5 -0
  135. package/dist-es/commands/ConfirmForgotPasswordCommand.js +5 -0
  136. package/dist-es/commands/ConfirmSignUpCommand.js +5 -0
  137. package/dist-es/commands/CreateGroupCommand.js +5 -0
  138. package/dist-es/commands/CreateIdentityProviderCommand.js +5 -0
  139. package/dist-es/commands/CreateResourceServerCommand.js +5 -0
  140. package/dist-es/commands/CreateUserImportJobCommand.js +5 -0
  141. package/dist-es/commands/CreateUserPoolClientCommand.js +5 -0
  142. package/dist-es/commands/CreateUserPoolCommand.js +5 -0
  143. package/dist-es/commands/CreateUserPoolDomainCommand.js +5 -0
  144. package/dist-es/commands/DeleteGroupCommand.js +5 -0
  145. package/dist-es/commands/DeleteIdentityProviderCommand.js +5 -0
  146. package/dist-es/commands/DeleteResourceServerCommand.js +5 -0
  147. package/dist-es/commands/DeleteUserAttributesCommand.js +5 -0
  148. package/dist-es/commands/DeleteUserCommand.js +5 -0
  149. package/dist-es/commands/DeleteUserPoolClientCommand.js +5 -0
  150. package/dist-es/commands/DeleteUserPoolCommand.js +5 -0
  151. package/dist-es/commands/DeleteUserPoolDomainCommand.js +5 -0
  152. package/dist-es/commands/DescribeIdentityProviderCommand.js +5 -0
  153. package/dist-es/commands/DescribeResourceServerCommand.js +5 -0
  154. package/dist-es/commands/DescribeRiskConfigurationCommand.js +5 -0
  155. package/dist-es/commands/DescribeUserImportJobCommand.js +5 -0
  156. package/dist-es/commands/DescribeUserPoolClientCommand.js +5 -0
  157. package/dist-es/commands/DescribeUserPoolCommand.js +5 -0
  158. package/dist-es/commands/DescribeUserPoolDomainCommand.js +5 -0
  159. package/dist-es/commands/ForgetDeviceCommand.js +5 -0
  160. package/dist-es/commands/ForgotPasswordCommand.js +5 -0
  161. package/dist-es/commands/GetCSVHeaderCommand.js +5 -0
  162. package/dist-es/commands/GetDeviceCommand.js +5 -0
  163. package/dist-es/commands/GetGroupCommand.js +5 -0
  164. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +5 -0
  165. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +5 -0
  166. package/dist-es/commands/GetSigningCertificateCommand.js +5 -0
  167. package/dist-es/commands/GetUICustomizationCommand.js +5 -0
  168. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +5 -0
  169. package/dist-es/commands/GetUserCommand.js +5 -0
  170. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +5 -0
  171. package/dist-es/commands/GlobalSignOutCommand.js +5 -0
  172. package/dist-es/commands/InitiateAuthCommand.js +5 -0
  173. package/dist-es/commands/ListDevicesCommand.js +5 -0
  174. package/dist-es/commands/ListGroupsCommand.js +5 -0
  175. package/dist-es/commands/ListIdentityProvidersCommand.js +5 -0
  176. package/dist-es/commands/ListResourceServersCommand.js +5 -0
  177. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  178. package/dist-es/commands/ListUserImportJobsCommand.js +5 -0
  179. package/dist-es/commands/ListUserPoolClientsCommand.js +5 -0
  180. package/dist-es/commands/ListUserPoolsCommand.js +5 -0
  181. package/dist-es/commands/ListUsersCommand.js +5 -0
  182. package/dist-es/commands/ListUsersInGroupCommand.js +5 -0
  183. package/dist-es/commands/ResendConfirmationCodeCommand.js +5 -0
  184. package/dist-es/commands/RespondToAuthChallengeCommand.js +5 -0
  185. package/dist-es/commands/RevokeTokenCommand.js +5 -0
  186. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +5 -0
  187. package/dist-es/commands/SetRiskConfigurationCommand.js +5 -0
  188. package/dist-es/commands/SetUICustomizationCommand.js +5 -0
  189. package/dist-es/commands/SetUserMFAPreferenceCommand.js +5 -0
  190. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +5 -0
  191. package/dist-es/commands/SetUserSettingsCommand.js +5 -0
  192. package/dist-es/commands/SignUpCommand.js +5 -0
  193. package/dist-es/commands/StartUserImportJobCommand.js +5 -0
  194. package/dist-es/commands/StopUserImportJobCommand.js +5 -0
  195. package/dist-es/commands/TagResourceCommand.js +5 -0
  196. package/dist-es/commands/UntagResourceCommand.js +5 -0
  197. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +5 -0
  198. package/dist-es/commands/UpdateDeviceStatusCommand.js +5 -0
  199. package/dist-es/commands/UpdateGroupCommand.js +5 -0
  200. package/dist-es/commands/UpdateIdentityProviderCommand.js +5 -0
  201. package/dist-es/commands/UpdateResourceServerCommand.js +5 -0
  202. package/dist-es/commands/UpdateUserAttributesCommand.js +5 -0
  203. package/dist-es/commands/UpdateUserPoolClientCommand.js +5 -0
  204. package/dist-es/commands/UpdateUserPoolCommand.js +5 -0
  205. package/dist-es/commands/UpdateUserPoolDomainCommand.js +5 -0
  206. package/dist-es/commands/VerifySoftwareTokenCommand.js +5 -0
  207. package/dist-es/commands/VerifyUserAttributeCommand.js +5 -0
  208. package/dist-types/models/models_0.d.ts +22 -4
  209. package/package.json +31 -31
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { SetUserMFAPreferenceRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_SetUserMFAPreferenceCommand, se_SetUserMFAPreferenceCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class SetUserMFAPreferenceCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: SetUserMFAPreferenceRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "SetUserMFAPreference",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_SetUserPoolMfaConfigCommand, se_SetUserPoolMfaConfigCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class SetUserPoolMfaConfigCommand extends $Command {
@@ -31,6 +32,10 @@ export class SetUserPoolMfaConfigCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "SetUserPoolMfaConfig",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { SetUserSettingsRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_SetUserSettingsCommand, se_SetUserSettingsCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class SetUserSettingsCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: SetUserSettingsRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "SetUserSettings",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { SignUpRequestFilterSensitiveLog } from "../models/models_1";
5
6
  import { de_SignUpCommand, se_SignUpCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class SignUpCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: SignUpRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "SignUp",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_StartUserImportJobCommand, se_StartUserImportJobCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class StartUserImportJobCommand extends $Command {
@@ -31,6 +32,10 @@ export class StartUserImportJobCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "StartUserImportJob",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_StopUserImportJobCommand, se_StopUserImportJobCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class StopUserImportJobCommand extends $Command {
@@ -31,6 +32,10 @@ export class StopUserImportJobCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "StopUserImportJob",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class TagResourceCommand extends $Command {
@@ -31,6 +32,10 @@ export class TagResourceCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "TagResource",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UntagResourceCommand extends $Command {
@@ -31,6 +32,10 @@ export class UntagResourceCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UntagResource",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { UpdateAuthEventFeedbackRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateAuthEventFeedbackCommand, se_UpdateAuthEventFeedbackCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class UpdateAuthEventFeedbackCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: UpdateAuthEventFeedbackRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "UpdateAuthEventFeedback",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { UpdateDeviceStatusRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateDeviceStatusCommand, se_UpdateDeviceStatusCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class UpdateDeviceStatusCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: UpdateDeviceStatusRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "UpdateDeviceStatus",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateGroupCommand, se_UpdateGroupCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UpdateGroupCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateGroupCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UpdateGroup",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateIdentityProviderCommand, se_UpdateIdentityProviderCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UpdateIdentityProviderCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateIdentityProviderCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UpdateIdentityProvider",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateResourceServerCommand, se_UpdateResourceServerCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UpdateResourceServerCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateResourceServerCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UpdateResourceServer",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { UpdateUserAttributesRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_UpdateUserAttributesCommand, se_UpdateUserAttributesCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class UpdateUserAttributesCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: UpdateUserAttributesRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "UpdateUserAttributes",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { UpdateUserPoolClientRequestFilterSensitiveLog, UpdateUserPoolClientResponseFilterSensitiveLog, } from "../models/models_1";
6
7
  import { de_UpdateUserPoolClientCommand, se_UpdateUserPoolClientCommand } from "../protocols/Aws_json1_1";
7
8
  export { $Command };
@@ -32,6 +33,10 @@ export class UpdateUserPoolClientCommand extends $Command {
32
33
  commandName,
33
34
  inputFilterSensitiveLog: UpdateUserPoolClientRequestFilterSensitiveLog,
34
35
  outputFilterSensitiveLog: UpdateUserPoolClientResponseFilterSensitiveLog,
36
+ [SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSCognitoIdentityProviderService",
38
+ operation: "UpdateUserPoolClient",
39
+ },
35
40
  };
36
41
  const { requestHandler } = configuration;
37
42
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateUserPoolCommand, se_UpdateUserPoolCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UpdateUserPoolCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateUserPoolCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UpdateUserPool",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -2,6 +2,7 @@ import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
6
  import { de_UpdateUserPoolDomainCommand, se_UpdateUserPoolDomainCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
7
8
  export class UpdateUserPoolDomainCommand extends $Command {
@@ -31,6 +32,10 @@ export class UpdateUserPoolDomainCommand extends $Command {
31
32
  commandName,
32
33
  inputFilterSensitiveLog: (_) => _,
33
34
  outputFilterSensitiveLog: (_) => _,
35
+ [SMITHY_CONTEXT_KEY]: {
36
+ service: "AWSCognitoIdentityProviderService",
37
+ operation: "UpdateUserPoolDomain",
38
+ },
34
39
  };
35
40
  const { requestHandler } = configuration;
36
41
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { VerifySoftwareTokenRequestFilterSensitiveLog, VerifySoftwareTokenResponseFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_VerifySoftwareTokenCommand, se_VerifySoftwareTokenCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class VerifySoftwareTokenCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: VerifySoftwareTokenRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: VerifySoftwareTokenResponseFilterSensitiveLog,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "VerifySoftwareToken",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { VerifyUserAttributeRequestFilterSensitiveLog, } from "../models/models_1";
5
6
  import { de_VerifyUserAttributeCommand, se_VerifyUserAttributeCommand } from "../protocols/Aws_json1_1";
6
7
  export { $Command };
@@ -30,6 +31,10 @@ export class VerifyUserAttributeCommand extends $Command {
30
31
  commandName,
31
32
  inputFilterSensitiveLog: VerifyUserAttributeRequestFilterSensitiveLog,
32
33
  outputFilterSensitiveLog: (_) => _,
34
+ [SMITHY_CONTEXT_KEY]: {
35
+ service: "AWSCognitoIdentityProviderService",
36
+ operation: "VerifyUserAttribute",
37
+ },
33
38
  };
34
39
  const { requestHandler } = configuration;
35
40
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -605,9 +605,23 @@ export interface AdminCreateUserRequest {
605
605
  UserPoolId: string | undefined;
606
606
  /**
607
607
  * @public
608
- * <p>The username for the user. Must be unique within the user pool. Must be a UTF-8 string
609
- * between 1 and 128 characters. After the user is created, the username can't be
610
- * changed.</p>
608
+ * <p>The value that you want to set as the username sign-in attribute. The following
609
+ * conditions apply to the username parameter.</p>
610
+ * <ul>
611
+ * <li>
612
+ * <p>The username can't be a duplicate of another username in the same user
613
+ * pool.</p>
614
+ * </li>
615
+ * <li>
616
+ * <p>You can't change the value of a username after you create it.</p>
617
+ * </li>
618
+ * <li>
619
+ * <p>You can only provide a value if usernames are a valid sign-in attribute for
620
+ * your user pool. If your user pool only supports phone numbers or email addresses
621
+ * as sign-in attributes, Amazon Cognito automatically generates a username value. For more
622
+ * information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-aliases">Customizing sign-in attributes</a>.</p>
623
+ * </li>
624
+ * </ul>
611
625
  */
612
626
  Username: string | undefined;
613
627
  /**
@@ -4846,6 +4860,8 @@ export interface UserPoolType {
4846
4860
  LambdaConfig?: LambdaConfigType;
4847
4861
  /**
4848
4862
  * @public
4863
+ * @deprecated
4864
+ *
4849
4865
  * <p>The status of a user pool.</p>
4850
4866
  */
4851
4867
  Status?: StatusType | string;
@@ -6655,7 +6671,7 @@ export interface CloudWatchLogsConfigurationType {
6655
6671
  * as your user pool.</p>
6656
6672
  * <p>To send logs to log groups with a resource policy of a size greater than 5120
6657
6673
  * characters, configure a log group with a path that starts with
6658
- * <code>/aws/vendedlogs</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html">Enabling
6674
+ * <code>/aws/vendedlogs</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html">Enabling
6659
6675
  * logging from certain Amazon Web Services services</a>.</p>
6660
6676
  */
6661
6677
  LogGroupArn?: string;
@@ -7645,6 +7661,8 @@ export interface UserPoolDescriptionType {
7645
7661
  LambdaConfig?: LambdaConfigType;
7646
7662
  /**
7647
7663
  * @public
7664
+ * @deprecated
7665
+ *
7648
7666
  * <p>The user pool status in a user pool description.</p>
7649
7667
  */
7650
7668
  Status?: StatusType | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cognito-identity-provider",
3
3
  "description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
4
- "version": "3.414.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.414.0",
25
- "@aws-sdk/credential-provider-node": "3.414.0",
26
- "@aws-sdk/middleware-host-header": "3.413.0",
27
- "@aws-sdk/middleware-logger": "3.413.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.413.0",
29
- "@aws-sdk/middleware-signing": "3.413.0",
30
- "@aws-sdk/middleware-user-agent": "3.413.0",
31
- "@aws-sdk/region-config-resolver": "3.413.0",
32
- "@aws-sdk/types": "3.413.0",
33
- "@aws-sdk/util-endpoints": "3.413.0",
34
- "@aws-sdk/util-user-agent-browser": "3.413.0",
35
- "@aws-sdk/util-user-agent-node": "3.413.0",
36
- "@smithy/config-resolver": "^2.0.8",
37
- "@smithy/fetch-http-handler": "^2.1.3",
38
- "@smithy/hash-node": "^2.0.7",
39
- "@smithy/invalid-dependency": "^2.0.7",
40
- "@smithy/middleware-content-length": "^2.0.9",
41
- "@smithy/middleware-endpoint": "^2.0.7",
42
- "@smithy/middleware-retry": "^2.0.10",
43
- "@smithy/middleware-serde": "^2.0.7",
44
- "@smithy/middleware-stack": "^2.0.0",
45
- "@smithy/node-config-provider": "^2.0.10",
46
- "@smithy/node-http-handler": "^2.1.3",
47
- "@smithy/protocol-http": "^3.0.3",
48
- "@smithy/smithy-client": "^2.1.4",
49
- "@smithy/types": "^2.3.1",
50
- "@smithy/url-parser": "^2.0.7",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
+ "@aws-sdk/middleware-host-header": "3.418.0",
27
+ "@aws-sdk/middleware-logger": "3.418.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
+ "@aws-sdk/middleware-signing": "3.418.0",
30
+ "@aws-sdk/middleware-user-agent": "3.418.0",
31
+ "@aws-sdk/region-config-resolver": "3.418.0",
32
+ "@aws-sdk/types": "3.418.0",
33
+ "@aws-sdk/util-endpoints": "3.418.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.418.0",
35
+ "@aws-sdk/util-user-agent-node": "3.418.0",
36
+ "@smithy/config-resolver": "^2.0.10",
37
+ "@smithy/fetch-http-handler": "^2.1.5",
38
+ "@smithy/hash-node": "^2.0.9",
39
+ "@smithy/invalid-dependency": "^2.0.9",
40
+ "@smithy/middleware-content-length": "^2.0.11",
41
+ "@smithy/middleware-endpoint": "^2.0.9",
42
+ "@smithy/middleware-retry": "^2.0.12",
43
+ "@smithy/middleware-serde": "^2.0.9",
44
+ "@smithy/middleware-stack": "^2.0.2",
45
+ "@smithy/node-config-provider": "^2.0.12",
46
+ "@smithy/node-http-handler": "^2.1.5",
47
+ "@smithy/protocol-http": "^3.0.5",
48
+ "@smithy/smithy-client": "^2.1.6",
49
+ "@smithy/types": "^2.3.3",
50
+ "@smithy/url-parser": "^2.0.9",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.8",
55
- "@smithy/util-defaults-mode-node": "^2.0.10",
56
- "@smithy/util-retry": "^2.0.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.10",
55
+ "@smithy/util-defaults-mode-node": "^2.0.12",
56
+ "@smithy/util-retry": "^2.0.2",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },