{"action":"created","comment":{"url":"https://api.github.com/repos/aws-amplify/docs/pulls/comments/230971276","pull_request_review_id":171830835,"id":230971276,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDk3MTI3Ng==","diff_hunk":"@@ -161,317 +161,620 @@ func downloadData() {\n \n }\n ```\n+## Using TransferUtility \n \n+This section explains how to implement upload and download functionality and a number of additional storage use cases.\n \n-## Usage with GraphQL APIs (Complex Objects)\n+Note: If you use the transfer utility multipart upload feature, take advantage of automatic cleanup features by setting up the [AbortIncompleteMultipartUpload] https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html) action in your Amazon S3 bucket life cycle configuration.\n+{: .callout .callout--info}\n \n-Many times you might want to create logical objects that have more complex data, such as images or videos, as part of their structure. For example, you might create a Person type with a profile picture or a Post type that has an associated image. You can use AWS AppSync to model these as GraphQL types. If any of your mutations have a variable with bucket, key, region, mimeType, and localUri fields, the SDK uploads the file to Amazon S3 for you.\n+### Transfer Utility Options\n \n-Update your schema as follows to add the S3Object and S3ObjectInput types for the file, and a new mutation named CreatePostWithFileInputMutation:\n+You can use the `AWSS3TransferUtilityConfiguration` object to configure the operations of the `TransferUtility`.\n \n-```graphql\n-input CreatePostInput {\n-    author: String!\n-    title: String\n-    content: String\n-    url: String\n-    ups: Int\n-    downs: Int\n-    version: Int!\n-}\n+**isAccelerateModeEnabled**\n+The isAccelerateModeEnabled option lets you to upload and download content from a bucket that has Transfer Acceleration enabled on it. See [Transfer Acceleration](https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html) for information on how to enable transfer acceleration for your bucket.\n \n-input CreatePostWithFileInput {\n-    author: String!\n-    title: String\n-    content: String\n-    url: String\n-    ups: Int\n-    downs: Int\n-    file: S3ObjectInput!\n-    version: Int!\n-}\n+This option is set to false by default.\n \n-input DeletePostInput {\n-    id: ID!\n-}\n+```swift\n+//Setup credentials","path":"ios/storage.md","position":95,"original_position":89,"commit_id":"90c753f9c18df82c89842d2e2c51733fc2ef4197","original_commit_id":"bb2dda95ba305dedb922eea10a1ab518cd988733","user":{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false},"body":"Added a link to the authentication module.","created_at":"2018-11-06T01:08:45Z","updated_at":"2018-11-06T01:08:45Z","html_url":"https://github.com/aws-amplify/docs/pull/89#discussion_r230971276","pull_request_url":"https://api.github.com/repos/aws-amplify/docs/pulls/89","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/comments/230971276"},"html":{"href":"https://github.com/aws-amplify/docs/pull/89#discussion_r230971276"},"pull_request":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/89"}},"in_reply_to_id":230544926},"pull_request":{"url":"https://api.github.com/repos/aws-amplify/docs/pulls/89","id":228083447,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MDgzNDQ3","html_url":"https://github.com/aws-amplify/docs/pull/89","diff_url":"https://github.com/aws-amplify/docs/pull/89.diff","patch_url":"https://github.com/aws-amplify/docs/pull/89.patch","issue_url":"https://api.github.com/repos/aws-amplify/docs/issues/89","number":89,"state":"open","locked":false,"title":"Updates to ios Storage section","user":{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-02T23:41:24Z","updated_at":"2018-11-06T01:08:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"551aec43f92e1713e4d0c488a9ca82776d37bf63","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aws-amplify/docs/pulls/89/commits","review_comments_url":"https://api.github.com/repos/aws-amplify/docs/pulls/89/comments","review_comment_url":"https://api.github.com/repos/aws-amplify/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aws-amplify/docs/issues/89/comments","statuses_url":"https://api.github.com/repos/aws-amplify/docs/statuses/90c753f9c18df82c89842d2e2c51733fc2ef4197","head":{"label":"cbommas:storage-ios-updates","ref":"storage-ios-updates","sha":"90c753f9c18df82c89842d2e2c51733fc2ef4197","user":{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false},"repo":{"id":155931988,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU5MzE5ODg=","name":"docs","full_name":"cbommas/docs","private":false,"owner":{"login":"cbommas","id":5359504,"node_id":"MDQ6VXNlcjUzNTk1MDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5359504?v=4","gravatar_id":"","url":"https://api.github.com/users/cbommas","html_url":"https://github.com/cbommas","followers_url":"https://api.github.com/users/cbommas/followers","following_url":"https://api.github.com/users/cbommas/following{/other_user}","gists_url":"https://api.github.com/users/cbommas/gists{/gist_id}","starred_url":"https://api.github.com/users/cbommas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbommas/subscriptions","organizations_url":"https://api.github.com/users/cbommas/orgs","repos_url":"https://api.github.com/users/cbommas/repos","events_url":"https://api.github.com/users/cbommas/events{/privacy}","received_events_url":"https://api.github.com/users/cbommas/received_events","type":"User","site_admin":false},"html_url":"https://github.com/cbommas/docs","description":"AWS Amplify Documentation","fork":true,"url":"https://api.github.com/repos/cbommas/docs","forks_url":"https://api.github.com/repos/cbommas/docs/forks","keys_url":"https://api.github.com/repos/cbommas/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbommas/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbommas/docs/teams","hooks_url":"https://api.github.com/repos/cbommas/docs/hooks","issue_events_url":"https://api.github.com/repos/cbommas/docs/issues/events{/number}","events_url":"https://api.github.com/repos/cbommas/docs/events","assignees_url":"https://api.github.com/repos/cbommas/docs/assignees{/user}","branches_url":"https://api.github.com/repos/cbommas/docs/branches{/branch}","tags_url":"https://api.github.com/repos/cbommas/docs/tags","blobs_url":"https://api.github.com/repos/cbommas/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbommas/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbommas/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbommas/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbommas/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/cbommas/docs/languages","stargazers_url":"https://api.github.com/repos/cbommas/docs/stargazers","contributors_url":"https://api.github.com/repos/cbommas/docs/contributors","subscribers_url":"https://api.github.com/repos/cbommas/docs/subscribers","subscription_url":"https://api.github.com/repos/cbommas/docs/subscription","commits_url":"https://api.github.com/repos/cbommas/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbommas/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbommas/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbommas/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbommas/docs/contents/{+path}","compare_url":"https://api.github.com/repos/cbommas/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbommas/docs/merges","archive_url":"https://api.github.com/repos/cbommas/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbommas/docs/downloads","issues_url":"https://api.github.com/repos/cbommas/docs/issues{/number}","pulls_url":"https://api.github.com/repos/cbommas/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/cbommas/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/cbommas/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbommas/docs/labels{/name}","releases_url":"https://api.github.com/repos/cbommas/docs/releases{/id}","deployments_url":"https://api.github.com/repos/cbommas/docs/deployments","created_at":"2018-11-02T23:32:52Z","updated_at":"2018-11-02T23:32:55Z","pushed_at":"2018-11-05T20:31:02Z","git_url":"git://github.com/cbommas/docs.git","ssh_url":"git@github.com:cbommas/docs.git","clone_url":"https://github.com/cbommas/docs.git","svn_url":"https://github.com/cbommas/docs","homepage":"https://aws-amplify.github.io/docs","size":32082,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aws-amplify:master","ref":"master","sha":"03ded8d2d69d2de0786f722c6e54b33377c5307a","user":{"login":"aws-amplify","id":41077760,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDc3NzYw","avatar_url":"https://avatars0.githubusercontent.com/u/41077760?v=4","gravatar_id":"","url":"https://api.github.com/users/aws-amplify","html_url":"https://github.com/aws-amplify","followers_url":"https://api.github.com/users/aws-amplify/followers","following_url":"https://api.github.com/users/aws-amplify/following{/other_user}","gists_url":"https://api.github.com/users/aws-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/aws-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aws-amplify/subscriptions","organizations_url":"https://api.github.com/users/aws-amplify/orgs","repos_url":"https://api.github.com/users/aws-amplify/repos","events_url":"https://api.github.com/users/aws-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/aws-amplify/received_events","type":"Organization","site_admin":false},"repo":{"id":149512426,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1MTI0MjY=","name":"docs","full_name":"aws-amplify/docs","private":false,"owner":{"login":"aws-amplify","id":41077760,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDc3NzYw","avatar_url":"https://avatars0.githubusercontent.com/u/41077760?v=4","gravatar_id":"","url":"https://api.github.com/users/aws-amplify","html_url":"https://github.com/aws-amplify","followers_url":"https://api.github.com/users/aws-amplify/followers","following_url":"https://api.github.com/users/aws-amplify/following{/other_user}","gists_url":"https://api.github.com/users/aws-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/aws-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aws-amplify/subscriptions","organizations_url":"https://api.github.com/users/aws-amplify/orgs","repos_url":"https://api.github.com/users/aws-amplify/repos","events_url":"https://api.github.com/users/aws-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/aws-amplify/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aws-amplify/docs","description":"AWS Amplify Documentation","fork":false,"url":"https://api.github.com/repos/aws-amplify/docs","forks_url":"https://api.github.com/repos/aws-amplify/docs/forks","keys_url":"https://api.github.com/repos/aws-amplify/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aws-amplify/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aws-amplify/docs/teams","hooks_url":"https://api.github.com/repos/aws-amplify/docs/hooks","issue_events_url":"https://api.github.com/repos/aws-amplify/docs/issues/events{/number}","events_url":"https://api.github.com/repos/aws-amplify/docs/events","assignees_url":"https://api.github.com/repos/aws-amplify/docs/assignees{/user}","branches_url":"https://api.github.com/repos/aws-amplify/docs/branches{/branch}","tags_url":"https://api.github.com/repos/aws-amplify/docs/tags","blobs_url":"https://api.github.com/repos/aws-amplify/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aws-amplify/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aws-amplify/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/aws-amplify/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aws-amplify/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/aws-amplify/docs/languages","stargazers_url":"https://api.github.com/repos/aws-amplify/docs/stargazers","contributors_url":"https://api.github.com/repos/aws-amplify/docs/contributors","subscribers_url":"https://api.github.com/repos/aws-amplify/docs/subscribers","subscription_url":"https://api.github.com/repos/aws-amplify/docs/subscription","commits_url":"https://api.github.com/repos/aws-amplify/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/aws-amplify/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/aws-amplify/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/aws-amplify/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/aws-amplify/docs/contents/{+path}","compare_url":"https://api.github.com/repos/aws-amplify/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aws-amplify/docs/merges","archive_url":"https://api.github.com/repos/aws-amplify/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aws-amplify/docs/downloads","issues_url":"https://api.github.com/repos/aws-amplify/docs/issues{/number}","pulls_url":"https://api.github.com/repos/aws-amplify/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/aws-amplify/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/aws-amplify/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aws-amplify/docs/labels{/name}","releases_url":"https://api.github.com/repos/aws-amplify/docs/releases{/id}","deployments_url":"https://api.github.com/repos/aws-amplify/docs/deployments","created_at":"2018-09-19T21:08:59Z","updated_at":"2018-11-06T00:58:12Z","pushed_at":"2018-11-06T01:01:12Z","git_url":"git://github.com/aws-amplify/docs.git","ssh_url":"git@github.com:aws-amplify/docs.git","clone_url":"https://github.com/aws-amplify/docs.git","svn_url":"https://github.com/aws-amplify/docs","homepage":"https://aws-amplify.github.io/docs","size":32713,"stargazers_count":6,"watchers_count":6,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":49,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":49,"open_issues":19,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/89"},"html":{"href":"https://github.com/aws-amplify/docs/pull/89"},"issue":{"href":"https://api.github.com/repos/aws-amplify/docs/issues/89"},"comments":{"href":"https://api.github.com/repos/aws-amplify/docs/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aws-amplify/docs/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/aws-amplify/docs/statuses/90c753f9c18df82c89842d2e2c51733fc2ef4197"}},"author_association":"NONE"}}
{"actor":{"display_login":"cbommas"}}