InternalErrorException, SoftwareTokenMfaNotFoundException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return respondToAuthChallenge(RespondToAuthChallengeRequest.builder().applyMutation(respondToAuthChallengeRequest) .build());
InvalidSmsRoleAccessPolicyException, InvalidSmsRoleTrustRelationshipException, AliasExistsException, InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return respondToAuthChallenge(RespondToAuthChallengeRequest.builder().applyMutation(respondToAuthChallengeRequest) .build());
return respondToAuthChallenge(RespondToAuthChallengeRequest.builder().applyMutation(respondToAuthChallengeRequest) .build());
return respondToAuthChallenge(RespondToAuthChallengeRequest.builder().applyMutation(respondToAuthChallengeRequest) .build());
/** * <p> * Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk * of an unexpected event by Amazon Cognito advanced security. * </p> * This is a convenience that creates an instance of the {@link UserContextDataType.Builder} avoiding the need * to create one manually via {@link UserContextDataType#builder()}. * * When the {@link Consumer} completes, {@link UserContextDataType.Builder#build()} is called immediately and * its result is passed to {@link #userContextData(UserContextDataType)}. * * @param userContextData * a consumer that will call methods on {@link UserContextDataType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #userContextData(UserContextDataType) */ default Builder userContextData(Consumer<UserContextDataType.Builder> userContextData) { return userContextData(UserContextDataType.builder().applyMutation(userContextData).build()); }
/** * <p> * The Amazon Pinpoint analytics metadata for collecting metrics for <code>RespondToAuthChallenge</code> calls. * </p> * This is a convenience that creates an instance of the {@link AnalyticsMetadataType.Builder} avoiding the need * to create one manually via {@link AnalyticsMetadataType#builder()}. * * When the {@link Consumer} completes, {@link AnalyticsMetadataType.Builder#build()} is called immediately and * its result is passed to {@link #analyticsMetadata(AnalyticsMetadataType)}. * * @param analyticsMetadata * a consumer that will call methods on {@link AnalyticsMetadataType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #analyticsMetadata(AnalyticsMetadataType) */ default Builder analyticsMetadata(Consumer<AnalyticsMetadataType.Builder> analyticsMetadata) { return analyticsMetadata(AnalyticsMetadataType.builder().applyMutation(analyticsMetadata).build()); }