@aws-sdk/client-cognito-identity-provider 3.382.0 → 3.383.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 +83 -6
- package/dist-cjs/CognitoIdentityProvider.js +4 -0
- package/dist-cjs/commands/GetLogDeliveryConfigurationCommand.js +48 -0
- package/dist-cjs/commands/SetLogDeliveryConfigurationCommand.js +48 -0
- package/dist-cjs/commands/SetRiskConfigurationCommand.js +2 -1
- package/dist-cjs/commands/SetUICustomizationCommand.js +3 -3
- package/dist-cjs/commands/SetUserMFAPreferenceCommand.js +2 -2
- package/dist-cjs/commands/SetUserSettingsCommand.js +2 -2
- package/dist-cjs/commands/VerifySoftwareTokenCommand.js +1 -1
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +9 -48
- package/dist-cjs/models/models_1.js +26 -9
- package/dist-cjs/protocols/Aws_json1_1.js +108 -4
- package/dist-es/CognitoIdentityProvider.js +4 -0
- package/dist-es/commands/GetLogDeliveryConfigurationCommand.js +44 -0
- package/dist-es/commands/SetLogDeliveryConfigurationCommand.js +44 -0
- package/dist-es/commands/SetRiskConfigurationCommand.js +2 -1
- package/dist-es/commands/SetUICustomizationCommand.js +1 -1
- package/dist-es/commands/SetUserMFAPreferenceCommand.js +1 -1
- package/dist-es/commands/SetUserSettingsCommand.js +1 -1
- package/dist-es/commands/VerifySoftwareTokenCommand.js +2 -2
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +6 -39
- package/dist-es/models/models_1.js +21 -8
- package/dist-es/protocols/Aws_json1_1.js +100 -0
- package/dist-types/CognitoIdentityProvider.d.ts +81 -6
- package/dist-types/CognitoIdentityProviderClient.d.ts +71 -8
- package/dist-types/commands/AddCustomAttributesCommand.d.ts +20 -0
- package/dist-types/commands/AdminAddUserToGroupCommand.d.ts +20 -1
- package/dist-types/commands/AdminConfirmSignUpCommand.d.ts +20 -1
- package/dist-types/commands/AdminCreateUserCommand.d.ts +22 -4
- package/dist-types/commands/AdminDeleteUserAttributesCommand.d.ts +20 -1
- package/dist-types/commands/AdminDeleteUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminDisableProviderForUserCommand.d.ts +22 -4
- package/dist-types/commands/AdminDisableUserCommand.d.ts +23 -3
- package/dist-types/commands/AdminEnableUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminForgetDeviceCommand.d.ts +20 -1
- package/dist-types/commands/AdminGetDeviceCommand.d.ts +20 -1
- package/dist-types/commands/AdminGetUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminInitiateAuthCommand.d.ts +22 -3
- package/dist-types/commands/AdminLinkProviderForUserCommand.d.ts +22 -3
- package/dist-types/commands/AdminListDevicesCommand.d.ts +20 -1
- package/dist-types/commands/AdminListGroupsForUserCommand.d.ts +20 -1
- package/dist-types/commands/AdminListUserAuthEventsCommand.d.ts +20 -0
- package/dist-types/commands/AdminRemoveUserFromGroupCommand.d.ts +20 -1
- package/dist-types/commands/AdminResetUserPasswordCommand.d.ts +30 -11
- package/dist-types/commands/AdminRespondToAuthChallengeCommand.d.ts +24 -5
- package/dist-types/commands/AdminSetUserMFAPreferenceCommand.d.ts +20 -0
- package/dist-types/commands/AdminSetUserPasswordCommand.d.ts +31 -0
- package/dist-types/commands/AdminSetUserSettingsCommand.d.ts +20 -0
- package/dist-types/commands/AdminUpdateAuthEventFeedbackCommand.d.ts +20 -0
- package/dist-types/commands/AdminUpdateDeviceStatusCommand.d.ts +20 -1
- package/dist-types/commands/AdminUpdateUserAttributesCommand.d.ts +31 -12
- package/dist-types/commands/AdminUserGlobalSignOutCommand.d.ts +28 -7
- package/dist-types/commands/AssociateSoftwareTokenCommand.d.ts +8 -1
- package/dist-types/commands/ChangePasswordCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmDeviceCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmForgotPasswordCommand.d.ts +8 -1
- package/dist-types/commands/ConfirmSignUpCommand.d.ts +10 -3
- package/dist-types/commands/CreateGroupCommand.d.ts +20 -1
- package/dist-types/commands/CreateIdentityProviderCommand.d.ts +20 -0
- package/dist-types/commands/CreateResourceServerCommand.d.ts +20 -0
- package/dist-types/commands/CreateUserImportJobCommand.d.ts +21 -1
- package/dist-types/commands/CreateUserPoolClientCommand.d.ts +23 -0
- package/dist-types/commands/CreateUserPoolCommand.d.ts +28 -5
- package/dist-types/commands/CreateUserPoolDomainCommand.d.ts +20 -0
- package/dist-types/commands/DeleteUserAttributesCommand.d.ts +8 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +9 -2
- package/dist-types/commands/DescribeUserPoolClientCommand.d.ts +20 -0
- package/dist-types/commands/DescribeUserPoolCommand.d.ts +20 -0
- package/dist-types/commands/ForgetDeviceCommand.d.ts +8 -1
- package/dist-types/commands/ForgotPasswordCommand.d.ts +16 -7
- package/dist-types/commands/GetDeviceCommand.d.ts +8 -1
- package/dist-types/commands/GetLogDeliveryConfigurationCommand.d.ts +102 -0
- package/dist-types/commands/GetSigningCertificateCommand.d.ts +5 -3
- package/dist-types/commands/GetUserAttributeVerificationCodeCommand.d.ts +10 -3
- package/dist-types/commands/GetUserCommand.d.ts +8 -1
- package/dist-types/commands/GlobalSignOutCommand.d.ts +16 -4
- package/dist-types/commands/InitiateAuthCommand.d.ts +10 -3
- package/dist-types/commands/ListDevicesCommand.d.ts +8 -1
- package/dist-types/commands/ListGroupsCommand.d.ts +20 -1
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +20 -0
- package/dist-types/commands/ListResourceServersCommand.d.ts +20 -0
- package/dist-types/commands/ListUserImportJobsCommand.d.ts +21 -1
- package/dist-types/commands/ListUserPoolClientsCommand.d.ts +20 -0
- package/dist-types/commands/ListUserPoolsCommand.d.ts +20 -0
- package/dist-types/commands/ListUsersCommand.d.ts +21 -1
- package/dist-types/commands/ListUsersInGroupCommand.d.ts +20 -1
- package/dist-types/commands/ResendConfirmationCodeCommand.d.ts +10 -3
- package/dist-types/commands/RespondToAuthChallengeCommand.d.ts +12 -5
- package/dist-types/commands/RevokeTokenCommand.d.ts +10 -3
- package/dist-types/commands/SetLogDeliveryConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/SetRiskConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/commands/SetUserMFAPreferenceCommand.d.ts +9 -2
- package/dist-types/commands/SetUserPoolMfaConfigCommand.d.ts +3 -3
- package/dist-types/commands/SetUserSettingsCommand.d.ts +9 -2
- package/dist-types/commands/SignUpCommand.d.ts +10 -3
- package/dist-types/commands/UpdateAuthEventFeedbackCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDeviceStatusCommand.d.ts +8 -1
- package/dist-types/commands/UpdateGroupCommand.d.ts +20 -1
- package/dist-types/commands/UpdateIdentityProviderCommand.d.ts +20 -0
- package/dist-types/commands/UpdateResourceServerCommand.d.ts +20 -0
- package/dist-types/commands/UpdateUserAttributesCommand.d.ts +12 -5
- package/dist-types/commands/UpdateUserPoolClientCommand.d.ts +21 -2
- package/dist-types/commands/UpdateUserPoolCommand.d.ts +28 -7
- package/dist-types/commands/UpdateUserPoolDomainCommand.d.ts +20 -0
- package/dist-types/commands/VerifySoftwareTokenCommand.d.ts +8 -1
- package/dist-types/commands/VerifyUserAttributeCommand.d.ts +13 -9
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +67 -6
- package/dist-types/models/models_0.d.ts +371 -319
- package/dist-types/models/models_1.d.ts +242 -18
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CognitoIdentityProvider.d.ts +34 -0
- package/dist-types/ts3.4/CognitoIdentityProviderClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetLogDeliveryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SetLogDeliveryConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SetRiskConfigurationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/SetUICustomizationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserMFAPreferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserPoolMfaConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SetUserSettingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -52
- package/dist-types/ts3.4/models/models_1.d.ts +56 -3
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -1,6 +1,178 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CognitoIdentityProviderServiceException as __BaseException } from "./CognitoIdentityProviderServiceException";
|
|
3
|
-
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, SmsConfigurationType, TokenValidityUnitsType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
3
|
+
import { AccountRecoverySettingType, AdminCreateUserConfigType, AnalyticsConfigurationType, AnalyticsMetadataType, AttributeType, CodeDeliveryDetailsType, CustomDomainConfigType, DeletionProtectionType, DeviceConfigurationType, DeviceRememberedStatusType, EmailConfigurationType, ExplicitAuthFlowsType, FeedbackValueType, GroupType, IdentityProviderType, LambdaConfigType, MFAOptionType, OAuthFlowType, PreventUserExistenceErrorTypes, ResourceServerScopeType, ResourceServerType, RiskConfigurationType, SmsConfigurationType, SmsMfaConfigType, SMSMfaSettingsType, SoftwareTokenMfaConfigType, SoftwareTokenMfaSettingsType, TokenValidityUnitsType, UICustomizationType, UserAttributeUpdateSettingsType, UserContextDataType, UserImportJobType, UserPoolAddOnsType, UserPoolClientType, UserPoolMfaType, UserPoolPolicyType, VerificationMessageTemplateType, VerifiedAttributeType } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface SetRiskConfigurationResponse {
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
* <p>The risk configuration.</p>
|
|
11
|
+
*/
|
|
12
|
+
RiskConfiguration: RiskConfigurationType | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface SetUICustomizationRequest {
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* <p>The user pool ID for the user pool.</p>
|
|
21
|
+
*/
|
|
22
|
+
UserPoolId: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
* <p>The client ID for the client app.</p>
|
|
26
|
+
*/
|
|
27
|
+
ClientId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* <p>The CSS values in the UI customization.</p>
|
|
31
|
+
*/
|
|
32
|
+
CSS?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
* <p>The uploaded logo image for the UI customization.</p>
|
|
36
|
+
*/
|
|
37
|
+
ImageFile?: Uint8Array;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export interface SetUICustomizationResponse {
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>The UI customization information.</p>
|
|
46
|
+
*/
|
|
47
|
+
UICustomization: UICustomizationType | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export interface SetUserMFAPreferenceRequest {
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* <p>The SMS text message multi-factor authentication (MFA) settings.</p>
|
|
56
|
+
*/
|
|
57
|
+
SMSMfaSettings?: SMSMfaSettingsType;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* <p>The time-based one-time password (TOTP) software token MFA settings.</p>
|
|
61
|
+
*/
|
|
62
|
+
SoftwareTokenMfaSettings?: SoftwareTokenMfaSettingsType;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
* <p>A valid access token that Amazon Cognito issued to the user whose MFA preference you want to
|
|
66
|
+
* set.</p>
|
|
67
|
+
*/
|
|
68
|
+
AccessToken: string | undefined;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export interface SetUserMFAPreferenceResponse {
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export interface SetUserPoolMfaConfigRequest {
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
* <p>The user pool ID.</p>
|
|
82
|
+
*/
|
|
83
|
+
UserPoolId: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
* <p>The SMS text message MFA configuration.</p>
|
|
87
|
+
*/
|
|
88
|
+
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* <p>The software token MFA configuration.</p>
|
|
92
|
+
*/
|
|
93
|
+
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* <p>The MFA configuration. If you set the MfaConfiguration value to ‘ON’, only users who
|
|
97
|
+
* 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
|
|
98
|
+
* Authentication (MFA) to a user pool</a>. Valid values include:</p>
|
|
99
|
+
* <ul>
|
|
100
|
+
* <li>
|
|
101
|
+
* <p>
|
|
102
|
+
* <code>OFF</code> MFA won't be used for any users.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>
|
|
106
|
+
* <code>ON</code> MFA is required for all users to sign in.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>
|
|
110
|
+
* <code>OPTIONAL</code> MFA will be required only for individual users who have
|
|
111
|
+
* an MFA factor activated.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* </ul>
|
|
114
|
+
*/
|
|
115
|
+
MfaConfiguration?: UserPoolMfaType | string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export interface SetUserPoolMfaConfigResponse {
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
* <p>The SMS text message MFA configuration.</p>
|
|
124
|
+
*/
|
|
125
|
+
SmsMfaConfiguration?: SmsMfaConfigType;
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* <p>The software token MFA configuration.</p>
|
|
129
|
+
*/
|
|
130
|
+
SoftwareTokenMfaConfiguration?: SoftwareTokenMfaConfigType;
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* <p>The MFA configuration. Valid values include:</p>
|
|
134
|
+
* <ul>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>
|
|
137
|
+
* <code>OFF</code> MFA won't be used for any users.</p>
|
|
138
|
+
* </li>
|
|
139
|
+
* <li>
|
|
140
|
+
* <p>
|
|
141
|
+
* <code>ON</code> MFA is required for all users to sign in.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>
|
|
145
|
+
* <code>OPTIONAL</code> MFA will be required only for individual users who have
|
|
146
|
+
* an MFA factor enabled.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
149
|
+
*/
|
|
150
|
+
MfaConfiguration?: UserPoolMfaType | string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <p>Represents the request to set user settings.</p>
|
|
155
|
+
*/
|
|
156
|
+
export interface SetUserSettingsRequest {
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* <p>A valid access token that Amazon Cognito issued to the user whose user settings you want to
|
|
160
|
+
* configure.</p>
|
|
161
|
+
*/
|
|
162
|
+
AccessToken: string | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* <p>You can use this parameter only to set an SMS configuration that uses SMS for
|
|
166
|
+
* delivery.</p>
|
|
167
|
+
*/
|
|
168
|
+
MFAOptions: MFAOptionType[] | undefined;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* <p>The response from the server for a set user settings request.</p>
|
|
173
|
+
*/
|
|
174
|
+
export interface SetUserSettingsResponse {
|
|
175
|
+
}
|
|
4
176
|
/**
|
|
5
177
|
* @public
|
|
6
178
|
* <p>Represents the request to register a user.</p>
|
|
@@ -235,7 +407,11 @@ export interface UpdateAuthEventFeedbackRequest {
|
|
|
235
407
|
FeedbackToken: string | undefined;
|
|
236
408
|
/**
|
|
237
409
|
* @public
|
|
238
|
-
* <p>The authentication event feedback value
|
|
410
|
+
* <p>The authentication event feedback value. When you provide a <code>FeedbackValue</code>
|
|
411
|
+
* value of <code>valid</code>, you tell Amazon Cognito that you trust a user session where Amazon Cognito
|
|
412
|
+
* has evaluated some level of risk. When you provide a <code>FeedbackValue</code> value of
|
|
413
|
+
* <code>invalid</code>, you tell Amazon Cognito that you don't trust a user session, or you
|
|
414
|
+
* don't believe that Amazon Cognito evaluated a high-enough risk level.</p>
|
|
239
415
|
*/
|
|
240
416
|
FeedbackValue: FeedbackValueType | string | undefined;
|
|
241
417
|
}
|
|
@@ -559,9 +735,11 @@ export interface UpdateUserPoolRequest {
|
|
|
559
735
|
MfaConfiguration?: UserPoolMfaType | string;
|
|
560
736
|
/**
|
|
561
737
|
* @public
|
|
562
|
-
* <p>The device-remembering configuration for a user pool. A null value indicates that you
|
|
738
|
+
* <p>The device-remembering configuration for a user pool. A null value indicates that you
|
|
739
|
+
* have deactivated device remembering in your user pool.</p>
|
|
563
740
|
* <note>
|
|
564
|
-
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
|
|
741
|
+
* <p>When you provide a value for any <code>DeviceConfiguration</code> field, you
|
|
742
|
+
* activate the Amazon Cognito device-remembering feature.</p>
|
|
565
743
|
* </note>
|
|
566
744
|
*/
|
|
567
745
|
DeviceConfiguration?: DeviceConfigurationType;
|
|
@@ -594,8 +772,11 @@ export interface UpdateUserPoolRequest {
|
|
|
594
772
|
AdminCreateUserConfig?: AdminCreateUserConfigType;
|
|
595
773
|
/**
|
|
596
774
|
* @public
|
|
597
|
-
* <p>
|
|
598
|
-
*
|
|
775
|
+
* <p>User pool add-ons. Contains settings for activation of advanced security features. To
|
|
776
|
+
* log user security information but take no action, set to <code>AUDIT</code>. To
|
|
777
|
+
* configure automatic security responses to risky traffic to your user pool, set to
|
|
778
|
+
* <code>ENFORCED</code>.</p>
|
|
779
|
+
* <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>
|
|
599
780
|
*/
|
|
600
781
|
UserPoolAddOns?: UserPoolAddOnsType;
|
|
601
782
|
/**
|
|
@@ -678,7 +859,7 @@ export interface UpdateUserPoolClientRequest {
|
|
|
678
859
|
* <p>For example, when you set <code>IdTokenValidity</code> as <code>10</code> and
|
|
679
860
|
* <code>TokenValidityUnits</code> as <code>hours</code>, your user can authenticate their
|
|
680
861
|
* session with their ID token for 10 hours.</p>
|
|
681
|
-
* <p>The default time unit for <code>
|
|
862
|
+
* <p>The default time unit for <code>IdTokenValidity</code> in an API request is hours.
|
|
682
863
|
* <i>Valid range</i> is displayed below in seconds.</p>
|
|
683
864
|
* <p>If you don't specify otherwise in the configuration of your app client, your ID
|
|
684
865
|
* tokens are valid for one hour.</p>
|
|
@@ -686,8 +867,9 @@ export interface UpdateUserPoolClientRequest {
|
|
|
686
867
|
IdTokenValidity?: number;
|
|
687
868
|
/**
|
|
688
869
|
* @public
|
|
689
|
-
* <p>The units
|
|
690
|
-
* RefreshToken is days, and the default for ID and access tokens is
|
|
870
|
+
* <p>The time units you use when you set the duration of ID, access, and refresh tokens.
|
|
871
|
+
* The default unit for RefreshToken is days, and the default for ID and access tokens is
|
|
872
|
+
* hours.</p>
|
|
691
873
|
*/
|
|
692
874
|
TokenValidityUnits?: TokenValidityUnitsType;
|
|
693
875
|
/**
|
|
@@ -747,8 +929,9 @@ export interface UpdateUserPoolClientRequest {
|
|
|
747
929
|
/**
|
|
748
930
|
* @public
|
|
749
931
|
* <p>A list of provider names for the IdPs that this client supports. The following are
|
|
750
|
-
* supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>,
|
|
751
|
-
*
|
|
932
|
+
* supported: <code>COGNITO</code>, <code>Facebook</code>, <code>Google</code>,
|
|
933
|
+
* <code>SignInWithApple</code>, <code>LoginWithAmazon</code>, and the names of your
|
|
934
|
+
* own SAML and OIDC providers.</p>
|
|
752
935
|
*/
|
|
753
936
|
SupportedIdentityProviders?: string[];
|
|
754
937
|
/**
|
|
@@ -834,8 +1017,33 @@ export interface UpdateUserPoolClientRequest {
|
|
|
834
1017
|
AllowedOAuthScopes?: string[];
|
|
835
1018
|
/**
|
|
836
1019
|
* @public
|
|
837
|
-
* <p>Set to true
|
|
838
|
-
*
|
|
1020
|
+
* <p>Set to <code>true</code> to use OAuth 2.0 features in your user pool app client.</p>
|
|
1021
|
+
* <p>
|
|
1022
|
+
* <code>AllowedOAuthFlowsUserPoolClient</code> must be <code>true</code> before you can configure
|
|
1023
|
+
* the following features in your app client.</p>
|
|
1024
|
+
* <ul>
|
|
1025
|
+
* <li>
|
|
1026
|
+
* <p>
|
|
1027
|
+
* <code>CallBackURLs</code>: Callback URLs.</p>
|
|
1028
|
+
* </li>
|
|
1029
|
+
* <li>
|
|
1030
|
+
* <p>
|
|
1031
|
+
* <code>LogoutURLs</code>: Sign-out redirect URLs.</p>
|
|
1032
|
+
* </li>
|
|
1033
|
+
* <li>
|
|
1034
|
+
* <p>
|
|
1035
|
+
* <code>AllowedOAuthScopes</code>: OAuth 2.0 scopes.</p>
|
|
1036
|
+
* </li>
|
|
1037
|
+
* <li>
|
|
1038
|
+
* <p>
|
|
1039
|
+
* <code>AllowedOAuthFlows</code>: Support for authorization code, implicit, and client credentials OAuth 2.0 grants.</p>
|
|
1040
|
+
* </li>
|
|
1041
|
+
* </ul>
|
|
1042
|
+
* <p>To use OAuth 2.0 features, configure one of these features in the Amazon Cognito console or set
|
|
1043
|
+
* <code>AllowedOAuthFlowsUserPoolClient</code> to <code>true</code> in a <code>CreateUserPoolClient</code> or
|
|
1044
|
+
* <code>UpdateUserPoolClient</code> API request. If you don't set a value for
|
|
1045
|
+
* <code>AllowedOAuthFlowsUserPoolClient</code> in a request with the CLI or SDKs, it defaults
|
|
1046
|
+
* to <code>false</code>.</p>
|
|
839
1047
|
*/
|
|
840
1048
|
AllowedOAuthFlowsUserPoolClient?: boolean;
|
|
841
1049
|
/**
|
|
@@ -885,7 +1093,7 @@ export interface UpdateUserPoolClientRequest {
|
|
|
885
1093
|
* 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
|
|
886
1094
|
* parameter, you can't send device fingerprint information, including source IP address,
|
|
887
1095
|
* to Amazon Cognito advanced security. You can only activate
|
|
888
|
-
*
|
|
1096
|
+
* <code>EnablePropagateAdditionalUserContextData</code> in an app client that has a
|
|
889
1097
|
* client secret.</p>
|
|
890
1098
|
*/
|
|
891
1099
|
EnablePropagateAdditionalUserContextData?: boolean;
|
|
@@ -1045,6 +1253,26 @@ export interface VerifyUserAttributeRequest {
|
|
|
1045
1253
|
*/
|
|
1046
1254
|
export interface VerifyUserAttributeResponse {
|
|
1047
1255
|
}
|
|
1256
|
+
/**
|
|
1257
|
+
* @internal
|
|
1258
|
+
*/
|
|
1259
|
+
export declare const SetRiskConfigurationResponseFilterSensitiveLog: (obj: SetRiskConfigurationResponse) => any;
|
|
1260
|
+
/**
|
|
1261
|
+
* @internal
|
|
1262
|
+
*/
|
|
1263
|
+
export declare const SetUICustomizationRequestFilterSensitiveLog: (obj: SetUICustomizationRequest) => any;
|
|
1264
|
+
/**
|
|
1265
|
+
* @internal
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const SetUICustomizationResponseFilterSensitiveLog: (obj: SetUICustomizationResponse) => any;
|
|
1268
|
+
/**
|
|
1269
|
+
* @internal
|
|
1270
|
+
*/
|
|
1271
|
+
export declare const SetUserMFAPreferenceRequestFilterSensitiveLog: (obj: SetUserMFAPreferenceRequest) => any;
|
|
1272
|
+
/**
|
|
1273
|
+
* @internal
|
|
1274
|
+
*/
|
|
1275
|
+
export declare const SetUserSettingsRequestFilterSensitiveLog: (obj: SetUserSettingsRequest) => any;
|
|
1048
1276
|
/**
|
|
1049
1277
|
* @internal
|
|
1050
1278
|
*/
|
|
@@ -1073,10 +1301,6 @@ export declare const UpdateUserPoolClientResponseFilterSensitiveLog: (obj: Updat
|
|
|
1073
1301
|
* @internal
|
|
1074
1302
|
*/
|
|
1075
1303
|
export declare const VerifySoftwareTokenRequestFilterSensitiveLog: (obj: VerifySoftwareTokenRequest) => any;
|
|
1076
|
-
/**
|
|
1077
|
-
* @internal
|
|
1078
|
-
*/
|
|
1079
|
-
export declare const VerifySoftwareTokenResponseFilterSensitiveLog: (obj: VerifySoftwareTokenResponse) => any;
|
|
1080
1304
|
/**
|
|
1081
1305
|
* @internal
|
|
1082
1306
|
*/
|
|
@@ -60,6 +60,7 @@ import { GetCSVHeaderCommandInput, GetCSVHeaderCommandOutput } from "../commands
|
|
|
60
60
|
import { GetDeviceCommandInput, GetDeviceCommandOutput } from "../commands/GetDeviceCommand";
|
|
61
61
|
import { GetGroupCommandInput, GetGroupCommandOutput } from "../commands/GetGroupCommand";
|
|
62
62
|
import { GetIdentityProviderByIdentifierCommandInput, GetIdentityProviderByIdentifierCommandOutput } from "../commands/GetIdentityProviderByIdentifierCommand";
|
|
63
|
+
import { GetLogDeliveryConfigurationCommandInput, GetLogDeliveryConfigurationCommandOutput } from "../commands/GetLogDeliveryConfigurationCommand";
|
|
63
64
|
import { GetSigningCertificateCommandInput, GetSigningCertificateCommandOutput } from "../commands/GetSigningCertificateCommand";
|
|
64
65
|
import { GetUICustomizationCommandInput, GetUICustomizationCommandOutput } from "../commands/GetUICustomizationCommand";
|
|
65
66
|
import { GetUserAttributeVerificationCodeCommandInput, GetUserAttributeVerificationCodeCommandOutput } from "../commands/GetUserAttributeVerificationCodeCommand";
|
|
@@ -80,6 +81,7 @@ import { ListUsersInGroupCommandInput, ListUsersInGroupCommandOutput } from "../
|
|
|
80
81
|
import { ResendConfirmationCodeCommandInput, ResendConfirmationCodeCommandOutput } from "../commands/ResendConfirmationCodeCommand";
|
|
81
82
|
import { RespondToAuthChallengeCommandInput, RespondToAuthChallengeCommandOutput } from "../commands/RespondToAuthChallengeCommand";
|
|
82
83
|
import { RevokeTokenCommandInput, RevokeTokenCommandOutput } from "../commands/RevokeTokenCommand";
|
|
84
|
+
import { SetLogDeliveryConfigurationCommandInput, SetLogDeliveryConfigurationCommandOutput } from "../commands/SetLogDeliveryConfigurationCommand";
|
|
83
85
|
import { SetRiskConfigurationCommandInput, SetRiskConfigurationCommandOutput } from "../commands/SetRiskConfigurationCommand";
|
|
84
86
|
import { SetUICustomizationCommandInput, SetUICustomizationCommandOutput } from "../commands/SetUICustomizationCommand";
|
|
85
87
|
import { SetUserMFAPreferenceCommandInput, SetUserMFAPreferenceCommandOutput } from "../commands/SetUserMFAPreferenceCommand";
|
|
@@ -341,6 +343,10 @@ export declare const se_GetGroupCommand: (input: GetGroupCommandInput, context:
|
|
|
341
343
|
* serializeAws_json1_1GetIdentityProviderByIdentifierCommand
|
|
342
344
|
*/
|
|
343
345
|
export declare const se_GetIdentityProviderByIdentifierCommand: (input: GetIdentityProviderByIdentifierCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
346
|
+
/**
|
|
347
|
+
* serializeAws_json1_1GetLogDeliveryConfigurationCommand
|
|
348
|
+
*/
|
|
349
|
+
export declare const se_GetLogDeliveryConfigurationCommand: (input: GetLogDeliveryConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
344
350
|
/**
|
|
345
351
|
* serializeAws_json1_1GetSigningCertificateCommand
|
|
346
352
|
*/
|
|
@@ -421,6 +427,10 @@ export declare const se_RespondToAuthChallengeCommand: (input: RespondToAuthChal
|
|
|
421
427
|
* serializeAws_json1_1RevokeTokenCommand
|
|
422
428
|
*/
|
|
423
429
|
export declare const se_RevokeTokenCommand: (input: RevokeTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
430
|
+
/**
|
|
431
|
+
* serializeAws_json1_1SetLogDeliveryConfigurationCommand
|
|
432
|
+
*/
|
|
433
|
+
export declare const se_SetLogDeliveryConfigurationCommand: (input: SetLogDeliveryConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
424
434
|
/**
|
|
425
435
|
* serializeAws_json1_1SetRiskConfigurationCommand
|
|
426
436
|
*/
|
|
@@ -745,6 +755,10 @@ export declare const de_GetGroupCommand: (output: __HttpResponse, context: __Ser
|
|
|
745
755
|
* deserializeAws_json1_1GetIdentityProviderByIdentifierCommand
|
|
746
756
|
*/
|
|
747
757
|
export declare const de_GetIdentityProviderByIdentifierCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetIdentityProviderByIdentifierCommandOutput>;
|
|
758
|
+
/**
|
|
759
|
+
* deserializeAws_json1_1GetLogDeliveryConfigurationCommand
|
|
760
|
+
*/
|
|
761
|
+
export declare const de_GetLogDeliveryConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLogDeliveryConfigurationCommandOutput>;
|
|
748
762
|
/**
|
|
749
763
|
* deserializeAws_json1_1GetSigningCertificateCommand
|
|
750
764
|
*/
|
|
@@ -825,6 +839,10 @@ export declare const de_RespondToAuthChallengeCommand: (output: __HttpResponse,
|
|
|
825
839
|
* deserializeAws_json1_1RevokeTokenCommand
|
|
826
840
|
*/
|
|
827
841
|
export declare const de_RevokeTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RevokeTokenCommandOutput>;
|
|
842
|
+
/**
|
|
843
|
+
* deserializeAws_json1_1SetLogDeliveryConfigurationCommand
|
|
844
|
+
*/
|
|
845
|
+
export declare const de_SetLogDeliveryConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SetLogDeliveryConfigurationCommandOutput>;
|
|
828
846
|
/**
|
|
829
847
|
* deserializeAws_json1_1SetRiskConfigurationCommand
|
|
830
848
|
*/
|
|
@@ -240,6 +240,10 @@ import {
|
|
|
240
240
|
GetIdentityProviderByIdentifierCommandInput,
|
|
241
241
|
GetIdentityProviderByIdentifierCommandOutput,
|
|
242
242
|
} from "./commands/GetIdentityProviderByIdentifierCommand";
|
|
243
|
+
import {
|
|
244
|
+
GetLogDeliveryConfigurationCommandInput,
|
|
245
|
+
GetLogDeliveryConfigurationCommandOutput,
|
|
246
|
+
} from "./commands/GetLogDeliveryConfigurationCommand";
|
|
243
247
|
import {
|
|
244
248
|
GetSigningCertificateCommandInput,
|
|
245
249
|
GetSigningCertificateCommandOutput,
|
|
@@ -320,6 +324,10 @@ import {
|
|
|
320
324
|
RevokeTokenCommandInput,
|
|
321
325
|
RevokeTokenCommandOutput,
|
|
322
326
|
} from "./commands/RevokeTokenCommand";
|
|
327
|
+
import {
|
|
328
|
+
SetLogDeliveryConfigurationCommandInput,
|
|
329
|
+
SetLogDeliveryConfigurationCommandOutput,
|
|
330
|
+
} from "./commands/SetLogDeliveryConfigurationCommand";
|
|
323
331
|
import {
|
|
324
332
|
SetRiskConfigurationCommandInput,
|
|
325
333
|
SetRiskConfigurationCommandOutput,
|
|
@@ -1185,6 +1193,19 @@ export interface CognitoIdentityProvider {
|
|
|
1185
1193
|
options: __HttpHandlerOptions,
|
|
1186
1194
|
cb: (err: any, data?: GetIdentityProviderByIdentifierCommandOutput) => void
|
|
1187
1195
|
): void;
|
|
1196
|
+
getLogDeliveryConfiguration(
|
|
1197
|
+
args: GetLogDeliveryConfigurationCommandInput,
|
|
1198
|
+
options?: __HttpHandlerOptions
|
|
1199
|
+
): Promise<GetLogDeliveryConfigurationCommandOutput>;
|
|
1200
|
+
getLogDeliveryConfiguration(
|
|
1201
|
+
args: GetLogDeliveryConfigurationCommandInput,
|
|
1202
|
+
cb: (err: any, data?: GetLogDeliveryConfigurationCommandOutput) => void
|
|
1203
|
+
): void;
|
|
1204
|
+
getLogDeliveryConfiguration(
|
|
1205
|
+
args: GetLogDeliveryConfigurationCommandInput,
|
|
1206
|
+
options: __HttpHandlerOptions,
|
|
1207
|
+
cb: (err: any, data?: GetLogDeliveryConfigurationCommandOutput) => void
|
|
1208
|
+
): void;
|
|
1188
1209
|
getSigningCertificate(
|
|
1189
1210
|
args: GetSigningCertificateCommandInput,
|
|
1190
1211
|
options?: __HttpHandlerOptions
|
|
@@ -1445,6 +1466,19 @@ export interface CognitoIdentityProvider {
|
|
|
1445
1466
|
options: __HttpHandlerOptions,
|
|
1446
1467
|
cb: (err: any, data?: RevokeTokenCommandOutput) => void
|
|
1447
1468
|
): void;
|
|
1469
|
+
setLogDeliveryConfiguration(
|
|
1470
|
+
args: SetLogDeliveryConfigurationCommandInput,
|
|
1471
|
+
options?: __HttpHandlerOptions
|
|
1472
|
+
): Promise<SetLogDeliveryConfigurationCommandOutput>;
|
|
1473
|
+
setLogDeliveryConfiguration(
|
|
1474
|
+
args: SetLogDeliveryConfigurationCommandInput,
|
|
1475
|
+
cb: (err: any, data?: SetLogDeliveryConfigurationCommandOutput) => void
|
|
1476
|
+
): void;
|
|
1477
|
+
setLogDeliveryConfiguration(
|
|
1478
|
+
args: SetLogDeliveryConfigurationCommandInput,
|
|
1479
|
+
options: __HttpHandlerOptions,
|
|
1480
|
+
cb: (err: any, data?: SetLogDeliveryConfigurationCommandOutput) => void
|
|
1481
|
+
): void;
|
|
1448
1482
|
setRiskConfiguration(
|
|
1449
1483
|
args: SetRiskConfigurationCommandInput,
|
|
1450
1484
|
options?: __HttpHandlerOptions
|
|
@@ -284,6 +284,10 @@ import {
|
|
|
284
284
|
GetIdentityProviderByIdentifierCommandInput,
|
|
285
285
|
GetIdentityProviderByIdentifierCommandOutput,
|
|
286
286
|
} from "./commands/GetIdentityProviderByIdentifierCommand";
|
|
287
|
+
import {
|
|
288
|
+
GetLogDeliveryConfigurationCommandInput,
|
|
289
|
+
GetLogDeliveryConfigurationCommandOutput,
|
|
290
|
+
} from "./commands/GetLogDeliveryConfigurationCommand";
|
|
287
291
|
import {
|
|
288
292
|
GetSigningCertificateCommandInput,
|
|
289
293
|
GetSigningCertificateCommandOutput,
|
|
@@ -364,6 +368,10 @@ import {
|
|
|
364
368
|
RevokeTokenCommandInput,
|
|
365
369
|
RevokeTokenCommandOutput,
|
|
366
370
|
} from "./commands/RevokeTokenCommand";
|
|
371
|
+
import {
|
|
372
|
+
SetLogDeliveryConfigurationCommandInput,
|
|
373
|
+
SetLogDeliveryConfigurationCommandOutput,
|
|
374
|
+
} from "./commands/SetLogDeliveryConfigurationCommand";
|
|
367
375
|
import {
|
|
368
376
|
SetRiskConfigurationCommandInput,
|
|
369
377
|
SetRiskConfigurationCommandOutput,
|
|
@@ -515,6 +523,7 @@ export type ServiceInputTypes =
|
|
|
515
523
|
| GetDeviceCommandInput
|
|
516
524
|
| GetGroupCommandInput
|
|
517
525
|
| GetIdentityProviderByIdentifierCommandInput
|
|
526
|
+
| GetLogDeliveryConfigurationCommandInput
|
|
518
527
|
| GetSigningCertificateCommandInput
|
|
519
528
|
| GetUICustomizationCommandInput
|
|
520
529
|
| GetUserAttributeVerificationCodeCommandInput
|
|
@@ -535,6 +544,7 @@ export type ServiceInputTypes =
|
|
|
535
544
|
| ResendConfirmationCodeCommandInput
|
|
536
545
|
| RespondToAuthChallengeCommandInput
|
|
537
546
|
| RevokeTokenCommandInput
|
|
547
|
+
| SetLogDeliveryConfigurationCommandInput
|
|
538
548
|
| SetRiskConfigurationCommandInput
|
|
539
549
|
| SetUICustomizationCommandInput
|
|
540
550
|
| SetUserMFAPreferenceCommandInput
|
|
@@ -617,6 +627,7 @@ export type ServiceOutputTypes =
|
|
|
617
627
|
| GetDeviceCommandOutput
|
|
618
628
|
| GetGroupCommandOutput
|
|
619
629
|
| GetIdentityProviderByIdentifierCommandOutput
|
|
630
|
+
| GetLogDeliveryConfigurationCommandOutput
|
|
620
631
|
| GetSigningCertificateCommandOutput
|
|
621
632
|
| GetUICustomizationCommandOutput
|
|
622
633
|
| GetUserAttributeVerificationCodeCommandOutput
|
|
@@ -637,6 +648,7 @@ export type ServiceOutputTypes =
|
|
|
637
648
|
| ResendConfirmationCodeCommandOutput
|
|
638
649
|
| RespondToAuthChallengeCommandOutput
|
|
639
650
|
| RevokeTokenCommandOutput
|
|
651
|
+
| SetLogDeliveryConfigurationCommandOutput
|
|
640
652
|
| SetRiskConfigurationCommandOutput
|
|
641
653
|
| SetUICustomizationCommandOutput
|
|
642
654
|
| SetUserMFAPreferenceCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CognitoIdentityProviderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CognitoIdentityProviderClient";
|
|
14
|
+
import {
|
|
15
|
+
GetLogDeliveryConfigurationRequest,
|
|
16
|
+
GetLogDeliveryConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetLogDeliveryConfigurationCommandInput
|
|
20
|
+
extends GetLogDeliveryConfigurationRequest {}
|
|
21
|
+
export interface GetLogDeliveryConfigurationCommandOutput
|
|
22
|
+
extends GetLogDeliveryConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetLogDeliveryConfigurationCommand extends $Command<
|
|
25
|
+
GetLogDeliveryConfigurationCommandInput,
|
|
26
|
+
GetLogDeliveryConfigurationCommandOutput,
|
|
27
|
+
CognitoIdentityProviderClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetLogDeliveryConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetLogDeliveryConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
GetLogDeliveryConfigurationCommandInput,
|
|
38
|
+
GetLogDeliveryConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CognitoIdentityProviderClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CognitoIdentityProviderClient";
|
|
14
|
+
import {
|
|
15
|
+
SetLogDeliveryConfigurationRequest,
|
|
16
|
+
SetLogDeliveryConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface SetLogDeliveryConfigurationCommandInput
|
|
20
|
+
extends SetLogDeliveryConfigurationRequest {}
|
|
21
|
+
export interface SetLogDeliveryConfigurationCommandOutput
|
|
22
|
+
extends SetLogDeliveryConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class SetLogDeliveryConfigurationCommand extends $Command<
|
|
25
|
+
SetLogDeliveryConfigurationCommandInput,
|
|
26
|
+
SetLogDeliveryConfigurationCommandOutput,
|
|
27
|
+
CognitoIdentityProviderClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: SetLogDeliveryConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: SetLogDeliveryConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CognitoIdentityProviderClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
SetLogDeliveryConfigurationCommandInput,
|
|
38
|
+
SetLogDeliveryConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -11,10 +11,8 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../CognitoIdentityProviderClient";
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
SetRiskConfigurationResponse,
|
|
17
|
-
} from "../models/models_0";
|
|
14
|
+
import { SetRiskConfigurationRequest } from "../models/models_0";
|
|
15
|
+
import { SetRiskConfigurationResponse } from "../models/models_1";
|
|
18
16
|
export { __MetadataBearer, $Command };
|
|
19
17
|
export interface SetRiskConfigurationCommandInput
|
|
20
18
|
extends SetRiskConfigurationRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SetUICustomizationRequest,
|
|
16
16
|
SetUICustomizationResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface SetUICustomizationCommandInput
|
|
20
20
|
extends SetUICustomizationRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SetUserMFAPreferenceRequest,
|
|
16
16
|
SetUserMFAPreferenceResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface SetUserMFAPreferenceCommandInput
|
|
20
20
|
extends SetUserMFAPreferenceRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SetUserPoolMfaConfigRequest,
|
|
16
16
|
SetUserPoolMfaConfigResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface SetUserPoolMfaConfigCommandInput
|
|
20
20
|
extends SetUserPoolMfaConfigRequest {}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SetUserSettingsRequest,
|
|
16
16
|
SetUserSettingsResponse,
|
|
17
|
-
} from "../models/
|
|
17
|
+
} from "../models/models_1";
|
|
18
18
|
export { __MetadataBearer, $Command };
|
|
19
19
|
export interface SetUserSettingsCommandInput extends SetUserSettingsRequest {}
|
|
20
20
|
export interface SetUserSettingsCommandOutput
|
|
@@ -58,6 +58,7 @@ export * from "./GetCSVHeaderCommand";
|
|
|
58
58
|
export * from "./GetDeviceCommand";
|
|
59
59
|
export * from "./GetGroupCommand";
|
|
60
60
|
export * from "./GetIdentityProviderByIdentifierCommand";
|
|
61
|
+
export * from "./GetLogDeliveryConfigurationCommand";
|
|
61
62
|
export * from "./GetSigningCertificateCommand";
|
|
62
63
|
export * from "./GetUICustomizationCommand";
|
|
63
64
|
export * from "./GetUserAttributeVerificationCodeCommand";
|
|
@@ -78,6 +79,7 @@ export * from "./ListUsersInGroupCommand";
|
|
|
78
79
|
export * from "./ResendConfirmationCodeCommand";
|
|
79
80
|
export * from "./RespondToAuthChallengeCommand";
|
|
80
81
|
export * from "./RevokeTokenCommand";
|
|
82
|
+
export * from "./SetLogDeliveryConfigurationCommand";
|
|
81
83
|
export * from "./SetRiskConfigurationCommand";
|
|
82
84
|
export * from "./SetUICustomizationCommand";
|
|
83
85
|
export * from "./SetUserMFAPreferenceCommand";
|