@aws-sdk/client-cognito-identity-provider 3.998.0 → 3.1000.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 (46) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +42 -0
  3. package/dist-cjs/models/errors.js +41 -15
  4. package/dist-cjs/schemas/schemas_0.js +96 -18
  5. package/dist-es/CognitoIdentityProvider.js +6 -0
  6. package/dist-es/commands/AddUserPoolClientSecretCommand.js +16 -0
  7. package/dist-es/commands/DeleteUserPoolClientSecretCommand.js +16 -0
  8. package/dist-es/commands/ListUserPoolClientSecretsCommand.js +16 -0
  9. package/dist-es/commands/index.js +3 -0
  10. package/dist-es/models/errors.js +36 -12
  11. package/dist-es/schemas/schemas_0.js +87 -9
  12. package/dist-types/CognitoIdentityProvider.d.ts +21 -0
  13. package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
  14. package/dist-types/commands/AddUserPoolClientSecretCommand.d.ts +102 -0
  15. package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +3 -0
  16. package/dist-types/commands/CreateUserPoolClientCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteUserPoolClientSecretCommand.d.ts +93 -0
  18. package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +3 -0
  19. package/dist-types/commands/ListUserPoolClientSecretsCommand.d.ts +102 -0
  20. package/dist-types/commands/ListUsersCommand.d.ts +3 -0
  21. package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +3 -0
  22. package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +3 -0
  23. package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
  24. package/dist-types/commands/UpdateTermsCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -2
  27. package/dist-types/commands/index.d.ts +3 -0
  28. package/dist-types/models/errors.d.ts +37 -13
  29. package/dist-types/models/models_0.d.ts +313 -533
  30. package/dist-types/models/models_1.d.ts +313 -2
  31. package/dist-types/schemas/schemas_0.d.ts +12 -0
  32. package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +51 -0
  33. package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +18 -0
  34. package/dist-types/ts3.4/commands/AddUserPoolClientSecretCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/DeleteUserPoolClientSecretCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/ListUserPoolClientSecretsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -4
  38. package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  42. package/dist-types/ts3.4/models/errors.d.ts +21 -7
  43. package/dist-types/ts3.4/models/models_0.d.ts +29 -46
  44. package/dist-types/ts3.4/models/models_1.d.ts +66 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  46. package/package.json +12 -12
