Skip to content

Commit

Permalink
Update thing name length to be 128 as per AWS docs (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
disa6302 authored Dec 20, 2023
1 parent d94c0fd commit 530db0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion scripts/generate-iot-credential.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# You can use this script to setup environment variables in the shell which samples run on.
# https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-iot.html

prefix=$1
thingName="producerc_thing"
thingTypeName="producerc_thing_type"
iotPolicyName="producerc_policy"
Expand Down
4 changes: 2 additions & 2 deletions src/include/com/amazonaws/kinesis/video/common/Include.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ extern "C" {
#define MAX_ROLE_ALIAS_LEN 128

/**
* Maximum allowed string length for IoT thing name
* Maximum allowed string length for IoT thing name: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateThing.html
*/
#define MAX_IOT_THING_NAME_LEN MAX_STREAM_NAME_LEN
#define MAX_IOT_THING_NAME_LEN 128

/**
* Maximum allowed request header length
Expand Down

0 comments on commit 530db0f

Please sign in to comment.