Boto3でAssumeRoleするやり方をまとめます。 はじめに Boto3でAssumeRoleする AssumeRole関数の実装 使用例 おわりに 参考 はじめに Boto3を利用したPythonスクリプトで、AssumeRoleしたい状況はよくあります。 その度にAssumeRoleの実装方法を調べなおしているので、今回はその方法をまとめます。 The English translation of this post is here. Boto3でAssumeRoleする AssumeRole関数の実装 さっそくAssumeRoleす...| BioErrorLog Tech Blog
This post explains the differences between the AWS CLI commands s3 cp and s3 sync. Introduction Key Differences Between cp and sync Comparing Descriptions Comparing Command Options Comparing Command Behaviors Simple S3 copy Copy updated S3 Conclusion References Introduction When I wanted to copy obj…| BioErrorLog Tech Blog (en)
This article summarizes how to handle errors in boto3, AWS SDK for Python. Introduction Handling Errors in boto3 Using client.exceptions Using botocore.exceptions Example Code Handling BucketAlreadyExists error in S3 create_bucket Handling NoSuchKey error in S3 get_object Handling NoSuchEntityExcept…| BioErrorLog Tech Blog (en)
You use the AWS SDK for Python (Boto3) to create, configure, and manage AWS services, such as Amazon| boto3.amazonaws.com