<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>horie1024</author_name>
  <author_url>https://blog.hatena.ne.jp/horie1024/</author_url>
  <blog_title>horie1024の日記</blog_title>
  <blog_url>https://horie1024.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Ruby</anon>
  </categories>
  <description>AWS SDKを使いs3からファイルを取得する方法についてメモ require 'aws-sdk-core' Aws.config[:region] = 'ap-northeast-1' s3 = Aws::S3::Client.new( access_key_id: ACCESS_KEY_ID, secret_access_key: SECRET_ACCESS_KEY ) File.open('保存時のファイル名', 'w') do |file| s3.get_object({bucket: 'バケット名', key:'取得したいファイル名'}, target: file) end 環境変数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhorie1024.hatenablog.com%2Fentry%2F2016%2F08%2F18%2F153120&quot; title=&quot;s3からのファイルの取得 - horie1024の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-18 15:31:20</published>
  <title>s3からのファイルの取得</title>
  <type>rich</type>
  <url>https://horie1024.hatenablog.com/entry/2016/08/18/153120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
