Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use Aws\Common\Aws;
- // Create a service builder using a configuration file
- $aws = Aws::factory('/path/to/my_config.json');
- // Get the client from the builder by namespace
- $client = $aws->get('Kinesis');
- $result = $client->putRecords(array(
- // Records is required
- 'Records' => array(
- array(
- // Data is required
- 'Data' => 'string',
- 'ExplicitHashKey' => 'string',
- // PartitionKey is required
- 'PartitionKey' => 'string',
- ),
- // ... repeated
- ),
- // StreamName is required
- 'StreamName' => 'string',
- ));
Add Comment
Please, Sign In to add comment