{"enrichment":{"faq":[{"a":"aws-sdk-python-usage teaches you to write Python code with boto3 and botocore for AWS service interaction. Start by creating a session, then instantiate a client or resource for your target service (S3, DynamoDB, etc.). Clients offer low-level API access with full control; resources provide higher-level, object-oriented interfaces. Use clients for fine-grained operations and resources for simpler, more intuitive workflows. The skill covers practical patterns for both approaches across multiple AWS services.","q":"How to use boto3 in Python to interact with AWS services?"},{"a":"aws-sdk-python-usage explains that boto3 clients and resources serve different purposes. Clients are low-level interfaces that map directly to AWS API operations, giving you complete control and access to all service features. Resources are higher-level, object-oriented abstractions that simplify common tasks with cleaner syntax. Choose clients when you need fine-grained control or access to advanced features; use resources for straightforward operations where readability matters more than flexibility.","q":"What's the difference between boto3 client vs resource?"},{"a":"aws-sdk-python-usage covers proper error handling in boto3 code using typed exceptions from botocore. Catch ClientError to handle service-specific failures, and inspect the error code and message to determine the root cause. Use try-except blocks around boto3 calls, and leverage error codes to implement retry logic or fallback strategies. The skill teaches production-ready patterns for distinguishing transient errors from permanent failures and responding appropriately.","q":"How do you handle boto3 ClientError and other exceptions?"},{"a":"aws-sdk-python-usage teaches pagination using boto3's built-in paginators and JMESPath filtering. Create a paginator for your operation (e.g., list_objects for S3), then iterate through pages automatically without manual token management. Paginators handle NextToken logic internally, making it simple to process large result sets efficiently. The skill demonstrates practical pagination patterns for services like S3 and DynamoDB to avoid overwhelming API responses.","q":"How to paginate through large AWS API responses with boto3?"},{"a":"aws-sdk-python-usage covers boto3 client configuration through botocore Config objects. Set retry policies (max_attempts, retry_delay_base), connection timeouts, and read timeouts to match your application's reliability needs. Pass the Config object when creating a client to apply these settings. The skill explains best practices for production code, including exponential backoff strategies and when to adjust defaults for specific workloads.","q":"How do you configure boto3 client retries and timeouts?"},{"a":"aws-sdk-python-usage explains that boto3 sessions manage credentials, region configuration, and client/resource creation. Sessions automatically detect credentials from environment variables, IAM roles, or credential files. You can explicitly create sessions with specific profiles or credentials for multi-account scenarios. The skill covers session management patterns, credential precedence, and best practices for securing AWS access in Python applications.","q":"What are boto3 sessions and how do you manage credentials?"}],"shadow_tags":["low-level-api","object-oriented-interface","service-clients","async-patterns","resource-management","state-waiting","connection-pooling","wire-protocol-debugging","credential-management","batch-operations"],"summary_rewrite":"Learn how to build Python applications with boto3 and botocore, including when to use clients versus resources, session management, error handling with typed exceptions, pagination with JMESPath, waiters, and client configuration. Covers S3, DynamoDB, and other AWS services with practical patterns for production code."},"files":[{"bytes":8202,"path":"skills/core-skills/aws-sdk-python-usage/SKILL.md","sha256":"f4e0bfd87dfcd08d7af75b1b5940071e479f4e5607da4fc45c4c8c3d12ba6d70","url":"https://skillfed.io/files/aws/agent-toolkit-for-aws/aws-sdk-python-usage/eac395af/SKILL.md"}],"id":"aws/agent-toolkit-for-aws/aws-sdk-python-usage","links":{"html":"https://skillfed.io/aws/agent-toolkit-for-aws/aws-sdk-python-usage","md":"https://skillfed.io/aws/agent-toolkit-for-aws/aws-sdk-python-usage.md","repo":"https://github.com/aws/agent-toolkit-for-aws"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":202,"language":"Python","last_updated":"2026-07-27","license":"Apache-2.0","name":"aws-sdk-python-usage","publisher":"aws","stars":2148},"relations":{"similar":[{"id":"itsmostafa/aws-agent-skills/dynamodb"},{"id":"mindmorass/reflex/aws-patterns"},{"id":"itsmostafa/aws-agent-skills/bedrock"},{"id":"itsmostafa/aws-agent-skills/lambda"},{"id":"itsmostafa/aws-agent-skills/iam"},{"id":"giuseppe-trisciuoglio/developer-kit/aws-cli-beast"},{"id":"pluginagentmarketplace/custom-plugin-data-engineer/cloud-platforms"},{"id":"manutej/luxor-claude-marketplace/aws-cloud-architecture"},{"id":"itsmostafa/aws-agent-skills/s3"},{"id":"zebbern/claude-code-guide/aws-penetration-testing"}]},"slug":{"owner":"aws","repo":"agent-toolkit-for-aws","skill":"aws-sdk-python-usage"},"version":"eac395af"}
