@aws-sdk/client-cognito-identity-provider 3.999.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.
- package/README.md +21 -0
- package/dist-cjs/index.js +42 -0
- package/dist-cjs/models/errors.js +41 -15
- package/dist-cjs/schemas/schemas_0.js +96 -18
- package/dist-es/CognitoIdentityProvider.js +6 -0
- package/dist-es/commands/AddUserPoolClientSecretCommand.js +16 -0
- package/dist-es/commands/DeleteUserPoolClientSecretCommand.js +16 -0
- package/dist-es/commands/ListUserPoolClientSecretsCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/errors.js +36 -12
- package/dist-es/schemas/schemas_0.js +87 -9
- package/dist-types/CognitoIdentityProvider.d.ts +21 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +5 -2
- package/dist-types/commands/AddUserPoolClientSecretCommand.d.ts +102 -0
- package/dist-types/commands/CompleteWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPoolClientSecretCommand.d.ts +93 -0
- package/dist-types/commands/DeleteWebAuthnCredentialCommand.d.ts +3 -0
- package/dist-types/commands/ListUserPoolClientSecretsCommand.d.ts +102 -0
- package/dist-types/commands/ListUsersCommand.d.ts +3 -0
- package/dist-types/commands/ListWebAuthnCredentialsCommand.d.ts +3 -0
- package/dist-types/commands/StartWebAuthnRegistrationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/errors.d.ts +37 -13
- package/dist-types/models/models_0.d.ts +313 -533
- package/dist-types/models/models_1.d.ts +313 -2
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +51 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AddUserPoolClientSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientSecretsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/errors.d.ts +21 -7
- package/dist-types/ts3.4/models/models_0.d.ts +29 -46
- package/dist-types/ts3.4/models/models_1.d.ts +66 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteUserPoolClientSecret$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteUserPoolClientSecretCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSCognitoIdentityProviderService", "DeleteUserPoolClientSecret", {})
|
|
13
|
+
.n("CognitoIdentityProviderClient", "DeleteUserPoolClientSecretCommand")
|
|
14
|
+
.sc(DeleteUserPoolClientSecret$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListUserPoolClientSecrets$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListUserPoolClientSecretsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSCognitoIdentityProviderService", "ListUserPoolClientSecrets", {})
|
|
13
|
+
.n("CognitoIdentityProviderClient", "ListUserPoolClientSecretsCommand")
|
|
14
|
+
.sc(ListUserPoolClientSecrets$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddCustomAttributesCommand";
|
|
2
|
+
export * from "./AddUserPoolClientSecretCommand";
|
|
2
3
|
export * from "./AdminAddUserToGroupCommand";
|
|
3
4
|
export * from "./AdminConfirmSignUpCommand";
|
|
4
5
|
export * from "./AdminCreateUserCommand";
|
|
@@ -48,6 +49,7 @@ export * from "./DeleteTermsCommand";
|
|
|
48
49
|
export * from "./DeleteUserAttributesCommand";
|
|
49
50
|
export * from "./DeleteUserCommand";
|
|
50
51
|
export * from "./DeleteUserPoolClientCommand";
|
|
52
|
+
export * from "./DeleteUserPoolClientSecretCommand";
|
|
51
53
|
export * from "./DeleteUserPoolCommand";
|
|
52
54
|
export * from "./DeleteUserPoolDomainCommand";
|
|
53
55
|
export * from "./DeleteWebAuthnCredentialCommand";
|
|
@@ -84,6 +86,7 @@ export * from "./ListResourceServersCommand";
|
|
|
84
86
|
export * from "./ListTagsForResourceCommand";
|
|
85
87
|
export * from "./ListTermsCommand";
|
|
86
88
|
export * from "./ListUserImportJobsCommand";
|
|
89
|
+
export * from "./ListUserPoolClientSecretsCommand";
|
|
87
90
|
export * from "./ListUserPoolClientsCommand";
|
|
88
91
|
export * from "./ListUserPoolsCommand";
|
|
89
92
|
export * from "./ListUsersCommand";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
2
14
|
export class InternalErrorException extends __BaseException {
|
|
3
15
|
name = "InternalErrorException";
|
|
4
16
|
$fault = "server";
|
|
@@ -73,40 +85,52 @@ export class UserImportInProgressException extends __BaseException {
|
|
|
73
85
|
Object.setPrototypeOf(this, UserImportInProgressException.prototype);
|
|
74
86
|
}
|
|
75
87
|
}
|
|
76
|
-
export class
|
|
77
|
-
name = "
|
|
88
|
+
export class InternalServerException extends __BaseException {
|
|
89
|
+
name = "InternalServerException";
|
|
90
|
+
$fault = "server";
|
|
91
|
+
constructor(opts) {
|
|
92
|
+
super({
|
|
93
|
+
name: "InternalServerException",
|
|
94
|
+
$fault: "server",
|
|
95
|
+
...opts,
|
|
96
|
+
});
|
|
97
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export class LimitExceededException extends __BaseException {
|
|
101
|
+
name = "LimitExceededException";
|
|
78
102
|
$fault = "client";
|
|
79
103
|
constructor(opts) {
|
|
80
104
|
super({
|
|
81
|
-
name: "
|
|
105
|
+
name: "LimitExceededException",
|
|
82
106
|
$fault: "client",
|
|
83
107
|
...opts,
|
|
84
108
|
});
|
|
85
|
-
Object.setPrototypeOf(this,
|
|
109
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
86
110
|
}
|
|
87
111
|
}
|
|
88
|
-
export class
|
|
89
|
-
name = "
|
|
112
|
+
export class UserNotFoundException extends __BaseException {
|
|
113
|
+
name = "UserNotFoundException";
|
|
90
114
|
$fault = "client";
|
|
91
115
|
constructor(opts) {
|
|
92
116
|
super({
|
|
93
|
-
name: "
|
|
117
|
+
name: "UserNotFoundException",
|
|
94
118
|
$fault: "client",
|
|
95
119
|
...opts,
|
|
96
120
|
});
|
|
97
|
-
Object.setPrototypeOf(this,
|
|
121
|
+
Object.setPrototypeOf(this, UserNotFoundException.prototype);
|
|
98
122
|
}
|
|
99
123
|
}
|
|
100
|
-
export class
|
|
101
|
-
name = "
|
|
124
|
+
export class InvalidLambdaResponseException extends __BaseException {
|
|
125
|
+
name = "InvalidLambdaResponseException";
|
|
102
126
|
$fault = "client";
|
|
103
127
|
constructor(opts) {
|
|
104
128
|
super({
|
|
105
|
-
name: "
|
|
129
|
+
name: "InvalidLambdaResponseException",
|
|
106
130
|
$fault: "client",
|
|
107
131
|
...opts,
|
|
108
132
|
});
|
|
109
|
-
Object.setPrototypeOf(this,
|
|
133
|
+
Object.setPrototypeOf(this, InvalidLambdaResponseException.prototype);
|
|
110
134
|
}
|
|
111
135
|
}
|
|
112
136
|
export class TooManyFailedAttemptsException extends __BaseException {
|
|
@@ -19,6 +19,7 @@ const _ACUCT = "AdminCreateUserConfigType";
|
|
|
19
19
|
const _ACUR = "AdminCreateUserRequest";
|
|
20
20
|
const _ACURd = "AdminCreateUserResponse";
|
|
21
21
|
const _ACn = "AnalyticsConfiguration";
|
|
22
|
+
const _ADE = "AccessDeniedException";
|
|
22
23
|
const _ADPFU = "AdminDisableProviderForUser";
|
|
23
24
|
const _ADPFUR = "AdminDisableProviderForUserRequest";
|
|
24
25
|
const _ADPFURd = "AdminDisableProviderForUserResponse";
|
|
@@ -124,6 +125,9 @@ const _AUDSRd = "AdminUpdateDeviceStatusResponse";
|
|
|
124
125
|
const _AUGSO = "AdminUserGlobalSignOut";
|
|
125
126
|
const _AUGSOR = "AdminUserGlobalSignOutRequest";
|
|
126
127
|
const _AUGSORd = "AdminUserGlobalSignOutResponse";
|
|
128
|
+
const _AUPCS = "AddUserPoolClientSecret";
|
|
129
|
+
const _AUPCSR = "AddUserPoolClientSecretRequest";
|
|
130
|
+
const _AUPCSRd = "AddUserPoolClientSecretResponse";
|
|
127
131
|
const _AUUA = "AdminUpdateUserAttributes";
|
|
128
132
|
const _AUUAR = "AdminUpdateUserAttributesRequest";
|
|
129
133
|
const _AUUARd = "AdminUpdateUserAttributesResponse";
|
|
@@ -205,7 +209,12 @@ const _CRSRr = "CreateResourceServerResponse";
|
|
|
205
209
|
const _CRT = "ChallengeResponseType";
|
|
206
210
|
const _CRTh = "ChallengeResponsesType";
|
|
207
211
|
const _CRh = "ChallengeResponse";
|
|
208
|
-
const _CS = "
|
|
212
|
+
const _CS = "ClientSecret";
|
|
213
|
+
const _CSCD = "ClientSecretCreateDate";
|
|
214
|
+
const _CSD = "ClientSecretDescriptor";
|
|
215
|
+
const _CSDLT = "ClientSecretDescriptorListType";
|
|
216
|
+
const _CSDT = "ClientSecretDescriptorType";
|
|
217
|
+
const _CSI = "ClientSecretId";
|
|
209
218
|
const _CSMSLVCT = "CustomSMSLambdaVersionConfigType";
|
|
210
219
|
const _CSMSS = "CustomSMSSender";
|
|
211
220
|
const _CSS = "CSS";
|
|
@@ -214,9 +223,11 @@ const _CST = "ClientSecretType";
|
|
|
214
223
|
const _CSU = "ConfirmSignUp";
|
|
215
224
|
const _CSUR = "ConfirmSignUpRequest";
|
|
216
225
|
const _CSURo = "ConfirmSignUpResponse";
|
|
226
|
+
const _CSV = "ClientSecretValue";
|
|
217
227
|
const _CSVH = "CSVHeader";
|
|
218
228
|
const _CSa = "CaseSensitive";
|
|
219
|
-
const _CSl = "
|
|
229
|
+
const _CSl = "ClientSecrets";
|
|
230
|
+
const _CSo = "ConfigurationSet";
|
|
220
231
|
const _CT = "CreateTerms";
|
|
221
232
|
const _CTR = "CreateTermsRequest";
|
|
222
233
|
const _CTRr = "CreateTermsResponse";
|
|
@@ -313,6 +324,9 @@ const _DUPC = "DeleteUserPoolClient";
|
|
|
313
324
|
const _DUPCR = "DeleteUserPoolClientRequest";
|
|
314
325
|
const _DUPCRe = "DescribeUserPoolClientRequest";
|
|
315
326
|
const _DUPCRes = "DescribeUserPoolClientResponse";
|
|
327
|
+
const _DUPCS = "DeleteUserPoolClientSecret";
|
|
328
|
+
const _DUPCSR = "DeleteUserPoolClientSecretRequest";
|
|
329
|
+
const _DUPCSRe = "DeleteUserPoolClientSecretResponse";
|
|
316
330
|
const _DUPCe = "DescribeUserPoolClient";
|
|
317
331
|
const _DUPD = "DeleteUserPoolDomain";
|
|
318
332
|
const _DUPDR = "DeleteUserPoolDomainRequest";
|
|
@@ -460,6 +474,7 @@ const _IP = "IdentityProvider";
|
|
|
460
474
|
const _IPE = "InvalidParameterException";
|
|
461
475
|
const _IPEn = "InvalidPasswordException";
|
|
462
476
|
const _IPT = "IdentityProviderType";
|
|
477
|
+
const _ISE = "InternalServerException";
|
|
463
478
|
const _ISRAPE = "InvalidSmsRoleAccessPolicyException";
|
|
464
479
|
const _ISRTRE = "InvalidSmsRoleTrustRelationshipException";
|
|
465
480
|
const _IT = "IdToken";
|
|
@@ -514,6 +529,9 @@ const _LUP = "ListUserPools";
|
|
|
514
529
|
const _LUPC = "ListUserPoolClients";
|
|
515
530
|
const _LUPCR = "ListUserPoolClientsRequest";
|
|
516
531
|
const _LUPCRi = "ListUserPoolClientsResponse";
|
|
532
|
+
const _LUPCS = "ListUserPoolClientSecrets";
|
|
533
|
+
const _LUPCSR = "ListUserPoolClientSecretsRequest";
|
|
534
|
+
const _LUPCSRi = "ListUserPoolClientSecretsResponse";
|
|
517
535
|
const _LUPR = "ListUserPoolsRequest";
|
|
518
536
|
const _LUPRi = "ListUserPoolsResponse";
|
|
519
537
|
const _LUR = "ListUsersRequest";
|
|
@@ -883,11 +901,17 @@ const _se = "server";
|
|
|
883
901
|
const n0 = "com.amazonaws.cognitoidentityprovider";
|
|
884
902
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
885
903
|
import { CognitoIdentityProviderServiceException } from "../models/CognitoIdentityProviderServiceException";
|
|
886
|
-
import { AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DeviceKeyExistsException, DuplicateProviderException, EnableSoftwareTokenMFAException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, RefreshTokenReuseException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TermsExistsException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnauthorizedException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedOperationException, UnsupportedTokenTypeException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnConfigurationMissingException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException, } from "../models/errors";
|
|
904
|
+
import { AccessDeniedException, AliasExistsException, CodeDeliveryFailureException, CodeMismatchException, ConcurrentModificationException, DeviceKeyExistsException, DuplicateProviderException, EnableSoftwareTokenMFAException, ExpiredCodeException, FeatureUnavailableInTierException, ForbiddenException, GroupExistsException, InternalErrorException, InternalServerException, InvalidEmailRoleAccessPolicyException, InvalidLambdaResponseException, InvalidOAuthFlowException, InvalidParameterException, InvalidPasswordException, InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, InvalidUserPoolConfigurationException, LimitExceededException, ManagedLoginBrandingExistsException, MFAMethodNotFoundException, NotAuthorizedException, PasswordHistoryPolicyViolationException, PasswordResetRequiredException, PreconditionNotMetException, RefreshTokenReuseException, ResourceNotFoundException, ScopeDoesNotExistException, SoftwareTokenMFANotFoundException, TermsExistsException, TierChangeNotAllowedException, TooManyFailedAttemptsException, TooManyRequestsException, UnauthorizedException, UnexpectedLambdaException, UnsupportedIdentityProviderException, UnsupportedOperationException, UnsupportedTokenTypeException, UnsupportedUserStateException, UserImportInProgressException, UserLambdaValidationException, UsernameExistsException, UserNotConfirmedException, UserNotFoundException, UserPoolAddOnNotEnabledException, UserPoolTaggingException, WebAuthnChallengeNotFoundException, WebAuthnClientMismatchException, WebAuthnConfigurationMissingException, WebAuthnCredentialNotSupportedException, WebAuthnNotEnabledException, WebAuthnOriginNotAllowedException, WebAuthnRelyingPartyMismatchException, } from "../models/errors";
|
|
887
905
|
const _s_registry = TypeRegistry.for(_s);
|
|
888
906
|
export var CognitoIdentityProviderServiceException$ = [-3, _s, "CognitoIdentityProviderServiceException", 0, [], []];
|
|
889
907
|
_s_registry.registerError(CognitoIdentityProviderServiceException$, CognitoIdentityProviderServiceException);
|
|
890
908
|
const n0_registry = TypeRegistry.for(n0);
|
|
909
|
+
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
910
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
911
|
+
[_m],
|
|
912
|
+
[0]
|
|
913
|
+
];
|
|
914
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
891
915
|
export var AliasExistsException$ = [-3, n0, _AEE,
|
|
892
916
|
{ [_e]: _c, [_hE]: 400 },
|
|
893
917
|
[_m],
|
|
@@ -960,6 +984,12 @@ export var InternalErrorException$ = [-3, n0, _IEE,
|
|
|
960
984
|
[0]
|
|
961
985
|
];
|
|
962
986
|
n0_registry.registerError(InternalErrorException$, InternalErrorException);
|
|
987
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
988
|
+
{ [_e]: _se },
|
|
989
|
+
[_m],
|
|
990
|
+
[0]
|
|
991
|
+
];
|
|
992
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
963
993
|
export var InvalidEmailRoleAccessPolicyException$ = [-3, n0, _IERAPE,
|
|
964
994
|
{ [_e]: _c, [_hE]: 400 },
|
|
965
995
|
[_m],
|
|
@@ -1262,6 +1292,16 @@ export var AddCustomAttributesResponse$ = [3, n0, _ACARd,
|
|
|
1262
1292
|
[],
|
|
1263
1293
|
[]
|
|
1264
1294
|
];
|
|
1295
|
+
export var AddUserPoolClientSecretRequest$ = [3, n0, _AUPCSR,
|
|
1296
|
+
0,
|
|
1297
|
+
[_UPI, _CI, _CS],
|
|
1298
|
+
[0, [() => ClientIdType, 0], [() => ClientSecretType, 0]], 2
|
|
1299
|
+
];
|
|
1300
|
+
export var AddUserPoolClientSecretResponse$ = [3, n0, _AUPCSRd,
|
|
1301
|
+
0,
|
|
1302
|
+
[_CSD],
|
|
1303
|
+
[[() => ClientSecretDescriptorType$, 0]]
|
|
1304
|
+
];
|
|
1265
1305
|
export var AdminAddUserToGroupRequest$ = [3, n0, _AAUTGR,
|
|
1266
1306
|
0,
|
|
1267
1307
|
[_UPI, _U, _GN],
|
|
@@ -1567,6 +1607,11 @@ export var ChangePasswordResponse$ = [3, n0, _CPRh,
|
|
|
1567
1607
|
[],
|
|
1568
1608
|
[]
|
|
1569
1609
|
];
|
|
1610
|
+
export var ClientSecretDescriptorType$ = [3, n0, _CSDT,
|
|
1611
|
+
0,
|
|
1612
|
+
[_CSI, _CSV, _CSCD],
|
|
1613
|
+
[0, [() => ClientSecretType, 0], 4]
|
|
1614
|
+
];
|
|
1570
1615
|
export var CloudWatchLogsConfigurationType$ = [3, n0, _CWLCT,
|
|
1571
1616
|
0,
|
|
1572
1617
|
[_LGA],
|
|
@@ -1694,8 +1739,8 @@ export var CreateUserImportJobResponse$ = [3, n0, _CUIJRr,
|
|
|
1694
1739
|
];
|
|
1695
1740
|
export var CreateUserPoolClientRequest$ = [3, n0, _CUPCR,
|
|
1696
1741
|
0,
|
|
1697
|
-
[_UPI, _CNl, _GS, _RTV, _ATV, _ITV, _TVU, _RAe, _WA, _EAF, _SIP, _CURL, _LURL, _DRURI, _AOAF, _AOAS, _AOAFUPC, _ACn, _PUEE, _ETR, _EPAUCD, _ASV, _RTR],
|
|
1698
|
-
[0, 0, 2, 1, 1, 1, () => TokenValidityUnitsType$, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 64 | 0, 2, () => AnalyticsConfigurationType$, 0, 2, 2, 1, () => RefreshTokenRotationType$], 2
|
|
1742
|
+
[_UPI, _CNl, _GS, _CS, _RTV, _ATV, _ITV, _TVU, _RAe, _WA, _EAF, _SIP, _CURL, _LURL, _DRURI, _AOAF, _AOAS, _AOAFUPC, _ACn, _PUEE, _ETR, _EPAUCD, _ASV, _RTR],
|
|
1743
|
+
[0, 0, 2, [() => ClientSecretType, 0], 1, 1, 1, () => TokenValidityUnitsType$, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 64 | 0, 2, () => AnalyticsConfigurationType$, 0, 2, 2, 1, () => RefreshTokenRotationType$], 2
|
|
1699
1744
|
];
|
|
1700
1745
|
export var CreateUserPoolClientResponse$ = [3, n0, _CUPCRr,
|
|
1701
1746
|
0,
|
|
@@ -1777,6 +1822,16 @@ export var DeleteUserPoolClientRequest$ = [3, n0, _DUPCR,
|
|
|
1777
1822
|
[_UPI, _CI],
|
|
1778
1823
|
[0, [() => ClientIdType, 0]], 2
|
|
1779
1824
|
];
|
|
1825
|
+
export var DeleteUserPoolClientSecretRequest$ = [3, n0, _DUPCSR,
|
|
1826
|
+
0,
|
|
1827
|
+
[_UPI, _CI, _CSI],
|
|
1828
|
+
[0, [() => ClientIdType, 0], 0], 3
|
|
1829
|
+
];
|
|
1830
|
+
export var DeleteUserPoolClientSecretResponse$ = [3, n0, _DUPCSRe,
|
|
1831
|
+
0,
|
|
1832
|
+
[],
|
|
1833
|
+
[]
|
|
1834
|
+
];
|
|
1780
1835
|
export var DeleteUserPoolDomainRequest$ = [3, n0, _DUPDR,
|
|
1781
1836
|
0,
|
|
1782
1837
|
[_Do, _UPI],
|
|
@@ -1929,7 +1984,7 @@ export var DomainDescriptionType$ = [3, n0, _DDT,
|
|
|
1929
1984
|
];
|
|
1930
1985
|
export var EmailConfigurationType$ = [3, n0, _ECT,
|
|
1931
1986
|
0,
|
|
1932
|
-
[_SA, _RTEA, _ESA, _F,
|
|
1987
|
+
[_SA, _RTEA, _ESA, _F, _CSo],
|
|
1933
1988
|
[0, 0, 0, 0, 0]
|
|
1934
1989
|
];
|
|
1935
1990
|
export var EmailMfaConfigType$ = [3, n0, _EMCT,
|
|
@@ -2039,7 +2094,7 @@ export var GetSigningCertificateResponse$ = [3, n0, _GSCRe,
|
|
|
2039
2094
|
];
|
|
2040
2095
|
export var GetTokensFromRefreshTokenRequest$ = [3, n0, _GTFRTR,
|
|
2041
2096
|
0,
|
|
2042
|
-
[_RT, _CI,
|
|
2097
|
+
[_RT, _CI, _CS, _DK, _CM],
|
|
2043
2098
|
[[() => TokenModelType, 0], [() => ClientIdType, 0], [() => ClientSecretType, 0], 0, 128 | 0], 2
|
|
2044
2099
|
];
|
|
2045
2100
|
export var GetTokensFromRefreshTokenResponse$ = [3, n0, _GTFRTRe,
|
|
@@ -2212,6 +2267,16 @@ export var ListUserImportJobsResponse$ = [3, n0, _LUIJRi,
|
|
|
2212
2267
|
[_UIJs, _PTa],
|
|
2213
2268
|
[() => UserImportJobsListType, 0]
|
|
2214
2269
|
];
|
|
2270
|
+
export var ListUserPoolClientSecretsRequest$ = [3, n0, _LUPCSR,
|
|
2271
|
+
0,
|
|
2272
|
+
[_UPI, _CI, _NT],
|
|
2273
|
+
[0, [() => ClientIdType, 0], 0], 2
|
|
2274
|
+
];
|
|
2275
|
+
export var ListUserPoolClientSecretsResponse$ = [3, n0, _LUPCSRi,
|
|
2276
|
+
0,
|
|
2277
|
+
[_CSl, _NT],
|
|
2278
|
+
[[() => ClientSecretDescriptorListType, 0], 0]
|
|
2279
|
+
];
|
|
2215
2280
|
export var ListUserPoolClientsRequest$ = [3, n0, _LUPCR,
|
|
2216
2281
|
0,
|
|
2217
2282
|
[_UPI, _MR, _NT],
|
|
@@ -2369,7 +2434,7 @@ export var RespondToAuthChallengeResponse$ = [3, n0, _RTACRe,
|
|
|
2369
2434
|
];
|
|
2370
2435
|
export var RevokeTokenRequest$ = [3, n0, _RTRe,
|
|
2371
2436
|
0,
|
|
2372
|
-
[_To, _CI,
|
|
2437
|
+
[_To, _CI, _CS],
|
|
2373
2438
|
[[() => TokenModelType, 0], [() => ClientIdType, 0], [() => ClientSecretType, 0]], 2
|
|
2374
2439
|
];
|
|
2375
2440
|
export var RevokeTokenResponse$ = [3, n0, _RTRev,
|
|
@@ -2714,7 +2779,7 @@ export var UserPoolClientDescription$ = [3, n0, _UPCD,
|
|
|
2714
2779
|
];
|
|
2715
2780
|
export var UserPoolClientType$ = [3, n0, _UPCT,
|
|
2716
2781
|
0,
|
|
2717
|
-
[_UPI, _CNl, _CI,
|
|
2782
|
+
[_UPI, _CNl, _CI, _CS, _LMD, _CDr, _RTV, _ATV, _ITV, _TVU, _RAe, _WA, _EAF, _SIP, _CURL, _LURL, _DRURI, _AOAF, _AOAS, _AOAFUPC, _ACn, _PUEE, _ETR, _EPAUCD, _ASV, _RTR],
|
|
2718
2783
|
[0, 0, [() => ClientIdType, 0], [() => ClientSecretType, 0], 4, 4, 1, 1, 1, () => TokenValidityUnitsType$, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, 64 | 0, 64 | 0, 2, () => AnalyticsConfigurationType$, 0, 2, 2, 1, () => RefreshTokenRotationType$]
|
|
2719
2784
|
];
|
|
2720
2785
|
export var UserPoolDescriptionType$ = [3, n0, _UPDT,
|
|
@@ -2794,6 +2859,10 @@ var ChallengeResponseListType = [1, n0, _CRLT,
|
|
|
2794
2859
|
0, () => ChallengeResponseType$
|
|
2795
2860
|
];
|
|
2796
2861
|
var ClientPermissionListType = 64 | 0;
|
|
2862
|
+
var ClientSecretDescriptorListType = [1, n0, _CSDLT,
|
|
2863
|
+
0, [() => ClientSecretDescriptorType$,
|
|
2864
|
+
0]
|
|
2865
|
+
];
|
|
2797
2866
|
var CodeDeliveryDetailsListType = [1, n0, _CDDLT,
|
|
2798
2867
|
0, () => CodeDeliveryDetailsType$
|
|
2799
2868
|
];
|
|
@@ -2883,6 +2952,9 @@ var UserPoolTagsType = 128 | 0;
|
|
|
2883
2952
|
export var AddCustomAttributes$ = [9, n0, _ACA,
|
|
2884
2953
|
0, () => AddCustomAttributesRequest$, () => AddCustomAttributesResponse$
|
|
2885
2954
|
];
|
|
2955
|
+
export var AddUserPoolClientSecret$ = [9, n0, _AUPCS,
|
|
2956
|
+
0, () => AddUserPoolClientSecretRequest$, () => AddUserPoolClientSecretResponse$
|
|
2957
|
+
];
|
|
2886
2958
|
export var AdminAddUserToGroup$ = [9, n0, _AAUTG,
|
|
2887
2959
|
0, () => AdminAddUserToGroupRequest$, () => __Unit
|
|
2888
2960
|
];
|
|
@@ -3033,6 +3105,9 @@ export var DeleteUserPool$ = [9, n0, _DUP,
|
|
|
3033
3105
|
export var DeleteUserPoolClient$ = [9, n0, _DUPC,
|
|
3034
3106
|
0, () => DeleteUserPoolClientRequest$, () => __Unit
|
|
3035
3107
|
];
|
|
3108
|
+
export var DeleteUserPoolClientSecret$ = [9, n0, _DUPCS,
|
|
3109
|
+
0, () => DeleteUserPoolClientSecretRequest$, () => DeleteUserPoolClientSecretResponse$
|
|
3110
|
+
];
|
|
3036
3111
|
export var DeleteUserPoolDomain$ = [9, n0, _DUPD,
|
|
3037
3112
|
0, () => DeleteUserPoolDomainRequest$, () => DeleteUserPoolDomainResponse$
|
|
3038
3113
|
];
|
|
@@ -3141,6 +3216,9 @@ export var ListUserImportJobs$ = [9, n0, _LUIJ,
|
|
|
3141
3216
|
export var ListUserPoolClients$ = [9, n0, _LUPC,
|
|
3142
3217
|
0, () => ListUserPoolClientsRequest$, () => ListUserPoolClientsResponse$
|
|
3143
3218
|
];
|
|
3219
|
+
export var ListUserPoolClientSecrets$ = [9, n0, _LUPCS,
|
|
3220
|
+
0, () => ListUserPoolClientSecretsRequest$, () => ListUserPoolClientSecretsResponse$
|
|
3221
|
+
];
|
|
3144
3222
|
export var ListUserPools$ = [9, n0, _LUP,
|
|
3145
3223
|
0, () => ListUserPoolsRequest$, () => ListUserPoolsResponse$
|
|
3146
3224
|
];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CognitoIdentityProviderClient } from "./CognitoIdentityProviderClient";
|
|
3
3
|
import { AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput } from "./commands/AddCustomAttributesCommand";
|
|
4
|
+
import { AddUserPoolClientSecretCommandInput, AddUserPoolClientSecretCommandOutput } from "./commands/AddUserPoolClientSecretCommand";
|
|
4
5
|
import { AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
|
|
5
6
|
import { AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
|
|
6
7
|
import { AdminCreateUserCommandInput, AdminCreateUserCommandOutput } from "./commands/AdminCreateUserCommand";
|
|
@@ -50,6 +51,7 @@ import { DeleteTermsCommandInput, DeleteTermsCommandOutput } from "./commands/De
|
|
|
50
51
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
51
52
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
52
53
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
54
|
+
import { DeleteUserPoolClientSecretCommandInput, DeleteUserPoolClientSecretCommandOutput } from "./commands/DeleteUserPoolClientSecretCommand";
|
|
53
55
|
import { DeleteUserPoolCommandInput, DeleteUserPoolCommandOutput } from "./commands/DeleteUserPoolCommand";
|
|
54
56
|
import { DeleteUserPoolDomainCommandInput, DeleteUserPoolDomainCommandOutput } from "./commands/DeleteUserPoolDomainCommand";
|
|
55
57
|
import { DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput } from "./commands/DeleteWebAuthnCredentialCommand";
|
|
@@ -87,6 +89,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
87
89
|
import { ListTermsCommandInput, ListTermsCommandOutput } from "./commands/ListTermsCommand";
|
|
88
90
|
import { ListUserImportJobsCommandInput, ListUserImportJobsCommandOutput } from "./commands/ListUserImportJobsCommand";
|
|
89
91
|
import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } from "./commands/ListUserPoolClientsCommand";
|
|
92
|
+
import { ListUserPoolClientSecretsCommandInput, ListUserPoolClientSecretsCommandOutput } from "./commands/ListUserPoolClientSecretsCommand";
|
|
90
93
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
91
94
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
92
95
|
import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "./commands/ListUsersInGroupCommand";
|
|
@@ -126,6 +129,12 @@ export interface CognitoIdentityProvider {
|
|
|
126
129
|
addCustomAttributes(args: AddCustomAttributesCommandInput, options?: __HttpHandlerOptions): Promise<AddCustomAttributesCommandOutput>;
|
|
127
130
|
addCustomAttributes(args: AddCustomAttributesCommandInput, cb: (err: any, data?: AddCustomAttributesCommandOutput) => void): void;
|
|
128
131
|
addCustomAttributes(args: AddCustomAttributesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddCustomAttributesCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link AddUserPoolClientSecretCommand}
|
|
134
|
+
*/
|
|
135
|
+
addUserPoolClientSecret(args: AddUserPoolClientSecretCommandInput, options?: __HttpHandlerOptions): Promise<AddUserPoolClientSecretCommandOutput>;
|
|
136
|
+
addUserPoolClientSecret(args: AddUserPoolClientSecretCommandInput, cb: (err: any, data?: AddUserPoolClientSecretCommandOutput) => void): void;
|
|
137
|
+
addUserPoolClientSecret(args: AddUserPoolClientSecretCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddUserPoolClientSecretCommandOutput) => void): void;
|
|
129
138
|
/**
|
|
130
139
|
* @see {@link AdminAddUserToGroupCommand}
|
|
131
140
|
*/
|
|
@@ -427,6 +436,12 @@ export interface CognitoIdentityProvider {
|
|
|
427
436
|
deleteUserPoolClient(args: DeleteUserPoolClientCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserPoolClientCommandOutput>;
|
|
428
437
|
deleteUserPoolClient(args: DeleteUserPoolClientCommandInput, cb: (err: any, data?: DeleteUserPoolClientCommandOutput) => void): void;
|
|
429
438
|
deleteUserPoolClient(args: DeleteUserPoolClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserPoolClientCommandOutput) => void): void;
|
|
439
|
+
/**
|
|
440
|
+
* @see {@link DeleteUserPoolClientSecretCommand}
|
|
441
|
+
*/
|
|
442
|
+
deleteUserPoolClientSecret(args: DeleteUserPoolClientSecretCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserPoolClientSecretCommandOutput>;
|
|
443
|
+
deleteUserPoolClientSecret(args: DeleteUserPoolClientSecretCommandInput, cb: (err: any, data?: DeleteUserPoolClientSecretCommandOutput) => void): void;
|
|
444
|
+
deleteUserPoolClientSecret(args: DeleteUserPoolClientSecretCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserPoolClientSecretCommandOutput) => void): void;
|
|
430
445
|
/**
|
|
431
446
|
* @see {@link DeleteUserPoolDomainCommand}
|
|
432
447
|
*/
|
|
@@ -643,6 +658,12 @@ export interface CognitoIdentityProvider {
|
|
|
643
658
|
listUserPoolClients(args: ListUserPoolClientsCommandInput, options?: __HttpHandlerOptions): Promise<ListUserPoolClientsCommandOutput>;
|
|
644
659
|
listUserPoolClients(args: ListUserPoolClientsCommandInput, cb: (err: any, data?: ListUserPoolClientsCommandOutput) => void): void;
|
|
645
660
|
listUserPoolClients(args: ListUserPoolClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserPoolClientsCommandOutput) => void): void;
|
|
661
|
+
/**
|
|
662
|
+
* @see {@link ListUserPoolClientSecretsCommand}
|
|
663
|
+
*/
|
|
664
|
+
listUserPoolClientSecrets(args: ListUserPoolClientSecretsCommandInput, options?: __HttpHandlerOptions): Promise<ListUserPoolClientSecretsCommandOutput>;
|
|
665
|
+
listUserPoolClientSecrets(args: ListUserPoolClientSecretsCommandInput, cb: (err: any, data?: ListUserPoolClientSecretsCommandOutput) => void): void;
|
|
666
|
+
listUserPoolClientSecrets(args: ListUserPoolClientSecretsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserPoolClientSecretsCommandOutput) => void): void;
|
|
646
667
|
/**
|
|
647
668
|
* @see {@link ListUserPoolsCommand}
|
|
648
669
|
*/
|
|
@@ -8,6 +8,7 @@ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __Smit
|
|
|
8
8
|
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { AddCustomAttributesCommandInput, AddCustomAttributesCommandOutput } from "./commands/AddCustomAttributesCommand";
|
|
11
|
+
import { AddUserPoolClientSecretCommandInput, AddUserPoolClientSecretCommandOutput } from "./commands/AddUserPoolClientSecretCommand";
|
|
11
12
|
import { AdminAddUserToGroupCommandInput, AdminAddUserToGroupCommandOutput } from "./commands/AdminAddUserToGroupCommand";
|
|
12
13
|
import { AdminConfirmSignUpCommandInput, AdminConfirmSignUpCommandOutput } from "./commands/AdminConfirmSignUpCommand";
|
|
13
14
|
import { AdminCreateUserCommandInput, AdminCreateUserCommandOutput } from "./commands/AdminCreateUserCommand";
|
|
@@ -57,6 +58,7 @@ import { DeleteTermsCommandInput, DeleteTermsCommandOutput } from "./commands/De
|
|
|
57
58
|
import { DeleteUserAttributesCommandInput, DeleteUserAttributesCommandOutput } from "./commands/DeleteUserAttributesCommand";
|
|
58
59
|
import { DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
|
|
59
60
|
import { DeleteUserPoolClientCommandInput, DeleteUserPoolClientCommandOutput } from "./commands/DeleteUserPoolClientCommand";
|
|
61
|
+
import { DeleteUserPoolClientSecretCommandInput, DeleteUserPoolClientSecretCommandOutput } from "./commands/DeleteUserPoolClientSecretCommand";
|
|
60
62
|
import { DeleteUserPoolCommandInput, DeleteUserPoolCommandOutput } from "./commands/DeleteUserPoolCommand";
|
|
61
63
|
import { DeleteUserPoolDomainCommandInput, DeleteUserPoolDomainCommandOutput } from "./commands/DeleteUserPoolDomainCommand";
|
|
62
64
|
import { DeleteWebAuthnCredentialCommandInput, DeleteWebAuthnCredentialCommandOutput } from "./commands/DeleteWebAuthnCredentialCommand";
|
|
@@ -94,6 +96,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
94
96
|
import { ListTermsCommandInput, ListTermsCommandOutput } from "./commands/ListTermsCommand";
|
|
95
97
|
import { ListUserImportJobsCommandInput, ListUserImportJobsCommandOutput } from "./commands/ListUserImportJobsCommand";
|
|
96
98
|
import { ListUserPoolClientsCommandInput, ListUserPoolClientsCommandOutput } from "./commands/ListUserPoolClientsCommand";
|
|
99
|
+
import { ListUserPoolClientSecretsCommandInput, ListUserPoolClientSecretsCommandOutput } from "./commands/ListUserPoolClientSecretsCommand";
|
|
97
100
|
import { ListUserPoolsCommandInput, ListUserPoolsCommandOutput } from "./commands/ListUserPoolsCommand";
|
|
98
101
|
import { ListUsersCommandInput, ListUsersCommandOutput } from "./commands/ListUsersCommand";
|
|
99
102
|
import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "./commands/ListUsersInGroupCommand";
|
|
@@ -132,11 +135,11 @@ export { __Client };
|
|
|
132
135
|
/**
|
|
133
136
|
* @public
|
|
134
137
|
*/
|
|
135
|
-
export type ServiceInputTypes = AddCustomAttributesCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | CompleteWebAuthnRegistrationCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateManagedLoginBrandingCommandInput | CreateResourceServerCommandInput | CreateTermsCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
138
|
+
export type ServiceInputTypes = AddCustomAttributesCommandInput | AddUserPoolClientSecretCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserCommandInput | AdminInitiateAuthCommandInput | AdminLinkProviderForUserCommandInput | AdminListDevicesCommandInput | AdminListGroupsForUserCommandInput | AdminListUserAuthEventsCommandInput | AdminRemoveUserFromGroupCommandInput | AdminResetUserPasswordCommandInput | AdminRespondToAuthChallengeCommandInput | AdminSetUserMFAPreferenceCommandInput | AdminSetUserPasswordCommandInput | AdminSetUserSettingsCommandInput | AdminUpdateAuthEventFeedbackCommandInput | AdminUpdateDeviceStatusCommandInput | AdminUpdateUserAttributesCommandInput | AdminUserGlobalSignOutCommandInput | AssociateSoftwareTokenCommandInput | ChangePasswordCommandInput | CompleteWebAuthnRegistrationCommandInput | ConfirmDeviceCommandInput | ConfirmForgotPasswordCommandInput | ConfirmSignUpCommandInput | CreateGroupCommandInput | CreateIdentityProviderCommandInput | CreateManagedLoginBrandingCommandInput | CreateResourceServerCommandInput | CreateTermsCommandInput | CreateUserImportJobCommandInput | CreateUserPoolClientCommandInput | CreateUserPoolCommandInput | CreateUserPoolDomainCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolClientSecretCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientSecretsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
136
139
|
/**
|
|
137
140
|
* @public
|
|
138
141
|
*/
|
|
139
|
-
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | CompleteWebAuthnRegistrationCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateManagedLoginBrandingCommandOutput | CreateResourceServerCommandOutput | CreateTermsCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
142
|
+
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AddUserPoolClientSecretCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserCommandOutput | AdminInitiateAuthCommandOutput | AdminLinkProviderForUserCommandOutput | AdminListDevicesCommandOutput | AdminListGroupsForUserCommandOutput | AdminListUserAuthEventsCommandOutput | AdminRemoveUserFromGroupCommandOutput | AdminResetUserPasswordCommandOutput | AdminRespondToAuthChallengeCommandOutput | AdminSetUserMFAPreferenceCommandOutput | AdminSetUserPasswordCommandOutput | AdminSetUserSettingsCommandOutput | AdminUpdateAuthEventFeedbackCommandOutput | AdminUpdateDeviceStatusCommandOutput | AdminUpdateUserAttributesCommandOutput | AdminUserGlobalSignOutCommandOutput | AssociateSoftwareTokenCommandOutput | ChangePasswordCommandOutput | CompleteWebAuthnRegistrationCommandOutput | ConfirmDeviceCommandOutput | ConfirmForgotPasswordCommandOutput | ConfirmSignUpCommandOutput | CreateGroupCommandOutput | CreateIdentityProviderCommandOutput | CreateManagedLoginBrandingCommandOutput | CreateResourceServerCommandOutput | CreateTermsCommandOutput | CreateUserImportJobCommandOutput | CreateUserPoolClientCommandOutput | CreateUserPoolCommandOutput | CreateUserPoolDomainCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolClientSecretCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientSecretsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
140
143
|
/**
|
|
141
144
|
* @public
|
|
142
145
|
*/
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityProviderClient";
|
|
4
|
+
import type { AddUserPoolClientSecretRequest, AddUserPoolClientSecretResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AddUserPoolClientSecretCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddUserPoolClientSecretCommandInput extends AddUserPoolClientSecretRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddUserPoolClientSecretCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddUserPoolClientSecretCommandOutput extends AddUserPoolClientSecretResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AddUserPoolClientSecretCommand_base: {
|
|
25
|
+
new (input: AddUserPoolClientSecretCommandInput): import("@smithy/smithy-client").CommandImpl<AddUserPoolClientSecretCommandInput, AddUserPoolClientSecretCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AddUserPoolClientSecretCommandInput): import("@smithy/smithy-client").CommandImpl<AddUserPoolClientSecretCommandInput, AddUserPoolClientSecretCommandOutput, CognitoIdentityProviderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new client secret for an existing confidential user pool app client. Supports up to 2 active secrets per app client for zero-downtime credential rotation workflows.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CognitoIdentityProviderClient, AddUserPoolClientSecretCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
35
|
+
* // const { CognitoIdentityProviderClient, AddUserPoolClientSecretCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
36
|
+
* // import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
|
|
37
|
+
* const config = {}; // type is CognitoIdentityProviderClientConfig
|
|
38
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
39
|
+
* const input = { // AddUserPoolClientSecretRequest
|
|
40
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
41
|
+
* ClientId: "STRING_VALUE", // required
|
|
42
|
+
* ClientSecret: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new AddUserPoolClientSecretCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // AddUserPoolClientSecretResponse
|
|
47
|
+
* // ClientSecretDescriptor: { // ClientSecretDescriptorType
|
|
48
|
+
* // ClientSecretId: "STRING_VALUE",
|
|
49
|
+
* // ClientSecretValue: "STRING_VALUE",
|
|
50
|
+
* // ClientSecretCreateDate: new Date("TIMESTAMP"),
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param AddUserPoolClientSecretCommandInput - {@link AddUserPoolClientSecretCommandInput}
|
|
57
|
+
* @returns {@link AddUserPoolClientSecretCommandOutput}
|
|
58
|
+
* @see {@link AddUserPoolClientSecretCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link AddUserPoolClientSecretCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when you don't have sufficient permissions to perform the requested operation.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal server error.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
70
|
+
* parameter.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when a user exceeds the limit for a requested Amazon Web Services
|
|
74
|
+
* resource.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
78
|
+
* resource.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
82
|
+
* operation.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class AddUserPoolClientSecretCommand extends AddUserPoolClientSecretCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: AddUserPoolClientSecretRequest;
|
|
95
|
+
output: AddUserPoolClientSecretResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: AddUserPoolClientSecretCommandInput;
|
|
99
|
+
output: AddUserPoolClientSecretCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -72,6 +72,9 @@ declare const CompleteWebAuthnRegistrationCommand_base: {
|
|
|
72
72
|
* @throws {@link NotAuthorizedException} (client fault)
|
|
73
73
|
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
74
74
|
*
|
|
75
|
+
* @throws {@link PasswordResetRequiredException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when a password reset is required.</p>
|
|
77
|
+
*
|
|
75
78
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
76
79
|
* <p>This exception is thrown when the user has made too many requests for a given
|
|
77
80
|
* operation.</p>
|