{"author_name":"BioErrorLog","categories":["AWS","boto3","AWS SDK","Python","\u30af\u30e9\u30a6\u30c9"],"author_url":"https://blog.hatena.ne.jp/BioErrorLog/","url":"https://www.bioerrorlog.work/entry/check-boto3-client-endpoint","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20210828/20210828153234.png","title":"boto3 client\u306eendpoint URL\u3092\u78ba\u8a8d\u3059\u308b | AWS SDK for Python","description":"\u4f5c\u6210\u6e08\u307fboto3 client\u306eendpoint URL\u3092\u78ba\u8a8d\u3059\u308b\u65b9\u6cd5\u3092\u307e\u3068\u3081\u307e\u3059\u3002 \u306f\u3058\u3081\u306b \u74b0\u5883 boto3 client\u306eendpoint URL\u3092\u78ba\u8a8d\u3059\u308b client.meta.endpoint_url client._endpoint.host \u304a\u308f\u308a\u306b \u53c2\u8003 \u306f\u3058\u3081\u306b boto3\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u5ba3\u8a00\u6642\u306b\u306f\u3001endpoint URL\u3092\u72ec\u81ea\u306eURL\u306b\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002 import boto3 client = boto3.client('s3', endpoint_url='http://my.endpoint:4566') \u3053\u308c\u306fLocalStack\u306a\u3069\u3092\u4f7f\u3046\u969b\u306b\u7279\u306b\u4fbf\u5229\u2026","blog_url":"https://www.bioerrorlog.work/","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.bioerrorlog.work%2Fentry%2Fcheck-boto3-client-endpoint\" title=\"boto3 client\u306eendpoint URL\u3092\u78ba\u8a8d\u3059\u308b | AWS SDK for Python - BioErrorLog Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","published":"2021-08-28 15:33:00","blog_title":"BioErrorLog Tech Blog","type":"rich"}