@aws-sdk/client-cognito-identity-provider 3.53.0 → 3.55.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 (148) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/CognitoIdentityProviderClient.js +12 -12
  3. package/dist-cjs/commands/AddCustomAttributesCommand.js +4 -4
  4. package/dist-cjs/commands/AdminAddUserToGroupCommand.js +4 -4
  5. package/dist-cjs/commands/AdminConfirmSignUpCommand.js +4 -4
  6. package/dist-cjs/commands/AdminCreateUserCommand.js +4 -4
  7. package/dist-cjs/commands/AdminDeleteUserAttributesCommand.js +4 -4
  8. package/dist-cjs/commands/AdminDeleteUserCommand.js +4 -4
  9. package/dist-cjs/commands/AdminDisableProviderForUserCommand.js +4 -4
  10. package/dist-cjs/commands/AdminDisableUserCommand.js +4 -4
  11. package/dist-cjs/commands/AdminEnableUserCommand.js +4 -4
  12. package/dist-cjs/commands/AdminForgetDeviceCommand.js +4 -4
  13. package/dist-cjs/commands/AdminGetDeviceCommand.js +4 -4
  14. package/dist-cjs/commands/AdminGetUserCommand.js +4 -4
  15. package/dist-cjs/commands/AdminInitiateAuthCommand.js +4 -4
  16. package/dist-cjs/commands/AdminLinkProviderForUserCommand.js +4 -4
  17. package/dist-cjs/commands/AdminListDevicesCommand.js +4 -4
  18. package/dist-cjs/commands/AdminListGroupsForUserCommand.js +4 -4
  19. package/dist-cjs/commands/AdminListUserAuthEventsCommand.js +4 -4
  20. package/dist-cjs/commands/AdminRemoveUserFromGroupCommand.js +4 -4
  21. package/dist-cjs/commands/AdminResetUserPasswordCommand.js +4 -4
  22. package/dist-cjs/commands/AdminRespondToAuthChallengeCommand.js +4 -4
  23. package/dist-cjs/commands/AdminSetUserMFAPreferenceCommand.js +4 -4
  24. package/dist-cjs/commands/AdminSetUserPasswordCommand.js +4 -4
  25. package/dist-cjs/commands/AdminSetUserSettingsCommand.js +4 -4
  26. package/dist-cjs/commands/AdminUpdateAuthEventFeedbackCommand.js +4 -4
  27. package/dist-cjs/commands/AdminUpdateDeviceStatusCommand.js +4 -4
  28. package/dist-cjs/commands/AdminUpdateUserAttributesCommand.js +4 -4
  29. package/dist-cjs/commands/AdminUserGlobalSignOutCommand.js +4 -4
  30. package/dist-cjs/commands/AssociateSoftwareTokenCommand.js +4 -4
  31. package/dist-cjs/commands/ChangePasswordCommand.js +3 -3
  32. package/dist-cjs/commands/ConfirmDeviceCommand.js +4 -4
  33. package/dist-cjs/commands/ConfirmForgotPasswordCommand.js +3 -3
  34. package/dist-cjs/commands/ConfirmSignUpCommand.js +3 -3
  35. package/dist-cjs/commands/CreateGroupCommand.js +4 -4
  36. package/dist-cjs/commands/CreateIdentityProviderCommand.js +4 -4
  37. package/dist-cjs/commands/CreateResourceServerCommand.js +4 -4
  38. package/dist-cjs/commands/CreateUserImportJobCommand.js +4 -4
  39. package/dist-cjs/commands/CreateUserPoolClientCommand.js +4 -4
  40. package/dist-cjs/commands/CreateUserPoolCommand.js +4 -4
  41. package/dist-cjs/commands/CreateUserPoolDomainCommand.js +4 -4
  42. package/dist-cjs/commands/DeleteGroupCommand.js +4 -4
  43. package/dist-cjs/commands/DeleteIdentityProviderCommand.js +4 -4
  44. package/dist-cjs/commands/DeleteResourceServerCommand.js +4 -4
  45. package/dist-cjs/commands/DeleteUserAttributesCommand.js +3 -3
  46. package/dist-cjs/commands/DeleteUserCommand.js +3 -3
  47. package/dist-cjs/commands/DeleteUserPoolClientCommand.js +4 -4
  48. package/dist-cjs/commands/DeleteUserPoolCommand.js +4 -4
  49. package/dist-cjs/commands/DeleteUserPoolDomainCommand.js +4 -4
  50. package/dist-cjs/commands/DescribeIdentityProviderCommand.js +4 -4
  51. package/dist-cjs/commands/DescribeResourceServerCommand.js +4 -4
  52. package/dist-cjs/commands/DescribeRiskConfigurationCommand.js +4 -4
  53. package/dist-cjs/commands/DescribeUserImportJobCommand.js +4 -4
  54. package/dist-cjs/commands/DescribeUserPoolClientCommand.js +4 -4
  55. package/dist-cjs/commands/DescribeUserPoolCommand.js +4 -4
  56. package/dist-cjs/commands/DescribeUserPoolDomainCommand.js +4 -4
  57. package/dist-cjs/commands/ForgetDeviceCommand.js +4 -4
  58. package/dist-cjs/commands/ForgotPasswordCommand.js +3 -3
  59. package/dist-cjs/commands/GetCSVHeaderCommand.js +4 -4
  60. package/dist-cjs/commands/GetDeviceCommand.js +4 -4
  61. package/dist-cjs/commands/GetGroupCommand.js +4 -4
  62. package/dist-cjs/commands/GetIdentityProviderByIdentifierCommand.js +4 -4
  63. package/dist-cjs/commands/GetSigningCertificateCommand.js +4 -4
  64. package/dist-cjs/commands/GetUICustomizationCommand.js +4 -4
  65. package/dist-cjs/commands/GetUserAttributeVerificationCodeCommand.js +3 -3
  66. package/dist-cjs/commands/GetUserCommand.js +3 -3
  67. package/dist-cjs/commands/GetUserPoolMfaConfigCommand.js +4 -4
  68. package/dist-cjs/commands/GlobalSignOutCommand.js +4 -4
  69. package/dist-cjs/commands/InitiateAuthCommand.js +3 -3
  70. package/dist-cjs/commands/ListDevicesCommand.js +4 -4
  71. package/dist-cjs/commands/ListGroupsCommand.js +4 -4
  72. package/dist-cjs/commands/ListIdentityProvidersCommand.js +4 -4
  73. package/dist-cjs/commands/ListResourceServersCommand.js +4 -4
  74. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  75. package/dist-cjs/commands/ListUserImportJobsCommand.js +4 -4
  76. package/dist-cjs/commands/ListUserPoolClientsCommand.js +4 -4
  77. package/dist-cjs/commands/ListUserPoolsCommand.js +4 -4
  78. package/dist-cjs/commands/ListUsersCommand.js +4 -4
  79. package/dist-cjs/commands/ListUsersInGroupCommand.js +4 -4
  80. package/dist-cjs/commands/ResendConfirmationCodeCommand.js +3 -3
  81. package/dist-cjs/commands/RespondToAuthChallengeCommand.js +3 -3
  82. package/dist-cjs/commands/RevokeTokenCommand.js +4 -4
  83. package/dist-cjs/commands/SetRiskConfigurationCommand.js +4 -4
  84. package/dist-cjs/commands/SetUICustomizationCommand.js +4 -4
  85. package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +4 -4
  86. package/dist-cjs/commands/SetUserPoolMfaConfigCommand.js +4 -4
  87. package/dist-cjs/commands/SetUserSettingsCommand.js +3 -3
  88. package/dist-cjs/commands/SignUpCommand.js +3 -3
  89. package/dist-cjs/commands/StartUserImportJobCommand.js +4 -4
  90. package/dist-cjs/commands/StopUserImportJobCommand.js +4 -4
  91. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  92. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  93. package/dist-cjs/commands/UpdateAuthEventFeedbackCommand.js +4 -4
  94. package/dist-cjs/commands/UpdateDeviceStatusCommand.js +4 -4
  95. package/dist-cjs/commands/UpdateGroupCommand.js +4 -4
  96. package/dist-cjs/commands/UpdateIdentityProviderCommand.js +4 -4
  97. package/dist-cjs/commands/UpdateResourceServerCommand.js +4 -4
  98. package/dist-cjs/commands/UpdateUserAttributesCommand.js +3 -3
  99. package/dist-cjs/commands/UpdateUserPoolClientCommand.js +4 -4
  100. package/dist-cjs/commands/UpdateUserPoolCommand.js +4 -4
  101. package/dist-cjs/commands/UpdateUserPoolDomainCommand.js +4 -4
  102. package/dist-cjs/commands/VerifySoftwareTokenCommand.js +4 -4
  103. package/dist-cjs/commands/VerifyUserAttributeCommand.js +3 -3
  104. package/dist-cjs/endpoints.js +1 -1
  105. package/dist-cjs/protocols/Aws_json1_1.js +447 -448
  106. package/dist-cjs/runtimeConfig.browser.js +4 -4
  107. package/dist-cjs/runtimeConfig.js +9 -9
  108. package/dist-cjs/runtimeConfig.native.js +1 -1
  109. package/dist-es/CognitoIdentityProvider.js +101 -101
  110. package/dist-es/pagination/AdminListGroupsForUserPaginator.js +4 -4
  111. package/dist-es/pagination/AdminListUserAuthEventsPaginator.js +4 -4
  112. package/dist-es/pagination/ListGroupsPaginator.js +4 -4
  113. package/dist-es/pagination/ListIdentityProvidersPaginator.js +4 -4
  114. package/dist-es/pagination/ListResourceServersPaginator.js +4 -4
  115. package/dist-es/pagination/ListUserPoolClientsPaginator.js +4 -4
  116. package/dist-es/pagination/ListUserPoolsPaginator.js +4 -4
  117. package/dist-es/pagination/ListUsersInGroupPaginator.js +4 -4
  118. package/dist-es/pagination/ListUsersPaginator.js +4 -4
  119. package/dist-es/protocols/Aws_json1_1.js +7 -10
  120. package/dist-types/CognitoIdentityProvider.d.ts +261 -250
  121. package/dist-types/CognitoIdentityProviderClient.d.ts +2 -2
  122. package/dist-types/commands/AdminCreateUserCommand.d.ts +18 -16
  123. package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +7 -4
  124. package/dist-types/commands/AdminInitiateAuthCommand.d.ts +17 -16
  125. package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +17 -17
  126. package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +17 -16
  127. package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +17 -16
  128. package/dist-types/commands/CreateUserPoolCommand.d.ts +17 -17
  129. package/dist-types/commands/ForgotPasswordCommand.d.ts +17 -17
  130. package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +17 -17
  131. package/dist-types/commands/InitiateAuthCommand.d.ts +17 -16
  132. package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +17 -17
  133. package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +17 -16
  134. package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +15 -14
  135. package/dist-types/commands/SignUpCommand.d.ts +17 -17
  136. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +17 -17
  137. package/dist-types/commands/UpdateUserPoolCommand.d.ts +17 -17
  138. package/dist-types/models/models_0.d.ts +352 -213
  139. package/dist-types/models/models_1.d.ts +21 -12
  140. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  141. package/dist-types/runtimeConfig.d.ts +1 -1
  142. package/dist-types/runtimeConfig.native.d.ts +3 -3
  143. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +2 -2
  144. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  145. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  146. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  147. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  148. package/package.json +34 -34
