@Override
    public CreateApiCacheResult createApiCache(CreateApiCacheRequest request) {
        request = beforeClientExecution(request);
        return executeCreateApiCache(request);
    }
<p>
Creates a cache for the GraphQL API.
</p>

@param createApiCacheRequest
       Represents the input of a <code>CreateApiCache</code> operation.
@return Result of the CreateApiCache operation returned by the service.
@throws BadRequestException
        The request is not well formed. For example, a value is invalid or a required field is missing. Check the
        field values, and then try again.
@throws ConcurrentModificationException
        Another modification is in progress at this time and it must complete before you can make your change.
@throws NotFoundException
        The resource specified in the request was not found. Check the resource, and then try again.
@throws UnauthorizedException
        You aren't authorized to perform this operation.
@throws InternalFailureException
        An internal AppSync error occurred. Try your request again.
@sample AWSAppSync.CreateApiCache
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache" target="_top">AWS API
     Documentation</a>
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/AWSAppSyncClient.java