@aws-sdk/client-cognito-identity-provider 3.926.0 → 3.928.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 (146) hide show
  1. package/dist-cjs/index.js +4672 -5155
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CognitoIdentityProviderClient.js +2 -0
  4. package/dist-es/commands/AddCustomAttributesCommand.js +3 -9
  5. package/dist-es/commands/AdminAddUserToGroupCommand.js +3 -10
  6. package/dist-es/commands/AdminConfirmSignUpCommand.js +3 -10
  7. package/dist-es/commands/AdminCreateUserCommand.js +3 -10
  8. package/dist-es/commands/AdminDeleteUserAttributesCommand.js +3 -10
  9. package/dist-es/commands/AdminDeleteUserCommand.js +3 -10
  10. package/dist-es/commands/AdminDisableProviderForUserCommand.js +3 -9
  11. package/dist-es/commands/AdminDisableUserCommand.js +3 -10
  12. package/dist-es/commands/AdminEnableUserCommand.js +3 -10
  13. package/dist-es/commands/AdminForgetDeviceCommand.js +3 -10
  14. package/dist-es/commands/AdminGetDeviceCommand.js +3 -10
  15. package/dist-es/commands/AdminGetUserCommand.js +3 -10
  16. package/dist-es/commands/AdminInitiateAuthCommand.js +3 -10
  17. package/dist-es/commands/AdminLinkProviderForUserCommand.js +3 -9
  18. package/dist-es/commands/AdminListDevicesCommand.js +3 -10
  19. package/dist-es/commands/AdminListGroupsForUserCommand.js +3 -10
  20. package/dist-es/commands/AdminListUserAuthEventsCommand.js +3 -10
  21. package/dist-es/commands/AdminRemoveUserFromGroupCommand.js +3 -10
  22. package/dist-es/commands/AdminResetUserPasswordCommand.js +3 -10
  23. package/dist-es/commands/AdminRespondToAuthChallengeCommand.js +3 -10
  24. package/dist-es/commands/AdminSetUserMFAPreferenceCommand.js +3 -10
  25. package/dist-es/commands/AdminSetUserPasswordCommand.js +3 -10
  26. package/dist-es/commands/AdminSetUserSettingsCommand.js +3 -10
  27. package/dist-es/commands/AdminUpdateAuthEventFeedbackCommand.js +3 -10
  28. package/dist-es/commands/AdminUpdateDeviceStatusCommand.js +3 -10
  29. package/dist-es/commands/AdminUpdateUserAttributesCommand.js +3 -10
  30. package/dist-es/commands/AdminUserGlobalSignOutCommand.js +3 -10
  31. package/dist-es/commands/AssociateSoftwareTokenCommand.js +3 -10
  32. package/dist-es/commands/ChangePasswordCommand.js +3 -10
  33. package/dist-es/commands/CompleteWebAuthnRegistrationCommand.js +3 -10
  34. package/dist-es/commands/ConfirmDeviceCommand.js +3 -10
  35. package/dist-es/commands/ConfirmForgotPasswordCommand.js +3 -10
  36. package/dist-es/commands/ConfirmSignUpCommand.js +3 -10
  37. package/dist-es/commands/CreateGroupCommand.js +3 -9
  38. package/dist-es/commands/CreateIdentityProviderCommand.js +3 -9
  39. package/dist-es/commands/CreateManagedLoginBrandingCommand.js +3 -10
  40. package/dist-es/commands/CreateResourceServerCommand.js +3 -9
  41. package/dist-es/commands/CreateTermsCommand.js +3 -10
  42. package/dist-es/commands/CreateUserImportJobCommand.js +3 -9
  43. package/dist-es/commands/CreateUserPoolClientCommand.js +3 -10
  44. package/dist-es/commands/CreateUserPoolCommand.js +3 -9
  45. package/dist-es/commands/CreateUserPoolDomainCommand.js +3 -9
  46. package/dist-es/commands/DeleteGroupCommand.js +3 -9
  47. package/dist-es/commands/DeleteIdentityProviderCommand.js +3 -9
  48. package/dist-es/commands/DeleteManagedLoginBrandingCommand.js +3 -9
  49. package/dist-es/commands/DeleteResourceServerCommand.js +3 -9
  50. package/dist-es/commands/DeleteTermsCommand.js +3 -9
  51. package/dist-es/commands/DeleteUserAttributesCommand.js +3 -10
  52. package/dist-es/commands/DeleteUserCommand.js +3 -10
  53. package/dist-es/commands/DeleteUserPoolClientCommand.js +3 -10
  54. package/dist-es/commands/DeleteUserPoolCommand.js +3 -9
  55. package/dist-es/commands/DeleteUserPoolDomainCommand.js +3 -9
  56. package/dist-es/commands/DeleteWebAuthnCredentialCommand.js +3 -10
  57. package/dist-es/commands/DescribeIdentityProviderCommand.js +3 -9
  58. package/dist-es/commands/DescribeManagedLoginBrandingByClientCommand.js +3 -10
  59. package/dist-es/commands/DescribeManagedLoginBrandingCommand.js +3 -9
  60. package/dist-es/commands/DescribeResourceServerCommand.js +3 -9
  61. package/dist-es/commands/DescribeRiskConfigurationCommand.js +3 -10
  62. package/dist-es/commands/DescribeTermsCommand.js +3 -10
  63. package/dist-es/commands/DescribeUserImportJobCommand.js +3 -9
  64. package/dist-es/commands/DescribeUserPoolClientCommand.js +3 -10
  65. package/dist-es/commands/DescribeUserPoolCommand.js +3 -9
  66. package/dist-es/commands/DescribeUserPoolDomainCommand.js +3 -9
  67. package/dist-es/commands/ForgetDeviceCommand.js +3 -10
  68. package/dist-es/commands/ForgotPasswordCommand.js +3 -10
  69. package/dist-es/commands/GetCSVHeaderCommand.js +3 -9
  70. package/dist-es/commands/GetDeviceCommand.js +3 -10
  71. package/dist-es/commands/GetGroupCommand.js +3 -9
  72. package/dist-es/commands/GetIdentityProviderByIdentifierCommand.js +3 -9
  73. package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +3 -9
  74. package/dist-es/commands/GetSigningCertificateCommand.js +3 -9
  75. package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +3 -11
  76. package/dist-es/commands/GetUICustomizationCommand.js +3 -10
  77. package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +3 -10
  78. package/dist-es/commands/GetUserAuthFactorsCommand.js +3 -10
  79. package/dist-es/commands/GetUserCommand.js +3 -10
  80. package/dist-es/commands/GetUserPoolMfaConfigCommand.js +3 -9
  81. package/dist-es/commands/GlobalSignOutCommand.js +3 -10
  82. package/dist-es/commands/InitiateAuthCommand.js +3 -10
  83. package/dist-es/commands/ListDevicesCommand.js +3 -10
  84. package/dist-es/commands/ListGroupsCommand.js +3 -9
  85. package/dist-es/commands/ListIdentityProvidersCommand.js +3 -9
  86. package/dist-es/commands/ListResourceServersCommand.js +3 -9
  87. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  88. package/dist-es/commands/ListTermsCommand.js +3 -9
  89. package/dist-es/commands/ListUserImportJobsCommand.js +3 -9
  90. package/dist-es/commands/ListUserPoolClientsCommand.js +3 -10
  91. package/dist-es/commands/ListUserPoolsCommand.js +3 -9
  92. package/dist-es/commands/ListUsersCommand.js +3 -10
  93. package/dist-es/commands/ListUsersInGroupCommand.js +3 -10
  94. package/dist-es/commands/ListWebAuthnCredentialsCommand.js +3 -10
  95. package/dist-es/commands/ResendConfirmationCodeCommand.js +3 -10
  96. package/dist-es/commands/RespondToAuthChallengeCommand.js +3 -10
  97. package/dist-es/commands/RevokeTokenCommand.js +3 -10
  98. package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +3 -9
  99. package/dist-es/commands/SetRiskConfigurationCommand.js +3 -10
  100. package/dist-es/commands/SetUICustomizationCommand.js +3 -10
  101. package/dist-es/commands/SetUserMFAPreferenceCommand.js +3 -10
  102. package/dist-es/commands/SetUserPoolMfaConfigCommand.js +3 -9
  103. package/dist-es/commands/SetUserSettingsCommand.js +3 -10
  104. package/dist-es/commands/SignUpCommand.js +3 -10
  105. package/dist-es/commands/StartUserImportJobCommand.js +3 -9
  106. package/dist-es/commands/StartWebAuthnRegistrationCommand.js +3 -10
  107. package/dist-es/commands/StopUserImportJobCommand.js +3 -9
  108. package/dist-es/commands/TagResourceCommand.js +3 -9
  109. package/dist-es/commands/UntagResourceCommand.js +3 -9
  110. package/dist-es/commands/UpdateAuthEventFeedbackCommand.js +3 -10
  111. package/dist-es/commands/UpdateDeviceStatusCommand.js +3 -10
  112. package/dist-es/commands/UpdateGroupCommand.js +3 -9
  113. package/dist-es/commands/UpdateIdentityProviderCommand.js +3 -9
  114. package/dist-es/commands/UpdateManagedLoginBrandingCommand.js +3 -9
  115. package/dist-es/commands/UpdateResourceServerCommand.js +3 -9
  116. package/dist-es/commands/UpdateTermsCommand.js +3 -10
  117. package/dist-es/commands/UpdateUserAttributesCommand.js +3 -10
  118. package/dist-es/commands/UpdateUserPoolClientCommand.js +3 -10
  119. package/dist-es/commands/UpdateUserPoolCommand.js +3 -9
  120. package/dist-es/commands/UpdateUserPoolDomainCommand.js +3 -9
  121. package/dist-es/commands/VerifySoftwareTokenCommand.js +3 -10
  122. package/dist-es/commands/VerifyUserAttributeCommand.js +3 -10
  123. package/dist-es/models/models_0.js +0 -306
  124. package/dist-es/models/models_1.js +0 -205
  125. package/dist-es/runtimeConfig.shared.js +7 -0
  126. package/dist-es/schemas/schemas_0.js +4298 -0
  127. package/dist-types/CognitoIdentityProviderClient.d.ts +10 -1
  128. package/dist-types/models/models_0.d.ts +0 -260
  129. package/dist-types/models/models_1.d.ts +0 -164
  130. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  131. package/dist-types/runtimeConfig.d.ts +1 -0
  132. package/dist-types/runtimeConfig.native.d.ts +1 -0
  133. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  134. package/dist-types/schemas/schemas_0.d.ts +549 -0
  135. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +4 -0
  136. package/dist-types/ts3.4/models/models_0.d.ts +0 -189
  137. package/dist-types/ts3.4/models/models_1.d.ts +0 -123
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  142. package/dist-types/ts3.4/schemas/schemas_0.d.ts +556 -0
  143. package/package.json +5 -5
  144. package/dist-es/protocols/Aws_json1_1.js +0 -3548
  145. package/dist-types/protocols/Aws_json1_1.d.ts +0 -1073
  146. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1433
