@Override
    public ListPreviewRotationShiftsResult listPreviewRotationShifts(ListPreviewRotationShiftsRequest request) {
        request = beforeClientExecution(request);
        return executeListPreviewRotationShifts(request);
    }
<p>
Returns a list of shifts based on rotation configuration parameters.
</p>
<note>
<p>
The Incident Manager primarily uses this operation to populate the <b>Preview</b> calendar. It is not typically
run by end users.
</p>
</note>

@param listPreviewRotationShiftsRequest
@return Result of the ListPreviewRotationShifts operation returned by the service.
@throws AccessDeniedException
        You don't have sufficient access to perform this operation.
@throws InternalServerException
        Unexpected error occurred while processing the request.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws ValidationException
        The input fails to satisfy the constraints specified by an Amazon Web Services service.
@sample AWSSSMContacts.ListPreviewRotationShifts
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPreviewRotationShifts"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/AWSSSMContactsClient.java