You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The operation can fail if there's a special character in the `source` path. You should URI encode the source
65
+
path with special character. You **don't** need to encode the `destination` path.
66
+
67
+
</Callout>
62
68
63
69
<Callout>
64
70
@@ -106,7 +112,7 @@ In order to copy to or from a bucket other than your default, both source and de
106
112
107
113
Option | Type | Default | Description |
108
114
| -- | :--: | :--: | ----------- |
109
-
| path | string \| <br/>(\{ identityId \}) => string | Required | A string or callback that represents the path in source and destination bucket to copy the object to or from |
115
+
| path | string \| <br/>(\{ identityId \}) => string | Required | A string or callback that represents the path in source and destination bucket to copy the object to or from. <br /> **Each segment of the path in `source` must by URI encoded.**|
110
116
| bucket | string \| <br />\{ bucketName: string;<br/> region: string; \}| Default bucket and region from Amplify configuration | A string representing the target bucket's assigned name in Amplify Backend or an object specifying the bucket name and region from the console.<br/><br/>Read more at [Configure additional storage buckets](/[platform]/build-a-backend/storage/set-up-storage/#configure-additional-storage-buckets). |
0 commit comments