Follow one service client call
How an application configures a service client, uses provider-supplied credentials to call an AWS operation, and handles the returned result or error.
A Python AWS Lambda function uses Boto3, the AWS SDK for Python, to look up an order in DynamoDB. The application creates a service client and calls get_item. The SDK signs and sends the request; the application decides what to do with the outcome.
The diagram splits one client into a request stage and a response stage. If the client cannot prepare or send the request, it can raise an exception without a service response. That path goes straight from the request stage back to the application.
Stage 1 of 6: The application chooses a Region and prepares the table name and primary key. The Lambda runtime makes temporary credentials for the function’s execution role available in the environment.
Next up: Complete the diagram on what you just read.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.