@aws-sdk/client-cognito-identity-provider 3.865.0 → 3.873.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 +40 -0
- package/dist-cjs/index.js +361 -58
- package/dist-es/CognitoIdentityProvider.js +10 -0
- package/dist-es/commands/CreateTermsCommand.js +23 -0
- package/dist-es/commands/DeleteTermsCommand.js +22 -0
- package/dist-es/commands/DescribeTermsCommand.js +23 -0
- package/dist-es/commands/GetTokensFromRefreshTokenCommand.js +2 -1
- package/dist-es/commands/GetUICustomizationCommand.js +1 -1
- package/dist-es/commands/GetUserAttributeVerificationCodeCommand.js +1 -1
- package/dist-es/commands/GetUserCommand.js +1 -1
- package/dist-es/commands/ListTermsCommand.js +22 -0
- package/dist-es/commands/UpdateTermsCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +34 -45
- package/dist-es/models/models_1.js +50 -1
- package/dist-es/protocols/Aws_json1_1.js +157 -2
- package/dist-types/CognitoIdentityProvider.d.ts +35 -0
- package/dist-types/CognitoIdentityProviderClient.d.ts +7 -2
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +6 -2
- package/dist-types/commands/CreateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/commands/CreateTermsCommand.d.ts +151 -0
- package/dist-types/commands/DeleteTermsCommand.d.ts +113 -0
- package/dist-types/commands/DescribeTermsCommand.d.ts +123 -0
- package/dist-types/commands/ForgotPasswordCommand.d.ts +6 -3
- package/dist-types/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/ListTermsCommand.d.ts +121 -0
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedLoginBrandingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTermsCommand.d.ts +147 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +485 -366
- package/dist-types/models/models_1.d.ts +600 -119
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +85 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTermsCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeTermsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTokensFromRefreshTokenCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateTermsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +60 -65
- package/dist-types/ts3.4/models/models_1.d.ts +98 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -120,6 +120,9 @@ __export(index_exports, {
|
|
|
120
120
|
CreateManagedLoginBrandingCommand: () => CreateManagedLoginBrandingCommand,
|
|
121
121
|
CreateManagedLoginBrandingRequestFilterSensitiveLog: () => CreateManagedLoginBrandingRequestFilterSensitiveLog,
|
|
122
122
|
CreateResourceServerCommand: () => CreateResourceServerCommand,
|
|
123
|
+
CreateTermsCommand: () => CreateTermsCommand,
|
|
124
|
+
CreateTermsRequestFilterSensitiveLog: () => CreateTermsRequestFilterSensitiveLog,
|
|
125
|
+
CreateTermsResponseFilterSensitiveLog: () => CreateTermsResponseFilterSensitiveLog,
|
|
123
126
|
CreateUserImportJobCommand: () => CreateUserImportJobCommand,
|
|
124
127
|
CreateUserPoolClientCommand: () => CreateUserPoolClientCommand,
|
|
125
128
|
CreateUserPoolClientResponseFilterSensitiveLog: () => CreateUserPoolClientResponseFilterSensitiveLog,
|
|
@@ -132,6 +135,7 @@ __export(index_exports, {
|
|
|
132
135
|
DeleteIdentityProviderCommand: () => DeleteIdentityProviderCommand,
|
|
133
136
|
DeleteManagedLoginBrandingCommand: () => DeleteManagedLoginBrandingCommand,
|
|
134
137
|
DeleteResourceServerCommand: () => DeleteResourceServerCommand,
|
|
138
|
+
DeleteTermsCommand: () => DeleteTermsCommand,
|
|
135
139
|
DeleteUserAttributesCommand: () => DeleteUserAttributesCommand,
|
|
136
140
|
DeleteUserAttributesRequestFilterSensitiveLog: () => DeleteUserAttributesRequestFilterSensitiveLog,
|
|
137
141
|
DeleteUserCommand: () => DeleteUserCommand,
|
|
@@ -152,6 +156,8 @@ __export(index_exports, {
|
|
|
152
156
|
DescribeRiskConfigurationCommand: () => DescribeRiskConfigurationCommand,
|
|
153
157
|
DescribeRiskConfigurationRequestFilterSensitiveLog: () => DescribeRiskConfigurationRequestFilterSensitiveLog,
|
|
154
158
|
DescribeRiskConfigurationResponseFilterSensitiveLog: () => DescribeRiskConfigurationResponseFilterSensitiveLog,
|
|
159
|
+
DescribeTermsCommand: () => DescribeTermsCommand,
|
|
160
|
+
DescribeTermsResponseFilterSensitiveLog: () => DescribeTermsResponseFilterSensitiveLog,
|
|
155
161
|
DescribeUserImportJobCommand: () => DescribeUserImportJobCommand,
|
|
156
162
|
DescribeUserPoolClientCommand: () => DescribeUserPoolClientCommand,
|
|
157
163
|
DescribeUserPoolClientRequestFilterSensitiveLog: () => DescribeUserPoolClientRequestFilterSensitiveLog,
|
|
@@ -226,6 +232,7 @@ __export(index_exports, {
|
|
|
226
232
|
ListIdentityProvidersCommand: () => ListIdentityProvidersCommand,
|
|
227
233
|
ListResourceServersCommand: () => ListResourceServersCommand,
|
|
228
234
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
235
|
+
ListTermsCommand: () => ListTermsCommand,
|
|
229
236
|
ListUserImportJobsCommand: () => ListUserImportJobsCommand,
|
|
230
237
|
ListUserPoolClientsCommand: () => ListUserPoolClientsCommand,
|
|
231
238
|
ListUserPoolClientsResponseFilterSensitiveLog: () => ListUserPoolClientsResponseFilterSensitiveLog,
|
|
@@ -283,6 +290,10 @@ __export(index_exports, {
|
|
|
283
290
|
StatusType: () => StatusType,
|
|
284
291
|
StopUserImportJobCommand: () => StopUserImportJobCommand,
|
|
285
292
|
TagResourceCommand: () => TagResourceCommand,
|
|
293
|
+
TermsEnforcementType: () => TermsEnforcementType,
|
|
294
|
+
TermsExistsException: () => TermsExistsException,
|
|
295
|
+
TermsSourceType: () => TermsSourceType,
|
|
296
|
+
TermsTypeFilterSensitiveLog: () => TermsTypeFilterSensitiveLog,
|
|
286
297
|
TierChangeNotAllowedException: () => TierChangeNotAllowedException,
|
|
287
298
|
TimeUnitsType: () => TimeUnitsType,
|
|
288
299
|
TooManyFailedAttemptsException: () => TooManyFailedAttemptsException,
|
|
@@ -303,6 +314,8 @@ __export(index_exports, {
|
|
|
303
314
|
UpdateIdentityProviderCommand: () => UpdateIdentityProviderCommand,
|
|
304
315
|
UpdateManagedLoginBrandingCommand: () => UpdateManagedLoginBrandingCommand,
|
|
305
316
|
UpdateResourceServerCommand: () => UpdateResourceServerCommand,
|
|
317
|
+
UpdateTermsCommand: () => UpdateTermsCommand,
|
|
318
|
+
UpdateTermsResponseFilterSensitiveLog: () => UpdateTermsResponseFilterSensitiveLog,
|
|
306
319
|
UpdateUserAttributesCommand: () => UpdateUserAttributesCommand,
|
|
307
320
|
UpdateUserAttributesRequestFilterSensitiveLog: () => UpdateUserAttributesRequestFilterSensitiveLog,
|
|
308
321
|
UpdateUserPoolClientCommand: () => UpdateUserPoolClientCommand,
|
|
@@ -1467,6 +1480,30 @@ var ManagedLoginBrandingExistsException = class _ManagedLoginBrandingExistsExcep
|
|
|
1467
1480
|
Object.setPrototypeOf(this, _ManagedLoginBrandingExistsException.prototype);
|
|
1468
1481
|
}
|
|
1469
1482
|
};
|
|
1483
|
+
var TermsEnforcementType = {
|
|
1484
|
+
NONE: "NONE"
|
|
1485
|
+
};
|
|
1486
|
+
var TermsSourceType = {
|
|
1487
|
+
LINK: "LINK"
|
|
1488
|
+
};
|
|
1489
|
+
var TermsExistsException = class _TermsExistsException extends CognitoIdentityProviderServiceException {
|
|
1490
|
+
static {
|
|
1491
|
+
__name(this, "TermsExistsException");
|
|
1492
|
+
}
|
|
1493
|
+
name = "TermsExistsException";
|
|
1494
|
+
$fault = "client";
|
|
1495
|
+
/**
|
|
1496
|
+
* @internal
|
|
1497
|
+
*/
|
|
1498
|
+
constructor(opts) {
|
|
1499
|
+
super({
|
|
1500
|
+
name: "TermsExistsException",
|
|
1501
|
+
$fault: "client",
|
|
1502
|
+
...opts
|
|
1503
|
+
});
|
|
1504
|
+
Object.setPrototypeOf(this, _TermsExistsException.prototype);
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1470
1507
|
var UserImportJobStatusType = {
|
|
1471
1508
|
Created: "Created",
|
|
1472
1509
|
Expired: "Expired",
|
|
@@ -1680,24 +1717,6 @@ var LogLevel = {
|
|
|
1680
1717
|
ERROR: "ERROR",
|
|
1681
1718
|
INFO: "INFO"
|
|
1682
1719
|
};
|
|
1683
|
-
var RefreshTokenReuseException = class _RefreshTokenReuseException extends CognitoIdentityProviderServiceException {
|
|
1684
|
-
static {
|
|
1685
|
-
__name(this, "RefreshTokenReuseException");
|
|
1686
|
-
}
|
|
1687
|
-
name = "RefreshTokenReuseException";
|
|
1688
|
-
$fault = "client";
|
|
1689
|
-
/**
|
|
1690
|
-
* @internal
|
|
1691
|
-
*/
|
|
1692
|
-
constructor(opts) {
|
|
1693
|
-
super({
|
|
1694
|
-
name: "RefreshTokenReuseException",
|
|
1695
|
-
$fault: "client",
|
|
1696
|
-
...opts
|
|
1697
|
-
});
|
|
1698
|
-
Object.setPrototypeOf(this, _RefreshTokenReuseException.prototype);
|
|
1699
|
-
}
|
|
1700
|
-
};
|
|
1701
1720
|
var AdminAddUserToGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1702
1721
|
...obj,
|
|
1703
1722
|
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1913,6 +1932,18 @@ var CreateManagedLoginBrandingRequestFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
1913
1932
|
...obj,
|
|
1914
1933
|
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
1915
1934
|
}), "CreateManagedLoginBrandingRequestFilterSensitiveLog");
|
|
1935
|
+
var CreateTermsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1936
|
+
...obj,
|
|
1937
|
+
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
1938
|
+
}), "CreateTermsRequestFilterSensitiveLog");
|
|
1939
|
+
var TermsTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1940
|
+
...obj,
|
|
1941
|
+
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
1942
|
+
}), "TermsTypeFilterSensitiveLog");
|
|
1943
|
+
var CreateTermsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1944
|
+
...obj,
|
|
1945
|
+
...obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }
|
|
1946
|
+
}), "CreateTermsResponseFilterSensitiveLog");
|
|
1916
1947
|
var UserPoolClientTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1917
1948
|
...obj,
|
|
1918
1949
|
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1954,6 +1985,10 @@ var DescribeRiskConfigurationResponseFilterSensitiveLog = /* @__PURE__ */ __name
|
|
|
1954
1985
|
...obj,
|
|
1955
1986
|
...obj.RiskConfiguration && { RiskConfiguration: RiskConfigurationTypeFilterSensitiveLog(obj.RiskConfiguration) }
|
|
1956
1987
|
}), "DescribeRiskConfigurationResponseFilterSensitiveLog");
|
|
1988
|
+
var DescribeTermsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1989
|
+
...obj,
|
|
1990
|
+
...obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }
|
|
1991
|
+
}), "DescribeTermsResponseFilterSensitiveLog");
|
|
1957
1992
|
var DescribeUserPoolClientRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1958
1993
|
...obj,
|
|
1959
1994
|
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1987,42 +2022,27 @@ var GetTokensFromRefreshTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name(
|
|
|
1987
2022
|
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING },
|
|
1988
2023
|
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
1989
2024
|
}), "GetTokensFromRefreshTokenRequestFilterSensitiveLog");
|
|
1990
|
-
var GetTokensFromRefreshTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1991
|
-
...obj,
|
|
1992
|
-
...obj.AuthenticationResult && {
|
|
1993
|
-
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult)
|
|
1994
|
-
}
|
|
1995
|
-
}), "GetTokensFromRefreshTokenResponseFilterSensitiveLog");
|
|
1996
|
-
var GetUICustomizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1997
|
-
...obj,
|
|
1998
|
-
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
1999
|
-
}), "GetUICustomizationRequestFilterSensitiveLog");
|
|
2000
|
-
var UICustomizationTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2001
|
-
...obj,
|
|
2002
|
-
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
2003
|
-
}), "UICustomizationTypeFilterSensitiveLog");
|
|
2004
|
-
var GetUICustomizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2005
|
-
...obj,
|
|
2006
|
-
...obj.UICustomization && { UICustomization: UICustomizationTypeFilterSensitiveLog(obj.UICustomization) }
|
|
2007
|
-
}), "GetUICustomizationResponseFilterSensitiveLog");
|
|
2008
|
-
var GetUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2009
|
-
...obj,
|
|
2010
|
-
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
2011
|
-
}), "GetUserRequestFilterSensitiveLog");
|
|
2012
|
-
var GetUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2013
|
-
...obj,
|
|
2014
|
-
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
|
|
2015
|
-
...obj.UserAttributes && {
|
|
2016
|
-
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item))
|
|
2017
|
-
}
|
|
2018
|
-
}), "GetUserResponseFilterSensitiveLog");
|
|
2019
|
-
var GetUserAttributeVerificationCodeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2020
|
-
...obj,
|
|
2021
|
-
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
2022
|
-
}), "GetUserAttributeVerificationCodeRequestFilterSensitiveLog");
|
|
2023
2025
|
|
|
2024
2026
|
// src/models/models_1.ts
|
|
2025
2027
|
|
|
2028
|
+
var RefreshTokenReuseException = class _RefreshTokenReuseException extends CognitoIdentityProviderServiceException {
|
|
2029
|
+
static {
|
|
2030
|
+
__name(this, "RefreshTokenReuseException");
|
|
2031
|
+
}
|
|
2032
|
+
name = "RefreshTokenReuseException";
|
|
2033
|
+
$fault = "client";
|
|
2034
|
+
/**
|
|
2035
|
+
* @internal
|
|
2036
|
+
*/
|
|
2037
|
+
constructor(opts) {
|
|
2038
|
+
super({
|
|
2039
|
+
name: "RefreshTokenReuseException",
|
|
2040
|
+
$fault: "client",
|
|
2041
|
+
...opts
|
|
2042
|
+
});
|
|
2043
|
+
Object.setPrototypeOf(this, _RefreshTokenReuseException.prototype);
|
|
2044
|
+
}
|
|
2045
|
+
};
|
|
2026
2046
|
var UserVerificationType = {
|
|
2027
2047
|
PREFERRED: "preferred",
|
|
2028
2048
|
REQUIRED: "required"
|
|
@@ -2103,6 +2123,39 @@ var VerifySoftwareTokenResponseType = {
|
|
|
2103
2123
|
ERROR: "ERROR",
|
|
2104
2124
|
SUCCESS: "SUCCESS"
|
|
2105
2125
|
};
|
|
2126
|
+
var GetTokensFromRefreshTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2127
|
+
...obj,
|
|
2128
|
+
...obj.AuthenticationResult && {
|
|
2129
|
+
AuthenticationResult: AuthenticationResultTypeFilterSensitiveLog(obj.AuthenticationResult)
|
|
2130
|
+
}
|
|
2131
|
+
}), "GetTokensFromRefreshTokenResponseFilterSensitiveLog");
|
|
2132
|
+
var GetUICustomizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2133
|
+
...obj,
|
|
2134
|
+
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
2135
|
+
}), "GetUICustomizationRequestFilterSensitiveLog");
|
|
2136
|
+
var UICustomizationTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2137
|
+
...obj,
|
|
2138
|
+
...obj.ClientId && { ClientId: import_smithy_client.SENSITIVE_STRING }
|
|
2139
|
+
}), "UICustomizationTypeFilterSensitiveLog");
|
|
2140
|
+
var GetUICustomizationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2141
|
+
...obj,
|
|
2142
|
+
...obj.UICustomization && { UICustomization: UICustomizationTypeFilterSensitiveLog(obj.UICustomization) }
|
|
2143
|
+
}), "GetUICustomizationResponseFilterSensitiveLog");
|
|
2144
|
+
var GetUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2145
|
+
...obj,
|
|
2146
|
+
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
2147
|
+
}), "GetUserRequestFilterSensitiveLog");
|
|
2148
|
+
var GetUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2149
|
+
...obj,
|
|
2150
|
+
...obj.Username && { Username: import_smithy_client.SENSITIVE_STRING },
|
|
2151
|
+
...obj.UserAttributes && {
|
|
2152
|
+
UserAttributes: obj.UserAttributes.map((item) => AttributeTypeFilterSensitiveLog(item))
|
|
2153
|
+
}
|
|
2154
|
+
}), "GetUserResponseFilterSensitiveLog");
|
|
2155
|
+
var GetUserAttributeVerificationCodeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2156
|
+
...obj,
|
|
2157
|
+
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
2158
|
+
}), "GetUserAttributeVerificationCodeRequestFilterSensitiveLog");
|
|
2106
2159
|
var GetUserAuthFactorsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2107
2160
|
...obj,
|
|
2108
2161
|
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -2240,6 +2293,10 @@ var UpdateDeviceStatusRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
|
|
|
2240
2293
|
...obj,
|
|
2241
2294
|
...obj.AccessToken && { AccessToken: import_smithy_client.SENSITIVE_STRING }
|
|
2242
2295
|
}), "UpdateDeviceStatusRequestFilterSensitiveLog");
|
|
2296
|
+
var UpdateTermsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2297
|
+
...obj,
|
|
2298
|
+
...obj.Terms && { Terms: TermsTypeFilterSensitiveLog(obj.Terms) }
|
|
2299
|
+
}), "UpdateTermsResponseFilterSensitiveLog");
|
|
2243
2300
|
var UpdateUserAttributesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2244
2301
|
...obj,
|
|
2245
2302
|
...obj.UserAttributes && {
|
|
@@ -2493,6 +2550,12 @@ var se_CreateResourceServerCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
2493
2550
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2494
2551
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2495
2552
|
}, "se_CreateResourceServerCommand");
|
|
2553
|
+
var se_CreateTermsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2554
|
+
const headers = sharedHeaders("CreateTerms");
|
|
2555
|
+
let body;
|
|
2556
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2557
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2558
|
+
}, "se_CreateTermsCommand");
|
|
2496
2559
|
var se_CreateUserImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2497
2560
|
const headers = sharedHeaders("CreateUserImportJob");
|
|
2498
2561
|
let body;
|
|
@@ -2541,6 +2604,12 @@ var se_DeleteResourceServerCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
2541
2604
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2542
2605
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2543
2606
|
}, "se_DeleteResourceServerCommand");
|
|
2607
|
+
var se_DeleteTermsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2608
|
+
const headers = sharedHeaders("DeleteTerms");
|
|
2609
|
+
let body;
|
|
2610
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2611
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2612
|
+
}, "se_DeleteTermsCommand");
|
|
2544
2613
|
var se_DeleteUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2545
2614
|
const headers = sharedHeaders("DeleteUser");
|
|
2546
2615
|
let body;
|
|
@@ -2607,6 +2676,12 @@ var se_DescribeRiskConfigurationCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
2607
2676
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2608
2677
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2609
2678
|
}, "se_DescribeRiskConfigurationCommand");
|
|
2679
|
+
var se_DescribeTermsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2680
|
+
const headers = sharedHeaders("DescribeTerms");
|
|
2681
|
+
let body;
|
|
2682
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2683
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2684
|
+
}, "se_DescribeTermsCommand");
|
|
2610
2685
|
var se_DescribeUserImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2611
2686
|
const headers = sharedHeaders("DescribeUserImportJob");
|
|
2612
2687
|
let body;
|
|
@@ -2757,6 +2832,12 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
2757
2832
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2758
2833
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2759
2834
|
}, "se_ListTagsForResourceCommand");
|
|
2835
|
+
var se_ListTermsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2836
|
+
const headers = sharedHeaders("ListTerms");
|
|
2837
|
+
let body;
|
|
2838
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2839
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2840
|
+
}, "se_ListTermsCommand");
|
|
2760
2841
|
var se_ListUserImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2761
2842
|
const headers = sharedHeaders("ListUserImportJobs");
|
|
2762
2843
|
let body;
|
|
@@ -2919,6 +3000,12 @@ var se_UpdateResourceServerCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
2919
3000
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2920
3001
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2921
3002
|
}, "se_UpdateResourceServerCommand");
|
|
3003
|
+
var se_UpdateTermsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
3004
|
+
const headers = sharedHeaders("UpdateTerms");
|
|
3005
|
+
let body;
|
|
3006
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
3007
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
3008
|
+
}, "se_UpdateTermsCommand");
|
|
2922
3009
|
var se_UpdateUserAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2923
3010
|
const headers = sharedHeaders("UpdateUserAttributes");
|
|
2924
3011
|
let body;
|
|
@@ -3424,6 +3511,19 @@ var de_CreateResourceServerCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3424
3511
|
};
|
|
3425
3512
|
return response;
|
|
3426
3513
|
}, "de_CreateResourceServerCommand");
|
|
3514
|
+
var de_CreateTermsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3515
|
+
if (output.statusCode >= 300) {
|
|
3516
|
+
return de_CommandError(output, context);
|
|
3517
|
+
}
|
|
3518
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3519
|
+
let contents = {};
|
|
3520
|
+
contents = de_CreateTermsResponse(data, context);
|
|
3521
|
+
const response = {
|
|
3522
|
+
$metadata: deserializeMetadata(output),
|
|
3523
|
+
...contents
|
|
3524
|
+
};
|
|
3525
|
+
return response;
|
|
3526
|
+
}, "de_CreateTermsCommand");
|
|
3427
3527
|
var de_CreateUserImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3428
3528
|
if (output.statusCode >= 300) {
|
|
3429
3529
|
return de_CommandError(output, context);
|
|
@@ -3516,6 +3616,16 @@ var de_DeleteResourceServerCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
3516
3616
|
};
|
|
3517
3617
|
return response;
|
|
3518
3618
|
}, "de_DeleteResourceServerCommand");
|
|
3619
|
+
var de_DeleteTermsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3620
|
+
if (output.statusCode >= 300) {
|
|
3621
|
+
return de_CommandError(output, context);
|
|
3622
|
+
}
|
|
3623
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3624
|
+
const response = {
|
|
3625
|
+
$metadata: deserializeMetadata(output)
|
|
3626
|
+
};
|
|
3627
|
+
return response;
|
|
3628
|
+
}, "de_DeleteTermsCommand");
|
|
3519
3629
|
var de_DeleteUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3520
3630
|
if (output.statusCode >= 300) {
|
|
3521
3631
|
return de_CommandError(output, context);
|
|
@@ -3650,6 +3760,19 @@ var de_DescribeRiskConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
3650
3760
|
};
|
|
3651
3761
|
return response;
|
|
3652
3762
|
}, "de_DescribeRiskConfigurationCommand");
|
|
3763
|
+
var de_DescribeTermsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3764
|
+
if (output.statusCode >= 300) {
|
|
3765
|
+
return de_CommandError(output, context);
|
|
3766
|
+
}
|
|
3767
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
3768
|
+
let contents = {};
|
|
3769
|
+
contents = de_DescribeTermsResponse(data, context);
|
|
3770
|
+
const response = {
|
|
3771
|
+
$metadata: deserializeMetadata(output),
|
|
3772
|
+
...contents
|
|
3773
|
+
};
|
|
3774
|
+
return response;
|
|
3775
|
+
}, "de_DescribeTermsCommand");
|
|
3653
3776
|
var de_DescribeUserImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3654
3777
|
if (output.statusCode >= 300) {
|
|
3655
3778
|
return de_CommandError(output, context);
|
|
@@ -3972,6 +4095,19 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
3972
4095
|
};
|
|
3973
4096
|
return response;
|
|
3974
4097
|
}, "de_ListTagsForResourceCommand");
|
|
4098
|
+
var de_ListTermsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4099
|
+
if (output.statusCode >= 300) {
|
|
4100
|
+
return de_CommandError(output, context);
|
|
4101
|
+
}
|
|
4102
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
4103
|
+
let contents = {};
|
|
4104
|
+
contents = de_ListTermsResponse(data, context);
|
|
4105
|
+
const response = {
|
|
4106
|
+
$metadata: deserializeMetadata(output),
|
|
4107
|
+
...contents
|
|
4108
|
+
};
|
|
4109
|
+
return response;
|
|
4110
|
+
}, "de_ListTermsCommand");
|
|
3975
4111
|
var de_ListUserImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3976
4112
|
if (output.statusCode >= 300) {
|
|
3977
4113
|
return de_CommandError(output, context);
|
|
@@ -4323,6 +4459,19 @@ var de_UpdateResourceServerCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
4323
4459
|
};
|
|
4324
4460
|
return response;
|
|
4325
4461
|
}, "de_UpdateResourceServerCommand");
|
|
4462
|
+
var de_UpdateTermsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4463
|
+
if (output.statusCode >= 300) {
|
|
4464
|
+
return de_CommandError(output, context);
|
|
4465
|
+
}
|
|
4466
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
4467
|
+
let contents = {};
|
|
4468
|
+
contents = de_UpdateTermsResponse(data, context);
|
|
4469
|
+
const response = {
|
|
4470
|
+
$metadata: deserializeMetadata(output),
|
|
4471
|
+
...contents
|
|
4472
|
+
};
|
|
4473
|
+
return response;
|
|
4474
|
+
}, "de_UpdateTermsCommand");
|
|
4326
4475
|
var de_UpdateUserAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4327
4476
|
if (output.statusCode >= 300) {
|
|
4328
4477
|
return de_CommandError(output, context);
|
|
@@ -4537,6 +4686,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4537
4686
|
case "ManagedLoginBrandingExistsException":
|
|
4538
4687
|
case "com.amazonaws.cognitoidentityprovider#ManagedLoginBrandingExistsException":
|
|
4539
4688
|
throw await de_ManagedLoginBrandingExistsExceptionRes(parsedOutput, context);
|
|
4689
|
+
case "TermsExistsException":
|
|
4690
|
+
case "com.amazonaws.cognitoidentityprovider#TermsExistsException":
|
|
4691
|
+
throw await de_TermsExistsExceptionRes(parsedOutput, context);
|
|
4540
4692
|
case "FeatureUnavailableInTierException":
|
|
4541
4693
|
case "com.amazonaws.cognitoidentityprovider#FeatureUnavailableInTierException":
|
|
4542
4694
|
throw await de_FeatureUnavailableInTierExceptionRes(parsedOutput, context);
|
|
@@ -4858,6 +5010,15 @@ var de_SoftwareTokenMFANotFoundExceptionRes = /* @__PURE__ */ __name(async (pars
|
|
|
4858
5010
|
});
|
|
4859
5011
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
4860
5012
|
}, "de_SoftwareTokenMFANotFoundExceptionRes");
|
|
5013
|
+
var de_TermsExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
5014
|
+
const body = parsedOutput.body;
|
|
5015
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
5016
|
+
const exception = new TermsExistsException({
|
|
5017
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
5018
|
+
...deserialized
|
|
5019
|
+
});
|
|
5020
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
5021
|
+
}, "de_TermsExistsExceptionRes");
|
|
4861
5022
|
var de_TierChangeNotAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4862
5023
|
const body = parsedOutput.body;
|
|
4863
5024
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -5203,6 +5364,11 @@ var de_CreateManagedLoginBrandingResponse = /* @__PURE__ */ __name((output, cont
|
|
|
5203
5364
|
ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
|
|
5204
5365
|
});
|
|
5205
5366
|
}, "de_CreateManagedLoginBrandingResponse");
|
|
5367
|
+
var de_CreateTermsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5368
|
+
return (0, import_smithy_client.take)(output, {
|
|
5369
|
+
Terms: /* @__PURE__ */ __name((_) => de_TermsType(_, context), "Terms")
|
|
5370
|
+
});
|
|
5371
|
+
}, "de_CreateTermsResponse");
|
|
5206
5372
|
var de_CreateUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5207
5373
|
return (0, import_smithy_client.take)(output, {
|
|
5208
5374
|
UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
|
|
@@ -5238,6 +5404,11 @@ var de_DescribeRiskConfigurationResponse = /* @__PURE__ */ __name((output, conte
|
|
|
5238
5404
|
RiskConfiguration: /* @__PURE__ */ __name((_) => de_RiskConfigurationType(_, context), "RiskConfiguration")
|
|
5239
5405
|
});
|
|
5240
5406
|
}, "de_DescribeRiskConfigurationResponse");
|
|
5407
|
+
var de_DescribeTermsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5408
|
+
return (0, import_smithy_client.take)(output, {
|
|
5409
|
+
Terms: /* @__PURE__ */ __name((_) => de_TermsType(_, context), "Terms")
|
|
5410
|
+
});
|
|
5411
|
+
}, "de_DescribeTermsResponse");
|
|
5241
5412
|
var de_DescribeUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5242
5413
|
return (0, import_smithy_client.take)(output, {
|
|
5243
5414
|
UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
|
|
@@ -5345,6 +5516,12 @@ var de_ListIdentityProvidersResponse = /* @__PURE__ */ __name((output, context)
|
|
|
5345
5516
|
Providers: /* @__PURE__ */ __name((_) => de_ProvidersListType(_, context), "Providers")
|
|
5346
5517
|
});
|
|
5347
5518
|
}, "de_ListIdentityProvidersResponse");
|
|
5519
|
+
var de_ListTermsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5520
|
+
return (0, import_smithy_client.take)(output, {
|
|
5521
|
+
NextToken: import_smithy_client.expectString,
|
|
5522
|
+
Terms: /* @__PURE__ */ __name((_) => de_TermsDescriptionListType(_, context), "Terms")
|
|
5523
|
+
});
|
|
5524
|
+
}, "de_ListTermsResponse");
|
|
5348
5525
|
var de_ListUserImportJobsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5349
5526
|
return (0, import_smithy_client.take)(output, {
|
|
5350
5527
|
PaginationToken: import_smithy_client.expectString,
|
|
@@ -5435,6 +5612,34 @@ var de_StopUserImportJobResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
5435
5612
|
UserImportJob: /* @__PURE__ */ __name((_) => de_UserImportJobType(_, context), "UserImportJob")
|
|
5436
5613
|
});
|
|
5437
5614
|
}, "de_StopUserImportJobResponse");
|
|
5615
|
+
var de_TermsDescriptionListType = /* @__PURE__ */ __name((output, context) => {
|
|
5616
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5617
|
+
return de_TermsDescriptionType(entry, context);
|
|
5618
|
+
});
|
|
5619
|
+
return retVal;
|
|
5620
|
+
}, "de_TermsDescriptionListType");
|
|
5621
|
+
var de_TermsDescriptionType = /* @__PURE__ */ __name((output, context) => {
|
|
5622
|
+
return (0, import_smithy_client.take)(output, {
|
|
5623
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
5624
|
+
Enforcement: import_smithy_client.expectString,
|
|
5625
|
+
LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
|
|
5626
|
+
TermsId: import_smithy_client.expectString,
|
|
5627
|
+
TermsName: import_smithy_client.expectString
|
|
5628
|
+
});
|
|
5629
|
+
}, "de_TermsDescriptionType");
|
|
5630
|
+
var de_TermsType = /* @__PURE__ */ __name((output, context) => {
|
|
5631
|
+
return (0, import_smithy_client.take)(output, {
|
|
5632
|
+
ClientId: import_smithy_client.expectString,
|
|
5633
|
+
CreationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationDate"),
|
|
5634
|
+
Enforcement: import_smithy_client.expectString,
|
|
5635
|
+
LastModifiedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastModifiedDate"),
|
|
5636
|
+
Links: import_smithy_client._json,
|
|
5637
|
+
TermsId: import_smithy_client.expectString,
|
|
5638
|
+
TermsName: import_smithy_client.expectString,
|
|
5639
|
+
TermsSource: import_smithy_client.expectString,
|
|
5640
|
+
UserPoolId: import_smithy_client.expectString
|
|
5641
|
+
});
|
|
5642
|
+
}, "de_TermsType");
|
|
5438
5643
|
var de_UICustomizationType = /* @__PURE__ */ __name((output, context) => {
|
|
5439
5644
|
return (0, import_smithy_client.take)(output, {
|
|
5440
5645
|
CSS: import_smithy_client.expectString,
|
|
@@ -5461,6 +5666,11 @@ var de_UpdateManagedLoginBrandingResponse = /* @__PURE__ */ __name((output, cont
|
|
|
5461
5666
|
ManagedLoginBranding: /* @__PURE__ */ __name((_) => de_ManagedLoginBrandingType(_, context), "ManagedLoginBranding")
|
|
5462
5667
|
});
|
|
5463
5668
|
}, "de_UpdateManagedLoginBrandingResponse");
|
|
5669
|
+
var de_UpdateTermsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5670
|
+
return (0, import_smithy_client.take)(output, {
|
|
5671
|
+
Terms: /* @__PURE__ */ __name((_) => de_TermsType(_, context), "Terms")
|
|
5672
|
+
});
|
|
5673
|
+
}, "de_UpdateTermsResponse");
|
|
5464
5674
|
var de_UpdateUserPoolClientResponse = /* @__PURE__ */ __name((output, context) => {
|
|
5465
5675
|
return (0, import_smithy_client.take)(output, {
|
|
5466
5676
|
UserPoolClient: /* @__PURE__ */ __name((_) => de_UserPoolClientType(_, context), "UserPoolClient")
|
|
@@ -6191,6 +6401,21 @@ var CreateResourceServerCommand = class extends import_smithy_client.Command.cla
|
|
|
6191
6401
|
}
|
|
6192
6402
|
};
|
|
6193
6403
|
|
|
6404
|
+
// src/commands/CreateTermsCommand.ts
|
|
6405
|
+
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
var CreateTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6409
|
+
return [
|
|
6410
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6411
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6412
|
+
];
|
|
6413
|
+
}).s("AWSCognitoIdentityProviderService", "CreateTerms", {}).n("CognitoIdentityProviderClient", "CreateTermsCommand").f(CreateTermsRequestFilterSensitiveLog, CreateTermsResponseFilterSensitiveLog).ser(se_CreateTermsCommand).de(de_CreateTermsCommand).build() {
|
|
6414
|
+
static {
|
|
6415
|
+
__name(this, "CreateTermsCommand");
|
|
6416
|
+
}
|
|
6417
|
+
};
|
|
6418
|
+
|
|
6194
6419
|
// src/commands/CreateUserImportJobCommand.ts
|
|
6195
6420
|
|
|
6196
6421
|
|
|
@@ -6311,6 +6536,21 @@ var DeleteResourceServerCommand = class extends import_smithy_client.Command.cla
|
|
|
6311
6536
|
}
|
|
6312
6537
|
};
|
|
6313
6538
|
|
|
6539
|
+
// src/commands/DeleteTermsCommand.ts
|
|
6540
|
+
|
|
6541
|
+
|
|
6542
|
+
|
|
6543
|
+
var DeleteTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6544
|
+
return [
|
|
6545
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6546
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6547
|
+
];
|
|
6548
|
+
}).s("AWSCognitoIdentityProviderService", "DeleteTerms", {}).n("CognitoIdentityProviderClient", "DeleteTermsCommand").f(void 0, void 0).ser(se_DeleteTermsCommand).de(de_DeleteTermsCommand).build() {
|
|
6549
|
+
static {
|
|
6550
|
+
__name(this, "DeleteTermsCommand");
|
|
6551
|
+
}
|
|
6552
|
+
};
|
|
6553
|
+
|
|
6314
6554
|
// src/commands/DeleteUserAttributesCommand.ts
|
|
6315
6555
|
|
|
6316
6556
|
|
|
@@ -6476,6 +6716,21 @@ var DescribeRiskConfigurationCommand = class extends import_smithy_client.Comman
|
|
|
6476
6716
|
}
|
|
6477
6717
|
};
|
|
6478
6718
|
|
|
6719
|
+
// src/commands/DescribeTermsCommand.ts
|
|
6720
|
+
|
|
6721
|
+
|
|
6722
|
+
|
|
6723
|
+
var DescribeTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6724
|
+
return [
|
|
6725
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6726
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6727
|
+
];
|
|
6728
|
+
}).s("AWSCognitoIdentityProviderService", "DescribeTerms", {}).n("CognitoIdentityProviderClient", "DescribeTermsCommand").f(void 0, DescribeTermsResponseFilterSensitiveLog).ser(se_DescribeTermsCommand).de(de_DescribeTermsCommand).build() {
|
|
6729
|
+
static {
|
|
6730
|
+
__name(this, "DescribeTermsCommand");
|
|
6731
|
+
}
|
|
6732
|
+
};
|
|
6733
|
+
|
|
6479
6734
|
// src/commands/DescribeUserImportJobCommand.ts
|
|
6480
6735
|
|
|
6481
6736
|
|
|
@@ -6851,6 +7106,21 @@ var ListTagsForResourceCommand = class extends import_smithy_client.Command.clas
|
|
|
6851
7106
|
}
|
|
6852
7107
|
};
|
|
6853
7108
|
|
|
7109
|
+
// src/commands/ListTermsCommand.ts
|
|
7110
|
+
|
|
7111
|
+
|
|
7112
|
+
|
|
7113
|
+
var ListTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7114
|
+
return [
|
|
7115
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7116
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7117
|
+
];
|
|
7118
|
+
}).s("AWSCognitoIdentityProviderService", "ListTerms", {}).n("CognitoIdentityProviderClient", "ListTermsCommand").f(void 0, void 0).ser(se_ListTermsCommand).de(de_ListTermsCommand).build() {
|
|
7119
|
+
static {
|
|
7120
|
+
__name(this, "ListTermsCommand");
|
|
7121
|
+
}
|
|
7122
|
+
};
|
|
7123
|
+
|
|
6854
7124
|
// src/commands/ListUserImportJobsCommand.ts
|
|
6855
7125
|
|
|
6856
7126
|
|
|
@@ -7256,6 +7526,21 @@ var UpdateResourceServerCommand = class extends import_smithy_client.Command.cla
|
|
|
7256
7526
|
}
|
|
7257
7527
|
};
|
|
7258
7528
|
|
|
7529
|
+
// src/commands/UpdateTermsCommand.ts
|
|
7530
|
+
|
|
7531
|
+
|
|
7532
|
+
|
|
7533
|
+
var UpdateTermsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7534
|
+
return [
|
|
7535
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7536
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7537
|
+
];
|
|
7538
|
+
}).s("AWSCognitoIdentityProviderService", "UpdateTerms", {}).n("CognitoIdentityProviderClient", "UpdateTermsCommand").f(void 0, UpdateTermsResponseFilterSensitiveLog).ser(se_UpdateTermsCommand).de(de_UpdateTermsCommand).build() {
|
|
7539
|
+
static {
|
|
7540
|
+
__name(this, "UpdateTermsCommand");
|
|
7541
|
+
}
|
|
7542
|
+
};
|
|
7543
|
+
|
|
7259
7544
|
// src/commands/UpdateUserAttributesCommand.ts
|
|
7260
7545
|
|
|
7261
7546
|
|
|
@@ -7385,6 +7670,7 @@ var commands = {
|
|
|
7385
7670
|
CreateIdentityProviderCommand,
|
|
7386
7671
|
CreateManagedLoginBrandingCommand,
|
|
7387
7672
|
CreateResourceServerCommand,
|
|
7673
|
+
CreateTermsCommand,
|
|
7388
7674
|
CreateUserImportJobCommand,
|
|
7389
7675
|
CreateUserPoolCommand,
|
|
7390
7676
|
CreateUserPoolClientCommand,
|
|
@@ -7393,6 +7679,7 @@ var commands = {
|
|
|
7393
7679
|
DeleteIdentityProviderCommand,
|
|
7394
7680
|
DeleteManagedLoginBrandingCommand,
|
|
7395
7681
|
DeleteResourceServerCommand,
|
|
7682
|
+
DeleteTermsCommand,
|
|
7396
7683
|
DeleteUserCommand,
|
|
7397
7684
|
DeleteUserAttributesCommand,
|
|
7398
7685
|
DeleteUserPoolCommand,
|
|
@@ -7404,6 +7691,7 @@ var commands = {
|
|
|
7404
7691
|
DescribeManagedLoginBrandingByClientCommand,
|
|
7405
7692
|
DescribeResourceServerCommand,
|
|
7406
7693
|
DescribeRiskConfigurationCommand,
|
|
7694
|
+
DescribeTermsCommand,
|
|
7407
7695
|
DescribeUserImportJobCommand,
|
|
7408
7696
|
DescribeUserPoolCommand,
|
|
7409
7697
|
DescribeUserPoolClientCommand,
|
|
@@ -7429,6 +7717,7 @@ var commands = {
|
|
|
7429
7717
|
ListIdentityProvidersCommand,
|
|
7430
7718
|
ListResourceServersCommand,
|
|
7431
7719
|
ListTagsForResourceCommand,
|
|
7720
|
+
ListTermsCommand,
|
|
7432
7721
|
ListUserImportJobsCommand,
|
|
7433
7722
|
ListUserPoolClientsCommand,
|
|
7434
7723
|
ListUserPoolsCommand,
|
|
@@ -7456,6 +7745,7 @@ var commands = {
|
|
|
7456
7745
|
UpdateIdentityProviderCommand,
|
|
7457
7746
|
UpdateManagedLoginBrandingCommand,
|
|
7458
7747
|
UpdateResourceServerCommand,
|
|
7748
|
+
UpdateTermsCommand,
|
|
7459
7749
|
UpdateUserAttributesCommand,
|
|
7460
7750
|
UpdateUserPoolCommand,
|
|
7461
7751
|
UpdateUserPoolClientCommand,
|
|
@@ -7550,6 +7840,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7550
7840
|
CreateIdentityProviderCommand,
|
|
7551
7841
|
CreateManagedLoginBrandingCommand,
|
|
7552
7842
|
CreateResourceServerCommand,
|
|
7843
|
+
CreateTermsCommand,
|
|
7553
7844
|
CreateUserImportJobCommand,
|
|
7554
7845
|
CreateUserPoolClientCommand,
|
|
7555
7846
|
CreateUserPoolCommand,
|
|
@@ -7558,6 +7849,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7558
7849
|
DeleteIdentityProviderCommand,
|
|
7559
7850
|
DeleteManagedLoginBrandingCommand,
|
|
7560
7851
|
DeleteResourceServerCommand,
|
|
7852
|
+
DeleteTermsCommand,
|
|
7561
7853
|
DeleteUserAttributesCommand,
|
|
7562
7854
|
DeleteUserCommand,
|
|
7563
7855
|
DeleteUserPoolClientCommand,
|
|
@@ -7569,6 +7861,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7569
7861
|
DescribeManagedLoginBrandingCommand,
|
|
7570
7862
|
DescribeResourceServerCommand,
|
|
7571
7863
|
DescribeRiskConfigurationCommand,
|
|
7864
|
+
DescribeTermsCommand,
|
|
7572
7865
|
DescribeUserImportJobCommand,
|
|
7573
7866
|
DescribeUserPoolClientCommand,
|
|
7574
7867
|
DescribeUserPoolCommand,
|
|
@@ -7594,6 +7887,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7594
7887
|
ListIdentityProvidersCommand,
|
|
7595
7888
|
ListResourceServersCommand,
|
|
7596
7889
|
ListTagsForResourceCommand,
|
|
7890
|
+
ListTermsCommand,
|
|
7597
7891
|
ListUserImportJobsCommand,
|
|
7598
7892
|
ListUserPoolClientsCommand,
|
|
7599
7893
|
ListUserPoolsCommand,
|
|
@@ -7621,6 +7915,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7621
7915
|
UpdateIdentityProviderCommand,
|
|
7622
7916
|
UpdateManagedLoginBrandingCommand,
|
|
7623
7917
|
UpdateResourceServerCommand,
|
|
7918
|
+
UpdateTermsCommand,
|
|
7624
7919
|
UpdateUserAttributesCommand,
|
|
7625
7920
|
UpdateUserPoolClientCommand,
|
|
7626
7921
|
UpdateUserPoolCommand,
|
|
@@ -7704,6 +7999,9 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7704
7999
|
IdentityProviderTypeType,
|
|
7705
8000
|
DuplicateProviderException,
|
|
7706
8001
|
ManagedLoginBrandingExistsException,
|
|
8002
|
+
TermsEnforcementType,
|
|
8003
|
+
TermsSourceType,
|
|
8004
|
+
TermsExistsException,
|
|
7707
8005
|
UserImportJobStatusType,
|
|
7708
8006
|
DeletionProtectionType,
|
|
7709
8007
|
EmailSendingAccountType,
|
|
@@ -7731,7 +8029,6 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7731
8029
|
DomainStatusType,
|
|
7732
8030
|
EventSourceName,
|
|
7733
8031
|
LogLevel,
|
|
7734
|
-
RefreshTokenReuseException,
|
|
7735
8032
|
AdminAddUserToGroupRequestFilterSensitiveLog,
|
|
7736
8033
|
AdminConfirmSignUpRequestFilterSensitiveLog,
|
|
7737
8034
|
AttributeTypeFilterSensitiveLog,
|
|
@@ -7776,6 +8073,9 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7776
8073
|
ConfirmSignUpRequestFilterSensitiveLog,
|
|
7777
8074
|
ConfirmSignUpResponseFilterSensitiveLog,
|
|
7778
8075
|
CreateManagedLoginBrandingRequestFilterSensitiveLog,
|
|
8076
|
+
CreateTermsRequestFilterSensitiveLog,
|
|
8077
|
+
TermsTypeFilterSensitiveLog,
|
|
8078
|
+
CreateTermsResponseFilterSensitiveLog,
|
|
7779
8079
|
UserPoolClientTypeFilterSensitiveLog,
|
|
7780
8080
|
CreateUserPoolClientResponseFilterSensitiveLog,
|
|
7781
8081
|
DeleteUserRequestFilterSensitiveLog,
|
|
@@ -7786,6 +8086,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7786
8086
|
DescribeRiskConfigurationRequestFilterSensitiveLog,
|
|
7787
8087
|
RiskConfigurationTypeFilterSensitiveLog,
|
|
7788
8088
|
DescribeRiskConfigurationResponseFilterSensitiveLog,
|
|
8089
|
+
DescribeTermsResponseFilterSensitiveLog,
|
|
7789
8090
|
DescribeUserPoolClientRequestFilterSensitiveLog,
|
|
7790
8091
|
DescribeUserPoolClientResponseFilterSensitiveLog,
|
|
7791
8092
|
ForgetDeviceRequestFilterSensitiveLog,
|
|
@@ -7793,6 +8094,13 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7793
8094
|
GetDeviceRequestFilterSensitiveLog,
|
|
7794
8095
|
GetDeviceResponseFilterSensitiveLog,
|
|
7795
8096
|
GetTokensFromRefreshTokenRequestFilterSensitiveLog,
|
|
8097
|
+
RefreshTokenReuseException,
|
|
8098
|
+
UserVerificationType,
|
|
8099
|
+
UnauthorizedException,
|
|
8100
|
+
UnsupportedTokenTypeException,
|
|
8101
|
+
WebAuthnConfigurationMissingException,
|
|
8102
|
+
EnableSoftwareTokenMFAException,
|
|
8103
|
+
VerifySoftwareTokenResponseType,
|
|
7796
8104
|
GetTokensFromRefreshTokenResponseFilterSensitiveLog,
|
|
7797
8105
|
GetUICustomizationRequestFilterSensitiveLog,
|
|
7798
8106
|
UICustomizationTypeFilterSensitiveLog,
|
|
@@ -7800,12 +8108,6 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7800
8108
|
GetUserRequestFilterSensitiveLog,
|
|
7801
8109
|
GetUserResponseFilterSensitiveLog,
|
|
7802
8110
|
GetUserAttributeVerificationCodeRequestFilterSensitiveLog,
|
|
7803
|
-
UserVerificationType,
|
|
7804
|
-
UnauthorizedException,
|
|
7805
|
-
UnsupportedTokenTypeException,
|
|
7806
|
-
WebAuthnConfigurationMissingException,
|
|
7807
|
-
EnableSoftwareTokenMFAException,
|
|
7808
|
-
VerifySoftwareTokenResponseType,
|
|
7809
8111
|
GetUserAuthFactorsRequestFilterSensitiveLog,
|
|
7810
8112
|
GetUserAuthFactorsResponseFilterSensitiveLog,
|
|
7811
8113
|
GlobalSignOutRequestFilterSensitiveLog,
|
|
@@ -7833,6 +8135,7 @@ var paginateListUsers = (0, import_core.createPaginator)(CognitoIdentityProvider
|
|
|
7833
8135
|
StartWebAuthnRegistrationRequestFilterSensitiveLog,
|
|
7834
8136
|
UpdateAuthEventFeedbackRequestFilterSensitiveLog,
|
|
7835
8137
|
UpdateDeviceStatusRequestFilterSensitiveLog,
|
|
8138
|
+
UpdateTermsResponseFilterSensitiveLog,
|
|
7836
8139
|
UpdateUserAttributesRequestFilterSensitiveLog,
|
|
7837
8140
|
UpdateUserPoolClientRequestFilterSensitiveLog,
|
|
7838
8141
|
UpdateUserPoolClientResponseFilterSensitiveLog,
|