@Override
    public CreateEventStreamResult createEventStream(CreateEventStreamRequest request) {
        request = beforeClientExecution(request);
        return executeCreateEventStream(request);
    }
<p>
Creates an event stream, which is a subscription to real-time events, such as when profiles are created and
updated through Amazon Connect Customer Profiles.
</p>
<p>
Each event stream can be associated with only one Kinesis Data Stream destination in the same region and Amazon
Web Services account as the customer profiles domain
</p>

@param createEventStreamRequest
@return Result of the CreateEventStream operation returned by the service.
@throws BadRequestException
        The input you provided is invalid.
@throws ResourceNotFoundException
        The requested resource does not exist, or access was denied.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws ThrottlingException
        You exceeded the maximum number of requests.
@throws InternalServerException
        An internal service error occurred.
@sample AmazonCustomerProfiles.CreateEventStream
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateEventStream"
     target="_top">AWS API Documentation</a>
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/AmazonCustomerProfilesClient.java