<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kabegiwakun</author_name>
  <author_url>https://blog.hatena.ne.jp/kabegiwakun/</author_url>
  <blog_title>かべぎわブログ</blog_title>
  <blog_url>https://www.kabegiwablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Python</anon>
  </categories>
  <description>概要 EC2インスタンスのIDの一覧をPythonのリスト内包表記をつかってかんたんに取得してみます。 前提 いずれも以下の様な感じで宣言してあるとする。 import boto3 ec2 = boto3.client('ec2') response = ec2.describe_instances() リスト内包表記の場合 こんなかんじでかんたんにできる instance_id_list = [response['Instances'][0]['InstanceId'] for response in response['Reservations']] print(instance_id_l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kabegiwablog.com%2Fentry%2F2019%2F08%2F26%2F100000&quot; title=&quot;インスタンスIDの一覧をPythonのリスト内包表記で取得する - かべぎわブログ&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-ak.f.st-hatena.com/images/fotolife/k/kabegiwakun/20180315/20180315000319.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-26 10:00:00</published>
  <title>インスタンスIDの一覧をPythonのリスト内包表記で取得する</title>
  <type>rich</type>
  <url>https://www.kabegiwablog.com/entry/2019/08/26/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
