Start with the operation contract
How application code uses an SDK to call an IAM API operation with the required inputs and handle the response or service error.
An API operation is a named action a service exposes. Its contract tells you what inputs to send and what success and error responses to expect. IAM’s GetRole operation reads information about an existing IAM role; it does not assume the role or return credentials.
AWS offers SDKs for many programming languages, with examples and documentation for each SDK. Here a Python application uses the Boto3 SDK to call IAM. The SDK client runs inside the application; it is not a separate network service.
Stage 1 of 4: The application starts with the name of an IAM role it wants to look up.
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.