@@ -1,6 +1,4 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
3
- import { AttributeTypeFilterSensitiveLog, AuthenticationResultTypeFilterSensitiveLog, RiskConfigurationTypeFilterSensitiveLog, TermsTypeFilterSensitiveLog, UserPoolClientTypeFilterSensitiveLog, UserTypeFilterSensitiveLog, } from "./models_0";
4
2
  export class RefreshTokenReuseException extends __BaseException {
5
3
  name = "RefreshTokenReuseException";
6
4
  $fault = "client";
@@ -69,206 +67,3 @@ export const VerifySoftwareTokenResponseType = {
69
67
  ERROR: "ERROR",
70
68
  SUCCESS: "SUCCESS",
71
69
  };
72
- export const GetTokensFromRefreshTokenResponseFilterSensitiveLog = (obj) => ({
73
- ...obj,
74
- ...(obj.AuthenticationResult && {
75
- AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
76
- }),
77
- });
78
- export const GetUICustomizationRequestFilterSensitiveLog = (obj) => ({
79
- ...obj,
80
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
81
- });
82
- export const UICustomizationTypeFilterSensitiveLog = (obj) => ({
83
- ...obj,
84
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
85
- });
86
- export const GetUICustomizationResponseFilterSensitiveLog = (obj) => ({
87
- ...obj,
88
- ...(obj.UICustomization && { UICustomization: UICustomizationTypeFilterSensitiveLog(obj.UICustomization) }),
89
- });
90
- export const GetUserRequestFilterSensitiveLog = (obj) => ({
91
- ...obj,
92
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
93
- });
94
- export const GetUserResponseFilterSensitiveLog = (obj) => ({
95
- ...obj,
96
- ...(obj.Username && { Username: SENSITIVE_STRING }),
97
- ...(obj.UserAttributes && {
98
- UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
99
- }),
100
- });
101
- export const GetUserAttributeVerificationCodeRequestFilterSensitiveLog = (obj) => ({
102
- ...obj,
103
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
104
- });
105
- export const GetUserAuthFactorsRequestFilterSensitiveLog = (obj) => ({
106
- ...obj,
107
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
108
- });
109
- export const GetUserAuthFactorsResponseFilterSensitiveLog = (obj) => ({
110
- ...obj,
111
- ...(obj.Username && { Username: SENSITIVE_STRING }),
112
- });
113
- export const GlobalSignOutRequestFilterSensitiveLog = (obj) => ({
114
- ...obj,
115
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
116
- });
117
- export const InitiateAuthRequestFilterSensitiveLog = (obj) => ({
118
- ...obj,
119
- ...(obj.AuthParameters && { AuthParameters: SENSITIVE_STRING }),
120
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
121
- ...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
122
- ...(obj.Session && { Session: SENSITIVE_STRING }),
123
- });
124
- export const InitiateAuthResponseFilterSensitiveLog = (obj) => ({
125
- ...obj,
126
- ...(obj.Session && { Session: SENSITIVE_STRING }),
127
- ...(obj.AuthenticationResult && {
128
- AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
129
- }),
130
- });
131
- export const ListDevicesRequestFilterSensitiveLog = (obj) => ({
132
- ...obj,
133
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
134
- });
135
- export const ListDevicesResponseFilterSensitiveLog = (obj) => ({
136
- ...obj,
137
- });
138
- export const UserPoolClientDescriptionFilterSensitiveLog = (obj) => ({
139
- ...obj,
140
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
141
- });
142
- export const ListUserPoolClientsResponseFilterSensitiveLog = (obj) => ({
143
- ...obj,
144
- ...(obj.UserPoolClients && {
145
- UserPoolClients: obj.UserPoolClients.map((item) => UserPoolClientDescriptionFilterSensitiveLog(item)),
146
- }),
147
- });
148
- export const ListUsersResponseFilterSensitiveLog = (obj) => ({
149
- ...obj,
150
- ...(obj.Users && { Users: obj.Users.map((item) => UserTypeFilterSensitiveLog(item)) }),
151
- });
152
- export const ListUsersInGroupResponseFilterSensitiveLog = (obj) => ({
153
- ...obj,
154
- ...(obj.Users && { Users: obj.Users.map((item) => UserTypeFilterSensitiveLog(item)) }),
155
- });
156
- export const ListWebAuthnCredentialsRequestFilterSensitiveLog = (obj) => ({
157
- ...obj,
158
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
159
- });
160
- export const ResendConfirmationCodeRequestFilterSensitiveLog = (obj) => ({
161
- ...obj,
162
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
163
- ...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
164
- ...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
165
- ...(obj.Username && { Username: SENSITIVE_STRING }),
166
- });
167
- export const RespondToAuthChallengeRequestFilterSensitiveLog = (obj) => ({
168
- ...obj,
169
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
170
- ...(obj.Session && { Session: SENSITIVE_STRING }),
171
- ...(obj.ChallengeResponses && { ChallengeResponses: SENSITIVE_STRING }),
172
- ...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
173
- });
174
- export const RespondToAuthChallengeResponseFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- ...(obj.Session && { Session: SENSITIVE_STRING }),
177
- ...(obj.AuthenticationResult && {
178
- AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult),
179
- }),
180
- });
181
- export const RevokeTokenRequestFilterSensitiveLog = (obj) => ({
182
- ...obj,
183
- ...(obj.Token && { Token: SENSITIVE_STRING }),
184
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
185
- ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
186
- });
187
- export const SetRiskConfigurationRequestFilterSensitiveLog = (obj) => ({
188
- ...obj,
189
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
190
- });
191
- export const SetRiskConfigurationResponseFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.RiskConfiguration && { RiskConfiguration: RiskConfigurationTypeFilterSensitiveLog(obj.RiskConfiguration) }),
194
- });
195
- export const SetUICustomizationRequestFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
198
- });
199
- export const SetUICustomizationResponseFilterSensitiveLog = (obj) => ({
200
- ...obj,
201
- ...(obj.UICustomization && { UICustomization: UICustomizationTypeFilterSensitiveLog(obj.UICustomization) }),
202
- });
203
- export const SetUserMFAPreferenceRequestFilterSensitiveLog = (obj) => ({
204
- ...obj,
205
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
206
- });
207
- export const SetUserSettingsRequestFilterSensitiveLog = (obj) => ({
208
- ...obj,
209
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
210
- });
211
- export const SignUpRequestFilterSensitiveLog = (obj) => ({
212
- ...obj,
213
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
214
- ...(obj.SecretHash && { SecretHash: SENSITIVE_STRING }),
215
- ...(obj.Username && { Username: SENSITIVE_STRING }),
216
- ...(obj.Password && { Password: SENSITIVE_STRING }),
217
- ...(obj.UserAttributes && {
218
- UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
219
- }),
220
- ...(obj.ValidationData && {
221
- ValidationData: obj.ValidationData.map((item) => AttributeTypeFilterSensitiveLog(item)),
222
- }),
223
- ...(obj.UserContextData && { UserContextData: SENSITIVE_STRING }),
224
- });
225
- export const SignUpResponseFilterSensitiveLog = (obj) => ({
226
- ...obj,
227
- ...(obj.Session && { Session: SENSITIVE_STRING }),
228
- });
229
- export const StartWebAuthnRegistrationRequestFilterSensitiveLog = (obj) => ({
230
- ...obj,
231
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
232
- });
233
- export const UpdateAuthEventFeedbackRequestFilterSensitiveLog = (obj) => ({
234
- ...obj,
235
- ...(obj.Username && { Username: SENSITIVE_STRING }),
236
- ...(obj.FeedbackToken && { FeedbackToken: SENSITIVE_STRING }),
237
- });
238
- export const UpdateDeviceStatusRequestFilterSensitiveLog = (obj) => ({
239
- ...obj,
240
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
241
- });
242
- export const UpdateTermsResponseFilterSensitiveLog = (obj) => ({
243
- ...obj,
244
- ...(obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }),
245
- });
246
- export const UpdateUserAttributesRequestFilterSensitiveLog = (obj) => ({
247
- ...obj,
248
- ...(obj.UserAttributes && {
249
- UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item)),
250
- }),
251
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
252
- });
253
- export const UpdateUserPoolClientRequestFilterSensitiveLog = (obj) => ({
254
- ...obj,
255
- ...(obj.ClientId && { ClientId: SENSITIVE_STRING }),
256
- });
257
- export const UpdateUserPoolClientResponseFilterSensitiveLog = (obj) => ({
258
- ...obj,
259
- ...(obj.UserPoolClient && { UserPoolClient: UserPoolClientTypeFilterSensitiveLog(obj.UserPoolClient) }),
260
- });
261
- export const VerifySoftwareTokenRequestFilterSensitiveLog = (obj) => ({
262
- ...obj,
263
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
264
- ...(obj.Session && { Session: SENSITIVE_STRING }),
265
- ...(obj.UserCode && { UserCode: SENSITIVE_STRING }),
266
- });
267
- export const VerifySoftwareTokenResponseFilterSensitiveLog = (obj) => ({
268
- ...obj,
269
- ...(obj.Session && { Session: SENSITIVE_STRING }),
270
- });
271
- export const VerifyUserAttributeRequestFilterSensitiveLog = (obj) => ({
272
- ...obj,
273
- ...(obj.AccessToken && { AccessToken: SENSITIVE_STRING }),
274
- });
@@ -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 { NoOpLogger } from "@smithy/smithy-client";
4
5
  import { parseUrl } from "@smithy/url-parser";
@@ -28,6 +29,12 @@ export const getRuntimeConfig = (config) => {
28
29
  },
29
30
  ],
30
31
  logger: config?.logger ?? new NoOpLogger(),
32
+ protocol: config?.protocol ??
33
+ new AwsJson1_1Protocol({
34
+ defaultNamespace: "com.amazonaws.cognitoidentityprovider",
35
+ serviceTarget: "AWSCognitoIdentityProviderService",
36
+ awsQueryCompatible: false,
37
+ }),
31
38
  serviceId: config?.serviceId ?? "Cognito Identity Provider",
32
39
  urlParser: config?.urlParser ?? parseUrl,
33
40
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,