@aws-sdk/client-cognito-identity-provider 3.865.0 → 3.872.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 +2 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CognitoIdentityProviderClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CognitoIdentityProviderClient";
|
|
8
|
+
import { UpdateTermsRequest, UpdateTermsResponse } from "../models/models_1";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface UpdateTermsCommandInput extends UpdateTermsRequest {}
|
|
12
|
+
export interface UpdateTermsCommandOutput
|
|
13
|
+
extends UpdateTermsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const UpdateTermsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateTermsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
UpdateTermsCommandInput,
|
|
20
|
+
UpdateTermsCommandOutput,
|
|
21
|
+
CognitoIdentityProviderClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: UpdateTermsCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
UpdateTermsCommandInput,
|
|
29
|
+
UpdateTermsCommandOutput,
|
|
30
|
+
CognitoIdentityProviderClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class UpdateTermsCommand extends UpdateTermsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: UpdateTermsRequest;
|
|
40
|
+
output: UpdateTermsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: UpdateTermsCommandInput;
|
|
44
|
+
output: UpdateTermsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -35,6 +35,7 @@ export * from "./CreateGroupCommand";
|
|
|
35
35
|
export * from "./CreateIdentityProviderCommand";
|
|
36
36
|
export * from "./CreateManagedLoginBrandingCommand";
|
|
37
37
|
export * from "./CreateResourceServerCommand";
|
|
38
|
+
export * from "./CreateTermsCommand";
|
|
38
39
|
export * from "./CreateUserImportJobCommand";
|
|
39
40
|
export * from "./CreateUserPoolClientCommand";
|
|
40
41
|
export * from "./CreateUserPoolCommand";
|
|
@@ -43,6 +44,7 @@ export * from "./DeleteGroupCommand";
|
|
|
43
44
|
export * from "./DeleteIdentityProviderCommand";
|
|
44
45
|
export * from "./DeleteManagedLoginBrandingCommand";
|
|
45
46
|
export * from "./DeleteResourceServerCommand";
|
|
47
|
+
export * from "./DeleteTermsCommand";
|
|
46
48
|
export * from "./DeleteUserAttributesCommand";
|
|
47
49
|
export * from "./DeleteUserCommand";
|
|
48
50
|
export * from "./DeleteUserPoolClientCommand";
|
|
@@ -54,6 +56,7 @@ export * from "./DescribeManagedLoginBrandingByClientCommand";
|
|
|
54
56
|
export * from "./DescribeManagedLoginBrandingCommand";
|
|
55
57
|
export * from "./DescribeResourceServerCommand";
|
|
56
58
|
export * from "./DescribeRiskConfigurationCommand";
|
|
59
|
+
export * from "./DescribeTermsCommand";
|
|
57
60
|
export * from "./DescribeUserImportJobCommand";
|
|
58
61
|
export * from "./DescribeUserPoolClientCommand";
|
|
59
62
|
export * from "./DescribeUserPoolCommand";
|
|
@@ -79,6 +82,7 @@ export * from "./ListGroupsCommand";
|
|
|
79
82
|
export * from "./ListIdentityProvidersCommand";
|
|
80
83
|
export * from "./ListResourceServersCommand";
|
|
81
84
|
export * from "./ListTagsForResourceCommand";
|
|
85
|
+
export * from "./ListTermsCommand";
|
|
82
86
|
export * from "./ListUserImportJobsCommand";
|
|
83
87
|
export * from "./ListUserPoolClientsCommand";
|
|
84
88
|
export * from "./ListUserPoolsCommand";
|
|
@@ -106,6 +110,7 @@ export * from "./UpdateGroupCommand";
|
|
|
106
110
|
export * from "./UpdateIdentityProviderCommand";
|
|
107
111
|
export * from "./UpdateManagedLoginBrandingCommand";
|
|
108
112
|
export * from "./UpdateResourceServerCommand";
|
|
113
|
+
export * from "./UpdateTermsCommand";
|
|
109
114
|
export * from "./UpdateUserAttributesCommand";
|
|
110
115
|
export * from "./UpdateUserPoolClientCommand";
|
|
111
116
|
export * from "./UpdateUserPoolCommand";
|
|
@@ -1075,6 +1075,45 @@ export interface ResourceServerType {
|
|
|
1075
1075
|
export interface CreateResourceServerResponse {
|
|
1076
1076
|
ResourceServer: ResourceServerType | undefined;
|
|
1077
1077
|
}
|
|
1078
|
+
export declare const TermsEnforcementType: {
|
|
1079
|
+
readonly NONE: "NONE";
|
|
1080
|
+
};
|
|
1081
|
+
export type TermsEnforcementType =
|
|
1082
|
+
(typeof TermsEnforcementType)[keyof typeof TermsEnforcementType];
|
|
1083
|
+
export declare const TermsSourceType: {
|
|
1084
|
+
readonly LINK: "LINK";
|
|
1085
|
+
};
|
|
1086
|
+
export type TermsSourceType =
|
|
1087
|
+
(typeof TermsSourceType)[keyof typeof TermsSourceType];
|
|
1088
|
+
export interface CreateTermsRequest {
|
|
1089
|
+
UserPoolId: string | undefined;
|
|
1090
|
+
ClientId: string | undefined;
|
|
1091
|
+
TermsName: string | undefined;
|
|
1092
|
+
TermsSource: TermsSourceType | undefined;
|
|
1093
|
+
Enforcement: TermsEnforcementType | undefined;
|
|
1094
|
+
Links?: Record<string, string> | undefined;
|
|
1095
|
+
}
|
|
1096
|
+
export interface TermsType {
|
|
1097
|
+
TermsId: string | undefined;
|
|
1098
|
+
UserPoolId: string | undefined;
|
|
1099
|
+
ClientId: string | undefined;
|
|
1100
|
+
TermsName: string | undefined;
|
|
1101
|
+
TermsSource: TermsSourceType | undefined;
|
|
1102
|
+
Enforcement: TermsEnforcementType | undefined;
|
|
1103
|
+
Links: Record<string, string> | undefined;
|
|
1104
|
+
CreationDate: Date | undefined;
|
|
1105
|
+
LastModifiedDate: Date | undefined;
|
|
1106
|
+
}
|
|
1107
|
+
export interface CreateTermsResponse {
|
|
1108
|
+
Terms?: TermsType | undefined;
|
|
1109
|
+
}
|
|
1110
|
+
export declare class TermsExistsException extends __BaseException {
|
|
1111
|
+
readonly name: "TermsExistsException";
|
|
1112
|
+
readonly $fault: "client";
|
|
1113
|
+
constructor(
|
|
1114
|
+
opts: __ExceptionOptionType<TermsExistsException, __BaseException>
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1078
1117
|
export interface CreateUserImportJobRequest {
|
|
1079
1118
|
JobName: string | undefined;
|
|
1080
1119
|
UserPoolId: string | undefined;
|
|
@@ -1496,6 +1535,10 @@ export interface DeleteResourceServerRequest {
|
|
|
1496
1535
|
UserPoolId: string | undefined;
|
|
1497
1536
|
Identifier: string | undefined;
|
|
1498
1537
|
}
|
|
1538
|
+
export interface DeleteTermsRequest {
|
|
1539
|
+
TermsId: string | undefined;
|
|
1540
|
+
UserPoolId: string | undefined;
|
|
1541
|
+
}
|
|
1499
1542
|
export interface DeleteUserRequest {
|
|
1500
1543
|
AccessToken: string | undefined;
|
|
1501
1544
|
}
|
|
@@ -1594,6 +1637,13 @@ export interface RiskConfigurationType {
|
|
|
1594
1637
|
export interface DescribeRiskConfigurationResponse {
|
|
1595
1638
|
RiskConfiguration: RiskConfigurationType | undefined;
|
|
1596
1639
|
}
|
|
1640
|
+
export interface DescribeTermsRequest {
|
|
1641
|
+
TermsId: string | undefined;
|
|
1642
|
+
UserPoolId: string | undefined;
|
|
1643
|
+
}
|
|
1644
|
+
export interface DescribeTermsResponse {
|
|
1645
|
+
Terms?: TermsType | undefined;
|
|
1646
|
+
}
|
|
1597
1647
|
export interface DescribeUserImportJobRequest {
|
|
1598
1648
|
UserPoolId: string | undefined;
|
|
1599
1649
|
JobId: string | undefined;
|
|
@@ -1738,50 +1788,6 @@ export interface GetTokensFromRefreshTokenRequest {
|
|
|
1738
1788
|
DeviceKey?: string | undefined;
|
|
1739
1789
|
ClientMetadata?: Record<string, string> | undefined;
|
|
1740
1790
|
}
|
|
1741
|
-
export interface GetTokensFromRefreshTokenResponse {
|
|
1742
|
-
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
1743
|
-
}
|
|
1744
|
-
export declare class RefreshTokenReuseException extends __BaseException {
|
|
1745
|
-
readonly name: "RefreshTokenReuseException";
|
|
1746
|
-
readonly $fault: "client";
|
|
1747
|
-
constructor(
|
|
1748
|
-
opts: __ExceptionOptionType<RefreshTokenReuseException, __BaseException>
|
|
1749
|
-
);
|
|
1750
|
-
}
|
|
1751
|
-
export interface GetUICustomizationRequest {
|
|
1752
|
-
UserPoolId: string | undefined;
|
|
1753
|
-
ClientId?: string | undefined;
|
|
1754
|
-
}
|
|
1755
|
-
export interface UICustomizationType {
|
|
1756
|
-
UserPoolId?: string | undefined;
|
|
1757
|
-
ClientId?: string | undefined;
|
|
1758
|
-
ImageUrl?: string | undefined;
|
|
1759
|
-
CSS?: string | undefined;
|
|
1760
|
-
CSSVersion?: string | undefined;
|
|
1761
|
-
LastModifiedDate?: Date | undefined;
|
|
1762
|
-
CreationDate?: Date | undefined;
|
|
1763
|
-
}
|
|
1764
|
-
export interface GetUICustomizationResponse {
|
|
1765
|
-
UICustomization: UICustomizationType | undefined;
|
|
1766
|
-
}
|
|
1767
|
-
export interface GetUserRequest {
|
|
1768
|
-
AccessToken: string | undefined;
|
|
1769
|
-
}
|
|
1770
|
-
export interface GetUserResponse {
|
|
1771
|
-
Username: string | undefined;
|
|
1772
|
-
UserAttributes: AttributeType[] | undefined;
|
|
1773
|
-
MFAOptions?: MFAOptionType[] | undefined;
|
|
1774
|
-
PreferredMfaSetting?: string | undefined;
|
|
1775
|
-
UserMFASettingList?: string[] | undefined;
|
|
1776
|
-
}
|
|
1777
|
-
export interface GetUserAttributeVerificationCodeRequest {
|
|
1778
|
-
AccessToken: string | undefined;
|
|
1779
|
-
AttributeName: string | undefined;
|
|
1780
|
-
ClientMetadata?: Record<string, string> | undefined;
|
|
1781
|
-
}
|
|
1782
|
-
export interface GetUserAttributeVerificationCodeResponse {
|
|
1783
|
-
CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
|
|
1784
|
-
}
|
|
1785
1791
|
export declare const AdminAddUserToGroupRequestFilterSensitiveLog: (
|
|
1786
1792
|
obj: AdminAddUserToGroupRequest
|
|
1787
1793
|
) => any;
|
|
@@ -1910,6 +1916,13 @@ export declare const ConfirmSignUpResponseFilterSensitiveLog: (
|
|
|
1910
1916
|
export declare const CreateManagedLoginBrandingRequestFilterSensitiveLog: (
|
|
1911
1917
|
obj: CreateManagedLoginBrandingRequest
|
|
1912
1918
|
) => any;
|
|
1919
|
+
export declare const CreateTermsRequestFilterSensitiveLog: (
|
|
1920
|
+
obj: CreateTermsRequest
|
|
1921
|
+
) => any;
|
|
1922
|
+
export declare const TermsTypeFilterSensitiveLog: (obj: TermsType) => any;
|
|
1923
|
+
export declare const CreateTermsResponseFilterSensitiveLog: (
|
|
1924
|
+
obj: CreateTermsResponse
|
|
1925
|
+
) => any;
|
|
1913
1926
|
export declare const UserPoolClientTypeFilterSensitiveLog: (
|
|
1914
1927
|
obj: UserPoolClientType
|
|
1915
1928
|
) => any;
|
|
@@ -1940,6 +1953,9 @@ export declare const RiskConfigurationTypeFilterSensitiveLog: (
|
|
|
1940
1953
|
export declare const DescribeRiskConfigurationResponseFilterSensitiveLog: (
|
|
1941
1954
|
obj: DescribeRiskConfigurationResponse
|
|
1942
1955
|
) => any;
|
|
1956
|
+
export declare const DescribeTermsResponseFilterSensitiveLog: (
|
|
1957
|
+
obj: DescribeTermsResponse
|
|
1958
|
+
) => any;
|
|
1943
1959
|
export declare const DescribeUserPoolClientRequestFilterSensitiveLog: (
|
|
1944
1960
|
obj: DescribeUserPoolClientRequest
|
|
1945
1961
|
) => any;
|
|
@@ -1961,24 +1977,3 @@ export declare const GetDeviceResponseFilterSensitiveLog: (
|
|
|
1961
1977
|
export declare const GetTokensFromRefreshTokenRequestFilterSensitiveLog: (
|
|
1962
1978
|
obj: GetTokensFromRefreshTokenRequest
|
|
1963
1979
|
) => any;
|
|
1964
|
-
export declare const GetTokensFromRefreshTokenResponseFilterSensitiveLog: (
|
|
1965
|
-
obj: GetTokensFromRefreshTokenResponse
|
|
1966
|
-
) => any;
|
|
1967
|
-
export declare const GetUICustomizationRequestFilterSensitiveLog: (
|
|
1968
|
-
obj: GetUICustomizationRequest
|
|
1969
|
-
) => any;
|
|
1970
|
-
export declare const UICustomizationTypeFilterSensitiveLog: (
|
|
1971
|
-
obj: UICustomizationType
|
|
1972
|
-
) => any;
|
|
1973
|
-
export declare const GetUICustomizationResponseFilterSensitiveLog: (
|
|
1974
|
-
obj: GetUICustomizationResponse
|
|
1975
|
-
) => any;
|
|
1976
|
-
export declare const GetUserRequestFilterSensitiveLog: (
|
|
1977
|
-
obj: GetUserRequest
|
|
1978
|
-
) => any;
|
|
1979
|
-
export declare const GetUserResponseFilterSensitiveLog: (
|
|
1980
|
-
obj: GetUserResponse
|
|
1981
|
-
) => any;
|
|
1982
|
-
export declare const GetUserAttributeVerificationCodeRequestFilterSensitiveLog: (
|
|
1983
|
-
obj: GetUserAttributeVerificationCodeRequest
|
|
1984
|
-
) => any;
|
|
@@ -43,8 +43,10 @@ import {
|
|
|
43
43
|
SMSMfaSettingsType,
|
|
44
44
|
SoftwareTokenMfaSettingsType,
|
|
45
45
|
StatusType,
|
|
46
|
+
TermsEnforcementType,
|
|
47
|
+
TermsSourceType,
|
|
48
|
+
TermsType,
|
|
46
49
|
TokenValidityUnitsType,
|
|
47
|
-
UICustomizationType,
|
|
48
50
|
UserAttributeUpdateSettingsType,
|
|
49
51
|
UserContextDataType,
|
|
50
52
|
UserImportJobType,
|
|
@@ -57,6 +59,50 @@ import {
|
|
|
57
59
|
VerificationMessageTemplateType,
|
|
58
60
|
VerifiedAttributeType,
|
|
59
61
|
} from "./models_0";
|
|
62
|
+
export interface GetTokensFromRefreshTokenResponse {
|
|
63
|
+
AuthenticationResult?: AuthenticationResultType | undefined;
|
|
64
|
+
}
|
|
65
|
+
export declare class RefreshTokenReuseException extends __BaseException {
|
|
66
|
+
readonly name: "RefreshTokenReuseException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<RefreshTokenReuseException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export interface GetUICustomizationRequest {
|
|
73
|
+
UserPoolId: string | undefined;
|
|
74
|
+
ClientId?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface UICustomizationType {
|
|
77
|
+
UserPoolId?: string | undefined;
|
|
78
|
+
ClientId?: string | undefined;
|
|
79
|
+
ImageUrl?: string | undefined;
|
|
80
|
+
CSS?: string | undefined;
|
|
81
|
+
CSSVersion?: string | undefined;
|
|
82
|
+
LastModifiedDate?: Date | undefined;
|
|
83
|
+
CreationDate?: Date | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface GetUICustomizationResponse {
|
|
86
|
+
UICustomization: UICustomizationType | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface GetUserRequest {
|
|
89
|
+
AccessToken: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export interface GetUserResponse {
|
|
92
|
+
Username: string | undefined;
|
|
93
|
+
UserAttributes: AttributeType[] | undefined;
|
|
94
|
+
MFAOptions?: MFAOptionType[] | undefined;
|
|
95
|
+
PreferredMfaSetting?: string | undefined;
|
|
96
|
+
UserMFASettingList?: string[] | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface GetUserAttributeVerificationCodeRequest {
|
|
99
|
+
AccessToken: string | undefined;
|
|
100
|
+
AttributeName: string | undefined;
|
|
101
|
+
ClientMetadata?: Record<string, string> | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface GetUserAttributeVerificationCodeResponse {
|
|
104
|
+
CodeDeliveryDetails?: CodeDeliveryDetailsType | undefined;
|
|
105
|
+
}
|
|
60
106
|
export interface GetUserAuthFactorsRequest {
|
|
61
107
|
AccessToken: string | undefined;
|
|
62
108
|
}
|
|
@@ -165,6 +211,22 @@ export interface ListTagsForResourceRequest {
|
|
|
165
211
|
export interface ListTagsForResourceResponse {
|
|
166
212
|
Tags?: Record<string, string> | undefined;
|
|
167
213
|
}
|
|
214
|
+
export interface ListTermsRequest {
|
|
215
|
+
UserPoolId: string | undefined;
|
|
216
|
+
MaxResults?: number | undefined;
|
|
217
|
+
NextToken?: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export interface TermsDescriptionType {
|
|
220
|
+
TermsId: string | undefined;
|
|
221
|
+
TermsName: string | undefined;
|
|
222
|
+
Enforcement: TermsEnforcementType | undefined;
|
|
223
|
+
CreationDate: Date | undefined;
|
|
224
|
+
LastModifiedDate: Date | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface ListTermsResponse {
|
|
227
|
+
Terms: TermsDescriptionType[] | undefined;
|
|
228
|
+
NextToken?: string | undefined;
|
|
229
|
+
}
|
|
168
230
|
export interface ListUserImportJobsRequest {
|
|
169
231
|
UserPoolId: string | undefined;
|
|
170
232
|
MaxResults: number | undefined;
|
|
@@ -455,6 +517,17 @@ export interface UpdateResourceServerRequest {
|
|
|
455
517
|
export interface UpdateResourceServerResponse {
|
|
456
518
|
ResourceServer: ResourceServerType | undefined;
|
|
457
519
|
}
|
|
520
|
+
export interface UpdateTermsRequest {
|
|
521
|
+
TermsId: string | undefined;
|
|
522
|
+
UserPoolId: string | undefined;
|
|
523
|
+
TermsName?: string | undefined;
|
|
524
|
+
TermsSource?: TermsSourceType | undefined;
|
|
525
|
+
Enforcement?: TermsEnforcementType | undefined;
|
|
526
|
+
Links?: Record<string, string> | undefined;
|
|
527
|
+
}
|
|
528
|
+
export interface UpdateTermsResponse {
|
|
529
|
+
Terms?: TermsType | undefined;
|
|
530
|
+
}
|
|
458
531
|
export interface UpdateUserAttributesRequest {
|
|
459
532
|
UserAttributes: AttributeType[] | undefined;
|
|
460
533
|
AccessToken: string | undefined;
|
|
@@ -557,6 +630,27 @@ export interface VerifyUserAttributeRequest {
|
|
|
557
630
|
Code: string | undefined;
|
|
558
631
|
}
|
|
559
632
|
export interface VerifyUserAttributeResponse {}
|
|
633
|
+
export declare const GetTokensFromRefreshTokenResponseFilterSensitiveLog: (
|
|
634
|
+
obj: GetTokensFromRefreshTokenResponse
|
|
635
|
+
) => any;
|
|
636
|
+
export declare const GetUICustomizationRequestFilterSensitiveLog: (
|
|
637
|
+
obj: GetUICustomizationRequest
|
|
638
|
+
) => any;
|
|
639
|
+
export declare const UICustomizationTypeFilterSensitiveLog: (
|
|
640
|
+
obj: UICustomizationType
|
|
641
|
+
) => any;
|
|
642
|
+
export declare const GetUICustomizationResponseFilterSensitiveLog: (
|
|
643
|
+
obj: GetUICustomizationResponse
|
|
644
|
+
) => any;
|
|
645
|
+
export declare const GetUserRequestFilterSensitiveLog: (
|
|
646
|
+
obj: GetUserRequest
|
|
647
|
+
) => any;
|
|
648
|
+
export declare const GetUserResponseFilterSensitiveLog: (
|
|
649
|
+
obj: GetUserResponse
|
|
650
|
+
) => any;
|
|
651
|
+
export declare const GetUserAttributeVerificationCodeRequestFilterSensitiveLog: (
|
|
652
|
+
obj: GetUserAttributeVerificationCodeRequest
|
|
653
|
+
) => any;
|
|
560
654
|
export declare const GetUserAuthFactorsRequestFilterSensitiveLog: (
|
|
561
655
|
obj: GetUserAuthFactorsRequest
|
|
562
656
|
) => any;
|
|
@@ -638,6 +732,9 @@ export declare const UpdateAuthEventFeedbackRequestFilterSensitiveLog: (
|
|
|
638
732
|
export declare const UpdateDeviceStatusRequestFilterSensitiveLog: (
|
|
639
733
|
obj: UpdateDeviceStatusRequest
|
|
640
734
|
) => any;
|
|
735
|
+
export declare const UpdateTermsResponseFilterSensitiveLog: (
|
|
736
|
+
obj: UpdateTermsResponse
|
|
737
|
+
) => any;
|
|
641
738
|
export declare const UpdateUserAttributesRequestFilterSensitiveLog: (
|
|
642
739
|
obj: UpdateUserAttributesRequest
|
|
643
740
|
) => any;
|
|
@@ -151,6 +151,10 @@ import {
|
|
|
151
151
|
CreateResourceServerCommandInput,
|
|
152
152
|
CreateResourceServerCommandOutput,
|
|
153
153
|
} from "../commands/CreateResourceServerCommand";
|
|
154
|
+
import {
|
|
155
|
+
CreateTermsCommandInput,
|
|
156
|
+
CreateTermsCommandOutput,
|
|
157
|
+
} from "../commands/CreateTermsCommand";
|
|
154
158
|
import {
|
|
155
159
|
CreateUserImportJobCommandInput,
|
|
156
160
|
CreateUserImportJobCommandOutput,
|
|
@@ -183,6 +187,10 @@ import {
|
|
|
183
187
|
DeleteResourceServerCommandInput,
|
|
184
188
|
DeleteResourceServerCommandOutput,
|
|
185
189
|
} from "../commands/DeleteResourceServerCommand";
|
|
190
|
+
import {
|
|
191
|
+
DeleteTermsCommandInput,
|
|
192
|
+
DeleteTermsCommandOutput,
|
|
193
|
+
} from "../commands/DeleteTermsCommand";
|
|
186
194
|
import {
|
|
187
195
|
DeleteUserAttributesCommandInput,
|
|
188
196
|
DeleteUserAttributesCommandOutput,
|
|
@@ -227,6 +235,10 @@ import {
|
|
|
227
235
|
DescribeRiskConfigurationCommandInput,
|
|
228
236
|
DescribeRiskConfigurationCommandOutput,
|
|
229
237
|
} from "../commands/DescribeRiskConfigurationCommand";
|
|
238
|
+
import {
|
|
239
|
+
DescribeTermsCommandInput,
|
|
240
|
+
DescribeTermsCommandOutput,
|
|
241
|
+
} from "../commands/DescribeTermsCommand";
|
|
230
242
|
import {
|
|
231
243
|
DescribeUserImportJobCommandInput,
|
|
232
244
|
DescribeUserImportJobCommandOutput,
|
|
@@ -327,6 +339,10 @@ import {
|
|
|
327
339
|
ListTagsForResourceCommandInput,
|
|
328
340
|
ListTagsForResourceCommandOutput,
|
|
329
341
|
} from "../commands/ListTagsForResourceCommand";
|
|
342
|
+
import {
|
|
343
|
+
ListTermsCommandInput,
|
|
344
|
+
ListTermsCommandOutput,
|
|
345
|
+
} from "../commands/ListTermsCommand";
|
|
330
346
|
import {
|
|
331
347
|
ListUserImportJobsCommandInput,
|
|
332
348
|
ListUserImportJobsCommandOutput,
|
|
@@ -435,6 +451,10 @@ import {
|
|
|
435
451
|
UpdateResourceServerCommandInput,
|
|
436
452
|
UpdateResourceServerCommandOutput,
|
|
437
453
|
} from "../commands/UpdateResourceServerCommand";
|
|
454
|
+
import {
|
|
455
|
+
UpdateTermsCommandInput,
|
|
456
|
+
UpdateTermsCommandOutput,
|
|
457
|
+
} from "../commands/UpdateTermsCommand";
|
|
438
458
|
import {
|
|
439
459
|
UpdateUserAttributesCommandInput,
|
|
440
460
|
UpdateUserAttributesCommandOutput,
|
|
@@ -607,6 +627,10 @@ export declare const se_CreateResourceServerCommand: (
|
|
|
607
627
|
input: CreateResourceServerCommandInput,
|
|
608
628
|
context: __SerdeContext
|
|
609
629
|
) => Promise<__HttpRequest>;
|
|
630
|
+
export declare const se_CreateTermsCommand: (
|
|
631
|
+
input: CreateTermsCommandInput,
|
|
632
|
+
context: __SerdeContext
|
|
633
|
+
) => Promise<__HttpRequest>;
|
|
610
634
|
export declare const se_CreateUserImportJobCommand: (
|
|
611
635
|
input: CreateUserImportJobCommandInput,
|
|
612
636
|
context: __SerdeContext
|
|
@@ -639,6 +663,10 @@ export declare const se_DeleteResourceServerCommand: (
|
|
|
639
663
|
input: DeleteResourceServerCommandInput,
|
|
640
664
|
context: __SerdeContext
|
|
641
665
|
) => Promise<__HttpRequest>;
|
|
666
|
+
export declare const se_DeleteTermsCommand: (
|
|
667
|
+
input: DeleteTermsCommandInput,
|
|
668
|
+
context: __SerdeContext
|
|
669
|
+
) => Promise<__HttpRequest>;
|
|
642
670
|
export declare const se_DeleteUserCommand: (
|
|
643
671
|
input: DeleteUserCommandInput,
|
|
644
672
|
context: __SerdeContext
|
|
@@ -683,6 +711,10 @@ export declare const se_DescribeRiskConfigurationCommand: (
|
|
|
683
711
|
input: DescribeRiskConfigurationCommandInput,
|
|
684
712
|
context: __SerdeContext
|
|
685
713
|
) => Promise<__HttpRequest>;
|
|
714
|
+
export declare const se_DescribeTermsCommand: (
|
|
715
|
+
input: DescribeTermsCommandInput,
|
|
716
|
+
context: __SerdeContext
|
|
717
|
+
) => Promise<__HttpRequest>;
|
|
686
718
|
export declare const se_DescribeUserImportJobCommand: (
|
|
687
719
|
input: DescribeUserImportJobCommandInput,
|
|
688
720
|
context: __SerdeContext
|
|
@@ -783,6 +815,10 @@ export declare const se_ListTagsForResourceCommand: (
|
|
|
783
815
|
input: ListTagsForResourceCommandInput,
|
|
784
816
|
context: __SerdeContext
|
|
785
817
|
) => Promise<__HttpRequest>;
|
|
818
|
+
export declare const se_ListTermsCommand: (
|
|
819
|
+
input: ListTermsCommandInput,
|
|
820
|
+
context: __SerdeContext
|
|
821
|
+
) => Promise<__HttpRequest>;
|
|
786
822
|
export declare const se_ListUserImportJobsCommand: (
|
|
787
823
|
input: ListUserImportJobsCommandInput,
|
|
788
824
|
context: __SerdeContext
|
|
@@ -891,6 +927,10 @@ export declare const se_UpdateResourceServerCommand: (
|
|
|
891
927
|
input: UpdateResourceServerCommandInput,
|
|
892
928
|
context: __SerdeContext
|
|
893
929
|
) => Promise<__HttpRequest>;
|
|
930
|
+
export declare const se_UpdateTermsCommand: (
|
|
931
|
+
input: UpdateTermsCommandInput,
|
|
932
|
+
context: __SerdeContext
|
|
933
|
+
) => Promise<__HttpRequest>;
|
|
894
934
|
export declare const se_UpdateUserAttributesCommand: (
|
|
895
935
|
input: UpdateUserAttributesCommandInput,
|
|
896
936
|
context: __SerdeContext
|
|
@@ -1063,6 +1103,10 @@ export declare const de_CreateResourceServerCommand: (
|
|
|
1063
1103
|
output: __HttpResponse,
|
|
1064
1104
|
context: __SerdeContext
|
|
1065
1105
|
) => Promise<CreateResourceServerCommandOutput>;
|
|
1106
|
+
export declare const de_CreateTermsCommand: (
|
|
1107
|
+
output: __HttpResponse,
|
|
1108
|
+
context: __SerdeContext
|
|
1109
|
+
) => Promise<CreateTermsCommandOutput>;
|
|
1066
1110
|
export declare const de_CreateUserImportJobCommand: (
|
|
1067
1111
|
output: __HttpResponse,
|
|
1068
1112
|
context: __SerdeContext
|
|
@@ -1095,6 +1139,10 @@ export declare const de_DeleteResourceServerCommand: (
|
|
|
1095
1139
|
output: __HttpResponse,
|
|
1096
1140
|
context: __SerdeContext
|
|
1097
1141
|
) => Promise<DeleteResourceServerCommandOutput>;
|
|
1142
|
+
export declare const de_DeleteTermsCommand: (
|
|
1143
|
+
output: __HttpResponse,
|
|
1144
|
+
context: __SerdeContext
|
|
1145
|
+
) => Promise<DeleteTermsCommandOutput>;
|
|
1098
1146
|
export declare const de_DeleteUserCommand: (
|
|
1099
1147
|
output: __HttpResponse,
|
|
1100
1148
|
context: __SerdeContext
|
|
@@ -1139,6 +1187,10 @@ export declare const de_DescribeRiskConfigurationCommand: (
|
|
|
1139
1187
|
output: __HttpResponse,
|
|
1140
1188
|
context: __SerdeContext
|
|
1141
1189
|
) => Promise<DescribeRiskConfigurationCommandOutput>;
|
|
1190
|
+
export declare const de_DescribeTermsCommand: (
|
|
1191
|
+
output: __HttpResponse,
|
|
1192
|
+
context: __SerdeContext
|
|
1193
|
+
) => Promise<DescribeTermsCommandOutput>;
|
|
1142
1194
|
export declare const de_DescribeUserImportJobCommand: (
|
|
1143
1195
|
output: __HttpResponse,
|
|
1144
1196
|
context: __SerdeContext
|
|
@@ -1239,6 +1291,10 @@ export declare const de_ListTagsForResourceCommand: (
|
|
|
1239
1291
|
output: __HttpResponse,
|
|
1240
1292
|
context: __SerdeContext
|
|
1241
1293
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
1294
|
+
export declare const de_ListTermsCommand: (
|
|
1295
|
+
output: __HttpResponse,
|
|
1296
|
+
context: __SerdeContext
|
|
1297
|
+
) => Promise<ListTermsCommandOutput>;
|
|
1242
1298
|
export declare const de_ListUserImportJobsCommand: (
|
|
1243
1299
|
output: __HttpResponse,
|
|
1244
1300
|
context: __SerdeContext
|
|
@@ -1347,6 +1403,10 @@ export declare const de_UpdateResourceServerCommand: (
|
|
|
1347
1403
|
output: __HttpResponse,
|
|
1348
1404
|
context: __SerdeContext
|
|
1349
1405
|
) => Promise<UpdateResourceServerCommandOutput>;
|
|
1406
|
+
export declare const de_UpdateTermsCommand: (
|
|
1407
|
+
output: __HttpResponse,
|
|
1408
|
+
context: __SerdeContext
|
|
1409
|
+
) => Promise<UpdateTermsCommandOutput>;
|
|
1350
1410
|
export declare const de_UpdateUserAttributesCommand: (
|
|
1351
1411
|
output: __HttpResponse,
|
|
1352
1412
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cognito-identity-provider",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cognito Identity Provider Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.872.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cognito-identity-provider",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.864.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.872.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.862.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.862.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.862.0",
|