<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ts223</author_name>
  <author_url>https://blog.hatena.ne.jp/ts223/</author_url>
  <blog_title>public note</blog_title>
  <blog_url>https://ts223.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
  </categories>
  <description>S3にファイルを格納する際に、そのファイルがどういった設定・経緯で作成されたのかを合わせて記録に残したいというニーズがありました。今回のケースでは、S3オブジェクトにMetadataを設定しつつputして、そのあとgetする手順をPythonで試したので、記録に残します。 検証環境 S3 Metadataの仕様を確認 Metadataをつけてputする getしてみる 実行結果 Bodyを取得したくない場合 その他の選択肢 参考にしたサイト 検証環境 CentOS Linux release 7.7.1908 (Core) Python 3.6.6 awscli 1.16.313 boto3 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fts223.hatenablog.com%2Fentry%2Faws%2Fs3-metadata&quot; title=&quot;AWS S3オブジェクトのMetadata管理 - public note&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-26 09:00:00</published>
  <title>AWS S3オブジェクトのMetadata管理</title>
  <type>rich</type>
  <url>https://ts223.hatenablog.com/entry/aws/s3-metadata</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
