Skip to content

Commit 7ac05b9

Browse files
authored
chore(Swift): Removing callouts regarding the Swift SDK being in Developer Preview (#7978)
1 parent 6cf3065 commit 7ac05b9

File tree

11 files changed

+1
-48
lines changed

11 files changed

+1
-48
lines changed

src/fragments/lib/analytics/ios/escapehatch.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the underlying Amazon Pinpoint client.
22

3-
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';
4-
5-
<Fragments fragments={{ swift: ios0 }} />
6-
73
Add the following import:
84

95
```swift

src/fragments/lib/auth/ios/escapehatch/10_awsmobileclient_escape.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
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.
22

3-
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';
4-
5-
<Fragments fragments={{ swift: ios0 }} />
6-
73
The escape hatch provides access to the underlying `AWSCognitoIdentityProvider` instance. Import the necessary types:
84

95
```swift

src/fragments/lib/geo/ios/escapehatch.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
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.
22

3-
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';
4-
5-
<Fragments fragments={{ swift: ios0 }} />
6-
73
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.
84

95
```swift

src/fragments/lib/logging/ios/escapehatch/escapehatch.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';
2-
3-
<Fragments fragments={{ swift: ios0 }} />
4-
51
Add import statements
62

73
```swift

src/fragments/lib/project-setup/ios/upgrade-guide/upgrade-guide.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,3 @@ do {
7272
print("Get escape hatch failed with error - \(error)")
7373
}
7474
```
75-
76-
**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).

src/fragments/lib/storage/ios/escapehatch.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the AWSS3 instance.
22

3-
import ios0 from '/src/fragments/lib/ios-escape-hatch-warning.mdx';
4-
5-
<Fragments fragments={{ swift: ios0 }} />
6-
73
Add the following import:
84

95
```swift

src/fragments/sdk/pubsub/ios/aws-iot-and-amplify.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
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** .
1+
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** .
22

33
Follow this guide if you are looking to:
44
- Use **AWS IoT** for your Swift project using **v2** of the Amplify Library for Swift

src/pages/[platform]/build-a-backend/add-aws-services/analytics/sdk/index.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ export function getStaticProps(context) {
2525
<InlineFilter filters={['swift']}>
2626
For advanced use cases where Amplify does not provide the functionality, you can retrieve an escape hatch to access the underlying Amazon Pinpoint client.
2727

28-
<Callout warning>
29-
30-
**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.
31-
32-
</Callout>
33-
3428
Add the following import:
3529

3630
```swift

src/pages/[platform]/build-a-backend/add-aws-services/logging/sdk/index.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ CloudWatchLogsClient client = plugin.getEscapeHatch();
6868

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

71-
<Callout warning>
72-
73-
**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
74-
75-
</Callout>
76-
77-
7871
Add import statements
7972

8073
```swift

src/pages/[platform]/build-a-backend/auth/use-aws-sdk/index.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ For advanced use cases where Amplify does not provide the functionality, you can
2626

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

29-
<Callout warning>
30-
31-
**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.
32-
33-
</Callout>
34-
3529
The escape hatch provides access to the underlying `AWSCognitoIdentityProvider` instance. Import the necessary types:
3630

3731
```swift

0 commit comments

Comments
 (0)