@aws-sdk/client-cognito-identity-provider 3.1120.0 → 3.1121.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 +14 -0
- package/dist-cjs/index.js +58 -1
- package/dist-es/CognitoIdentityProvider.js +4 -0
- package/dist-es/commands/DescribeTermsByClientCommand.js +4 -0
- package/dist-es/commands/GetClientTokenCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +40 -0
- package/dist-types/CognitoIdentityProvider.d.ts +14 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +4 -2
- package/dist-types/commands/DescribeTermsByClientCommand.d.ts +134 -0
- package/dist-types/commands/GetClientTokenCommand.d.ts +144 -0
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
- package/dist-types/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/commands/SignUpCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +122 -203
- package/dist-types/models/models_1.d.ts +204 -1
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +34 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeTermsByClientCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetClientTokenCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -29
- package/dist-types/ts3.4/models/models_1.d.ts +36 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -666,6 +666,13 @@ DescribeTerms
|
|
|
666
666
|
</details>
|
|
667
667
|
<details>
|
|
668
668
|
<summary>
|
|
669
|
+
DescribeTermsByClient
|
|
670
|
+
</summary>
|
|
671
|
+
|
|
672
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/DescribeTermsByClientCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsByClientCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/DescribeTermsByClientCommandOutput/)
|
|
673
|
+
</details>
|
|
674
|
+
<details>
|
|
675
|
+
<summary>
|
|
669
676
|
DescribeUserImportJob
|
|
670
677
|
</summary>
|
|
671
678
|
|
|
@@ -708,6 +715,13 @@ ForgotPassword
|
|
|
708
715
|
</details>
|
|
709
716
|
<details>
|
|
710
717
|
<summary>
|
|
718
|
+
GetClientToken
|
|
719
|
+
</summary>
|
|
720
|
+
|
|
721
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cognito-identity-provider/command/GetClientTokenCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/GetClientTokenCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cognito-identity-provider/Interface/GetClientTokenCommandOutput/)
|
|
722
|
+
</details>
|
|
723
|
+
<details>
|
|
724
|
+
<summary>
|
|
711
725
|
GetCSVHeader
|
|
712
726
|
</summary>
|
|
713
727
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -234,7 +234,7 @@ const commonParams = {
|
|
|
234
234
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var version = "3.
|
|
237
|
+
var version = "3.1120.0";
|
|
238
238
|
var packageInfo = {
|
|
239
239
|
version: version};
|
|
240
240
|
|
|
@@ -1183,6 +1183,8 @@ const _CA = "CustomAttributes";
|
|
|
1183
1183
|
const _CAC = "CreateAuthChallenge";
|
|
1184
1184
|
const _CALT = "CustomAttributesListType";
|
|
1185
1185
|
const _CAM = "CustomAuthMode";
|
|
1186
|
+
const _CAR = "ClientAuthenticationResult";
|
|
1187
|
+
const _CART = "ClientAuthenticationResultType";
|
|
1186
1188
|
const _CAa = "CallerArn";
|
|
1187
1189
|
const _CAe = "CertificateArn";
|
|
1188
1190
|
const _CAr = "CreatedAt";
|
|
@@ -1349,6 +1351,9 @@ const _DRURI = "DefaultRedirectURI";
|
|
|
1349
1351
|
const _DSVC = "DeviceSecretVerifierConfig";
|
|
1350
1352
|
const _DSVCT = "DeviceSecretVerifierConfigType";
|
|
1351
1353
|
const _DT = "DeviceType";
|
|
1354
|
+
const _DTBC = "DescribeTermsByClient";
|
|
1355
|
+
const _DTBCR = "DescribeTermsByClientRequest";
|
|
1356
|
+
const _DTBCRe = "DescribeTermsByClientResponse";
|
|
1352
1357
|
const _DTR = "DeleteTermsRequest";
|
|
1353
1358
|
const _DTRe = "DescribeTermsRequest";
|
|
1354
1359
|
const _DTRes = "DescribeTermsResponse";
|
|
@@ -1459,6 +1464,9 @@ const _G = "Groups";
|
|
|
1459
1464
|
const _GCSVH = "GetCSVHeader";
|
|
1460
1465
|
const _GCSVHR = "GetCSVHeaderRequest";
|
|
1461
1466
|
const _GCSVHRe = "GetCSVHeaderResponse";
|
|
1467
|
+
const _GCT = "GetClientToken";
|
|
1468
|
+
const _GCTR = "GetClientTokenRequest";
|
|
1469
|
+
const _GCTRe = "GetClientTokenResponse";
|
|
1462
1470
|
const _GD = "GetDevice";
|
|
1463
1471
|
const _GDR = "GetDeviceRequest";
|
|
1464
1472
|
const _GDRe = "GetDeviceResponse";
|
|
@@ -1823,6 +1831,7 @@ const _Sa = "Salt";
|
|
|
1823
1831
|
const _Sc = "Scopes";
|
|
1824
1832
|
const _Sch = "Schema";
|
|
1825
1833
|
const _Se = "Settings";
|
|
1834
|
+
const _Sec = "Secret";
|
|
1826
1835
|
const _St = "Status";
|
|
1827
1836
|
const _Su = "Subject";
|
|
1828
1837
|
const _T = "Terms";
|
|
@@ -2734,6 +2743,11 @@ var ChangePasswordResponse$ = [3, n0, _CPRh,
|
|
|
2734
2743
|
[],
|
|
2735
2744
|
[]
|
|
2736
2745
|
];
|
|
2746
|
+
var ClientAuthenticationResultType$ = [3, n0, _CART,
|
|
2747
|
+
0,
|
|
2748
|
+
[_ATc, _EIxp, _TT],
|
|
2749
|
+
[[() => TokenModelType, 0], 1, 0]
|
|
2750
|
+
];
|
|
2737
2751
|
var ClientSecretDescriptorType$ = [3, n0, _CSDT,
|
|
2738
2752
|
0,
|
|
2739
2753
|
[_CSI, _CSV, _CSCD],
|
|
@@ -3059,6 +3073,16 @@ var DescribeRiskConfigurationResponse$ = [3, n0, _DRCRe,
|
|
|
3059
3073
|
[_RC],
|
|
3060
3074
|
[[() => RiskConfigurationType$, 0]], 1
|
|
3061
3075
|
];
|
|
3076
|
+
var DescribeTermsByClientRequest$ = [3, n0, _DTBCR,
|
|
3077
|
+
0,
|
|
3078
|
+
[_CI, _UPI, _TN],
|
|
3079
|
+
[[() => ClientIdType, 0], 0, 0], 3
|
|
3080
|
+
];
|
|
3081
|
+
var DescribeTermsByClientResponse$ = [3, n0, _DTBCRe,
|
|
3082
|
+
0,
|
|
3083
|
+
[_T],
|
|
3084
|
+
[[() => TermsType$, 0]]
|
|
3085
|
+
];
|
|
3062
3086
|
var DescribeTermsRequest$ = [3, n0, _DTRe,
|
|
3063
3087
|
0,
|
|
3064
3088
|
[_TI, _UPI],
|
|
@@ -3189,6 +3213,16 @@ var ForgotPasswordResponse$ = [3, n0, _FPRo,
|
|
|
3189
3213
|
[_CDD],
|
|
3190
3214
|
[() => CodeDeliveryDetailsType$]
|
|
3191
3215
|
];
|
|
3216
|
+
var GetClientTokenRequest$ = [3, n0, _GCTR,
|
|
3217
|
+
0,
|
|
3218
|
+
[_CI, _Sec, _Sc, _CM],
|
|
3219
|
+
[[() => ClientIdType, 0], [() => ClientSecretType, 0], 64 | 0, 128 | 0], 2
|
|
3220
|
+
];
|
|
3221
|
+
var GetClientTokenResponse$ = [3, n0, _GCTRe,
|
|
3222
|
+
0,
|
|
3223
|
+
[_CAR],
|
|
3224
|
+
[[() => ClientAuthenticationResultType$, 0]]
|
|
3225
|
+
];
|
|
3192
3226
|
var GetCSVHeaderRequest$ = [3, n0, _GCSVHR,
|
|
3193
3227
|
0,
|
|
3194
3228
|
[_UPI],
|
|
@@ -4348,6 +4382,9 @@ var DescribeRiskConfiguration$ = [9, n0, _DRC,
|
|
|
4348
4382
|
var DescribeTerms$ = [9, n0, _DTes,
|
|
4349
4383
|
0, () => DescribeTermsRequest$, () => DescribeTermsResponse$
|
|
4350
4384
|
];
|
|
4385
|
+
var DescribeTermsByClient$ = [9, n0, _DTBC,
|
|
4386
|
+
0, () => DescribeTermsByClientRequest$, () => DescribeTermsByClientResponse$
|
|
4387
|
+
];
|
|
4351
4388
|
var DescribeUserImportJob$ = [9, n0, _DUIJ,
|
|
4352
4389
|
0, () => DescribeUserImportJobRequest$, () => DescribeUserImportJobResponse$
|
|
4353
4390
|
];
|
|
@@ -4366,6 +4403,9 @@ var ForgetDevice$ = [9, n0, _FDo,
|
|
|
4366
4403
|
var ForgotPassword$ = [9, n0, _FP,
|
|
4367
4404
|
0, () => ForgotPasswordRequest$, () => ForgotPasswordResponse$
|
|
4368
4405
|
];
|
|
4406
|
+
var GetClientToken$ = [9, n0, _GCT,
|
|
4407
|
+
0, () => GetClientTokenRequest$, () => GetClientTokenResponse$
|
|
4408
|
+
];
|
|
4369
4409
|
var GetCSVHeader$ = [9, n0, _GCSVH,
|
|
4370
4410
|
0, () => GetCSVHeaderRequest$, () => GetCSVHeaderResponse$
|
|
4371
4411
|
];
|
|
@@ -4892,6 +4932,9 @@ class DescribeResourceServerCommand extends command(_ep0, _mw0, "DescribeResourc
|
|
|
4892
4932
|
class DescribeRiskConfigurationCommand extends command(_ep0, _mw0, "DescribeRiskConfiguration", DescribeRiskConfiguration$) {
|
|
4893
4933
|
}
|
|
4894
4934
|
|
|
4935
|
+
class DescribeTermsByClientCommand extends command(_ep0, _mw0, "DescribeTermsByClient", DescribeTermsByClient$) {
|
|
4936
|
+
}
|
|
4937
|
+
|
|
4895
4938
|
class DescribeTermsCommand extends command(_ep0, _mw0, "DescribeTerms", DescribeTerms$) {
|
|
4896
4939
|
}
|
|
4897
4940
|
|
|
@@ -4913,6 +4956,9 @@ class ForgetDeviceCommand extends command(_ep0, _mw0, "ForgetDevice", ForgetDevi
|
|
|
4913
4956
|
class ForgotPasswordCommand extends command(_ep0, _mw0, "ForgotPassword", ForgotPassword$) {
|
|
4914
4957
|
}
|
|
4915
4958
|
|
|
4959
|
+
class GetClientTokenCommand extends command(_ep0, _mw0, "GetClientToken", GetClientToken$) {
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4916
4962
|
class GetCSVHeaderCommand extends command(_ep0, _mw0, "GetCSVHeader", GetCSVHeader$) {
|
|
4917
4963
|
}
|
|
4918
4964
|
|
|
@@ -5174,12 +5220,14 @@ const commands = {
|
|
|
5174
5220
|
DescribeResourceServerCommand,
|
|
5175
5221
|
DescribeRiskConfigurationCommand,
|
|
5176
5222
|
DescribeTermsCommand,
|
|
5223
|
+
DescribeTermsByClientCommand,
|
|
5177
5224
|
DescribeUserImportJobCommand,
|
|
5178
5225
|
DescribeUserPoolCommand,
|
|
5179
5226
|
DescribeUserPoolClientCommand,
|
|
5180
5227
|
DescribeUserPoolDomainCommand,
|
|
5181
5228
|
ForgetDeviceCommand,
|
|
5182
5229
|
ForgotPasswordCommand,
|
|
5230
|
+
GetClientTokenCommand,
|
|
5183
5231
|
GetCSVHeaderCommand,
|
|
5184
5232
|
GetDeviceCommand,
|
|
5185
5233
|
GetGroupCommand,
|
|
@@ -5734,6 +5782,7 @@ exports.ChangePassword$ = ChangePassword$;
|
|
|
5734
5782
|
exports.ChangePasswordCommand = ChangePasswordCommand;
|
|
5735
5783
|
exports.ChangePasswordRequest$ = ChangePasswordRequest$;
|
|
5736
5784
|
exports.ChangePasswordResponse$ = ChangePasswordResponse$;
|
|
5785
|
+
exports.ClientAuthenticationResultType$ = ClientAuthenticationResultType$;
|
|
5737
5786
|
exports.ClientSecretDescriptorType$ = ClientSecretDescriptorType$;
|
|
5738
5787
|
exports.CloudWatchLogsConfigurationType$ = CloudWatchLogsConfigurationType$;
|
|
5739
5788
|
exports.CodeDeliveryDetailsType$ = CodeDeliveryDetailsType$;
|
|
@@ -5881,6 +5930,10 @@ exports.DescribeRiskConfigurationCommand = DescribeRiskConfigurationCommand;
|
|
|
5881
5930
|
exports.DescribeRiskConfigurationRequest$ = DescribeRiskConfigurationRequest$;
|
|
5882
5931
|
exports.DescribeRiskConfigurationResponse$ = DescribeRiskConfigurationResponse$;
|
|
5883
5932
|
exports.DescribeTerms$ = DescribeTerms$;
|
|
5933
|
+
exports.DescribeTermsByClient$ = DescribeTermsByClient$;
|
|
5934
|
+
exports.DescribeTermsByClientCommand = DescribeTermsByClientCommand;
|
|
5935
|
+
exports.DescribeTermsByClientRequest$ = DescribeTermsByClientRequest$;
|
|
5936
|
+
exports.DescribeTermsByClientResponse$ = DescribeTermsByClientResponse$;
|
|
5884
5937
|
exports.DescribeTermsCommand = DescribeTermsCommand;
|
|
5885
5938
|
exports.DescribeTermsRequest$ = DescribeTermsRequest$;
|
|
5886
5939
|
exports.DescribeTermsResponse$ = DescribeTermsResponse$;
|
|
@@ -5947,6 +6000,10 @@ exports.GetCSVHeader$ = GetCSVHeader$;
|
|
|
5947
6000
|
exports.GetCSVHeaderCommand = GetCSVHeaderCommand;
|
|
5948
6001
|
exports.GetCSVHeaderRequest$ = GetCSVHeaderRequest$;
|
|
5949
6002
|
exports.GetCSVHeaderResponse$ = GetCSVHeaderResponse$;
|
|
6003
|
+
exports.GetClientToken$ = GetClientToken$;
|
|
6004
|
+
exports.GetClientTokenCommand = GetClientTokenCommand;
|
|
6005
|
+
exports.GetClientTokenRequest$ = GetClientTokenRequest$;
|
|
6006
|
+
exports.GetClientTokenResponse$ = GetClientTokenResponse$;
|
|
5950
6007
|
exports.GetDevice$ = GetDevice$;
|
|
5951
6008
|
exports.GetDeviceCommand = GetDeviceCommand;
|
|
5952
6009
|
exports.GetDeviceRequest$ = GetDeviceRequest$;
|
|
@@ -64,6 +64,7 @@ import { DescribeManagedLoginBrandingByClientCommand, } from "./commands/Describ
|
|
|
64
64
|
import { DescribeManagedLoginBrandingCommand, } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
65
65
|
import { DescribeResourceServerCommand, } from "./commands/DescribeResourceServerCommand";
|
|
66
66
|
import { DescribeRiskConfigurationCommand, } from "./commands/DescribeRiskConfigurationCommand";
|
|
67
|
+
import { DescribeTermsByClientCommand, } from "./commands/DescribeTermsByClientCommand";
|
|
67
68
|
import { DescribeTermsCommand, } from "./commands/DescribeTermsCommand";
|
|
68
69
|
import { DescribeUserImportJobCommand, } from "./commands/DescribeUserImportJobCommand";
|
|
69
70
|
import { DescribeUserPoolClientCommand, } from "./commands/DescribeUserPoolClientCommand";
|
|
@@ -71,6 +72,7 @@ import { DescribeUserPoolCommand, } from "./commands/DescribeUserPoolCommand";
|
|
|
71
72
|
import { DescribeUserPoolDomainCommand, } from "./commands/DescribeUserPoolDomainCommand";
|
|
72
73
|
import { ForgetDeviceCommand, } from "./commands/ForgetDeviceCommand";
|
|
73
74
|
import { ForgotPasswordCommand, } from "./commands/ForgotPasswordCommand";
|
|
75
|
+
import { GetClientTokenCommand, } from "./commands/GetClientTokenCommand";
|
|
74
76
|
import { GetCSVHeaderCommand, } from "./commands/GetCSVHeaderCommand";
|
|
75
77
|
import { GetDeviceCommand } from "./commands/GetDeviceCommand";
|
|
76
78
|
import { GetGroupCommand } from "./commands/GetGroupCommand";
|
|
@@ -205,12 +207,14 @@ const commands = {
|
|
|
205
207
|
DescribeResourceServerCommand,
|
|
206
208
|
DescribeRiskConfigurationCommand,
|
|
207
209
|
DescribeTermsCommand,
|
|
210
|
+
DescribeTermsByClientCommand,
|
|
208
211
|
DescribeUserImportJobCommand,
|
|
209
212
|
DescribeUserPoolCommand,
|
|
210
213
|
DescribeUserPoolClientCommand,
|
|
211
214
|
DescribeUserPoolDomainCommand,
|
|
212
215
|
ForgetDeviceCommand,
|
|
213
216
|
ForgotPasswordCommand,
|
|
217
|
+
GetClientTokenCommand,
|
|
214
218
|
GetCSVHeaderCommand,
|
|
215
219
|
GetDeviceCommand,
|
|
216
220
|
GetGroupCommand,
|
|
@@ -62,6 +62,7 @@ export * from "./DescribeManagedLoginBrandingByClientCommand";
|
|
|
62
62
|
export * from "./DescribeManagedLoginBrandingCommand";
|
|
63
63
|
export * from "./DescribeResourceServerCommand";
|
|
64
64
|
export * from "./DescribeRiskConfigurationCommand";
|
|
65
|
+
export * from "./DescribeTermsByClientCommand";
|
|
65
66
|
export * from "./DescribeTermsCommand";
|
|
66
67
|
export * from "./DescribeUserImportJobCommand";
|
|
67
68
|
export * from "./DescribeUserPoolClientCommand";
|
|
@@ -70,6 +71,7 @@ export * from "./DescribeUserPoolDomainCommand";
|
|
|
70
71
|
export * from "./ForgetDeviceCommand";
|
|
71
72
|
export * from "./ForgotPasswordCommand";
|
|
72
73
|
export * from "./GetCSVHeaderCommand";
|
|
74
|
+
export * from "./GetClientTokenCommand";
|
|
73
75
|
export * from "./GetDeviceCommand";
|
|
74
76
|
export * from "./GetGroupCommand";
|
|
75
77
|
export * from "./GetIdentityProviderByIdentifierCommand";
|
|
@@ -152,6 +152,8 @@ const _CA = "CustomAttributes";
|
|
|
152
152
|
const _CAC = "CreateAuthChallenge";
|
|
153
153
|
const _CALT = "CustomAttributesListType";
|
|
154
154
|
const _CAM = "CustomAuthMode";
|
|
155
|
+
const _CAR = "ClientAuthenticationResult";
|
|
156
|
+
const _CART = "ClientAuthenticationResultType";
|
|
155
157
|
const _CAa = "CallerArn";
|
|
156
158
|
const _CAe = "CertificateArn";
|
|
157
159
|
const _CAr = "CreatedAt";
|
|
@@ -318,6 +320,9 @@ const _DRURI = "DefaultRedirectURI";
|
|
|
318
320
|
const _DSVC = "DeviceSecretVerifierConfig";
|
|
319
321
|
const _DSVCT = "DeviceSecretVerifierConfigType";
|
|
320
322
|
const _DT = "DeviceType";
|
|
323
|
+
const _DTBC = "DescribeTermsByClient";
|
|
324
|
+
const _DTBCR = "DescribeTermsByClientRequest";
|
|
325
|
+
const _DTBCRe = "DescribeTermsByClientResponse";
|
|
321
326
|
const _DTR = "DeleteTermsRequest";
|
|
322
327
|
const _DTRe = "DescribeTermsRequest";
|
|
323
328
|
const _DTRes = "DescribeTermsResponse";
|
|
@@ -428,6 +433,9 @@ const _G = "Groups";
|
|
|
428
433
|
const _GCSVH = "GetCSVHeader";
|
|
429
434
|
const _GCSVHR = "GetCSVHeaderRequest";
|
|
430
435
|
const _GCSVHRe = "GetCSVHeaderResponse";
|
|
436
|
+
const _GCT = "GetClientToken";
|
|
437
|
+
const _GCTR = "GetClientTokenRequest";
|
|
438
|
+
const _GCTRe = "GetClientTokenResponse";
|
|
431
439
|
const _GD = "GetDevice";
|
|
432
440
|
const _GDR = "GetDeviceRequest";
|
|
433
441
|
const _GDRe = "GetDeviceResponse";
|
|
@@ -792,6 +800,7 @@ const _Sa = "Salt";
|
|
|
792
800
|
const _Sc = "Scopes";
|
|
793
801
|
const _Sch = "Schema";
|
|
794
802
|
const _Se = "Settings";
|
|
803
|
+
const _Sec = "Secret";
|
|
795
804
|
const _St = "Status";
|
|
796
805
|
const _Su = "Subject";
|
|
797
806
|
const _T = "Terms";
|
|
@@ -1706,6 +1715,11 @@ export var ChangePasswordResponse$ = [3, n0, _CPRh,
|
|
|
1706
1715
|
[],
|
|
1707
1716
|
[]
|
|
1708
1717
|
];
|
|
1718
|
+
export var ClientAuthenticationResultType$ = [3, n0, _CART,
|
|
1719
|
+
0,
|
|
1720
|
+
[_ATc, _EIxp, _TT],
|
|
1721
|
+
[[() => TokenModelType, 0], 1, 0]
|
|
1722
|
+
];
|
|
1709
1723
|
export var ClientSecretDescriptorType$ = [3, n0, _CSDT,
|
|
1710
1724
|
0,
|
|
1711
1725
|
[_CSI, _CSV, _CSCD],
|
|
@@ -2031,6 +2045,16 @@ export var DescribeRiskConfigurationResponse$ = [3, n0, _DRCRe,
|
|
|
2031
2045
|
[_RC],
|
|
2032
2046
|
[[() => RiskConfigurationType$, 0]], 1
|
|
2033
2047
|
];
|
|
2048
|
+
export var DescribeTermsByClientRequest$ = [3, n0, _DTBCR,
|
|
2049
|
+
0,
|
|
2050
|
+
[_CI, _UPI, _TN],
|
|
2051
|
+
[[() => ClientIdType, 0], 0, 0], 3
|
|
2052
|
+
];
|
|
2053
|
+
export var DescribeTermsByClientResponse$ = [3, n0, _DTBCRe,
|
|
2054
|
+
0,
|
|
2055
|
+
[_T],
|
|
2056
|
+
[[() => TermsType$, 0]]
|
|
2057
|
+
];
|
|
2034
2058
|
export var DescribeTermsRequest$ = [3, n0, _DTRe,
|
|
2035
2059
|
0,
|
|
2036
2060
|
[_TI, _UPI],
|
|
@@ -2161,6 +2185,16 @@ export var ForgotPasswordResponse$ = [3, n0, _FPRo,
|
|
|
2161
2185
|
[_CDD],
|
|
2162
2186
|
[() => CodeDeliveryDetailsType$]
|
|
2163
2187
|
];
|
|
2188
|
+
export var GetClientTokenRequest$ = [3, n0, _GCTR,
|
|
2189
|
+
0,
|
|
2190
|
+
[_CI, _Sec, _Sc, _CM],
|
|
2191
|
+
[[() => ClientIdType, 0], [() => ClientSecretType, 0], 64 | 0, 128 | 0], 2
|
|
2192
|
+
];
|
|
2193
|
+
export var GetClientTokenResponse$ = [3, n0, _GCTRe,
|
|
2194
|
+
0,
|
|
2195
|
+
[_CAR],
|
|
2196
|
+
[[() => ClientAuthenticationResultType$, 0]]
|
|
2197
|
+
];
|
|
2164
2198
|
export var GetCSVHeaderRequest$ = [3, n0, _GCSVHR,
|
|
2165
2199
|
0,
|
|
2166
2200
|
[_UPI],
|
|
@@ -3353,6 +3387,9 @@ export var DescribeRiskConfiguration$ = [9, n0, _DRC,
|
|
|
3353
3387
|
export var DescribeTerms$ = [9, n0, _DTes,
|
|
3354
3388
|
0, () => DescribeTermsRequest$, () => DescribeTermsResponse$
|
|
3355
3389
|
];
|
|
3390
|
+
export var DescribeTermsByClient$ = [9, n0, _DTBC,
|
|
3391
|
+
0, () => DescribeTermsByClientRequest$, () => DescribeTermsByClientResponse$
|
|
3392
|
+
];
|
|
3356
3393
|
export var DescribeUserImportJob$ = [9, n0, _DUIJ,
|
|
3357
3394
|
0, () => DescribeUserImportJobRequest$, () => DescribeUserImportJobResponse$
|
|
3358
3395
|
];
|
|
@@ -3371,6 +3408,9 @@ export var ForgetDevice$ = [9, n0, _FDo,
|
|
|
3371
3408
|
export var ForgotPassword$ = [9, n0, _FP,
|
|
3372
3409
|
0, () => ForgotPasswordRequest$, () => ForgotPasswordResponse$
|
|
3373
3410
|
];
|
|
3411
|
+
export var GetClientToken$ = [9, n0, _GCT,
|
|
3412
|
+
0, () => GetClientTokenRequest$, () => GetClientTokenResponse$
|
|
3413
|
+
];
|
|
3374
3414
|
export var GetCSVHeader$ = [9, n0, _GCSVH,
|
|
3375
3415
|
0, () => GetCSVHeaderRequest$, () => GetCSVHeaderResponse$
|
|
3376
3416
|
];
|
|
@@ -64,6 +64,7 @@ import { type DescribeManagedLoginBrandingByClientCommandInput, type DescribeMan
|
|
|
64
64
|
import { type DescribeManagedLoginBrandingCommandInput, type DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
65
65
|
import { type DescribeResourceServerCommandInput, type DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
66
66
|
import { type DescribeRiskConfigurationCommandInput, type DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
67
|
+
import { type DescribeTermsByClientCommandInput, type DescribeTermsByClientCommandOutput } from "./commands/DescribeTermsByClientCommand";
|
|
67
68
|
import { type DescribeTermsCommandInput, type DescribeTermsCommandOutput } from "./commands/DescribeTermsCommand";
|
|
68
69
|
import { type DescribeUserImportJobCommandInput, type DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
69
70
|
import { type DescribeUserPoolClientCommandInput, type DescribeUserPoolClientCommandOutput } from "./commands/DescribeUserPoolClientCommand";
|
|
@@ -71,6 +72,7 @@ import { type DescribeUserPoolCommandInput, type DescribeUserPoolCommandOutput }
|
|
|
71
72
|
import { type DescribeUserPoolDomainCommandInput, type DescribeUserPoolDomainCommandOutput } from "./commands/DescribeUserPoolDomainCommand";
|
|
72
73
|
import { type ForgetDeviceCommandInput, type ForgetDeviceCommandOutput } from "./commands/ForgetDeviceCommand";
|
|
73
74
|
import { type ForgotPasswordCommandInput, type ForgotPasswordCommandOutput } from "./commands/ForgotPasswordCommand";
|
|
75
|
+
import { type GetClientTokenCommandInput, type GetClientTokenCommandOutput } from "./commands/GetClientTokenCommand";
|
|
74
76
|
import { type GetCSVHeaderCommandInput, type GetCSVHeaderCommandOutput } from "./commands/GetCSVHeaderCommand";
|
|
75
77
|
import { type GetDeviceCommandInput, type GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
|
|
76
78
|
import { type GetGroupCommandInput, type GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
@@ -522,6 +524,12 @@ export interface CognitoIdentityProvider {
|
|
|
522
524
|
describeTerms(args: DescribeTermsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTermsCommandOutput>;
|
|
523
525
|
describeTerms(args: DescribeTermsCommandInput, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
|
|
524
526
|
describeTerms(args: DescribeTermsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTermsCommandOutput) => void): void;
|
|
527
|
+
/**
|
|
528
|
+
* @see {@link DescribeTermsByClientCommand}
|
|
529
|
+
*/
|
|
530
|
+
describeTermsByClient(args: DescribeTermsByClientCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTermsByClientCommandOutput>;
|
|
531
|
+
describeTermsByClient(args: DescribeTermsByClientCommandInput, cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void): void;
|
|
532
|
+
describeTermsByClient(args: DescribeTermsByClientCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTermsByClientCommandOutput) => void): void;
|
|
525
533
|
/**
|
|
526
534
|
* @see {@link DescribeUserImportJobCommand}
|
|
527
535
|
*/
|
|
@@ -558,6 +566,12 @@ export interface CognitoIdentityProvider {
|
|
|
558
566
|
forgotPassword(args: ForgotPasswordCommandInput, options?: __HttpHandlerOptions): Promise<ForgotPasswordCommandOutput>;
|
|
559
567
|
forgotPassword(args: ForgotPasswordCommandInput, cb: (err: any, data?: ForgotPasswordCommandOutput) => void): void;
|
|
560
568
|
forgotPassword(args: ForgotPasswordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ForgotPasswordCommandOutput) => void): void;
|
|
569
|
+
/**
|
|
570
|
+
* @see {@link GetClientTokenCommand}
|
|
571
|
+
*/
|
|
572
|
+
getClientToken(args: GetClientTokenCommandInput, options?: __HttpHandlerOptions): Promise<GetClientTokenCommandOutput>;
|
|
573
|
+
getClientToken(args: GetClientTokenCommandInput, cb: (err: any, data?: GetClientTokenCommandOutput) => void): void;
|
|
574
|
+
getClientToken(args: GetClientTokenCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetClientTokenCommandOutput) => void): void;
|
|
561
575
|
/**
|
|
562
576
|
* @see {@link GetCSVHeaderCommand}
|
|
563
577
|
*/
|
|
@@ -70,6 +70,7 @@ import type { DescribeManagedLoginBrandingByClientCommandInput, DescribeManagedL
|
|
|
70
70
|
import type { DescribeManagedLoginBrandingCommandInput, DescribeManagedLoginBrandingCommandOutput } from "./commands/DescribeManagedLoginBrandingCommand";
|
|
71
71
|
import type { DescribeResourceServerCommandInput, DescribeResourceServerCommandOutput } from "./commands/DescribeResourceServerCommand";
|
|
72
72
|
import type { DescribeRiskConfigurationCommandInput, DescribeRiskConfigurationCommandOutput } from "./commands/DescribeRiskConfigurationCommand";
|
|
73
|
+
import type { DescribeTermsByClientCommandInput, DescribeTermsByClientCommandOutput } from "./commands/DescribeTermsByClientCommand";
|
|
73
74
|
import type { DescribeTermsCommandInput, DescribeTermsCommandOutput } from "./commands/DescribeTermsCommand";
|
|
74
75
|
import type { DescribeUserImportJobCommandInput, DescribeUserImportJobCommandOutput } from "./commands/DescribeUserImportJobCommand";
|
|
75
76
|
import type { DescribeUserPoolClientCommandInput, DescribeUserPoolClientCommandOutput } from "./commands/DescribeUserPoolClientCommand";
|
|
@@ -77,6 +78,7 @@ import type { DescribeUserPoolCommandInput, DescribeUserPoolCommandOutput } from
|
|
|
77
78
|
import type { DescribeUserPoolDomainCommandInput, DescribeUserPoolDomainCommandOutput } from "./commands/DescribeUserPoolDomainCommand";
|
|
78
79
|
import type { ForgetDeviceCommandInput, ForgetDeviceCommandOutput } from "./commands/ForgetDeviceCommand";
|
|
79
80
|
import type { ForgotPasswordCommandInput, ForgotPasswordCommandOutput } from "./commands/ForgotPasswordCommand";
|
|
81
|
+
import type { GetClientTokenCommandInput, GetClientTokenCommandOutput } from "./commands/GetClientTokenCommand";
|
|
80
82
|
import type { GetCSVHeaderCommandInput, GetCSVHeaderCommandOutput } from "./commands/GetCSVHeaderCommand";
|
|
81
83
|
import type { GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDeviceCommand";
|
|
82
84
|
import type { GetGroupCommandInput, GetGroupCommandOutput } from "./commands/GetGroupCommand";
|
|
@@ -142,11 +144,11 @@ export { __Client };
|
|
|
142
144
|
/**
|
|
143
145
|
* @public
|
|
144
146
|
*/
|
|
145
|
-
export type ServiceInputTypes = AddCustomAttributesCommandInput | AddUserPoolClientSecretCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteSoftwareTokenCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserAuthFactorsCommandInput | 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 | CreateUserPoolReplicaCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolClientSecretCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteUserPoolReplicaCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetProvisionedLimitCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientSecretsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolReplicasCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateProvisionedLimitCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | UpdateUserPoolReplicaCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
147
|
+
export type ServiceInputTypes = AddCustomAttributesCommandInput | AddUserPoolClientSecretCommandInput | AdminAddUserToGroupCommandInput | AdminConfirmSignUpCommandInput | AdminCreateUserCommandInput | AdminDeleteSoftwareTokenCommandInput | AdminDeleteUserAttributesCommandInput | AdminDeleteUserCommandInput | AdminDisableProviderForUserCommandInput | AdminDisableUserCommandInput | AdminEnableUserCommandInput | AdminForgetDeviceCommandInput | AdminGetDeviceCommandInput | AdminGetUserAuthFactorsCommandInput | 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 | CreateUserPoolReplicaCommandInput | DeleteGroupCommandInput | DeleteIdentityProviderCommandInput | DeleteManagedLoginBrandingCommandInput | DeleteResourceServerCommandInput | DeleteTermsCommandInput | DeleteUserAttributesCommandInput | DeleteUserCommandInput | DeleteUserPoolClientCommandInput | DeleteUserPoolClientSecretCommandInput | DeleteUserPoolCommandInput | DeleteUserPoolDomainCommandInput | DeleteUserPoolReplicaCommandInput | DeleteWebAuthnCredentialCommandInput | DescribeIdentityProviderCommandInput | DescribeManagedLoginBrandingByClientCommandInput | DescribeManagedLoginBrandingCommandInput | DescribeResourceServerCommandInput | DescribeRiskConfigurationCommandInput | DescribeTermsByClientCommandInput | DescribeTermsCommandInput | DescribeUserImportJobCommandInput | DescribeUserPoolClientCommandInput | DescribeUserPoolCommandInput | DescribeUserPoolDomainCommandInput | ForgetDeviceCommandInput | ForgotPasswordCommandInput | GetCSVHeaderCommandInput | GetClientTokenCommandInput | GetDeviceCommandInput | GetGroupCommandInput | GetIdentityProviderByIdentifierCommandInput | GetLogDeliveryConfigurationCommandInput | GetProvisionedLimitCommandInput | GetSigningCertificateCommandInput | GetTokensFromRefreshTokenCommandInput | GetUICustomizationCommandInput | GetUserAttributeVerificationCodeCommandInput | GetUserAuthFactorsCommandInput | GetUserCommandInput | GetUserPoolMfaConfigCommandInput | GlobalSignOutCommandInput | InitiateAuthCommandInput | ListDevicesCommandInput | ListGroupsCommandInput | ListIdentityProvidersCommandInput | ListResourceServersCommandInput | ListTagsForResourceCommandInput | ListTermsCommandInput | ListUserImportJobsCommandInput | ListUserPoolClientSecretsCommandInput | ListUserPoolClientsCommandInput | ListUserPoolReplicasCommandInput | ListUserPoolsCommandInput | ListUsersCommandInput | ListUsersInGroupCommandInput | ListWebAuthnCredentialsCommandInput | ResendConfirmationCodeCommandInput | RespondToAuthChallengeCommandInput | RevokeTokenCommandInput | SetLogDeliveryConfigurationCommandInput | SetRiskConfigurationCommandInput | SetUICustomizationCommandInput | SetUserMFAPreferenceCommandInput | SetUserPoolMfaConfigCommandInput | SetUserSettingsCommandInput | SignUpCommandInput | StartUserImportJobCommandInput | StartWebAuthnRegistrationCommandInput | StopUserImportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAuthEventFeedbackCommandInput | UpdateDeviceStatusCommandInput | UpdateGroupCommandInput | UpdateIdentityProviderCommandInput | UpdateManagedLoginBrandingCommandInput | UpdateProvisionedLimitCommandInput | UpdateResourceServerCommandInput | UpdateTermsCommandInput | UpdateUserAttributesCommandInput | UpdateUserPoolClientCommandInput | UpdateUserPoolCommandInput | UpdateUserPoolDomainCommandInput | UpdateUserPoolReplicaCommandInput | VerifySoftwareTokenCommandInput | VerifyUserAttributeCommandInput;
|
|
146
148
|
/**
|
|
147
149
|
* @public
|
|
148
150
|
*/
|
|
149
|
-
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AddUserPoolClientSecretCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteSoftwareTokenCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserAuthFactorsCommandOutput | 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 | CreateUserPoolReplicaCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolClientSecretCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteUserPoolReplicaCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetProvisionedLimitCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientSecretsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolReplicasCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateProvisionedLimitCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | UpdateUserPoolReplicaCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
151
|
+
export type ServiceOutputTypes = AddCustomAttributesCommandOutput | AddUserPoolClientSecretCommandOutput | AdminAddUserToGroupCommandOutput | AdminConfirmSignUpCommandOutput | AdminCreateUserCommandOutput | AdminDeleteSoftwareTokenCommandOutput | AdminDeleteUserAttributesCommandOutput | AdminDeleteUserCommandOutput | AdminDisableProviderForUserCommandOutput | AdminDisableUserCommandOutput | AdminEnableUserCommandOutput | AdminForgetDeviceCommandOutput | AdminGetDeviceCommandOutput | AdminGetUserAuthFactorsCommandOutput | 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 | CreateUserPoolReplicaCommandOutput | DeleteGroupCommandOutput | DeleteIdentityProviderCommandOutput | DeleteManagedLoginBrandingCommandOutput | DeleteResourceServerCommandOutput | DeleteTermsCommandOutput | DeleteUserAttributesCommandOutput | DeleteUserCommandOutput | DeleteUserPoolClientCommandOutput | DeleteUserPoolClientSecretCommandOutput | DeleteUserPoolCommandOutput | DeleteUserPoolDomainCommandOutput | DeleteUserPoolReplicaCommandOutput | DeleteWebAuthnCredentialCommandOutput | DescribeIdentityProviderCommandOutput | DescribeManagedLoginBrandingByClientCommandOutput | DescribeManagedLoginBrandingCommandOutput | DescribeResourceServerCommandOutput | DescribeRiskConfigurationCommandOutput | DescribeTermsByClientCommandOutput | DescribeTermsCommandOutput | DescribeUserImportJobCommandOutput | DescribeUserPoolClientCommandOutput | DescribeUserPoolCommandOutput | DescribeUserPoolDomainCommandOutput | ForgetDeviceCommandOutput | ForgotPasswordCommandOutput | GetCSVHeaderCommandOutput | GetClientTokenCommandOutput | GetDeviceCommandOutput | GetGroupCommandOutput | GetIdentityProviderByIdentifierCommandOutput | GetLogDeliveryConfigurationCommandOutput | GetProvisionedLimitCommandOutput | GetSigningCertificateCommandOutput | GetTokensFromRefreshTokenCommandOutput | GetUICustomizationCommandOutput | GetUserAttributeVerificationCodeCommandOutput | GetUserAuthFactorsCommandOutput | GetUserCommandOutput | GetUserPoolMfaConfigCommandOutput | GlobalSignOutCommandOutput | InitiateAuthCommandOutput | ListDevicesCommandOutput | ListGroupsCommandOutput | ListIdentityProvidersCommandOutput | ListResourceServersCommandOutput | ListTagsForResourceCommandOutput | ListTermsCommandOutput | ListUserImportJobsCommandOutput | ListUserPoolClientSecretsCommandOutput | ListUserPoolClientsCommandOutput | ListUserPoolReplicasCommandOutput | ListUserPoolsCommandOutput | ListUsersCommandOutput | ListUsersInGroupCommandOutput | ListWebAuthnCredentialsCommandOutput | ResendConfirmationCodeCommandOutput | RespondToAuthChallengeCommandOutput | RevokeTokenCommandOutput | SetLogDeliveryConfigurationCommandOutput | SetRiskConfigurationCommandOutput | SetUICustomizationCommandOutput | SetUserMFAPreferenceCommandOutput | SetUserPoolMfaConfigCommandOutput | SetUserSettingsCommandOutput | SignUpCommandOutput | StartUserImportJobCommandOutput | StartWebAuthnRegistrationCommandOutput | StopUserImportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAuthEventFeedbackCommandOutput | UpdateDeviceStatusCommandOutput | UpdateGroupCommandOutput | UpdateIdentityProviderCommandOutput | UpdateManagedLoginBrandingCommandOutput | UpdateProvisionedLimitCommandOutput | UpdateResourceServerCommandOutput | UpdateTermsCommandOutput | UpdateUserAttributesCommandOutput | UpdateUserPoolClientCommandOutput | UpdateUserPoolCommandOutput | UpdateUserPoolDomainCommandOutput | UpdateUserPoolReplicaCommandOutput | VerifySoftwareTokenCommandOutput | VerifyUserAttributeCommandOutput;
|
|
150
152
|
/**
|
|
151
153
|
* @public
|
|
152
154
|
*/
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTermsByClientRequest, DescribeTermsByClientResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTermsByClientCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTermsByClientCommandInput extends DescribeTermsByClientRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTermsByClientCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTermsByClientCommandOutput extends DescribeTermsByClientResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTermsByClientCommand_base: {
|
|
22
|
+
new (input: DescribeTermsByClientCommandInput): import("@smithy/core/client").CommandImpl<DescribeTermsByClientCommandInput, DescribeTermsByClientCommandOutput, import("..").CognitoIdentityProviderClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeTermsByClientCommandInput): import("@smithy/core/client").CommandImpl<DescribeTermsByClientCommandInput, DescribeTermsByClientCommandOutput, import("..").CognitoIdentityProviderClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns details for the terms documents that are associated with an app client,
|
|
28
|
+
* identified by the app client ID, user pool ID, and terms name. For
|
|
29
|
+
* more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html#managed-login-terms-documents">Terms documents</a>.</p>
|
|
30
|
+
* <p>To call <code>DescribeTermsByClient</code>, you must have the
|
|
31
|
+
* <code>cognito-idp:DescribeTermsByClient</code> Identity and Access Management (IAM) permission. This
|
|
32
|
+
* operation additionally validates your permission for
|
|
33
|
+
* <code>cognito-idp:DescribeTerms</code>, the action for . As a result, an IAM policy that denies
|
|
34
|
+
* <code>cognito-idp:DescribeTerms</code> also denies requests to
|
|
35
|
+
* <code>DescribeTermsByClient</code>.</p>
|
|
36
|
+
* <note>
|
|
37
|
+
* <p>Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For
|
|
38
|
+
* this operation, you must use IAM credentials to authorize requests, and you must
|
|
39
|
+
* grant yourself the corresponding IAM permission in a policy.</p>
|
|
40
|
+
* <p class="title">
|
|
41
|
+
* <b>Learn more</b>
|
|
42
|
+
* </p>
|
|
43
|
+
* <ul>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html">Signing Amazon Web Services API Requests</a>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html">Using the Amazon Cognito user pools API and user pool endpoints</a>
|
|
52
|
+
* </p>
|
|
53
|
+
* </li>
|
|
54
|
+
* </ul>
|
|
55
|
+
* </note>
|
|
56
|
+
* @example
|
|
57
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
58
|
+
* ```javascript
|
|
59
|
+
* import { CognitoIdentityProviderClient, DescribeTermsByClientCommand } from "@aws-sdk/client-cognito-identity-provider"; // ES Modules import
|
|
60
|
+
* // const { CognitoIdentityProviderClient, DescribeTermsByClientCommand } = require("@aws-sdk/client-cognito-identity-provider"); // CommonJS import
|
|
61
|
+
* // import type { CognitoIdentityProviderClientConfig } from "@aws-sdk/client-cognito-identity-provider";
|
|
62
|
+
* const config = {}; // type is CognitoIdentityProviderClientConfig
|
|
63
|
+
* const client = new CognitoIdentityProviderClient(config);
|
|
64
|
+
* const input = { // DescribeTermsByClientRequest
|
|
65
|
+
* ClientId: "STRING_VALUE", // required
|
|
66
|
+
* UserPoolId: "STRING_VALUE", // required
|
|
67
|
+
* TermsName: "STRING_VALUE", // required
|
|
68
|
+
* };
|
|
69
|
+
* const command = new DescribeTermsByClientCommand(input);
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* // { // DescribeTermsByClientResponse
|
|
72
|
+
* // Terms: { // TermsType
|
|
73
|
+
* // TermsId: "STRING_VALUE", // required
|
|
74
|
+
* // UserPoolId: "STRING_VALUE", // required
|
|
75
|
+
* // ClientId: "STRING_VALUE", // required
|
|
76
|
+
* // TermsName: "STRING_VALUE", // required
|
|
77
|
+
* // TermsSource: "LINK", // required
|
|
78
|
+
* // Enforcement: "NONE", // required
|
|
79
|
+
* // Links: { // LinksType // required
|
|
80
|
+
* // "<keys>": "STRING_VALUE",
|
|
81
|
+
* // },
|
|
82
|
+
* // CreationDate: new Date("TIMESTAMP"), // required
|
|
83
|
+
* // LastModifiedDate: new Date("TIMESTAMP"), // required
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param DescribeTermsByClientCommandInput - {@link DescribeTermsByClientCommandInput}
|
|
90
|
+
* @returns {@link DescribeTermsByClientCommandOutput}
|
|
91
|
+
* @see {@link DescribeTermsByClientCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link DescribeTermsByClientCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link CognitoIdentityProviderClientResolvedConfig | config} for CognitoIdentityProviderClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
96
|
+
* <p>This exception is thrown when Amazon Cognito encounters an internal error.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when the Amazon Cognito service encounters an invalid
|
|
100
|
+
* parameter.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link NotAuthorizedException} (client fault)
|
|
103
|
+
* <p>This exception is thrown when a user isn't authorized.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link OperationNotEnabledException} (client fault)
|
|
106
|
+
* <p>This exception is thrown when an operation is not available in the current region or for the current user pool configuration. This can occur when attempting to perform operations that are not supported in secondary replica regions.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
|
+
* <p>This exception is thrown when the Amazon Cognito service can't find the requested
|
|
110
|
+
* resource.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
113
|
+
* <p>This exception is thrown when the user has made too many requests for a given
|
|
114
|
+
* operation.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link CognitoIdentityProviderServiceException}
|
|
117
|
+
* <p>Base exception class for all service exceptions from CognitoIdentityProvider service.</p>
|
|
118
|
+
*
|
|
119
|
+
*
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export declare class DescribeTermsByClientCommand extends DescribeTermsByClientCommand_base {
|
|
123
|
+
/** @internal type navigation helper, not in runtime. */
|
|
124
|
+
protected static __types: {
|
|
125
|
+
api: {
|
|
126
|
+
input: DescribeTermsByClientRequest;
|
|
127
|
+
output: DescribeTermsByClientResponse;
|
|
128
|
+
};
|
|
129
|
+
sdk: {
|
|
130
|
+
input: DescribeTermsByClientCommandInput;
|
|
131
|
+
output: DescribeTermsByClientCommandOutput;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
}
|