NotAuthorizedException, ResourceNotFoundException, InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return createUserPoolDomain(CreateUserPoolDomainRequest.builder().applyMutation(createUserPoolDomainRequest).build());
/** * <p> * The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application. * </p> * <p> * Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude * this parameter and use the Amazon Cognito hosted domain instead. * </p> * <p> * For more information about the hosted domain and custom domains, see <a * href="http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain.html" * >Configuring a User Pool Domain</a>. * </p> * This is a convenience that creates an instance of the {@link CustomDomainConfigType.Builder} avoiding the * need to create one manually via {@link CustomDomainConfigType#builder()}. * * When the {@link Consumer} completes, {@link CustomDomainConfigType.Builder#build()} is called immediately and * its result is passed to {@link #customDomainConfig(CustomDomainConfigType)}. * * @param customDomainConfig * a consumer that will call methods on {@link CustomDomainConfigType.Builder} * @return Returns a reference to this object so that method calls can be chained together. * @see #customDomainConfig(CustomDomainConfigType) */ default Builder customDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig) { return customDomainConfig(CustomDomainConfigType.builder().applyMutation(customDomainConfig).build()); }
return createUserPoolDomain(CreateUserPoolDomainRequest.builder().applyMutation(createUserPoolDomainRequest).build());
NotAuthorizedException, ResourceNotFoundException, LimitExceededException, InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException { return createUserPoolDomain(CreateUserPoolDomainRequest.builder().applyMutation(createUserPoolDomainRequest).build());
return createUserPoolDomain(CreateUserPoolDomainRequest.builder().applyMutation(createUserPoolDomainRequest).build());