Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Put Record Step

Prev Next
Step Details
Introduced in Version4.0.0
Last Modified in Version8.9.0
LocationIntegration > Kinesis > Put Record Step

The Put Record step allows individual messages to be added to an AWS Kinesis data stream.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
DataList of Byte Data that will be passed as a record to the stream.List of Byte
Hash KeyOptional string representing the hash key.String
Partition KeyA Unicode string representing the partition key. This is used to group data by shard within a stream and can be a maximum of 256 characters.String
RegionThe region the data stream resides in. This can be found in the ARN for the data stream.AmazonAWSRegion
Sequence NumberOptional string used for the sequence number. The sequence number is unique for each partition key within a shard, and will increase each time the partition key is used.String
Stream NameThe Name of the data stream.String

Outputs

PropertyDescriptionData Type
Done


OutputOutputs shared resulting shard IdString


Example Inputs and Outputs

DataPartition KeyRegionStream NameOutput
SGVsbG8slFRoaXMgaXMgYSB0ZXN0IHN0cmluZw
123456us-east-1Testingshardid-000000000002



Common Errors

The security Token Included in the Request is Invalid

If the token inputted is expired or not declared, the step will cause an error.

To correct this, ensure you are using a token that is active.

Exception Message:


DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Put Record Step 1[PutRecordStep] in flow [Dynamo Steps Flow]: Exception invoking method PutRecordStep on class KinesisSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method PutRecordStep on class KinesisSteps
 ---> Amazon.Kinesis.AmazonKinesisException: The security token included in the request is invalid.
 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown. at Amazon.Runtime.HttpWebRequestMessage.ProcessHttpResponseMessage(HttpResponseMessage responseMessage)
 at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
 at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
 at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   --- End of inner exception stack trace ---



Related Information

Related Article: 

https://documentation.decisions.com/docs/about-aws-kinesis