@@ -307,14 +307,17 @@ export interface UpdateUserAttributesRequest {
307
307
  AccessToken: string | undefined;
308
308
  /**
309
309
  * <p>A map of custom key-value pairs that you can provide as input for any custom workflows that this action initiates. </p>
310
- * <p>You create custom workflows by assigning Lambda functions to user pool triggers. When you use the UpdateUserAttributes API action, Amazon Cognito invokes the
311
- * function that is assigned to the <i>custom message</i> trigger. When Amazon Cognito invokes this function, it passes a
312
- * JSON
313
- * payload, which the function receives as input. This payload contains a <code>clientMetadata</code> attribute, which provides the data that you
314
- * assigned to the ClientMetadata parameter in your UpdateUserAttributes request. In your function code in Lambda, you can process the <code>clientMetadata</code>
315
- * value to enhance your workflow for your specific needs.</p>
316
- * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">Customizing User Pool
317
- * Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
310
+ * <p>You create custom workflows by assigning Lambda functions to user pool triggers. When
311
+ * you use the UpdateUserAttributes API action, Amazon Cognito invokes the function that is assigned
312
+ * to the <i>custom message</i> trigger. When Amazon Cognito invokes this function, it
313
+ * passes a JSON payload, which the function receives as input. This payload contains a
314
+ * <code>clientMetadata</code> attribute, which provides the data that you assigned to
315
+ * the ClientMetadata parameter in your UpdateUserAttributes request. In your function code
316
+ * in Lambda, you can process the <code>clientMetadata</code> value to enhance your workflow
317
+ * for your specific needs.</p>
318
+ *
319
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html">
320
+ * Customizing user pool Workflows with Lambda Triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
318
321
  *
319
322
  * <note>
320
323
  * <p>When you use the ClientMetadata parameter, remember that Amazon Cognito won't do the following:</p>
@@ -423,11 +426,16 @@ export interface UpdateUserPoolRequest {
423
426
  */
424
427
  DeviceConfiguration?: DeviceConfigurationType;
425
428
  /**
426
- * <p>Email configuration.</p>
429
+ * <p>The email configuration of your user pool. The email configuration type sets your
430
+ * preferred sending method, Amazon Web Services Region, and sender for email invitation and verification
431
+ * messages from your user pool.</p>
427
432
  */
428
433
  EmailConfiguration?: EmailConfigurationType;
429
434
  /**
430
- * <p>SMS configuration.</p>
435
+ * <p>The SMS configuration with the settings that your Amazon Cognito user pool must use to send an
436
+ * SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages
437
+ * with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management
438
+ * (IAM) role in your Amazon Web Services account.</p>
431
439
  */
432
440
  SmsConfiguration?: SmsConfigurationType;
433
441
  /**
@@ -610,8 +618,9 @@ export interface UpdateUserPoolClientRequest {
610
618
  /**
611
619
  * <p>The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.</p>
612
620
  * <note>
613
- * <p>In Amazon Web Services Regions where isn't available, User Pools only supports sending events to Amazon Pinpoint projects in us-east-1. In Regions where Pinpoint is available, User Pools will support
614
- * sending events to Amazon Pinpoint projects within that same Region. </p>
621
+ * <p>In Amazon Web Services Regions where Amazon Pinpoint isn't available, user pools only support sending events to Amazon Pinpoint
622
+ * projects in us-east-1. In Regions where Amazon Pinpoint is available, user pools support
623
+ * sending events to Amazon Pinpoint projects within that same Region.</p>
615
624
  * </note>
616
625
  */
617
626
  AnalyticsConfiguration?: AnalyticsConfigurationType;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput } from "./commands/AddCustomAttributesCommand";
10
10
  import { AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
11
11
  import { AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
@@ -117,7 +117,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
117
117
 
118
118
  urlParser?: __UrlParser;
119
119
 
120
- bodyLengthChecker?: (body: any) => number | undefined;
120
+ bodyLengthChecker?: __BodyLengthCalculator;
121
121
 
122
122
  streamCollector?: __StreamCollector;
123
123
 
@@ -1841,6 +1841,8 @@ export interface SmsConfigurationType {
1841
1841
  SnsCallerArn: string | undefined;
1842
1842
 
1843
1843
  ExternalId?: string;
1844
+
1845
+ SnsRegion?: string;
1844
1846
  }
1845
1847
  export declare namespace SmsConfigurationType {
1846
1848
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: CognitoIdentityProviderClientCon
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
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.53.0",
4
+ "version": "3.55.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",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"