@aws-sdk/client-cognito-identity-provider 3.952.0 → 3.953.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 (139) hide show
  1. package/dist-cjs/index.js +1733 -1175
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/AddCustomAttributesCommand.js +2 -2
  4. package/dist-es/commands/AdminAddUserToGroupCommand.js +2 -2
  5. package/dist-es/commands/AdminConfirmSignUpCommand.js +2 -2
  6. package/dist-es/commands/AdminCreateUserCommand.js +2 -2
  7. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +2 -2
  8. package/dist-es/commands/AdminDeleteUserCommand.js +2 -2
  9. package/dist-es/commands/AdminDisableProviderForUserCommand.js +2 -2
  10. package/dist-es/commands/AdminDisableUserCommand.js +2 -2
  11. package/dist-es/commands/AdminEnableUserCommand.js +2 -2
  12. package/dist-es/commands/AdminForgetDeviceCommand.js +2 -2
  13. package/dist-es/commands/AdminGetDeviceCommand.js +2 -2
  14. package/dist-es/commands/AdminGetUserCommand.js +2 -2
  15. package/dist-es/commands/AdminInitiateAuthCommand.js +2 -2
  16. package/dist-es/commands/AdminLinkProviderForUserCommand.js +2 -2
  17. package/dist-es/commands/AdminListDevicesCommand.js +2 -2
  18. package/dist-es/commands/AdminListGroupsForUserCommand.js +2 -2
  19. package/dist-es/commands/AdminListUserAuthEventsCommand.js +2 -2
  20. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +2 -2
  21. package/dist-es/commands/AdminResetUserPasswordCommand.js +2 -2
  22. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +2 -2
  23. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +2 -2
  24. package/dist-es/commands/AdminSetUserPasswordCommand.js +2 -2
  25. package/dist-es/commands/AdminSetUserSettingsCommand.js +2 -2
  26. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +2 -2
  27. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +2 -2
  28. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +2 -2
  29. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +2 -2
  30. package/dist-es/commands/AssociateSoftwareTokenCommand.js +2 -2
  31. package/dist-es/commands/ChangePasswordCommand.js +2 -2
  32. package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +2 -2
  33. package/dist-es/commands/ConfirmDeviceCommand.js +2 -2
  34. package/dist-es/commands/ConfirmForgotPasswordCommand.js +2 -2
  35. package/dist-es/commands/ConfirmSignUpCommand.js +2 -2
  36. package/dist-es/commands/CreateGroupCommand.js +2 -2
  37. package/dist-es/commands/CreateIdentityProviderCommand.js +2 -2
  38. package/dist-es/commands/CreateManagedLoginBrandingCommand.js +2 -2
  39. package/dist-es/commands/CreateResourceServerCommand.js +2 -2
  40. package/dist-es/commands/CreateTermsCommand.js +2 -2
  41. package/dist-es/commands/CreateUserImportJobCommand.js +2 -2
  42. package/dist-es/commands/CreateUserPoolClientCommand.js +2 -2
  43. package/dist-es/commands/CreateUserPoolCommand.js +2 -2
  44. package/dist-es/commands/CreateUserPoolDomainCommand.js +2 -2
  45. package/dist-es/commands/DeleteGroupCommand.js +2 -2
  46. package/dist-es/commands/DeleteIdentityProviderCommand.js +2 -2
  47. package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +2 -2
  48. package/dist-es/commands/DeleteResourceServerCommand.js +2 -2
  49. package/dist-es/commands/DeleteTermsCommand.js +2 -2
  50. package/dist-es/commands/DeleteUserAttributesCommand.js +2 -2
  51. package/dist-es/commands/DeleteUserCommand.js +2 -2
  52. package/dist-es/commands/DeleteUserPoolClientCommand.js +2 -2
  53. package/dist-es/commands/DeleteUserPoolCommand.js +2 -2
  54. package/dist-es/commands/DeleteUserPoolDomainCommand.js +2 -2
  55. package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +2 -2
  56. package/dist-es/commands/DescribeIdentityProviderCommand.js +2 -2
  57. package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +2 -2
  58. package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +2 -2
  59. package/dist-es/commands/DescribeResourceServerCommand.js +2 -2
  60. package/dist-es/commands/DescribeRiskConfigurationCommand.js +2 -2
  61. package/dist-es/commands/DescribeTermsCommand.js +2 -2
  62. package/dist-es/commands/DescribeUserImportJobCommand.js +2 -2
  63. package/dist-es/commands/DescribeUserPoolClientCommand.js +2 -2
  64. package/dist-es/commands/DescribeUserPoolCommand.js +2 -2
  65. package/dist-es/commands/DescribeUserPoolDomainCommand.js +2 -2
  66. package/dist-es/commands/ForgetDeviceCommand.js +2 -2
  67. package/dist-es/commands/ForgotPasswordCommand.js +2 -2
  68. package/dist-es/commands/GetCSVHeaderCommand.js +2 -2
  69. package/dist-es/commands/GetDeviceCommand.js +2 -2
  70. package/dist-es/commands/GetGroupCommand.js +2 -2
  71. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +2 -2
  72. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +2 -2
  73. package/dist-es/commands/GetSigningCertificateCommand.js +2 -2
  74. package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +2 -2
  75. package/dist-es/commands/GetUICustomizationCommand.js +2 -2
  76. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +2 -2
  77. package/dist-es/commands/GetUserAuthFactorsCommand.js +2 -2
  78. package/dist-es/commands/GetUserCommand.js +2 -2
  79. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +2 -2
  80. package/dist-es/commands/GlobalSignOutCommand.js +2 -2
  81. package/dist-es/commands/InitiateAuthCommand.js +2 -2
  82. package/dist-es/commands/ListDevicesCommand.js +2 -2
  83. package/dist-es/commands/ListGroupsCommand.js +2 -2
  84. package/dist-es/commands/ListIdentityProvidersCommand.js +2 -2
  85. package/dist-es/commands/ListResourceServersCommand.js +2 -2
  86. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  87. package/dist-es/commands/ListTermsCommand.js +2 -2
  88. package/dist-es/commands/ListUserImportJobsCommand.js +2 -2
  89. package/dist-es/commands/ListUserPoolClientsCommand.js +2 -2
  90. package/dist-es/commands/ListUserPoolsCommand.js +2 -2
  91. package/dist-es/commands/ListUsersCommand.js +2 -2
  92. package/dist-es/commands/ListUsersInGroupCommand.js +2 -2
  93. package/dist-es/commands/ListWebAuthnCredentialsCommand.js +2 -2
  94. package/dist-es/commands/ResendConfirmationCodeCommand.js +2 -2
  95. package/dist-es/commands/RespondToAuthChallengeCommand.js +2 -2
  96. package/dist-es/commands/RevokeTokenCommand.js +2 -2
  97. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +2 -2
  98. package/dist-es/commands/SetRiskConfigurationCommand.js +2 -2
  99. package/dist-es/commands/SetUICustomizationCommand.js +2 -2
  100. package/dist-es/commands/SetUserMFAPreferenceCommand.js +2 -2
  101. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +2 -2
  102. package/dist-es/commands/SetUserSettingsCommand.js +2 -2
  103. package/dist-es/commands/SignUpCommand.js +2 -2
  104. package/dist-es/commands/StartUserImportJobCommand.js +2 -2
  105. package/dist-es/commands/StartWebAuthnRegistrationCommand.js +2 -2
  106. package/dist-es/commands/StopUserImportJobCommand.js +2 -2
  107. package/dist-es/commands/TagResourceCommand.js +2 -2
  108. package/dist-es/commands/UntagResourceCommand.js +2 -2
  109. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +2 -2
  110. package/dist-es/commands/UpdateDeviceStatusCommand.js +2 -2
  111. package/dist-es/commands/UpdateGroupCommand.js +2 -2
  112. package/dist-es/commands/UpdateIdentityProviderCommand.js +2 -2
  113. package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +2 -2
  114. package/dist-es/commands/UpdateResourceServerCommand.js +2 -2
  115. package/dist-es/commands/UpdateTermsCommand.js +2 -2
  116. package/dist-es/commands/UpdateUserAttributesCommand.js +2 -2
  117. package/dist-es/commands/UpdateUserPoolClientCommand.js +2 -2
  118. package/dist-es/commands/UpdateUserPoolCommand.js +2 -2
  119. package/dist-es/commands/UpdateUserPoolDomainCommand.js +2 -2
  120. package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
  121. package/dist-es/commands/VerifyUserAttributeCommand.js +2 -2
  122. package/dist-es/index.js +1 -0
  123. package/dist-es/runtimeConfig.shared.js +7 -6
  124. package/dist-es/schemas/schemas_0.js +1010 -934
  125. package/dist-types/CognitoIdentityProviderClient.d.ts +1 -10
  126. package/dist-types/index.d.ts +1 -0
  127. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  128. package/dist-types/runtimeConfig.d.ts +6 -2
  129. package/dist-types/runtimeConfig.native.d.ts +6 -2
  130. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  131. package/dist-types/schemas/schemas_0.d.ts +483 -549
  132. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +0 -4
  133. package/dist-types/ts3.4/index.d.ts +1 -0
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  138. package/dist-types/ts3.4/schemas/schemas_0.d.ts +482 -551
  139. package/package.json +34 -34
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -795,7 +792,6 @@ export interface ClientDefaults
795
792
  retryMode?: string | __Provider<string>;
