@aws-sdk/client-cognito-identity-provider 3.530.0 → 3.535.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/dist-types/CognitoIdentityProvider.d.ts +2 -1
- package/dist-types/CognitoIdentityProviderClient.d.ts +1 -1
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +2 -1
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +2 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +2 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminDisableUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminEnableUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +2 -1
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminListDevicesCommand.d.ts +2 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +2 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +2 -1
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +2 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +2 -1
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +2 -1
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +2 -1
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +2 -1
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +2 -1
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +2 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +2 -1
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +2 -1
- package/dist-types/commands/ChangePasswordCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +2 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +2 -1
- package/dist-types/commands/CreateGroupCommand.d.ts +2 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/CreateResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +2 -1
- package/dist-types/commands/DeleteGroupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/DeleteResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/DeleteUserPoolDomainCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/DescribeResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/DescribeRiskConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserImportJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/DescribeUserPoolDomainCommand.d.ts +2 -1
- package/dist-types/commands/ForgetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +2 -1
- package/dist-types/commands/GetCSVHeaderCommand.d.ts +2 -1
- package/dist-types/commands/GetDeviceCommand.d.ts +2 -1
- package/dist-types/commands/GetGroupCommand.d.ts +2 -1
- package/dist-types/commands/GetIdentityProviderByIdentifierCommand.d.ts +2 -1
- package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +2 -1
- package/dist-types/commands/GetUICustomizationCommand.d.ts +2 -1
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +2 -1
- package/dist-types/commands/GetUserCommand.d.ts +2 -1
- package/dist-types/commands/GetUserPoolMfaConfigCommand.d.ts +2 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +2 -1
- package/dist-types/commands/InitiateAuthCommand.d.ts +2 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +2 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +2 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +2 -1
- package/dist-types/commands/ListResourceServersCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +2 -1
- package/dist-types/commands/ListUserPoolsCommand.d.ts +2 -1
- package/dist-types/commands/ListUsersCommand.d.ts +2 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +2 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +2 -1
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +2 -1
- package/dist-types/commands/RevokeTokenCommand.d.ts +2 -1
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +3 -2
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +2 -1
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +2 -1
- package/dist-types/commands/SetUserSettingsCommand.d.ts +2 -1
- package/dist-types/commands/SignUpCommand.d.ts +2 -1
- package/dist-types/commands/StartUserImportJobCommand.d.ts +2 -1
- package/dist-types/commands/StopUserImportJobCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +2 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +2 -1
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +2 -1
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +2 -1
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +2 -1
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +878 -878
- package/dist-types/models/models_1.d.ts +151 -151
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +1 -0
- package/dist-types/ts3.4/commands/AddCustomAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminAddUserToGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminConfirmSignUpCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminCreateUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminDeleteUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminDisableProviderForUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminDisableUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminEnableUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminForgetDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminGetDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminGetUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminInitiateAuthCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminLinkProviderForUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminListDevicesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminListGroupsForUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminListUserAuthEventsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminRemoveUserFromGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminResetUserPasswordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminRespondToAuthChallengeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminSetUserMFAPreferenceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminSetUserPasswordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminSetUserSettingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminUpdateDeviceStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminUpdateUserAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AdminUserGlobalSignOutCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/AssociateSoftwareTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ChangePasswordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ConfirmDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ConfirmForgotPasswordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ConfirmSignUpCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateIdentityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateResourceServerCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUserImportJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUserPoolClientCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUserPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUserPoolDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteIdentityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteResourceServerCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolClientCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DeleteUserPoolDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeIdentityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeResourceServerCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeRiskConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeUserImportJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolClientCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/DescribeUserPoolDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ForgetDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ForgotPasswordCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetCSVHeaderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetDeviceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetIdentityProviderByIdentifierCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetSigningCertificateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetUICustomizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetUserAttributeVerificationCodeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetUserCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/GetUserPoolMfaConfigCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GlobalSignOutCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/InitiateAuthCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListResourceServersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUserImportJobsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUserPoolClientsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUserPoolsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListUsersInGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ResendConfirmationCodeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RespondToAuthChallengeCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RevokeTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/SignUpCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/StartUserImportJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/StopUserImportJobCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateAuthEventFeedbackCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateDeviceStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateIdentityProviderCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateResourceServerCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateUserAttributesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolClientCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateUserPoolDomainCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifySoftwareTokenCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/VerifyUserAttributeCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -6,9 +6,9 @@ import { AccountRecoverySettingType, AccountTakeoverRiskConfigurationType, Admin
|
|
|
6
6
|
*/
|
|
7
7
|
export interface SetLogDeliveryConfigurationResponse {
|
|
8
8
|
/**
|
|
9
|
-
* @public
|
|
10
9
|
* <p>The detailed activity logging configuration that you applied to the requested user
|
|
11
10
|
* pool.</p>
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
13
13
|
LogDeliveryConfiguration?: LogDeliveryConfigurationType;
|
|
14
14
|
}
|
|
@@ -17,33 +17,33 @@ export interface SetLogDeliveryConfigurationResponse {
|
|
|
17
17
|
*/
|
|
18
18
|
export interface SetRiskConfigurationRequest {
|
|
19
19
|
/**
|
|
20
|
-
* @public
|
|
21
20
|
* <p>The user pool ID. </p>
|
|
21
|
+
* @public
|
|
22
22
|
*/
|
|
23
23
|
UserPoolId: string | undefined;
|
|
24
24
|
/**
|
|
25
|
-
* @public
|
|
26
25
|
* <p>The app client ID. If <code>ClientId</code> is null, then the risk configuration is
|
|
27
26
|
* mapped to <code>userPoolId</code>. When the client ID is null, the same risk
|
|
28
27
|
* configuration is applied to all the clients in the userPool.</p>
|
|
29
28
|
* <p>Otherwise, <code>ClientId</code> is mapped to the client. When the client ID isn't
|
|
30
29
|
* null, the user pool configuration is overridden and the risk configuration for the
|
|
31
30
|
* client is used instead.</p>
|
|
31
|
+
* @public
|
|
32
32
|
*/
|
|
33
33
|
ClientId?: string;
|
|
34
34
|
/**
|
|
35
|
-
* @public
|
|
36
35
|
* <p>The compromised credentials risk configuration.</p>
|
|
36
|
+
* @public
|
|
37
37
|
*/
|
|
38
38
|
CompromisedCredentialsRiskConfiguration?: CompromisedCredentialsRiskConfigurationType;
|
|
39
39
|
/**
|
|
40
|
-
* @public
|
|
41
40
|
* <p>The account takeover risk configuration.</p>
|
|
41
|
+
* @public
|
|
42
42
|
*/
|
|
43
43
|
AccountTakeoverRiskConfiguration?: AccountTakeoverRiskConfigurationType;
|
|
44
44
|
/**
|
|
45
|
-
* @public
|
|
46
45
|
* <p>The configuration to override the risk decision.</p>
|
|
46
|
+
* @public
|
|
47
47
|
*/
|
|
48
48
|
RiskExceptionConfiguration?: RiskExceptionConfigurationType;
|
|
49
49
|
}
|
|
@@ -52,8 +52,8 @@ export interface SetRiskConfigurationRequest {
|
|
|
52
52
|
*/
|
|
53
53
|
export interface SetRiskConfigurationResponse {
|
|
54
54
|
/**
|
|
55
|
-
* @public
|
|
56
55
|
* <p>The risk configuration.</p>
|
|
56
|
+
* @public
|
|
57
57
|
*/
|
|
58
58
|
RiskConfiguration: RiskConfigurationType | undefined;
|
|
59
59
|
}
|
|
@@ -62,23 +62,23 @@ export interface SetRiskConfigurationResponse {
|
|
|
62
62
|
*/
|
|
63
63
|
export interface SetUICustomizationRequest {
|
|
64
64
|
/**
|
|
65
|
-
* @public
|
|
66
65
|
* <p>The user pool ID for the user pool.</p>
|
|
66
|
+
* @public
|
|
67
67
|
*/
|
|
68
68
|
UserPoolId: string | undefined;
|
|
69
69
|
/**
|
|
70
|
-
* @public
|
|
71
70
|
* <p>The client ID for the client app.</p>
|
|
71
|
+
* @public
|
|
72
72
|
*/
|
|
73
73
|
ClientId?: string;
|
|
74
74
|
/**
|
|
75
|
-
* @public
|
|
76
75
|
* <p>The CSS values in the UI customization.</p>
|
|
76
|
+
* @public
|
|
77
77
|
*/
|
|
78
78
|
CSS?: string;
|
|
79
79
|
/**
|
|
80
|
-
* @public
|
|
81
80
|
* <p>The uploaded logo image for the UI customization.</p>
|
|
81
|
+
* @public
|
|
82
82
|
*/
|
|
83
83
|
ImageFile?: Uint8Array;
|
|
84
84
|
}
|
|
@@ -87,8 +87,8 @@ export interface SetUICustomizationRequest {
|
|
|
87
87
|
*/
|
|
88
88
|
export interface SetUICustomizationResponse {
|
|
89
89
|
/**
|
|
90
|
-
* @public
|
|
91
90
|
* <p>The UI customization information.</p>
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
UICustomization: UICustomizationType | undefined;
|
|
94
94
|
}
|
|
@@ -97,19 +97,19 @@ export interface SetUICustomizationResponse {
|
|
|
97
97
|
*/
|
|
98
98
|
export interface SetUserMFAPreferenceRequest {
|
|
99
99
|
/**
|
|
100
|
-
* @public
|
|
101
100
|
* <p>The SMS text message multi-factor authentication (MFA) settings.</p>
|
|
101
|
+
* @public
|
|
102
102
|
*/
|
|
103
103
|
SMSMfaSettings?: SMSMfaSettingsType;
|
|
104
104
|
/**
|
|
105
|
-
* @public
|
|
106
105
|
* <p>The time-based one-time password (TOTP) software token MFA settings.</p>
|
|
106
|
+
* @public
|
|
107
107
|
*/
|
|
108
108
|
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
|
|
109
109
|
/**
|
|
110
|
-
* @public
|
|
111
110
|
* <p>A valid access token that Amazon Cognito issued to the user whose MFA preference you want to
|
|
112
111
|
* set.</p>
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
AccessToken: string | undefined;
|
|
115
115
|
}
|
|
@@ -123,22 +123,21 @@ export interface SetUserMFAPreferenceResponse {
|
|
|
123
123
|
*/
|
|
124
124
|
export interface SetUserPoolMfaConfigRequest {
|
|
125
125
|
/**
|
|
126
|
-
* @public
|
|
127
126
|
* <p>The user pool ID.</p>
|
|
127
|
+
* @public
|
|
128
128
|
*/
|
|
129
129
|
UserPoolId: string | undefined;
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>The SMS text message MFA configuration.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
135
135
|
/**
|
|
136
|
-
* @public
|
|
137
136
|
* <p>The software token MFA configuration.</p>
|
|
137
|
+
* @public
|
|
138
138
|
*/
|
|
139
139
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who
|
|
143
142
|
* have set up an MFA factor can sign in. To learn more, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-mfa.html">Adding Multi-Factor
|
|
144
143
|
* Authentication (MFA) to a user pool</a>. Valid values include:</p>
|
|
@@ -157,6 +156,7 @@ export interface SetUserPoolMfaConfigRequest {
|
|
|
157
156
|
* an MFA factor activated.</p>
|
|
158
157
|
* </li>
|
|
159
158
|
* </ul>
|
|
159
|
+
* @public
|
|
160
160
|
*/
|
|
161
161
|
MfaConfiguration?: UserPoolMfaType;
|
|
162
162
|
}
|
|
@@ -165,17 +165,16 @@ export interface SetUserPoolMfaConfigRequest {
|
|
|
165
165
|
*/
|
|
166
166
|
export interface SetUserPoolMfaConfigResponse {
|
|
167
167
|
/**
|
|
168
|
-
* @public
|
|
169
168
|
* <p>The SMS text message MFA configuration.</p>
|
|
169
|
+
* @public
|
|
170
170
|
*/
|
|
171
171
|
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
172
172
|
/**
|
|
173
|
-
* @public
|
|
174
173
|
* <p>The software token MFA configuration.</p>
|
|
174
|
+
* @public
|
|
175
175
|
*/
|
|
176
176
|
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
177
177
|
/**
|
|
178
|
-
* @public
|
|
179
178
|
* <p>The MFA configuration. Valid values include:</p>
|
|
180
179
|
* <ul>
|
|
181
180
|
* <li>
|
|
@@ -192,69 +191,69 @@ export interface SetUserPoolMfaConfigResponse {
|
|
|
192
191
|
* an MFA factor enabled.</p>
|
|
193
192
|
* </li>
|
|
194
193
|
* </ul>
|
|
194
|
+
* @public
|
|
195
195
|
*/
|
|
196
196
|
MfaConfiguration?: UserPoolMfaType;
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
|
-
* @public
|
|
200
199
|
* <p>Represents the request to set user settings.</p>
|
|
200
|
+
* @public
|
|
201
201
|
*/
|
|
202
202
|
export interface SetUserSettingsRequest {
|
|
203
203
|
/**
|
|
204
|
-
* @public
|
|
205
204
|
* <p>A valid access token that Amazon Cognito issued to the user whose user settings you want to
|
|
206
205
|
* configure.</p>
|
|
206
|
+
* @public
|
|
207
207
|
*/
|
|
208
208
|
AccessToken: string | undefined;
|
|
209
209
|
/**
|
|
210
|
-
* @public
|
|
211
210
|
* <p>You can use this parameter only to set an SMS configuration that uses SMS for
|
|
212
211
|
* delivery.</p>
|
|
212
|
+
* @public
|
|
213
213
|
*/
|
|
214
214
|
MFAOptions: MFAOptionType[] | undefined;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* @public
|
|
218
217
|
* <p>The response from the server for a set user settings request.</p>
|
|
218
|
+
* @public
|
|
219
219
|
*/
|
|
220
220
|
export interface SetUserSettingsResponse {
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
|
-
* @public
|
|
224
223
|
* <p>Represents the request to register a user.</p>
|
|
224
|
+
* @public
|
|
225
225
|
*/
|
|
226
226
|
export interface SignUpRequest {
|
|
227
227
|
/**
|
|
228
|
-
* @public
|
|
229
228
|
* <p>The ID of the client associated with the user pool.</p>
|
|
229
|
+
* @public
|
|
230
230
|
*/
|
|
231
231
|
ClientId: string | undefined;
|
|
232
232
|
/**
|
|
233
|
-
* @public
|
|
234
233
|
* <p>A keyed-hash message authentication code (HMAC) calculated using the secret key of a
|
|
235
234
|
* user pool client and username plus the client ID in the message.</p>
|
|
235
|
+
* @public
|
|
236
236
|
*/
|
|
237
237
|
SecretHash?: string;
|
|
238
238
|
/**
|
|
239
|
-
* @public
|
|
240
239
|
* <p>The username of the user that you want to sign up. The value of this parameter is
|
|
241
240
|
* typically a username, but can be any alias attribute in your user pool.</p>
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
Username: string | undefined;
|
|
244
244
|
/**
|
|
245
|
-
* @public
|
|
246
245
|
* <p>The password of the user you want to register.</p>
|
|
246
|
+
* @public
|
|
247
247
|
*/
|
|
248
248
|
Password: string | undefined;
|
|
249
249
|
/**
|
|
250
|
-
* @public
|
|
251
250
|
* <p>An array of name-value pairs representing user attributes.</p>
|
|
252
251
|
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
253
252
|
* attribute name.</p>
|
|
253
|
+
* @public
|
|
254
254
|
*/
|
|
255
255
|
UserAttributes?: AttributeType[];
|
|
256
256
|
/**
|
|
257
|
-
* @public
|
|
258
257
|
* <p>Temporary user attributes that contribute to the outcomes of your pre sign-up Lambda
|
|
259
258
|
* trigger. This set of key-value pairs are for custom validation of information that you
|
|
260
259
|
* collect from your users but don't need to retain.</p>
|
|
@@ -264,23 +263,23 @@ export interface SignUpRequest {
|
|
|
264
263
|
* to Amazon Cognito, like automatically confirming the user if they sign up from within your
|
|
265
264
|
* network.</p>
|
|
266
265
|
* <p>For more information about the pre sign-up Lambda trigger, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html">Pre sign-up Lambda trigger</a>.</p>
|
|
266
|
+
* @public
|
|
267
267
|
*/
|
|
268
268
|
ValidationData?: AttributeType[];
|
|
269
269
|
/**
|
|
270
|
-
* @public
|
|
271
270
|
* <p>The Amazon Pinpoint analytics metadata that contributes to your metrics for
|
|
272
271
|
* <code>SignUp</code> calls.</p>
|
|
272
|
+
* @public
|
|
273
273
|
*/
|
|
274
274
|
AnalyticsMetadata?: AnalyticsMetadataType;
|
|
275
275
|
/**
|
|
276
|
-
* @public
|
|
277
276
|
* <p>Contextual data about your user session, such as the device fingerprint, IP address, or location. Amazon Cognito advanced
|
|
278
277
|
* security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito
|
|
279
278
|
* when it makes API requests.</p>
|
|
279
|
+
* @public
|
|
280
280
|
*/
|
|
281
281
|
UserContextData?: UserContextDataType;
|
|
282
282
|
/**
|
|
283
|
-
* @public
|
|
284
283
|
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
285
284
|
* that this action triggers.</p>
|
|
286
285
|
* <p>You create custom workflows by assigning Lambda functions to user pool triggers.
|
|
@@ -313,86 +312,87 @@ export interface SignUpRequest {
|
|
|
313
312
|
* </li>
|
|
314
313
|
* </ul>
|
|
315
314
|
* </note>
|
|
315
|
+
* @public
|
|
316
316
|
*/
|
|
317
317
|
ClientMetadata?: Record<string, string>;
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
320
|
-
* @public
|
|
321
320
|
* <p>The response from the server for a registration request.</p>
|
|
321
|
+
* @public
|
|
322
322
|
*/
|
|
323
323
|
export interface SignUpResponse {
|
|
324
324
|
/**
|
|
325
|
-
* @public
|
|
326
325
|
* <p>A response from the server indicating that a user registration has been
|
|
327
326
|
* confirmed.</p>
|
|
327
|
+
* @public
|
|
328
328
|
*/
|
|
329
329
|
UserConfirmed: boolean | undefined;
|
|
330
330
|
/**
|
|
331
|
-
* @public
|
|
332
331
|
* <p>The code delivery details returned by the server response to the user registration
|
|
333
332
|
* request.</p>
|
|
333
|
+
* @public
|
|
334
334
|
*/
|
|
335
335
|
CodeDeliveryDetails?: CodeDeliveryDetailsType;
|
|
336
336
|
/**
|
|
337
|
-
* @public
|
|
338
337
|
* <p>The UUID of the authenticated user. This isn't the same as
|
|
339
338
|
* <code>username</code>.</p>
|
|
339
|
+
* @public
|
|
340
340
|
*/
|
|
341
341
|
UserSub: string | undefined;
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
|
-
* @public
|
|
345
344
|
* <p>Represents the request to start the user import job.</p>
|
|
345
|
+
* @public
|
|
346
346
|
*/
|
|
347
347
|
export interface StartUserImportJobRequest {
|
|
348
348
|
/**
|
|
349
|
-
* @public
|
|
350
349
|
* <p>The user pool ID for the user pool that the users are being imported into.</p>
|
|
350
|
+
* @public
|
|
351
351
|
*/
|
|
352
352
|
UserPoolId: string | undefined;
|
|
353
353
|
/**
|
|
354
|
-
* @public
|
|
355
354
|
* <p>The job ID for the user import job.</p>
|
|
355
|
+
* @public
|
|
356
356
|
*/
|
|
357
357
|
JobId: string | undefined;
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
|
-
* @public
|
|
361
360
|
* <p>Represents the response from the server to the request to start the user import
|
|
362
361
|
* job.</p>
|
|
362
|
+
* @public
|
|
363
363
|
*/
|
|
364
364
|
export interface StartUserImportJobResponse {
|
|
365
365
|
/**
|
|
366
|
-
* @public
|
|
367
366
|
* <p>The job object that represents the user import job.</p>
|
|
367
|
+
* @public
|
|
368
368
|
*/
|
|
369
369
|
UserImportJob?: UserImportJobType;
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
372
|
-
* @public
|
|
373
372
|
* <p>Represents the request to stop the user import job.</p>
|
|
373
|
+
* @public
|
|
374
374
|
*/
|
|
375
375
|
export interface StopUserImportJobRequest {
|
|
376
376
|
/**
|
|
377
|
-
* @public
|
|
378
377
|
* <p>The user pool ID for the user pool that the users are being imported into.</p>
|
|
378
|
+
* @public
|
|
379
379
|
*/
|
|
380
380
|
UserPoolId: string | undefined;
|
|
381
381
|
/**
|
|
382
|
-
* @public
|
|
383
382
|
* <p>The job ID for the user import job.</p>
|
|
383
|
+
* @public
|
|
384
384
|
*/
|
|
385
385
|
JobId: string | undefined;
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* @public
|
|
389
388
|
* <p>Represents the response from the server to the request to stop the user import
|
|
390
389
|
* job.</p>
|
|
390
|
+
* @public
|
|
391
391
|
*/
|
|
392
392
|
export interface StopUserImportJobResponse {
|
|
393
393
|
/**
|
|
394
|
-
* @public
|
|
395
394
|
* <p>The job object that represents the user import job.</p>
|
|
395
|
+
* @public
|
|
396
396
|
*/
|
|
397
397
|
UserImportJob?: UserImportJobType;
|
|
398
398
|
}
|
|
@@ -401,13 +401,13 @@ export interface StopUserImportJobResponse {
|
|
|
401
401
|
*/
|
|
402
402
|
export interface TagResourceRequest {
|
|
403
403
|
/**
|
|
404
|
-
* @public
|
|
405
404
|
* <p>The Amazon Resource Name (ARN) of the user pool to assign the tags to.</p>
|
|
405
|
+
* @public
|
|
406
406
|
*/
|
|
407
407
|
ResourceArn: string | undefined;
|
|
408
408
|
/**
|
|
409
|
-
* @public
|
|
410
409
|
* <p>The tags to assign to the user pool.</p>
|
|
410
|
+
* @public
|
|
411
411
|
*/
|
|
412
412
|
Tags: Record<string, string> | undefined;
|
|
413
413
|
}
|
|
@@ -421,13 +421,13 @@ export interface TagResourceResponse {
|
|
|
421
421
|
*/
|
|
422
422
|
export interface UntagResourceRequest {
|
|
423
423
|
/**
|
|
424
|
-
* @public
|
|
425
424
|
* <p>The Amazon Resource Name (ARN) of the user pool that the tags are assigned to.</p>
|
|
425
|
+
* @public
|
|
426
426
|
*/
|
|
427
427
|
ResourceArn: string | undefined;
|
|
428
428
|
/**
|
|
429
|
-
* @public
|
|
430
429
|
* <p>The keys of the tags to remove from the user pool.</p>
|
|
430
|
+
* @public
|
|
431
431
|
*/
|
|
432
432
|
TagKeys: string[] | undefined;
|
|
433
433
|
}
|
|
@@ -441,36 +441,36 @@ export interface UntagResourceResponse {
|
|
|
441
441
|
*/
|
|
442
442
|
export interface UpdateAuthEventFeedbackRequest {
|
|
443
443
|
/**
|
|
444
|
-
* @public
|
|
445
444
|
* <p>The user pool ID.</p>
|
|
445
|
+
* @public
|
|
446
446
|
*/
|
|
447
447
|
UserPoolId: string | undefined;
|
|
448
448
|
/**
|
|
449
|
-
* @public
|
|
450
449
|
* <p>The username of the user that you want to query or modify. The value of this parameter
|
|
451
450
|
* is typically your user's username, but it can be any of their alias attributes. If
|
|
452
451
|
* <code>username</code> isn't an alias attribute in your user pool, this value
|
|
453
452
|
* must be the <code>sub</code> of a local user or the username of a user from a
|
|
454
453
|
* third-party IdP.</p>
|
|
454
|
+
* @public
|
|
455
455
|
*/
|
|
456
456
|
Username: string | undefined;
|
|
457
457
|
/**
|
|
458
|
-
* @public
|
|
459
458
|
* <p>The event ID.</p>
|
|
459
|
+
* @public
|
|
460
460
|
*/
|
|
461
461
|
EventId: string | undefined;
|
|
462
462
|
/**
|
|
463
|
-
* @public
|
|
464
463
|
* <p>The feedback token.</p>
|
|
464
|
+
* @public
|
|
465
465
|
*/
|
|
466
466
|
FeedbackToken: string | undefined;
|
|
467
467
|
/**
|
|
468
|
-
* @public
|
|
469
468
|
* <p>The authentication event feedback value. When you provide a <code>FeedbackValue</code>
|
|
470
469
|
* value of <code>valid</code>, you tell Amazon Cognito that you trust a user session where Amazon Cognito
|
|
471
470
|
* has evaluated some level of risk. When you provide a <code>FeedbackValue</code> value of
|
|
472
471
|
* <code>invalid</code>, you tell Amazon Cognito that you don't trust a user session, or you
|
|
473
472
|
* don't believe that Amazon Cognito evaluated a high-enough risk level.</p>
|
|
473
|
+
* @public
|
|
474
474
|
*/
|
|
475
475
|
FeedbackValue: FeedbackValueType | undefined;
|
|
476
476
|
}
|
|
@@ -480,30 +480,30 @@ export interface UpdateAuthEventFeedbackRequest {
|
|
|
480
480
|
export interface UpdateAuthEventFeedbackResponse {
|
|
481
481
|
}
|
|
482
482
|
/**
|
|
483
|
-
* @public
|
|
484
483
|
* <p>Represents the request to update the device status.</p>
|
|
484
|
+
* @public
|
|
485
485
|
*/
|
|
486
486
|
export interface UpdateDeviceStatusRequest {
|
|
487
487
|
/**
|
|
488
|
-
* @public
|
|
489
488
|
* <p>A valid access token that Amazon Cognito issued to the user whose device status you want to
|
|
490
489
|
* update.</p>
|
|
490
|
+
* @public
|
|
491
491
|
*/
|
|
492
492
|
AccessToken: string | undefined;
|
|
493
493
|
/**
|
|
494
|
-
* @public
|
|
495
494
|
* <p>The device key.</p>
|
|
495
|
+
* @public
|
|
496
496
|
*/
|
|
497
497
|
DeviceKey: string | undefined;
|
|
498
498
|
/**
|
|
499
|
-
* @public
|
|
500
499
|
* <p>The status of whether a device is remembered.</p>
|
|
500
|
+
* @public
|
|
501
501
|
*/
|
|
502
502
|
DeviceRememberedStatus?: DeviceRememberedStatusType;
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
|
-
* @public
|
|
506
505
|
* <p>The response to the request to update the device status.</p>
|
|
506
|
+
* @public
|
|
507
507
|
*/
|
|
508
508
|
export interface UpdateDeviceStatusResponse {
|
|
509
509
|
}
|
|
@@ -512,31 +512,31 @@ export interface UpdateDeviceStatusResponse {
|
|
|
512
512
|
*/
|
|
513
513
|
export interface UpdateGroupRequest {
|
|
514
514
|
/**
|
|
515
|
-
* @public
|
|
516
515
|
* <p>The name of the group.</p>
|
|
516
|
+
* @public
|
|
517
517
|
*/
|
|
518
518
|
GroupName: string | undefined;
|
|
519
519
|
/**
|
|
520
|
-
* @public
|
|
521
520
|
* <p>The user pool ID for the user pool.</p>
|
|
521
|
+
* @public
|
|
522
522
|
*/
|
|
523
523
|
UserPoolId: string | undefined;
|
|
524
524
|
/**
|
|
525
|
-
* @public
|
|
526
525
|
* <p>A string containing the new description of the group.</p>
|
|
526
|
+
* @public
|
|
527
527
|
*/
|
|
528
528
|
Description?: string;
|
|
529
529
|
/**
|
|
530
|
-
* @public
|
|
531
530
|
* <p>The new role Amazon Resource Name (ARN) for the group. This is used for setting the
|
|
532
531
|
* <code>cognito:roles</code> and <code>cognito:preferred_role</code> claims in the
|
|
533
532
|
* token.</p>
|
|
533
|
+
* @public
|
|
534
534
|
*/
|
|
535
535
|
RoleArn?: string;
|
|
536
536
|
/**
|
|
537
|
-
* @public
|
|
538
537
|
* <p>The new precedence value for the group. For more information about this parameter, see
|
|
539
538
|
* <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html">CreateGroup</a>.</p>
|
|
539
|
+
* @public
|
|
540
540
|
*/
|
|
541
541
|
Precedence?: number;
|
|
542
542
|
}
|
|
@@ -545,8 +545,8 @@ export interface UpdateGroupRequest {
|
|
|
545
545
|
*/
|
|
546
546
|
export interface UpdateGroupResponse {
|
|
547
547
|
/**
|
|
548
|
-
* @public
|
|
549
548
|
* <p>The group object for the group.</p>
|
|
549
|
+
* @public
|
|
550
550
|
*/
|
|
551
551
|
Group?: GroupType;
|
|
552
552
|
}
|
|
@@ -555,17 +555,16 @@ export interface UpdateGroupResponse {
|
|
|
555
555
|
*/
|
|
556
556
|
export interface UpdateIdentityProviderRequest {
|
|
557
557
|
/**
|
|
558
|
-
* @public
|
|
559
558
|
* <p>The user pool ID.</p>
|
|
559
|
+
* @public
|
|
560
560
|
*/
|
|
561
561
|
UserPoolId: string | undefined;
|
|
562
562
|
/**
|
|
563
|
-
* @public
|
|
564
563
|
* <p>The IdP name.</p>
|
|
564
|
+
* @public
|
|
565
565
|
*/
|
|
566
566
|
ProviderName: string | undefined;
|
|
567
567
|
/**
|
|
568
|
-
* @public
|
|
569
568
|
* <p>The scopes, URLs, and identifiers for your external identity provider. The following
|
|
570
569
|
* examples describe the provider detail keys for each IdP type. These values and their
|
|
571
570
|
* schema are subject to change. Social IdP <code>authorize_scopes</code> values must match
|
|
@@ -685,16 +684,17 @@ export interface UpdateIdentityProviderRequest {
|
|
|
685
684
|
* </p>
|
|
686
685
|
* </dd>
|
|
687
686
|
* </dl>
|
|
687
|
+
* @public
|
|
688
688
|
*/
|
|
689
689
|
ProviderDetails?: Record<string, string>;
|
|
690
690
|
/**
|
|
691
|
-
* @public
|
|
692
691
|
* <p>The IdP attribute mapping to be changed.</p>
|
|
692
|
+
* @public
|
|
693
693
|
*/
|
|
694
694
|
AttributeMapping?: Record<string, string>;
|
|
695
695
|
/**
|
|
696
|
-
* @public
|
|
697
696
|
* <p>A list of IdP identifiers.</p>
|
|
697
|
+
* @public
|
|
698
698
|
*/
|
|
699
699
|
IdpIdentifiers?: string[];
|
|
700
700
|
}
|
|
@@ -703,8 +703,8 @@ export interface UpdateIdentityProviderRequest {
|
|
|
703
703
|
*/
|
|
704
704
|
export interface UpdateIdentityProviderResponse {
|
|
705
705
|
/**
|
|
706
|
-
* @public
|
|
707
706
|
* <p>The identity provider details.</p>
|
|
707
|
+
* @public
|
|
708
708
|
*/
|
|
709
709
|
IdentityProvider: IdentityProviderType | undefined;
|
|
710
710
|
}
|
|
@@ -713,23 +713,23 @@ export interface UpdateIdentityProviderResponse {
|
|
|
713
713
|
*/
|
|
714
714
|
export interface UpdateResourceServerRequest {
|
|
715
715
|
/**
|
|
716
|
-
* @public
|
|
717
716
|
* <p>The user pool ID for the user pool.</p>
|
|
717
|
+
* @public
|
|
718
718
|
*/
|
|
719
719
|
UserPoolId: string | undefined;
|
|
720
720
|
/**
|
|
721
|
-
* @public
|
|
722
721
|
* <p>The identifier for the resource server.</p>
|
|
722
|
+
* @public
|
|
723
723
|
*/
|
|
724
724
|
Identifier: string | undefined;
|
|
725
725
|
/**
|
|
726
|
-
* @public
|
|
727
726
|
* <p>The name of the resource server.</p>
|
|
727
|
+
* @public
|
|
728
728
|
*/
|
|
729
729
|
Name: string | undefined;
|
|
730
730
|
/**
|
|
731
|
-
* @public
|
|
732
731
|
* <p>The scope values to be set for the resource server.</p>
|
|
732
|
+
* @public
|
|
733
733
|
*/
|
|
734
734
|
Scopes?: ResourceServerScopeType[];
|
|
735
735
|
}
|
|
@@ -738,18 +738,17 @@ export interface UpdateResourceServerRequest {
|
|
|
738
738
|
*/
|
|
739
739
|
export interface UpdateResourceServerResponse {
|
|
740
740
|
/**
|
|
741
|
-
* @public
|
|
742
741
|
* <p>The resource server.</p>
|
|
742
|
+
* @public
|
|
743
743
|
*/
|
|
744
744
|
ResourceServer: ResourceServerType | undefined;
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
|
-
* @public
|
|
748
747
|
* <p>Represents the request to update user attributes.</p>
|
|
748
|
+
* @public
|
|
749
749
|
*/
|
|
750
750
|
export interface UpdateUserAttributesRequest {
|
|
751
751
|
/**
|
|
752
|
-
* @public
|
|
753
752
|
* <p>An array of name-value pairs representing user attributes.</p>
|
|
754
753
|
* <p>For custom attributes, you must prepend the <code>custom:</code> prefix to the
|
|
755
754
|
* attribute name.</p>
|
|
@@ -758,16 +757,16 @@ export interface UpdateUserAttributesRequest {
|
|
|
758
757
|
* receives and responds to a verification message to verify the new value, Amazon Cognito updates
|
|
759
758
|
* the attribute value. Your user can sign in and receive messages with the original
|
|
760
759
|
* attribute value until they verify the new value.</p>
|
|
760
|
+
* @public
|
|
761
761
|
*/
|
|
762
762
|
UserAttributes: AttributeType[] | undefined;
|
|
763
763
|
/**
|
|
764
|
-
* @public
|
|
765
764
|
* <p>A valid access token that Amazon Cognito issued to the user whose user attributes you want to
|
|
766
765
|
* update.</p>
|
|
766
|
+
* @public
|
|
767
767
|
*/
|
|
768
768
|
AccessToken: string | undefined;
|
|
769
769
|
/**
|
|
770
|
-
* @public
|
|
771
770
|
* <p>A map of custom key-value pairs that you can provide as input for any custom workflows
|
|
772
771
|
* that this action initiates. </p>
|
|
773
772
|
* <p>You create custom workflows by assigning Lambda functions to user pool triggers. When
|
|
@@ -799,39 +798,39 @@ export interface UpdateUserAttributesRequest {
|
|
|
799
798
|
* </li>
|
|
800
799
|
* </ul>
|
|
801
800
|
* </note>
|
|
801
|
+
* @public
|
|
802
802
|
*/
|
|
803
803
|
ClientMetadata?: Record<string, string>;
|
|
804
804
|
}
|
|
805
805
|
/**
|
|
806
|
-
* @public
|
|
807
806
|
* <p>Represents the response from the server for the request to update user
|
|
808
807
|
* attributes.</p>
|
|
808
|
+
* @public
|
|
809
809
|
*/
|
|
810
810
|
export interface UpdateUserAttributesResponse {
|
|
811
811
|
/**
|
|
812
|
-
* @public
|
|
813
812
|
* <p>The code delivery details list from the server for the request to update user
|
|
814
813
|
* attributes.</p>
|
|
814
|
+
* @public
|
|
815
815
|
*/
|
|
816
816
|
CodeDeliveryDetailsList?: CodeDeliveryDetailsType[];
|
|
817
817
|
}
|
|
818
818
|
/**
|
|
819
|
-
* @public
|
|
820
819
|
* <p>Represents the request to update the user pool.</p>
|
|
820
|
+
* @public
|
|
821
821
|
*/
|
|
822
822
|
export interface UpdateUserPoolRequest {
|
|
823
823
|
/**
|
|
824
|
-
* @public
|
|
825
824
|
* <p>The user pool ID for the user pool you want to update.</p>
|
|
825
|
+
* @public
|
|
826
826
|
*/
|
|
827
827
|
UserPoolId: string | undefined;
|
|
828
828
|
/**
|
|
829
|
-
* @public
|
|
830
829
|
* <p>A container with the policies you want to update in a user pool.</p>
|
|
830
|
+
* @public
|
|
831
831
|
*/
|
|
832
832
|
Policies?: UserPoolPolicyType;
|
|
833
833
|
/**
|
|
834
|
-
* @public
|
|
835
834
|
* <p>When active, <code>DeletionProtection</code> prevents accidental deletion of your user
|
|
836
835
|
* pool. Before you can delete a user pool that you have protected against deletion, you
|
|
837
836
|
* must deactivate this feature.</p>
|
|
@@ -839,54 +838,54 @@ export interface UpdateUserPoolRequest {
|
|
|
839
838
|
* Amazon Cognito returns an <code>InvalidParameterException</code> error. To delete a protected user pool,
|
|
840
839
|
* send a new <code>DeleteUserPool</code> request after you deactivate deletion protection in an
|
|
841
840
|
* <code>UpdateUserPool</code> API request.</p>
|
|
841
|
+
* @public
|
|
842
842
|
*/
|
|
843
843
|
DeletionProtection?: DeletionProtectionType;
|
|
844
844
|
/**
|
|
845
|
-
* @public
|
|
846
845
|
* <p>The Lambda configuration information from the request to update the user pool.</p>
|
|
846
|
+
* @public
|
|
847
847
|
*/
|
|
848
848
|
LambdaConfig?: LambdaConfigType;
|
|
849
849
|
/**
|
|
850
|
-
* @public
|
|
851
850
|
* <p>The attributes that are automatically verified when Amazon Cognito requests to update user
|
|
852
851
|
* pools.</p>
|
|
852
|
+
* @public
|
|
853
853
|
*/
|
|
854
854
|
AutoVerifiedAttributes?: VerifiedAttributeType[];
|
|
855
855
|
/**
|
|
856
|
-
* @public
|
|
857
856
|
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
857
|
+
* @public
|
|
858
858
|
*/
|
|
859
859
|
SmsVerificationMessage?: string;
|
|
860
860
|
/**
|
|
861
|
-
* @public
|
|
862
861
|
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
862
|
+
* @public
|
|
863
863
|
*/
|
|
864
864
|
EmailVerificationMessage?: string;
|
|
865
865
|
/**
|
|
866
|
-
* @public
|
|
867
866
|
* <p>This parameter is no longer used. See <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_VerificationMessageTemplateType.html">VerificationMessageTemplateType</a>.</p>
|
|
867
|
+
* @public
|
|
868
868
|
*/
|
|
869
869
|
EmailVerificationSubject?: string;
|
|
870
870
|
/**
|
|
871
|
-
* @public
|
|
872
871
|
* <p>The template for verification messages.</p>
|
|
872
|
+
* @public
|
|
873
873
|
*/
|
|
874
874
|
VerificationMessageTemplate?: VerificationMessageTemplateType;
|
|
875
875
|
/**
|
|
876
|
-
* @public
|
|
877
876
|
* <p>The contents of the SMS authentication message.</p>
|
|
877
|
+
* @public
|
|
878
878
|
*/
|
|
879
879
|
SmsAuthenticationMessage?: string;
|
|
880
880
|
/**
|
|
881
|
-
* @public
|
|
882
881
|
* <p>The settings for updates to user attributes. These settings include the property <code>AttributesRequireVerificationBeforeUpdate</code>,
|
|
883
882
|
* a user-pool setting that tells Amazon Cognito how to handle changes to the value of your users' email address and phone number attributes. For
|
|
884
883
|
* more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-email-phone-verification.html#user-pool-settings-verifications-verify-attribute-updates">
|
|
885
884
|
* Verifying updates to email addresses and phone numbers</a>.</p>
|
|
885
|
+
* @public
|
|
886
886
|
*/
|
|
887
887
|
UserAttributeUpdateSettings?: UserAttributeUpdateSettingsType;
|
|
888
888
|
/**
|
|
889
|
-
* @public
|
|
890
889
|
* <p>Possible values include:</p>
|
|
891
890
|
* <ul>
|
|
892
891
|
* <li>
|
|
@@ -907,95 +906,95 @@ export interface UpdateUserPoolRequest {
|
|
|
907
906
|
* token.</p>
|
|
908
907
|
* </li>
|
|
909
908
|
* </ul>
|
|
909
|
+
* @public
|
|
910
910
|
*/
|
|
911
911
|
MfaConfiguration?: UserPoolMfaType;
|
|
912
912
|
/**
|
|
913
|
-
* @public
|
|
914
913
|
* <p>The device-remembering configuration for a user pool. A null value indicates that you
|
|
915
914
|
* have deactivated device remembering in your user pool.</p>
|
|
916
915
|
* <note>
|
|
917
916
|
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
|
|
918
917
|
* activate the Amazon Cognito device-remembering feature.</p>
|
|
919
918
|
* </note>
|
|
919
|
+
* @public
|
|
920
920
|
*/
|
|
921
921
|
DeviceConfiguration?: DeviceConfigurationType;
|
|
922
922
|
/**
|
|
923
|
-
* @public
|
|
924
923
|
* <p>The email configuration of your user pool. The email configuration type sets your
|
|
925
924
|
* preferred sending method, Amazon Web Services Region, and sender for email invitation and verification
|
|
926
925
|
* messages from your user pool.</p>
|
|
926
|
+
* @public
|
|
927
927
|
*/
|
|
928
928
|
EmailConfiguration?: EmailConfigurationType;
|
|
929
929
|
/**
|
|
930
|
-
* @public
|
|
931
930
|
* <p>The SMS configuration with the settings that your Amazon Cognito user pool must use to send an
|
|
932
931
|
* SMS message from your Amazon Web Services account through Amazon Simple Notification Service. To send SMS messages
|
|
933
932
|
* with Amazon SNS in the Amazon Web Services Region that you want, the Amazon Cognito user pool uses an Identity and Access Management
|
|
934
933
|
* (IAM) role in your Amazon Web Services account.</p>
|
|
934
|
+
* @public
|
|
935
935
|
*/
|
|
936
936
|
SmsConfiguration?: SmsConfigurationType;
|
|
937
937
|
/**
|
|
938
|
-
* @public
|
|
939
938
|
* <p>The tag keys and values to assign to the user pool. A tag is a label that you can use
|
|
940
939
|
* to categorize and manage user pools in different ways, such as by purpose, owner,
|
|
941
940
|
* environment, or other criteria.</p>
|
|
941
|
+
* @public
|
|
942
942
|
*/
|
|
943
943
|
UserPoolTags?: Record<string, string>;
|
|
944
944
|
/**
|
|
945
|
-
* @public
|
|
946
945
|
* <p>The configuration for <code>AdminCreateUser</code> requests.</p>
|
|
946
|
+
* @public
|
|
947
947
|
*/
|
|
948
948
|
AdminCreateUserConfig?: AdminCreateUserConfigType;
|
|
949
949
|
/**
|
|
950
|
-
* @public
|
|
951
950
|
* <p>User pool add-ons. Contains settings for activation of advanced security features. To
|
|
952
951
|
* log user security information but take no action, set to <code>AUDIT</code>. To
|
|
953
952
|
* configure automatic security responses to risky traffic to your user pool, set to
|
|
954
953
|
* <code>ENFORCED</code>.</p>
|
|
955
954
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html">Adding advanced security to a user pool</a>.</p>
|
|
955
|
+
* @public
|
|
956
956
|
*/
|
|
957
957
|
UserPoolAddOns?: UserPoolAddOnsType;
|
|
958
958
|
/**
|
|
959
|
-
* @public
|
|
960
959
|
* <p>The available verified method a user can use to recover their password when they call
|
|
961
960
|
* <code>ForgotPassword</code>. You can use this setting to define a preferred method
|
|
962
961
|
* when a user has more than one method available. With this setting, SMS doesn't qualify
|
|
963
962
|
* for a valid password recovery mechanism if the user also has SMS multi-factor
|
|
964
963
|
* authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy
|
|
965
964
|
* behavior to determine the recovery method where SMS is preferred through email.</p>
|
|
965
|
+
* @public
|
|
966
966
|
*/
|
|
967
967
|
AccountRecoverySetting?: AccountRecoverySettingType;
|
|
968
968
|
}
|
|
969
969
|
/**
|
|
970
|
-
* @public
|
|
971
970
|
* <p>Represents the response from the server when you make a request to update the user
|
|
972
971
|
* pool.</p>
|
|
972
|
+
* @public
|
|
973
973
|
*/
|
|
974
974
|
export interface UpdateUserPoolResponse {
|
|
975
975
|
}
|
|
976
976
|
/**
|
|
977
|
-
* @public
|
|
978
977
|
* <p>Represents the request to update the user pool client.</p>
|
|
978
|
+
* @public
|
|
979
979
|
*/
|
|
980
980
|
export interface UpdateUserPoolClientRequest {
|
|
981
981
|
/**
|
|
982
|
-
* @public
|
|
983
982
|
* <p>The user pool ID for the user pool where you want to update the user pool
|
|
984
983
|
* client.</p>
|
|
984
|
+
* @public
|
|
985
985
|
*/
|
|
986
986
|
UserPoolId: string | undefined;
|
|
987
987
|
/**
|
|
988
|
-
* @public
|
|
989
988
|
* <p>The ID of the client associated with the user pool.</p>
|
|
989
|
+
* @public
|
|
990
990
|
*/
|
|
991
991
|
ClientId: string | undefined;
|
|
992
992
|
/**
|
|
993
|
-
* @public
|
|
994
993
|
* <p>The client name from the update user pool client request.</p>
|
|
994
|
+
* @public
|
|
995
995
|
*/
|
|
996
996
|
ClientName?: string;
|
|
997
997
|
/**
|
|
998
|
-
* @public
|
|
999
998
|
* <p>The refresh token time limit. After this limit expires, your user can't use
|
|
1000
999
|
* their refresh token. To specify the time unit for <code>RefreshTokenValidity</code> as
|
|
1001
1000
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
@@ -1009,10 +1008,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1009
1008
|
* in seconds.</p>
|
|
1010
1009
|
* <p>If you don't specify otherwise in the configuration of your app client, your refresh
|
|
1011
1010
|
* tokens are valid for 30 days.</p>
|
|
1011
|
+
* @public
|
|
1012
1012
|
*/
|
|
1013
1013
|
RefreshTokenValidity?: number;
|
|
1014
1014
|
/**
|
|
1015
|
-
* @public
|
|
1016
1015
|
* <p>The access token time limit. After this limit expires, your user can't use
|
|
1017
1016
|
* their access token. To specify the time unit for <code>AccessTokenValidity</code> as
|
|
1018
1017
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
@@ -1024,10 +1023,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1024
1023
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
1025
1024
|
* <p>If you don't specify otherwise in the configuration of your app client, your access
|
|
1026
1025
|
* tokens are valid for one hour.</p>
|
|
1026
|
+
* @public
|
|
1027
1027
|
*/
|
|
1028
1028
|
AccessTokenValidity?: number;
|
|
1029
1029
|
/**
|
|
1030
|
-
* @public
|
|
1031
1030
|
* <p>The ID token time limit. After this limit expires, your user can't use
|
|
1032
1031
|
* their ID token. To specify the time unit for <code>IdTokenValidity</code> as
|
|
1033
1032
|
* <code>seconds</code>, <code>minutes</code>, <code>hours</code>, or <code>days</code>,
|
|
@@ -1039,17 +1038,17 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1039
1038
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
1040
1039
|
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
1041
1040
|
* tokens are valid for one hour.</p>
|
|
1041
|
+
* @public
|
|
1042
1042
|
*/
|
|
1043
1043
|
IdTokenValidity?: number;
|
|
1044
1044
|
/**
|
|
1045
|
-
* @public
|
|
1046
1045
|
* <p>The time units you use when you set the duration of ID, access, and refresh tokens.
|
|
1047
1046
|
* The default unit for RefreshToken is days, and the default for ID and access tokens is
|
|
1048
1047
|
* hours.</p>
|
|
1048
|
+
* @public
|
|
1049
1049
|
*/
|
|
1050
1050
|
TokenValidityUnits?: TokenValidityUnitsType;
|
|
1051
1051
|
/**
|
|
1052
|
-
* @public
|
|
1053
1052
|
* <p>The list of user attributes that you want your app client to have read-only access to.
|
|
1054
1053
|
* After your user authenticates in your app, their access token authorizes them to read
|
|
1055
1054
|
* their own attribute value for any attribute in this list. An example of this kind of
|
|
@@ -1063,10 +1062,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1063
1062
|
* <code>ReadAttributes</code> doesn't return any information. Amazon Cognito only
|
|
1064
1063
|
* populates <code>ReadAttributes</code> in the API response if you have specified your own
|
|
1065
1064
|
* custom set of read attributes.</p>
|
|
1065
|
+
* @public
|
|
1066
1066
|
*/
|
|
1067
1067
|
ReadAttributes?: string[];
|
|
1068
1068
|
/**
|
|
1069
|
-
* @public
|
|
1070
1069
|
* <p>The list of user attributes that you want your app client to have write access to.
|
|
1071
1070
|
* After your user authenticates in your app, their access token authorizes them to set or
|
|
1072
1071
|
* modify their own attribute value for any attribute in this list. An example of this kind
|
|
@@ -1085,10 +1084,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1085
1084
|
* access to a mapped attribute, Amazon Cognito throws an error when it tries to update the
|
|
1086
1085
|
* attribute. For more information, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html">Specifying IdP Attribute Mappings for Your user
|
|
1087
1086
|
* pool</a>.</p>
|
|
1087
|
+
* @public
|
|
1088
1088
|
*/
|
|
1089
1089
|
WriteAttributes?: string[];
|
|
1090
1090
|
/**
|
|
1091
|
-
* @public
|
|
1092
1091
|
* <p>The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in
|
|
1093
1092
|
* your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and
|
|
1094
1093
|
* password, or a custom authentication process that you define with Lambda functions.</p>
|
|
@@ -1129,18 +1128,18 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1129
1128
|
* <p>In some environments, you will see the values <code>ADMIN_NO_SRP_AUTH</code>, <code>CUSTOM_AUTH_FLOW_ONLY</code>, or <code>USER_PASSWORD_AUTH</code>.
|
|
1130
1129
|
* You can't assign these legacy <code>ExplicitAuthFlows</code> values to user pool clients at the same time as values that begin with <code>ALLOW_</code>,
|
|
1131
1130
|
* like <code>ALLOW_USER_SRP_AUTH</code>.</p>
|
|
1131
|
+
* @public
|
|
1132
1132
|
*/
|
|
1133
1133
|
ExplicitAuthFlows?: ExplicitAuthFlowsType[];
|
|
1134
1134
|
/**
|
|
1135
|
-
* @public
|
|
1136
1135
|
* <p>A list of provider names for the IdPs that this client supports. The following are
|
|
1137
1136
|
* supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>,
|
|
1138
1137
|
* <code>SignInWithApple</code>, <code>LoginWithAmazon</code>, and the names of your
|
|
1139
1138
|
* own SAML and OIDC providers.</p>
|
|
1139
|
+
* @public
|
|
1140
1140
|
*/
|
|
1141
1141
|
SupportedIdentityProviders?: string[];
|
|
1142
1142
|
/**
|
|
1143
|
-
* @public
|
|
1144
1143
|
* <p>A list of allowed redirect (callback) URLs for the IdPs.</p>
|
|
1145
1144
|
* <p>A redirect URI must:</p>
|
|
1146
1145
|
* <ul>
|
|
@@ -1159,15 +1158,15 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1159
1158
|
* <p>Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes
|
|
1160
1159
|
* only.</p>
|
|
1161
1160
|
* <p>App callback URLs such as <code>myapp://example</code> are also supported.</p>
|
|
1161
|
+
* @public
|
|
1162
1162
|
*/
|
|
1163
1163
|
CallbackURLs?: string[];
|
|
1164
1164
|
/**
|
|
1165
|
-
* @public
|
|
1166
1165
|
* <p>A list of allowed logout URLs for the IdPs.</p>
|
|
1166
|
+
* @public
|
|
1167
1167
|
*/
|
|
1168
1168
|
LogoutURLs?: string[];
|
|
1169
1169
|
/**
|
|
1170
|
-
* @public
|
|
1171
1170
|
* <p>The default redirect URI. Must be in the <code>CallbackURLs</code> list.</p>
|
|
1172
1171
|
* <p>A redirect URI must:</p>
|
|
1173
1172
|
* <ul>
|
|
@@ -1186,10 +1185,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1186
1185
|
* <p>Amazon Cognito requires HTTPS over HTTP except for <code>http://localhost</code> for testing
|
|
1187
1186
|
* purposes only.</p>
|
|
1188
1187
|
* <p>App callback URLs such as <code>myapp://example</code> are also supported.</p>
|
|
1188
|
+
* @public
|
|
1189
1189
|
*/
|
|
1190
1190
|
DefaultRedirectURI?: string;
|
|
1191
1191
|
/**
|
|
1192
|
-
* @public
|
|
1193
1192
|
* <p>The allowed OAuth flows.</p>
|
|
1194
1193
|
* <dl>
|
|
1195
1194
|
* <dt>code</dt>
|
|
@@ -1210,18 +1209,18 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1210
1209
|
* client secret.</p>
|
|
1211
1210
|
* </dd>
|
|
1212
1211
|
* </dl>
|
|
1212
|
+
* @public
|
|
1213
1213
|
*/
|
|
1214
1214
|
AllowedOAuthFlows?: OAuthFlowType[];
|
|
1215
1215
|
/**
|
|
1216
|
-
* @public
|
|
1217
1216
|
* <p>The allowed OAuth scopes. Possible values provided by OAuth are <code>phone</code>,
|
|
1218
1217
|
* <code>email</code>, <code>openid</code>, and <code>profile</code>. Possible values
|
|
1219
1218
|
* provided by Amazon Web Services are <code>aws.cognito.signin.user.admin</code>. Custom scopes created
|
|
1220
1219
|
* in Resource Servers are also supported.</p>
|
|
1220
|
+
* @public
|
|
1221
1221
|
*/
|
|
1222
1222
|
AllowedOAuthScopes?: string[];
|
|
1223
1223
|
/**
|
|
1224
|
-
* @public
|
|
1225
1224
|
* <p>Set to <code>true</code> to use OAuth 2.0 features in your user pool app client.</p>
|
|
1226
1225
|
* <p>
|
|
1227
1226
|
* <code>AllowedOAuthFlowsUserPoolClient</code> must be <code>true</code> before you can configure
|
|
@@ -1249,10 +1248,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1249
1248
|
* <code>UpdateUserPoolClient</code> API request. If you don't set a value for
|
|
1250
1249
|
* <code>AllowedOAuthFlowsUserPoolClient</code> in a request with the CLI or SDKs, it defaults
|
|
1251
1250
|
* to <code>false</code>.</p>
|
|
1251
|
+
* @public
|
|
1252
1252
|
*/
|
|
1253
1253
|
AllowedOAuthFlowsUserPoolClient?: boolean;
|
|
1254
1254
|
/**
|
|
1255
|
-
* @public
|
|
1256
1255
|
* <p>The Amazon Pinpoint analytics configuration necessary to collect metrics for this user
|
|
1257
1256
|
* pool.</p>
|
|
1258
1257
|
* <note>
|
|
@@ -1260,10 +1259,10 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1260
1259
|
* events to Amazon Pinpoint projects in us-east-1. In Regions where Amazon Pinpoint is available, user
|
|
1261
1260
|
* pools support sending events to Amazon Pinpoint projects within that same Region.</p>
|
|
1262
1261
|
* </note>
|
|
1262
|
+
* @public
|
|
1263
1263
|
*/
|
|
1264
1264
|
AnalyticsConfiguration?: AnalyticsConfigurationType;
|
|
1265
1265
|
/**
|
|
1266
|
-
* @public
|
|
1267
1266
|
* <p>Errors and responses that you want Amazon Cognito APIs to return during authentication, account
|
|
1268
1267
|
* confirmation, and password recovery when the user doesn't exist in the user pool. When
|
|
1269
1268
|
* set to <code>ENABLED</code> and the user doesn't exist, authentication returns an error
|
|
@@ -1284,87 +1283,88 @@ export interface UpdateUserPoolClientRequest {
|
|
|
1284
1283
|
* existence related errors aren't prevented.</p>
|
|
1285
1284
|
* </li>
|
|
1286
1285
|
* </ul>
|
|
1286
|
+
* @public
|
|
1287
1287
|
*/
|
|
1288
1288
|
PreventUserExistenceErrors?: PreventUserExistenceErrorTypes;
|
|
1289
1289
|
/**
|
|
1290
|
-
* @public
|
|
1291
1290
|
* <p>Activates or deactivates token revocation. For more information about revoking tokens,
|
|
1292
1291
|
* see <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_RevokeToken.html">RevokeToken</a>.</p>
|
|
1292
|
+
* @public
|
|
1293
1293
|
*/
|
|
1294
1294
|
EnableTokenRevocation?: boolean;
|
|
1295
1295
|
/**
|
|
1296
|
-
* @public
|
|
1297
1296
|
* <p>Activates the propagation of additional user context data. For more information about
|
|
1298
1297
|
* propagation of user context data, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html"> Adding advanced security to a user pool</a>. If you don’t include this
|
|
1299
1298
|
* parameter, you can't send device fingerprint information, including source IP address,
|
|
1300
1299
|
* to Amazon Cognito advanced security. You can only activate
|
|
1301
1300
|
* <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
|
|
1302
1301
|
* client secret.</p>
|
|
1302
|
+
* @public
|
|
1303
1303
|
*/
|
|
1304
1304
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
1305
1305
|
/**
|
|
1306
|
-
* @public
|
|
1307
1306
|
* <p>Amazon Cognito creates a session token for each API request in an authentication flow. <code>AuthSessionValidity</code> is the duration,
|
|
1308
1307
|
* in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.</p>
|
|
1308
|
+
* @public
|
|
1309
1309
|
*/
|
|
1310
1310
|
AuthSessionValidity?: number;
|
|
1311
1311
|
}
|
|
1312
1312
|
/**
|
|
1313
|
-
* @public
|
|
1314
1313
|
* <p>Represents the response from the server to the request to update the user pool
|
|
1315
1314
|
* client.</p>
|
|
1315
|
+
* @public
|
|
1316
1316
|
*/
|
|
1317
1317
|
export interface UpdateUserPoolClientResponse {
|
|
1318
1318
|
/**
|
|
1319
|
-
* @public
|
|
1320
1319
|
* <p>The user pool client value from the response from the server when you request to
|
|
1321
1320
|
* update the user pool client.</p>
|
|
1321
|
+
* @public
|
|
1322
1322
|
*/
|
|
1323
1323
|
UserPoolClient?: UserPoolClientType;
|
|
1324
1324
|
}
|
|
1325
1325
|
/**
|
|
1326
|
-
* @public
|
|
1327
1326
|
* <p>The UpdateUserPoolDomain request input.</p>
|
|
1327
|
+
* @public
|
|
1328
1328
|
*/
|
|
1329
1329
|
export interface UpdateUserPoolDomainRequest {
|
|
1330
1330
|
/**
|
|
1331
|
-
* @public
|
|
1332
1331
|
* <p>The domain name for the custom domain that hosts the sign-up and sign-in pages for
|
|
1333
1332
|
* your application. One example might be <code>auth.example.com</code>. </p>
|
|
1334
1333
|
* <p>This string can include only lowercase letters, numbers, and hyphens. Don't use a
|
|
1335
1334
|
* hyphen for the first or last character. Use periods to separate subdomain names.</p>
|
|
1335
|
+
* @public
|
|
1336
1336
|
*/
|
|
1337
1337
|
Domain: string | undefined;
|
|
1338
1338
|
/**
|
|
1339
|
-
* @public
|
|
1340
1339
|
* <p>The ID of the user pool that is associated with the custom domain whose certificate
|
|
1341
1340
|
* you're updating.</p>
|
|
1341
|
+
* @public
|
|
1342
1342
|
*/
|
|
1343
1343
|
UserPoolId: string | undefined;
|
|
1344
1344
|
/**
|
|
1345
|
-
* @public
|
|
1346
1345
|
* <p>The configuration for a custom domain that hosts the sign-up and sign-in pages for
|
|
1347
1346
|
* your application. Use this object to specify an SSL certificate that is managed by
|
|
1348
1347
|
* ACM.</p>
|
|
1348
|
+
* @public
|
|
1349
1349
|
*/
|
|
1350
1350
|
CustomDomainConfig: CustomDomainConfigType | undefined;
|
|
1351
1351
|
}
|
|
1352
1352
|
/**
|
|
1353
|
-
* @public
|
|
1354
1353
|
* <p>The UpdateUserPoolDomain response output.</p>
|
|
1354
|
+
* @public
|
|
1355
1355
|
*/
|
|
1356
1356
|
export interface UpdateUserPoolDomainResponse {
|
|
1357
1357
|
/**
|
|
1358
|
-
* @public
|
|
1359
1358
|
* <p>The Amazon CloudFront endpoint that Amazon Cognito set up when you added the custom domain to your user
|
|
1360
1359
|
* pool.</p>
|
|
1360
|
+
* @public
|
|
1361
1361
|
*/
|
|
1362
1362
|
CloudFrontDomain?: string;
|
|
1363
1363
|
}
|
|
1364
1364
|
/**
|
|
1365
|
-
* @public
|
|
1366
1365
|
* <p>This exception is thrown when there is a code mismatch and the service fails to
|
|
1367
1366
|
* configure the software token TOTP multi-factor authentication (MFA).</p>
|
|
1367
|
+
* @public
|
|
1368
1368
|
*/
|
|
1369
1369
|
export declare class EnableSoftwareTokenMFAException extends __BaseException {
|
|
1370
1370
|
readonly name: "EnableSoftwareTokenMFAException";
|
|
@@ -1379,25 +1379,25 @@ export declare class EnableSoftwareTokenMFAException extends __BaseException {
|
|
|
1379
1379
|
*/
|
|
1380
1380
|
export interface VerifySoftwareTokenRequest {
|
|
1381
1381
|
/**
|
|
1382
|
-
* @public
|
|
1383
1382
|
* <p>A valid access token that Amazon Cognito issued to the user whose software token you want to
|
|
1384
1383
|
* verify.</p>
|
|
1384
|
+
* @public
|
|
1385
1385
|
*/
|
|
1386
1386
|
AccessToken?: string;
|
|
1387
1387
|
/**
|
|
1388
|
-
* @public
|
|
1389
1388
|
* <p>The session that should be passed both ways in challenge-response calls to the
|
|
1390
1389
|
* service.</p>
|
|
1390
|
+
* @public
|
|
1391
1391
|
*/
|
|
1392
1392
|
Session?: string;
|
|
1393
1393
|
/**
|
|
1394
|
-
* @public
|
|
1395
1394
|
* <p>The one- time password computed using the secret code returned by <a href="https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html">AssociateSoftwareToken</a>.</p>
|
|
1395
|
+
* @public
|
|
1396
1396
|
*/
|
|
1397
1397
|
UserCode: string | undefined;
|
|
1398
1398
|
/**
|
|
1399
|
-
* @public
|
|
1400
1399
|
* <p>The friendly device name.</p>
|
|
1400
|
+
* @public
|
|
1401
1401
|
*/
|
|
1402
1402
|
FriendlyDeviceName?: string;
|
|
1403
1403
|
}
|
|
@@ -1418,43 +1418,43 @@ export type VerifySoftwareTokenResponseType = (typeof VerifySoftwareTokenRespons
|
|
|
1418
1418
|
*/
|
|
1419
1419
|
export interface VerifySoftwareTokenResponse {
|
|
1420
1420
|
/**
|
|
1421
|
-
* @public
|
|
1422
1421
|
* <p>The status of the verify software token.</p>
|
|
1422
|
+
* @public
|
|
1423
1423
|
*/
|
|
1424
1424
|
Status?: VerifySoftwareTokenResponseType;
|
|
1425
1425
|
/**
|
|
1426
|
-
* @public
|
|
1427
1426
|
* <p>The session that should be passed both ways in challenge-response calls to the
|
|
1428
1427
|
* service.</p>
|
|
1428
|
+
* @public
|
|
1429
1429
|
*/
|
|
1430
1430
|
Session?: string;
|
|
1431
1431
|
}
|
|
1432
1432
|
/**
|
|
1433
|
-
* @public
|
|
1434
1433
|
* <p>Represents the request to verify user attributes.</p>
|
|
1434
|
+
* @public
|
|
1435
1435
|
*/
|
|
1436
1436
|
export interface VerifyUserAttributeRequest {
|
|
1437
1437
|
/**
|
|
1438
|
-
* @public
|
|
1439
1438
|
* <p>A valid access token that Amazon Cognito issued to the user whose user attributes you want to
|
|
1440
1439
|
* verify.</p>
|
|
1440
|
+
* @public
|
|
1441
1441
|
*/
|
|
1442
1442
|
AccessToken: string | undefined;
|
|
1443
1443
|
/**
|
|
1444
|
-
* @public
|
|
1445
1444
|
* <p>The attribute name in the request to verify user attributes.</p>
|
|
1445
|
+
* @public
|
|
1446
1446
|
*/
|
|
1447
1447
|
AttributeName: string | undefined;
|
|
1448
1448
|
/**
|
|
1449
|
-
* @public
|
|
1450
1449
|
* <p>The verification code in the request to verify user attributes.</p>
|
|
1450
|
+
* @public
|
|
1451
1451
|
*/
|
|
1452
1452
|
Code: string | undefined;
|
|
1453
1453
|
}
|
|
1454
1454
|
/**
|
|
1455
|
-
* @public
|
|
1456
1455
|
* <p>A container representing the response from the server from the request to verify user
|
|
1457
1456
|
* attributes.</p>
|
|
1457
|
+
* @public
|
|
1458
1458
|
*/
|
|
1459
1459
|
export interface VerifyUserAttributeResponse {
|
|
1460
1460
|
}
|