@@ -1,5 +1,316 @@
1
- import { ExplicitAuthFlowsType, OAuthFlowType, PreventUserExistenceErrorTypes, VerifySoftwareTokenResponseType } from "./enums";
2
- import type { AnalyticsConfigurationType, CustomDomainConfigType, RefreshTokenRotationType, TokenValidityUnitsType, UserPoolClientType } from "./models_0";
1
+ import { DeletionProtectionType, ExplicitAuthFlowsType, OAuthFlowType, PreventUserExistenceErrorTypes, TermsEnforcementType, TermsSourceType, UserPoolMfaType, UserPoolTierType, VerifiedAttributeType, VerifySoftwareTokenResponseType } from "./enums";
2
+ import { type AccountRecoverySettingType, type AdminCreateUserConfigType, type AnalyticsConfigurationType, type CustomDomainConfigType, type DeviceConfigurationType, type EmailConfigurationType, type LambdaConfigType, type RefreshTokenRotationType, type ResourceServerType, type SmsConfigurationType, type TermsType, type TokenValidityUnitsType, type UserAttributeUpdateSettingsType, type UserPoolAddOnsType, type UserPoolClientType, type UserPoolPolicyType, type VerificationMessageTemplateType, AttributeType, CodeDeliveryDetailsType } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface UpdateResourceServerResponse {
7
+ /**
8
+ * <p>The updated details of the requested resource server.</p>
9
+ * @public
10
+ */
11
+ ResourceServer: ResourceServerType | undefined;
12
+ }
13
+ /**
14
+ * @public
15
+ */
16
+ export interface UpdateTermsRequest {
17
+ /**
18
+ * <p>The ID of the terms document that you want to update.</p>
19
+ * @public
20
+ */
21
+ TermsId: string | undefined;
22
+ /**
23
+ * <p>The ID of the user pool that contains the terms that you want to update.</p>
24
+ * @public
25
+ */
26
+ UserPoolId: string | undefined;
27
+ /**
28
+ * <p>The new name that you want to apply to the requested terms documents.</p>
29
+ * @public
30
+ */
31
+ TermsName?: string | undefined;
32
+ /**
33
+ * <p>This parameter is reserved for future use and currently accepts only one value.</p>
34
+ * @public
35
+ */
36
+ TermsSource?: TermsSourceType | undefined;
37
+ /**
38
+ * <p>This parameter is reserved for future use and currently accepts only one value.</p>
39
+ * @public
40
+ */
41
+ Enforcement?: TermsEnforcementType | undefined;
42
+ /**
43
+ * <p>A map of URLs to languages. For each localized language that will view the requested
44
+ * <code>TermsName</code>, assign a URL. A selection of <code>cognito:default</code>
45
+ * displays for all languages that don't have a language-specific URL.</p>
46
+ * <p>For example, <code>"cognito:default": "https://terms.example.com", "cognito:spanish":
47
+ * "https://terms.example.com/es"</code>.</p>
48
+ * @public
49
+ */
50
+ Links?: Record<string, string> | undefined;
51
+ }
52
+ /**
53
+ * @public
54
+ */
55
+ export interface UpdateTermsResponse {
56
+ /**
57
+ * <p>A summary of the updates to your terms documents.</p>
58
+ * @public
59
+ */
60
+ Terms?: TermsType | undefined;
61
+ }
62
+ /**
63
+ * <p>Represents the request to update user attributes.</p>
64
+ * @public
65
+ */
66
+ export interface UpdateUserAttributesRequest {
67
+ /**
68
+ * <p>An array of name-value pairs representing user attributes.</p>
69
+ * <p>For custom attributes, you must add a <code>custom:</code> prefix to the attribute
70
+ * name.</p>
71
+ * <p>If you have set an attribute to require verification before Amazon Cognito updates its value,
72
+ * this request doesn’t immediately update the value of that attribute. After your user
73
+ * receives and responds to a verification message to verify the new value, Amazon Cognito updates
74
+ * the attribute value. Your user can sign in and receive messages with the original
75
+ * attribute value until they verify the new value.</p>
76
+ * @public
77
+ */
78
+ UserAttributes: AttributeType[] | undefined;
79
+ /**
80
+ * <p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for
81
+ * <code>aws.cognito.signin.user.admin</code>.</p>
82
+ * @public
83
+ */
84
+ AccessToken: string | undefined;
85
+ /**
86
+ * <p>A map of custom key-value pairs that you can provide as input for any custom workflows
87
+ * that this action triggers. You create custom workflows by assigning Lambda functions
88
+ * to user pool triggers.</p>
89
+ * <p>When Amazon Cognito invokes any of these functions, it passes a JSON payload, which the
90
+ * function receives as input. This payload contains a <code>clientMetadata</code>
91
+ * attribute that provides the data that you assigned to the ClientMetadata parameter in
92
+ * your request. In your function code, you can process the <code>clientMetadata</code>
93
+ * value to enhance your workflow for your specific needs.</p>
94
+ * <p>To review the Lambda trigger types that Amazon Cognito invokes at runtime with API requests, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-working-with-lambda-triggers.html#lambda-triggers-by-event">
95
+ * Connecting API actions to Lambda triggers</a> in the <i>Amazon Cognito Developer Guide</i>.</p>
96
+ * <note>
97
+ * <p>When you use the <code>ClientMetadata</code> parameter, note that Amazon Cognito won't do the
98
+ * following:</p>
99
+ * <ul>
100
+ * <li>
101
+ * <p>Store the <code>ClientMetadata</code> value. This data is available only
102
+ * to Lambda triggers that are assigned to a user pool to support custom
103
+ * workflows. If your user pool configuration doesn't include triggers, the
104
+ * <code>ClientMetadata</code> parameter serves no purpose.</p>
105
+ * </li>
106
+ * <li>
107
+ * <p>Validate the <code>ClientMetadata</code> value.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>Encrypt the <code>ClientMetadata</code> value. Don't send sensitive
111
+ * information in this parameter.</p>
112
+ * </li>
113
+ * </ul>
114
+ * </note>
115
+ * @public
116
+ */
117
+ ClientMetadata?: Record<string, string> | undefined;
118
+ }
119
+ /**
120
+ * <p>Represents the response from the server for the request to update user
121
+ * attributes.</p>
122
+ * @public
123
+ */
124
+ export interface UpdateUserAttributesResponse {
125
+ /**
126
+ * <p>When the attribute-update request includes an email address or phone number attribute,
127
+ * Amazon Cognito sends a message to users with a code that confirms ownership of the new value that
128
+ * they entered. The <code>CodeDeliveryDetails</code> object is information about the
129
+ * delivery destination for that link or code. This behavior happens in user pools
130
+ * configured to automatically verify changes to those attributes. For more information,
131
+ * see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#verifying-when-users-change-their-email-or-phone-number">Verifying when users change their email or phone
132
+ * number</a>.</p>
133
+ * @public
134
+ */
135
+ CodeDeliveryDetailsList?: CodeDeliveryDetailsType[] | undefined;
136
+ }
137
+ /**
138
+ * <p>Represents the request to update the user pool.</p>
139
+ * @public
140
+ */
141
+ export interface UpdateUserPoolRequest {
142
+ /**
143
+ * <p>The ID of the user pool you want to update.</p>
144
+ * @public
145
+ */
146
+ UserPoolId: string | undefined;
147
+ /**
148
+ * <p>The password policy and sign-in policy in the user pool. The password policy sets
149
+ * options like password complexity requirements and password history. The sign-in policy
150
+ * sets the options available to applications in <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flows-selection-sdk.html#authentication-flows-selection-choice">choice-based authentication</a>.</p>
151
+ * @public
152
+ */
153
+ Policies?: UserPoolPolicyType | undefined;
154
+ /**
155
+ * <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
156
+ * pool. Before you can delete a user pool that you have protected against deletion, you
157
+ * must deactivate this feature.</p>
158
+ * <p>When you try to delete a protected user pool in a <code>DeleteUserPool</code> API request,
159
+ * Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
160
+ * send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
161
+ * <code>UpdateUserPool</code> API request.</p>
162
+ * @public
163
+ */
164
+ DeletionProtection?: DeletionProtectionType | undefined;
165
+ /**
166
+ * <p>A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible
167
+ * stages of authentication operations. Triggers can modify the outcome of the operations
168
+ * that invoked them.</p>
169
+ * @public
170
+ */
171
+ LambdaConfig?: LambdaConfigType | undefined;
172
+ /**
173
+ * <p>The attributes that you want your user pool to automatically verify. Possible values:
174
+ * <b>email</b>, <b>phone_number</b>. For more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#allowing-users-to-sign-up-and-confirm-themselves">Verifying contact information at sign-up</a>.</p>
175
+ * @public
176
+ */
177
+ AutoVerifiedAttributes?: VerifiedAttributeType[] | undefined;
178
+ /**
179
+ * <p>This parameter is no longer used.</p>
180
+ * @public
181
+ */
182
+ SmsVerificationMessage?: string | undefined;
183
+ /**
184
+ * <p>This parameter is no longer used.</p>
185
+ * @public
186
+ */
187
+ EmailVerificationMessage?: string | undefined;
188
+ /**
189
+ * <p>This parameter is no longer used.</p>
190
+ * @public
191
+ */
192
+ EmailVerificationSubject?: string | undefined;
193
+ /**
194
+ * <p>The template for the verification message that your user pool delivers to users who
195
+ * set an email address or phone number attribute.</p>
196
+ * <p>Set the email message type that corresponds to your <code>DefaultEmailOption</code>
197
+ * selection. For <code>CONFIRM_WITH_LINK</code>, specify an
198
+ * <code>EmailMessageByLink</code> and leave <code>EmailMessage</code> blank. For
199
+ * <code>CONFIRM_WITH_CODE</code>, specify an <code>EmailMessage</code> and leave
200
+ * <code>EmailMessageByLink</code> blank. When you supply both parameters with either
201
+ * choice, Amazon Cognito returns an error.</p>
202
+ * @public
203
+ */
204
+ VerificationMessageTemplate?: VerificationMessageTemplateType | undefined;
205
+ /**
206
+ * <p>The contents of the SMS message that your user pool sends to users in SMS
207
+ * authentication.</p>
208
+ * @public
209
+ */
210
+ SmsAuthenticationMessage?: string | undefined;
211
+ /**
212
+ * <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
213
+ * a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
214
+ * more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
215
+ * Verifying updates to email addresses and phone numbers</a>.</p>
216
+ * @public
217
+ */
218
+ UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType | undefined;
219
+ /**
220
+ * <p>Sets multi-factor authentication (MFA) to be on, off, or optional. When
221
+ * <code>ON</code>, all users must set up MFA before they can sign in. When
222
+ * <code>OPTIONAL</code>, your application must make a client-side determination of
223
+ * whether a user wants to register an MFA device. For user pools with adaptive
224
+ * authentication with threat protection, choose <code>OPTIONAL</code>.</p>
225
+ * <p>When <code>MfaConfiguration</code> is <code>OPTIONAL</code>, managed login
226
+ * doesn't automatically prompt users to set up MFA. Amazon Cognito generates MFA prompts in
227
+ * API responses and in managed login for users who have chosen and configured a preferred
228
+ * MFA factor.</p>
229
+ * @public
230
+ */
231
+ MfaConfiguration?: UserPoolMfaType | undefined;
232
+ /**
233
+ * <p>The device-remembering configuration for a user pool. Device remembering or device
234
+ * tracking is a "Remember me on this device" option for user pools that perform
235
+ * authentication with the device key of a trusted device in the back end, instead of a
236
+ * user-provided MFA code. For more information about device authentication, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with user devices in your user pool</a>. A null value indicates that
237
+ * you have deactivated device remembering in your user pool.</p>
238
+ * <note>
239
+ * <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
240
+ * activate the Amazon Cognito device-remembering feature. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-device-tracking.html">Working with devices</a>.</p>
241
+ * </note>
242
+ * @public
243
+ */
244
+ DeviceConfiguration?: DeviceConfigurationType | undefined;
245
+ /**
246
+ * <p>The email configuration of your user pool. The email configuration type sets your
247
+ * preferred sending method, Amazon Web Services Region, and sender for email invitation and verification
248
+ * messages from your user pool.</p>
249
+ * @public
250
+ */
251
+ EmailConfiguration?: EmailConfigurationType | undefined;
252
+ /**
253
+ * <p>The SMS configuration with the settings for your Amazon Cognito user pool to send SMS message
254
+ * with Amazon Simple Notification Service. To send SMS messages with Amazon SNS in the Amazon Web Services Region that you want, the
255
+ * Amazon Cognito user pool uses an Identity and Access Management (IAM) role in your Amazon Web Services account. For
256
+ * more information see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html">SMS message settings</a>.</p>
257
+ * @public
258
+ */
259
+ SmsConfiguration?: SmsConfigurationType | undefined;
260
+ /**
261
+ * <p>The tag keys and values to assign to the user pool. A tag is a label that you can use
262
+ * to categorize and manage user pools in different ways, such as by purpose, owner,
263
+ * environment, or other criteria.</p>
264
+ * @public
265
+ */
266
+ UserPoolTags?: Record<string, string> | undefined;
267
+ /**
268
+ * <p>The configuration for administrative creation of users. Includes the template for the
269
+ * invitation message for new users, the duration of temporary passwords, and permitting
270
+ * self-service sign-up.</p>
271
+ * @public
272
+ */
273
+ AdminCreateUserConfig?: AdminCreateUserConfigType | undefined;
274
+ /**
275
+ * <p>Contains settings for activation of threat protection, including the operating
276
+ * mode and additional authentication types. To log user security information but take
277
+ * no action, set to <code>AUDIT</code>. To configure automatic security responses to
278
+ * potentially unwanted traffic to your user pool, set to <code>ENFORCED</code>.</p>
279
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html">Adding advanced security to a user pool</a>. To activate this setting, your user pool must be on the <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/feature-plans-features-plus.html">
280
+ * Plus tier</a>.</p>
281
+ * @public
282
+ */
283
+ UserPoolAddOns?: UserPoolAddOnsType | undefined;
284
+ /**
285
+ * <p>The available verified method a user can use to recover their password when they call
286
+ * <code>ForgotPassword</code>. You can use this setting to define a preferred method
287
+ * when a user has more than one method available. With this setting, SMS doesn't qualify
288
+ * for a valid password recovery mechanism if the user also has SMS multi-factor
289
+ * authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy
290
+ * behavior to determine the recovery method where SMS is preferred through email.</p>
291
+ * @public
292
+ */
293
+ AccountRecoverySetting?: AccountRecoverySettingType | undefined;
294
+ /**
295
+ * <p>The updated name of your user pool.</p>
296
+ * @public
297
+ */
298
+ PoolName?: string | undefined;
299
+ /**
300
+ * <p>The user pool <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sign-in-feature-plans.html">feature plan</a>, or tier. This parameter determines the
301
+ * eligibility of the user pool for features like managed login, access-token
302
+ * customization, and threat protection. Defaults to <code>ESSENTIALS</code>.</p>
303
+ * @public
304
+ */
305
+ UserPoolTier?: UserPoolTierType | undefined;
306
+ }
307
+ /**
308
+ * <p>Represents the response from the server when you make a request to update the user
309
+ * pool.</p>
310
+ * @public
311
+ */
312
+ export interface UpdateUserPoolResponse {
313
+ }
3
314
  /**
4
315
  * <p>Represents the request to update the user pool client.</p>
5
316
  * @public
@@ -1,6 +1,7 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
3
  export declare var CognitoIdentityProviderServiceException$: StaticErrorSchema;
4
+ export declare var AccessDeniedException$: StaticErrorSchema;
4
5
  export declare var AliasExistsException$: StaticErrorSchema;
5
6
  export declare var CodeDeliveryFailureException$: StaticErrorSchema;
6
7
  export declare var CodeMismatchException$: StaticErrorSchema;
@@ -13,6 +14,7 @@ export declare var FeatureUnavailableInTierException$: StaticErrorSchema;
13
14
  export declare var ForbiddenException$: StaticErrorSchema;
14
15
  export declare var GroupExistsException$: StaticErrorSchema;
15
16
  export declare var InternalErrorException$: StaticErrorSchema;
17
+ export declare var InternalServerException$: StaticErrorSchema;
16
18
  export declare var InvalidEmailRoleAccessPolicyException$: StaticErrorSchema;
17
19
  export declare var InvalidLambdaResponseException$: StaticErrorSchema;
18
20
  export declare var InvalidOAuthFlowException$: StaticErrorSchema;
@@ -68,6 +70,8 @@ export declare var AccountTakeoverActionType$: StaticStructureSchema;
68
70
  export declare var AccountTakeoverRiskConfigurationType$: StaticStructureSchema;
69
71
  export declare var AddCustomAttributesRequest$: StaticStructureSchema;
70
72
  export declare var AddCustomAttributesResponse$: StaticStructureSchema;
73
+ export declare var AddUserPoolClientSecretRequest$: StaticStructureSchema;
74
+ export declare var AddUserPoolClientSecretResponse$: StaticStructureSchema;
71
75
  export declare var AdminAddUserToGroupRequest$: StaticStructureSchema;
72
76
  export declare var AdminConfirmSignUpRequest$: StaticStructureSchema;
73
77
  export declare var AdminConfirmSignUpResponse$: StaticStructureSchema;
@@ -129,6 +133,7 @@ export declare var AuthEventType$: StaticStructureSchema;
129
133
  export declare var ChallengeResponseType$: StaticStructureSchema;
130
134
  export declare var ChangePasswordRequest$: StaticStructureSchema;
131
135
  export declare var ChangePasswordResponse$: StaticStructureSchema;
136
+ export declare var ClientSecretDescriptorType$: StaticStructureSchema;
132
137
  export declare var CloudWatchLogsConfigurationType$: StaticStructureSchema;
133
138
  export declare var CodeDeliveryDetailsType$: StaticStructureSchema;
134
139
  export declare var CompleteWebAuthnRegistrationRequest$: StaticStructureSchema;
@@ -171,6 +176,8 @@ export declare var DeleteTermsRequest$: StaticStructureSchema;
171
176
  export declare var DeleteUserAttributesRequest$: StaticStructureSchema;
172
177
  export declare var DeleteUserAttributesResponse$: StaticStructureSchema;
173
178
  export declare var DeleteUserPoolClientRequest$: StaticStructureSchema;
179
+ export declare var DeleteUserPoolClientSecretRequest$: StaticStructureSchema;
180
+ export declare var DeleteUserPoolClientSecretResponse$: StaticStructureSchema;
174
181
  export declare var DeleteUserPoolDomainRequest$: StaticStructureSchema;
175
182
  export declare var DeleteUserPoolDomainResponse$: StaticStructureSchema;
176
183
  export declare var DeleteUserPoolRequest$: StaticStructureSchema;
@@ -258,6 +265,8 @@ export declare var ListTermsRequest$: StaticStructureSchema;
258
265
  export declare var ListTermsResponse$: StaticStructureSchema;
259
266
  export declare var ListUserImportJobsRequest$: StaticStructureSchema;
260
267
  export declare var ListUserImportJobsResponse$: StaticStructureSchema;
268
+ export declare var ListUserPoolClientSecretsRequest$: StaticStructureSchema;
269
+ export declare var ListUserPoolClientSecretsResponse$: StaticStructureSchema;
261
270
  export declare var ListUserPoolClientsRequest$: StaticStructureSchema;
262
271
  export declare var ListUserPoolClientsResponse$: StaticStructureSchema;
263
272
  export declare var ListUserPoolsRequest$: StaticStructureSchema;
@@ -371,6 +380,7 @@ export declare var VerifyUserAttributeResponse$: StaticStructureSchema;
371
380
  export declare var WebAuthnConfigurationType$: StaticStructureSchema;
372
381
  export declare var WebAuthnCredentialDescription$: StaticStructureSchema;
373
382
  export declare var AddCustomAttributes$: StaticOperationSchema;
383
+ export declare var AddUserPoolClientSecret$: StaticOperationSchema;
374
384
  export declare var AdminAddUserToGroup$: StaticOperationSchema;
375
385
  export declare var AdminConfirmSignUp$: StaticOperationSchema;
376
386
  export declare var AdminCreateUser$: StaticOperationSchema;
@@ -421,6 +431,7 @@ export declare var DeleteUser$: StaticOperationSchema;
421
431
  export declare var DeleteUserAttributes$: StaticOperationSchema;
422
432
  export declare var DeleteUserPool$: StaticOperationSchema;
423
433
  export declare var DeleteUserPoolClient$: StaticOperationSchema;
434
+ export declare var DeleteUserPoolClientSecret$: StaticOperationSchema;
424
435
  export declare var DeleteUserPoolDomain$: StaticOperationSchema;
425
436
  export declare var DeleteWebAuthnCredential$: StaticOperationSchema;
426
437
  export declare var DescribeIdentityProvider$: StaticOperationSchema;
@@ -457,6 +468,7 @@ export declare var ListTagsForResource$: StaticOperationSchema;
457
468
  export declare var ListTerms$: StaticOperationSchema;
458
469
  export declare var ListUserImportJobs$: StaticOperationSchema;
459
470
  export declare var ListUserPoolClients$: StaticOperationSchema;
471
+ export declare var ListUserPoolClientSecrets$: StaticOperationSchema;
460
472
  export declare var ListUserPools$: StaticOperationSchema;
461
473
  export declare var ListUsers$: StaticOperationSchema;
462
474
  export declare var ListUsersInGroup$: StaticOperationSchema;
@@ -8,6 +8,10 @@ import {
8
8
  AddCustomAttributesCommandInput,
9
9
  AddCustomAttributesCommandOutput,
10
10
  } from "./commands/AddCustomAttributesCommand";
11
+ import {
12
+ AddUserPoolClientSecretCommandInput,
13
+ AddUserPoolClientSecretCommandOutput,
14
+ } from "./commands/AddUserPoolClientSecretCommand";
11
15
  import {
12
16
  AdminAddUserToGroupCommandInput,
13
17
  AdminAddUserToGroupCommandOutput,
@@ -204,6 +208,10 @@ import {
204
208
  DeleteUserPoolClientCommandInput,
205
209
  DeleteUserPoolClientCommandOutput,
206
210
  } from "./commands/DeleteUserPoolClientCommand";
211
+ import {
212
+ DeleteUserPoolClientSecretCommandInput,
213
+ DeleteUserPoolClientSecretCommandOutput,
214
+ } from "./commands/DeleteUserPoolClientSecretCommand";
207
215
  import {
208
216
  DeleteUserPoolCommandInput,
209
217
  DeleteUserPoolCommandOutput,
@@ -352,6 +360,10 @@ import {
352
360
  ListUserPoolClientsCommandInput,
353
361
  ListUserPoolClientsCommandOutput,
354
362
  } from "./commands/ListUserPoolClientsCommand";
363
+ import {
364
+ ListUserPoolClientSecretsCommandInput,
365
+ ListUserPoolClientSecretsCommandOutput,
366
+ } from "./commands/ListUserPoolClientSecretsCommand";
355
367
  import {
356
368
  ListUserPoolsCommandInput,
357
369
  ListUserPoolsCommandOutput,
@@ -494,6 +506,19 @@ export interface CognitoIdentityProvider {
494
506
  options: __HttpHandlerOptions,
495
507
  cb: (err: any, data?: AddCustomAttributesCommandOutput) => void
496
508
  ): void;
509
+ addUserPoolClientSecret(
510
+ args: AddUserPoolClientSecretCommandInput,
511
+ options?: __HttpHandlerOptions
512
+ ): Promise<AddUserPoolClientSecretCommandOutput>;
513
+ addUserPoolClientSecret(
514
+ args: AddUserPoolClientSecretCommandInput,
515
+ cb: (err: any, data?: AddUserPoolClientSecretCommandOutput) => void
516
+ ): void;
517
+ addUserPoolClientSecret(
518
+ args: AddUserPoolClientSecretCommandInput,
519
+ options: __HttpHandlerOptions,
520
+ cb: (err: any, data?: AddUserPoolClientSecretCommandOutput) => void
521
+ ): void;
497
522
  adminAddUserToGroup(
498
523
  args: AdminAddUserToGroupCommandInput,
499
524
  options?: __HttpHandlerOptions
@@ -1145,6 +1170,19 @@ export interface CognitoIdentityProvider {
1145
1170
  options: __HttpHandlerOptions,
1146
1171
  cb: (err: any, data?: DeleteUserPoolClientCommandOutput) => void
1147
1172
  ): void;
1173
+ deleteUserPoolClientSecret(
1174
+ args: DeleteUserPoolClientSecretCommandInput,
1175
+ options?: __HttpHandlerOptions
1176
+ ): Promise<DeleteUserPoolClientSecretCommandOutput>;
1177
+ deleteUserPoolClientSecret(
1178
+ args: DeleteUserPoolClientSecretCommandInput,
1179
+ cb: (err: any, data?: DeleteUserPoolClientSecretCommandOutput) => void
1180
+ ): void;
1181
+ deleteUserPoolClientSecret(
1182
+ args: DeleteUserPoolClientSecretCommandInput,
1183
+ options: __HttpHandlerOptions,
1184
+ cb: (err: any, data?: DeleteUserPoolClientSecretCommandOutput) => void
1185
+ ): void;
1148
1186
  deleteUserPoolDomain(
1149
1187
  args: DeleteUserPoolDomainCommandInput,
1150
1188
  options?: __HttpHandlerOptions
@@ -1619,6 +1657,19 @@ export interface CognitoIdentityProvider {
1619
1657
  options: __HttpHandlerOptions,
1620
1658
  cb: (err: any, data?: ListUserPoolClientsCommandOutput) => void
1621
1659
  ): void;
1660
+ listUserPoolClientSecrets(
1661
+ args: ListUserPoolClientSecretsCommandInput,
1662
+ options?: __HttpHandlerOptions
1663
+ ): Promise<ListUserPoolClientSecretsCommandOutput>;
1664
+ listUserPoolClientSecrets(
1665
+ args: ListUserPoolClientSecretsCommandInput,
1666
+ cb: (err: any, data?: ListUserPoolClientSecretsCommandOutput) => void
1667
+ ): void;
1668
+ listUserPoolClientSecrets(
1669
+ args: ListUserPoolClientSecretsCommandInput,
1670
+ options: __HttpHandlerOptions,
1671
+ cb: (err: any, data?: ListUserPoolClientSecretsCommandOutput) => void
1672
+ ): void;
1622
1673
  listUserPools(
1623
1674
  args: ListUserPoolsCommandInput,
1624
1675
  options?: __HttpHandlerOptions
@@ -49,6 +49,10 @@ import {
49
49
  AddCustomAttributesCommandInput,
50
50
  AddCustomAttributesCommandOutput,
51
51
  } from "./commands/AddCustomAttributesCommand";
52
+ import {
53
+ AddUserPoolClientSecretCommandInput,
54
+ AddUserPoolClientSecretCommandOutput,
55
+ } from "./commands/AddUserPoolClientSecretCommand";
52
56
  import {
53
57
  AdminAddUserToGroupCommandInput,
54
58
  AdminAddUserToGroupCommandOutput,
@@ -245,6 +249,10 @@ import {
245
249
  DeleteUserPoolClientCommandInput,
246
250
  DeleteUserPoolClientCommandOutput,
247
251
  } from "./commands/DeleteUserPoolClientCommand";
252
+ import {
253
+ DeleteUserPoolClientSecretCommandInput,
254
+ DeleteUserPoolClientSecretCommandOutput,
255
+ } from "./commands/DeleteUserPoolClientSecretCommand";
248
256
  import {
249
257
  DeleteUserPoolCommandInput,
250
258
  DeleteUserPoolCommandOutput,
@@ -393,6 +401,10 @@ import {
393
401
  ListUserPoolClientsCommandInput,
394
402
  ListUserPoolClientsCommandOutput,
395
403
  } from "./commands/ListUserPoolClientsCommand";
404
+ import {
405
+ ListUserPoolClientSecretsCommandInput,
406
+ ListUserPoolClientSecretsCommandOutput,
407
+ } from "./commands/ListUserPoolClientSecretsCommand";
396
408
  import {
397
409
  ListUserPoolsCommandInput,
398
410
  ListUserPoolsCommandOutput,
@@ -530,6 +542,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
530
542
  export { __Client };
531
543
  export type ServiceInputTypes =
532
544
  | AddCustomAttributesCommandInput
545
+ | AddUserPoolClientSecretCommandInput
533
546
  | AdminAddUserToGroupCommandInput
534
547
  | AdminConfirmSignUpCommandInput
535
548
  | AdminCreateUserCommandInput
@@ -579,6 +592,7 @@ export type ServiceInputTypes =
579
592
  | DeleteUserAttributesCommandInput
580
593
  | DeleteUserCommandInput
581
594
  | DeleteUserPoolClientCommandInput
595
+ | DeleteUserPoolClientSecretCommandInput
582
596
  | DeleteUserPoolCommandInput
583
597
  | DeleteUserPoolDomainCommandInput
584
598
  | DeleteWebAuthnCredentialCommandInput
@@ -615,6 +629,7 @@ export type ServiceInputTypes =
615
629
  | ListTagsForResourceCommandInput
616
630
  | ListTermsCommandInput
617
631
  | ListUserImportJobsCommandInput
632
+ | ListUserPoolClientSecretsCommandInput
618
633
  | ListUserPoolClientsCommandInput
619
634
  | ListUserPoolsCommandInput
620
635
  | ListUsersCommandInput
@@ -650,6 +665,7 @@ export type ServiceInputTypes =
650
665
  | VerifyUserAttributeCommandInput;
651
666
  export type ServiceOutputTypes =
652
667
  | AddCustomAttributesCommandOutput
668
+ | AddUserPoolClientSecretCommandOutput
653
669
  | AdminAddUserToGroupCommandOutput
654
670
  | AdminConfirmSignUpCommandOutput
655
671
  | AdminCreateUserCommandOutput
@@ -699,6 +715,7 @@ export type ServiceOutputTypes =
699
715
  | DeleteUserAttributesCommandOutput
700
716
  | DeleteUserCommandOutput
701
717
  | DeleteUserPoolClientCommandOutput
718
+ | DeleteUserPoolClientSecretCommandOutput
702
719
  | DeleteUserPoolCommandOutput
703
720
  | DeleteUserPoolDomainCommandOutput
704
721
  | DeleteWebAuthnCredentialCommandOutput
@@ -735,6 +752,7 @@ export type ServiceOutputTypes =
735
752
  | ListTagsForResourceCommandOutput
736
753
  | ListTermsCommandOutput
737
754
  | ListUserImportJobsCommandOutput
755
+ | ListUserPoolClientSecretsCommandOutput
738
756
  | ListUserPoolClientsCommandOutput
739
757
  | ListUserPoolsCommandOutput
740
758
  | ListUsersCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import {
9
+ AddUserPoolClientSecretRequest,
10
+ AddUserPoolClientSecretResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface AddUserPoolClientSecretCommandInput
15
+ extends AddUserPoolClientSecretRequest {}
16
+ export interface AddUserPoolClientSecretCommandOutput
17
+ extends AddUserPoolClientSecretResponse,
18
+ __MetadataBearer {}
19
+ declare const AddUserPoolClientSecretCommand_base: {
20
+ new (
21
+ input: AddUserPoolClientSecretCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ AddUserPoolClientSecretCommandInput,
24
+ AddUserPoolClientSecretCommandOutput,
25
+ CognitoIdentityProviderClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: AddUserPoolClientSecretCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ AddUserPoolClientSecretCommandInput,
33
+ AddUserPoolClientSecretCommandOutput,
34
+ CognitoIdentityProviderClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class AddUserPoolClientSecretCommand extends AddUserPoolClientSecretCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AddUserPoolClientSecretRequest;
44
+ output: AddUserPoolClientSecretResponse;
45
+ };
46
+ sdk: {
47
+ input: AddUserPoolClientSecretCommandInput;
48
+ output: AddUserPoolClientSecretCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CognitoIdentityProviderClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../CognitoIdentityProviderClient";
8
+ import {
9
+ DeleteUserPoolClientSecretRequest,
10
+ DeleteUserPoolClientSecretResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteUserPoolClientSecretCommandInput
15
+ extends DeleteUserPoolClientSecretRequest {}
16
+ export interface DeleteUserPoolClientSecretCommandOutput
17
+ extends DeleteUserPoolClientSecretResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteUserPoolClientSecretCommand_base: {
20
+ new (
21
+ input: DeleteUserPoolClientSecretCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteUserPoolClientSecretCommandInput,
24
+ DeleteUserPoolClientSecretCommandOutput,
25
+ CognitoIdentityProviderClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteUserPoolClientSecretCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteUserPoolClientSecretCommandInput,
33
+ DeleteUserPoolClientSecretCommandOutput,
34
+ CognitoIdentityProviderClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteUserPoolClientSecretCommand extends DeleteUserPoolClientSecretCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteUserPoolClientSecretRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: DeleteUserPoolClientSecretCommandInput;
48
+ output: DeleteUserPoolClientSecretCommandOutput;
49
+ };
50
+ };
51
+ }