If you need functionality in the AWS services used by the Amplify Predictions category that isn't available, we provide an escape hatch so you can get a reference to that service.  For example, to get a reference to `AWSRekognition`:

```swift
guard let predictionsPlugin = try Amplify.Predictions.getPlugin(for: "awsPredictionsPlugin") as? AWSPredictionsPlugin else {
  print("Unable to cast to AWSPredictionsPlugin")
  return
}

let rekognitionClient = predictionsPlugin.getEscapeHatch(key: .rekognition)
let request = CreateCollectionInput()
let output = try await rekognitionClient.createCollection(input: request)
```

In addition to `AWSRekognition`, this same pattern can be used to get access to `AWSTranslate`, `AWSPolly`, `AWSTranscribeStreaming`, `AWSComprehend`, and `AWSTextract`.  For example:
```swift
let translateClient = predictionsPlugin.getEscapeHatch(key: .translate)
let pollyClient = predictionsPlugin.getEscapeHatch(key: .polly)
let comprehendClient = predictionsPlugin.getEscapeHatch(key: .comprehend)
let textractClient = predictionsPlugin.getEscapeHatch(key: .textract)
```

**API Documentation Resources**
* [Amazon Rekognition API Reference](https://docs.aws.amazon.com/rekognition/latest/dg/API_Reference.html)
* [Amazon Translate API Reference](https://docs.aws.amazon.com/translate/latest/dg/API_Reference.html)
* [Amazon Polly API Reference](https://docs.aws.amazon.com/polly/latest/dg/API_Reference.html)
* [Amazon Transcribe API Reference](https://docs.aws.amazon.com/transcribe/latest/dg/API_Reference.html)
* [Amazon Comprehend API Reference](https://docs.aws.amazon.com/comprehend/latest/dg/API_Reference.html)
* [Amazon Textract API Reference](https://docs.aws.amazon.com/textract/latest/dg/API_Reference.html)
