-
-
18 Jan 2017 22:06:27 UTC
- Distribution: Paws-Kinesis-MemoryCaller
- Module version: 0.09
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (584 / 0 / 0)
- Kwalitee
Bus factor: 0- 96.84% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (13.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors- Keith Broughton C<< <keithbro [AT] cpan.org> >>
-
Keith Broughton
NAME
Paws::Kinesis::MemoryCaller - A Paws Caller with in-memory Kinesis.
SYNOPSIS
my $kinesis = Paws->service('Kinesis', region => 'N/A', caller => Paws::Kinesis::MemoryCaller->new(), credentials => Paws::Credential::Environment->new(), ); # or simply... my $kinesis = Paws::Kinesis::MemoryCaller->new_kinesis(); # Then use $kinesis as you would normally, for example: # Put multiple records on a stream... $kinesis->PutRecords(%args); # Get records from a stream... $kinesis->GetRecords(%args);
DESCRIPTION
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
METHODS
new_kinesis
Shortcut method to create a new Kinesis service instance that uses this caller. Equivalent to:
Paws->service('Kinesis', caller => Paws::Kinesis::MemoryCaller->new(), credentials => Paws::Credential::Environment->new(), region => "N/A", );
LICENSE
Copyright (C) Keith Broughton.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DEVELOPMENT
Author
Keith Broughton
<keithbro [AT] cpan.org>
Bug reports
Please report any bugs or feature requests on GitHub:
https://github.com/keithbro/Paws-Kinesis-MemoryCaller/issues.
Module Install Instructions
To install Paws::Kinesis::MemoryCaller, copy and paste the appropriate command in to your terminal.
cpanm Paws::Kinesis::MemoryCaller
perl -MCPAN -e shell install Paws::Kinesis::MemoryCaller
For more information on module installation, please visit the detailed CPAN module installation guide.