796
793
  logger?: __Logger;
797
794
  extensions?: RuntimeExtension[];
798
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
799
795
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
800
796
  }
801
797
  export type CognitoIdentityProviderClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { CognitoIdentityProviderExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  userAgentAppId?:
49
53
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsJson1_1Protocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<string>;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoAuthSigner } from "@smithy/core";
3
4
  import { IdentityProviderConfig } from "@smithy/types";
4
5
  import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderClient";
@@ -44,10 +45,14 @@ export declare const getRuntimeConfig: (
44
45
  }
45
46
  )[];
46
47
  logger: import("@smithy/types").Logger;
47
- protocol: import("@smithy/types").ClientProtocol<
48
- import("@smithy/types").HttpRequest,
49
- import("@smithy/types").HttpResponse
50
- >;
48
+ protocol:
49
+ | import("@smithy/types").ClientProtocol<any, any>
50
+ | import("@smithy/types").ClientProtocolCtor<any, any>
51
+ | typeof AwsJson1_1Protocol;
52
+ protocolSettings: {
53
+ [setting: string]: unknown;
54
+ defaultNamespace?: string;
55
+ };
51
56
  serviceId: string;
52
57
  urlParser: import("@smithy/types").UrlParser;
53
58
  utf8Decoder: import("@smithy/types").Decoder;