Paws::Kinesis::MemoryCaller - A Paws Caller with in-memory Kinesis.
use Paws; use Paws::Kinesis::MemoryCaller; my $kinesis = Paws->service('Kinesis', region => 'N/A', caller => Paws::Kinesis::MemoryCaller->new(), credentials => Paws::Credential::Environment->new(), ); # Create a Kinesis stream... $kinesis->CreateStream(%args); # Get a shard iterator... $kinesis->GetShardIterator(%args); # Put a record on a stream... $kinesis->PutRecord(%args); # Put multiple records on a stream... $kinesis->PutRecords(%args); # Get records from a stream... $kinesis->GetRecords(%args);
Paws::Kinesis::MemoryCaller implements Paws::Net::CallerRole which simulates its own streams, shards and records in memory.
The following methods have been implemented:
CreateStream
DescribeStream
GetRecords
GetShardIterator
PutRecord
PutRecords
Copyright (C) Keith Broughton.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Keith Broughton <keithbro [AT] cpan.org>
<keithbro [AT] cpan.org>
Please report any bugs or feature requests on GitHub:
https://github.com/keithbro/Paws-Kinesis-MemoryCaller/issues.
To install Paws::Kinesis::MemoryCaller, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::Kinesis::MemoryCaller
CPAN shell
perl -MCPAN -e shell install Paws::Kinesis::MemoryCaller
For more information on module installation, please visit the detailed CPAN module installation guide.