{"categories":["AWS","Athena","S3"],"provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/w/woshidan/20170929/20170929195730.png","author_url":"https://blog.hatena.ne.jp/woshidan/","version":"1.0","width":"100%","provider_name":"Hatena Blog","blog_url":"https://woshidan.hatenablog.com/","url":"https://woshidan.hatenablog.com/entry/2017/09/29/200525","type":"rich","height":"190","published":"2017-09-29 20:05:25","description":"\u4ffa\u306e\u5c4d\u3092\u8d8a\u3048\u3066\u3044\u3051\u3001\u7684\u306a\u30e1\u30e2\u3002 require 'aws-sdk-athena' client = Aws::Athena::Client.new begin start_response = client.start_query_execution({ query_string: \"SELECT * FROM samples limit 10\", query_execution_context: { database: \"mydatabase\", }, result_configuration: { output_location: \"s3://sample-woshidan-test-to\u2026","blog_title":"woshidan's blog","title":"AWS CLI\u3067AWS Athena\u306e\u30af\u30a8\u30ea\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u305f\u3081\u306b\u306a\u3093\u3069\u3082\u5931\u6557\u3059\u308b\u5834\u5408\u306f\u7d50\u679c\u51fa\u529b\u5148\u306eS3\u306e\u30d0\u30b1\u30c3\u30c8\u306eregion\u3092\u78ba\u8a8d\u3059\u308b","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwoshidan.hatenablog.com%2Fentry%2F2017%2F09%2F29%2F200525\" title=\"AWS CLI\u3067AWS Athena\u306e\u30af\u30a8\u30ea\u304c\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u305f\u3081\u306b\u306a\u3093\u3069\u3082\u5931\u6557\u3059\u308b\u5834\u5408\u306f\u7d50\u679c\u51fa\u529b\u5148\u306eS3\u306e\u30d0\u30b1\u30c3\u30c8\u306eregion\u3092\u78ba\u8a8d\u3059\u308b - woshidan&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"woshidan"}