@Override
    public ListRotationsResult listRotations(ListRotationsRequest request) {
        request = beforeClientExecution(request);
        return executeListRotations(request);
    }
<p>
Retrieves a list of on-call rotations.
</p>

@param listRotationsRequest
@return Result of the ListRotations 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 ResourceNotFoundException
        Request references a resource that doesn't exist.
@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.ListRotations
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListRotations" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/AWSSSMContactsClient.java