{"id":14402,"date":"2014-06-30T11:38:45","date_gmt":"2014-06-30T06:08:45","guid":{"rendered":"https:\/\/tothenewco.pro\/blog\/?p=14402"},"modified":"2014-06-30T11:40:12","modified_gmt":"2014-06-30T06:10:12","slug":"filter-aws-cli-output-with-the-query-option","status":"publish","type":"post","link":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/","title":{"rendered":"Filter aws cli Output with the &#8211;query Option"},"content":{"rendered":"<p>The AWS CLI provides built-in output filtering capabilities with the &#8211;query option. To demonstrate how it works, I&#8217;ll start with JSON output of aws ec2 describe-volumes<\/p>\n<p>aws ec2 describe-volumes &#8211;output json<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14439\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/11.png\" alt=\"1\" width=\"1295\" height=\"709\" \/><\/a><\/p>\n<p>Suppose we have to print all availability zones,<\/p>\n<p>aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].AvailabilityZone<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14440\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/2.png\" alt=\"2\" width=\"865\" height=\"57\" \/><\/a><\/p>\n<p>Here,<br \/>\naws ec2 describe-volumes : Shows descriptive information for one or more of your Amazon EBS volumes in a particular region<br \/>\n&#8211;query : to filter output<br \/>\n[] : array<br \/>\nAvailabilityZone : key whose value is &#8221; us-east-1b us-east-1b&#8221;<\/p>\n<p>Here * is used to print all values of AvailabilityZone. If we want to print first value of AvailabilityZone or second value of AvailabilityZone than we can replace * by 0 or 1 respectively.<\/p>\n<p>suppose we have to print all the values of Attachments<\/p>\n<p>aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].Attachments&#8217;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14443\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/3.png\" alt=\"3\" width=\"1017\" height=\"87\" \/><\/a><\/p>\n<p>But, if we only want to print InstanceId<\/p>\n<p>aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].Attachments[*].InstanceId&#8217;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14445\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/4.png\" alt=\"4\" width=\"1039\" height=\"76\" \/><\/a><br \/>\nHere this query will print all the value of instansce id from the json file<br \/>\nby volume[*] we enter into the array of volumes<br \/>\nand by appending .attachments[*] to volumes[*] we drill down or enter into the attachment array and by appending .instanceid to .attachments we can get the desire values for the instance id. Again we can replace * in Attachments[*] with 0 or 1 to print first instance id or second instance id respectively.<br \/>\nWe can also get values of multiple parameters, like if we want to print InstanceId and State of the volume<\/p>\n<p>aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].[Attachments[*].[VolumeId,InstanceId,State]]&#8217;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14449\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/5.png\" alt=\"5\" width=\"1093\" height=\"72\" \/><\/a><\/p>\n<p>Now if we want to know the availability zone, InstanceId and state of volume<\/p>\n<p>aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].[Attachments[0].VolumeId,AvailabilityZone,Attachments[0].InstanceId,Attachments[0].State]&#8217;<\/p>\n<p><a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14452\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/6.png\" alt=\"6\" width=\"1294\" height=\"92\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The AWS CLI provides built-in output filtering capabilities with the &#8211;query option. To demonstrate how it works, I&#8217;ll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes &#8211;output json Suppose we have to print all availability zones, aws ec2 describe-volumes &#8211;query &#8216;Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or [&hellip;]<\/p>\n","protected":false},"author":124,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":18,"footnotes":""},"categories":[1174],"tags":[],"class_list":["post-14402","post","type-post","status-publish","format-standard","hentry","category-aws-2"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I&#039;ll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query &#039;Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikhil Kumar Sharma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I&#039;ll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query &#039;Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I&#039;ll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query &#039;Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#article\",\"name\":\"Filter aws cli Output with the \\u2013query Option | TO THE NEW Blog\",\"headline\":\"Filter aws cli Output with the &#8211;query Option\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2014\\\/06\\\/11.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#articleImage\"},\"datePublished\":\"2014-06-30T11:38:45+05:30\",\"dateModified\":\"2014-06-30T11:40:12+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#webpage\"},\"articleSection\":\"AWS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"position\":2,\"name\":\"AWS\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#listItem\",\"name\":\"Filter aws cli Output with the &#8211;query Option\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#listItem\",\"position\":3,\"name\":\"Filter aws cli Output with the &#8211;query Option\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/aws-2\\\/#listItem\",\"name\":\"AWS\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/\",\"name\":\"Nikhil Kumar Sharma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/910a28868c1246d9bb93ff99e7b41d629230d6d8c48e9e245788b833039ff175?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Nikhil Kumar Sharma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/\",\"name\":\"Filter aws cli Output with the \\u2013query Option | TO THE NEW Blog\",\"description\":\"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I'll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query 'Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/filter-aws-cli-output-with-the-query-option\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/nikhil-sharma\\\/#author\"},\"datePublished\":\"2014-06-30T11:38:45+05:30\",\"dateModified\":\"2014-06-30T11:40:12+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog","description":"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I'll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query 'Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or","canonical_url":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#article","name":"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog","headline":"Filter aws cli Output with the &#8211;query Option","author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2014\/06\/11.png","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#articleImage"},"datePublished":"2014-06-30T11:38:45+05:30","dateModified":"2014-06-30T11:40:12+05:30","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#webpage"},"isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#webpage"},"articleSection":"AWS"},{"@type":"BreadcrumbList","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tothenewco.pro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","name":"AWS"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","position":2,"name":"AWS","item":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#listItem","name":"Filter aws cli Output with the &#8211;query Option"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#listItem","position":3,"name":"Filter aws cli Output with the &#8211;query Option","previousItem":{"@type":"ListItem","@id":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/#listItem","name":"AWS"}}]},{"@type":"Organization","@id":"https:\/\/tothenewco.pro\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/tothenewco.pro\/blog\/"},{"@type":"Person","@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author","url":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/","name":"Nikhil Kumar Sharma","image":{"@type":"ImageObject","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/910a28868c1246d9bb93ff99e7b41d629230d6d8c48e9e245788b833039ff175?s=96&d=mm&r=g","width":96,"height":96,"caption":"Nikhil Kumar Sharma"}},{"@type":"WebPage","@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#webpage","url":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/","name":"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog","description":"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I'll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query 'Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/tothenewco.pro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/#breadcrumblist"},"author":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"creator":{"@id":"https:\/\/tothenewco.pro\/blog\/author\/nikhil-sharma\/#author"},"datePublished":"2014-06-30T11:38:45+05:30","dateModified":"2014-06-30T11:40:12+05:30"},{"@type":"WebSite","@id":"https:\/\/tothenewco.pro\/blog\/#website","url":"https:\/\/tothenewco.pro\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/tothenewco.pro\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog","og:description":"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I'll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query 'Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or","og:url":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/","og:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Filter aws cli Output with the \u2013query Option | TO THE NEW Blog","twitter:description":"The AWS CLI provides built-in output filtering capabilities with the --query option. To demonstrate how it works, I'll start with JSON output of aws ec2 describe-volumes aws ec2 describe-volumes --output json Suppose we have to print all availability zones, aws ec2 describe-volumes --query 'Volumes[*].AvailabilityZone Here, aws ec2 describe-volumes : Shows descriptive information for one or","twitter:image":"https:\/\/tothenewco.pro\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"14402","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:28:59","updated":"2024-02-29 08:37:25","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/\" title=\"AWS\">AWS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFilter aws cli Output with the \u2013query Option\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tothenewco.pro\/blog"},{"label":"AWS","link":"https:\/\/tothenewco.pro\/blog\/category\/aws-2\/"},{"label":"Filter aws cli Output with the &#8211;query Option","link":"https:\/\/tothenewco.pro\/blog\/filter-aws-cli-output-with-the-query-option\/"}],"_links":{"self":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/14402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/users\/124"}],"replies":[{"embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/comments?post=14402"}],"version-history":[{"count":0,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/posts\/14402\/revisions"}],"wp:attachment":[{"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/media?parent=14402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/categories?post=14402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tothenewco.pro\/blog\/wp-json\/wp\/v2\/tags?post=14402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}