Amazon Kinesis Data Streams now supports a dry run feature to validate API requests
Amazon Kinesis Data Streams adds a dry run feature for API requests, allowing customers to safely validate permissions before interacting with a stream in production.
Amazon Kinesis Data Streams now supports a dry run feature that allows customers to verify API request success without executing operations. By setting the new 'DryRun' parameter to true in API requests, users can validate permissions before operating streams in production. Previously, customers had to send intentional requests that failed due to service limits to test permissions, an approach that was fragile. When the DryRun parameter is set to true and all checks pass, a DryRunOperationException is returned, confirming that the request would have succeeded without the DryRun parameter. This dry run capability is available for the PutRecord, PutRecords, GetRecords, GetShardIterator, and SubscribeToShard APIs in all AWS regions where Amazon Kinesis Data Streams is offered.
Why it matters
This change is useful for developers and deployment managers using Amazon Kinesis Data Streams, as it allows for safe validation of API request permissions, helping to avoid errors in production environments.