What is an API endpoint?
The URL where you send API requests. It’s specific to the AWS service and Region. Format: servicename.region.amazonaws.com (Example: connect.us-east-1.amazonaws.com)
What is AWS Signature Version 4 (SigV4)?
The authentication method required for Amazon Connect APIs. It uses IAM credentials to cryptographically sign API requests to prove identity.
What are the 4 required parameters for Amazon Connect API authentication?
Access Key ID | Secret Access Key | AWS Region (e.g. us-east-1) | Service Name (e.g. connect or profile)
What is an Access Key ID?
Part 1 of IAM user credentials. Format: AKIAIOSFODNN7EXAMPLE. Used with secret access key to authenticate API requests.
What is a Secret Access Key?
Part 2 of IAM user credentials. Format: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY. Must be kept secure and used with access key ID.
What is a Session Token in API authentication?
Temporary credential used when assuming an IAM role. Provides same permissions as long-term credentials but expires after a set time.
What is a Postman Collection?
A container that organizes related API requests and shares configuration (like authentication) across all requests within it.
What are the 3 components of an Amazon Connect API URI?
Resource type (/users /queues /contacts) | Instance ID | Resource ID (for specific resource operations)
What does the PUT HTTP method do?
Creates a new resource OR updates an existing resource. Always requires a request body with complete resource data.
What does the DELETE HTTP method do?
Removes/deletes a resource. Only requires the URI - no request body needed.
What does the GET HTTP method do?
Retrieves information about a resource. Returns data about the specified resource without modifying it.
What does the POST HTTP method do?
Creates a new resource or submits data for processing. Requires a request body with the data being sent.
What does a 200 HTTP status code mean?
Success - the request was completed successfully. Resource was created | updated | retrieved | or deleted as requested.
What is a Request Body (or Request Model)?
JSON data sent with PUT or POST requests that contains the information needed to create or update a resource.
What is a Response Body (or Response Model)?
JSON data returned by the API after processing a request. Contains result data like created resource IDs or error messages.
What is the AWS SDK?
Software Development Kit - libraries (boto3 for Python | aws-sdk for Node.js) that simplify making authenticated API calls to AWS services.
Step 1: Setting up Postman - What do you create first?
Create a new Collection to organize your Amazon Connect API requests.
Step 2: Setting up Postman - Where do you configure authentication?
Configure authentication at the Collection level so all requests in that collection inherit the auth settings.
Step 3: Setting up Postman - What auth type do you select?
Select AWS Signature as the authorization type for Amazon Connect APIs.
Step 4: Setting up Postman - What 4 values do you enter for auth?
Access Key ID | Secret Access Key | AWS Region | Service Name (connect)
Step 5: Setting up Postman - How do you build the request URL?
Combine endpoint (connect.region.amazonaws.com) + path (/users/instance-id or /queues/instance-id/queue-id)
Step 6: Setting up Postman - What do you select for the HTTP method?
Choose the method based on operation: GET (retrieve) | PUT (create/update) | POST (create/submit) | DELETE (remove)
Step 7: Setting up Postman - When do you need a request body?
PUT and POST methods require a request body. GET and DELETE do not.
Step 8: Setting up Postman - What do you check after sending a request?
Check the status code (200 = success) and examine the response body for returned data or error messages.