Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/fragments/lib/analytics/ios/escapehatch.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the underlying Amazon Pinpoint client.

import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';

<Fragments fragments={{ swift: ios0 }} />

Add the following import:

```swift
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
For advanced use cases where Amplify does not provide the functionality you're looking for, you can retrieve the escape hatch to access the underlying SDK.

import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';

<Fragments fragments={{ swift: ios0 }} />

The escape hatch provides access to the underlying `AWSCognitoIdentityProvider` instance. Import the necessary types:

```swift
Expand Down
4 changes: 0 additions & 4 deletions src/fragments/lib/geo/ios/escapehatch.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
If you need functionality in the AWSLocation framework used by the Amplify Geo category that isn't available, we provide an escape hatch so you can reference it directly.

import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';

<Fragments fragments={{ swift: ios0 }} />

Note: If you provisioned your Geo resources via Amplify CLI, then the IAM policy will be specifically scoped to only allow actions required by the library. Please [adjust your authorization permissions](/gen1/[platform]/build-a-backend/more-features/geo/existing-resources/) accordingly for your escape hatch use-cases.

```swift
Expand Down
4 changes: 0 additions & 4 deletions src/fragments/lib/logging/ios/escapehatch/escapehatch.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';

<Fragments fragments={{ swift: ios0 }} />

Add import statements

```swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,3 @@ do {
print("Get escape hatch failed with error - \(error)")
}
```

**Note:** While the Amplify Library for Swift is production ready, please note that the underlying AWS SDK for Swift is currently in Developer Preview, and is not yet intended for production workloads. You can read about the SDK's ongoing development in [this additional documentation](https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Core/AWSSDKForSwift/Documentation.docc/stability.md).
4 changes: 0 additions & 4 deletions src/fragments/lib/storage/ios/escapehatch.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the AWSS3 instance.

import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';

<Fragments fragments={{ swift: ios0 }} />

Add the following import:

```swift
Expand Down
2 changes: 1 addition & 1 deletion src/fragments/sdk/pubsub/ios/aws-iot-and-amplify.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The new [**Amplify Library for Swift** ](/gen1/[platform]/tools/libraries/) (also known as **v2**) is implemented using the new AWS SDK for Swift, which is currently in Developer Preview and does not support **AWS IoT** .
The new [**Amplify Library for Swift** ](/gen1/[platform]/tools/libraries/) (also known as **v2**) is implemented using the new AWS SDK for Swift, which does not support **AWS IoT** .

Follow this guide if you are looking to:
- Use **AWS IoT** for your Swift project using **v2** of the Amplify Library for Swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ export function getStaticProps(context) {
<InlineFilter filters={['swift']}>
For advanced use cases where Amplify does not provide the functionality, you can retrieve an escape hatch to access the underlying Amazon Pinpoint client.

<Callout warning>

**Note:** While the Amplify Library for Swift is production ready, please note that the underlying AWS SDK for Swift is currently in Developer Preview, and is not yet intended for production workloads. [Here is additional reading material](https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Core/AWSSDKForSwift/Documentation.docc/stability.md) on the stability of the SDK.

</Callout>

Add the following import:

```swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ CloudWatchLogsClient client = plugin.getEscapeHatch();

<InlineFilter filters={['swift']}>

<Callout warning>

**Note:** While the Amplify Library for Swift is production ready, please note that the underlying AWS SDK for Swift is currently in Developer Preview, and is not yet intended for production workloads. [Here is additional reading material](https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Core/AWSSDKForSwift/Documentation.docc/stability.md) on the stability of the SDK

</Callout>


Add import statements

```swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ For advanced use cases where Amplify does not provide the functionality, you can

<InlineFilter filters={['swift']}>

<Callout warning>

**Note:** While the Amplify Library for Swift is production ready, please note that the underlying AWS SDK for Swift is currently in Developer Preview, and is not yet intended for production workloads. [Here is additional reading material](https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Core/AWSSDKForSwift/Documentation.docc/stability.md) on the stability of the SDK.

</Callout>

The escape hatch provides access to the underlying `AWSCognitoIdentityProvider` instance. Import the necessary types:

```swift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ val client = plugin.escapeHatch

<InlineFilter filters={["swift"]}>

<Callout warning>

**Note:** While the Amplify Library for Swift is production ready, please note that the underlying AWS SDK for Swift is currently in Developer Preview, and is not yet intended for production workloads. [Here is additional reading material](https://github.com/awslabs/aws-sdk-swift/blob/main/Sources/Core/AWSSDKForSwift/Documentation.docc/stability.md) on the stability of the SDK

</Callout>

Add the following import:

```swift
Expand Down
Loading