Amazon Kinesis Producer C SDK
NameLengths

Lengths of different character arrays. More...

Macros

#define MAX_REGION_NAME_LEN   128
 
#define MAX_USER_AGENT_LEN   256
 
#define MAX_CUSTOM_USER_AGENT_LEN   128
 
#define MAX_CUSTOM_USER_AGENT_NAME_POSTFIX_LEN   32
 
#define MAX_ACCESS_KEY_LEN   128
 
#define MAX_SECRET_KEY_LEN   128
 
#define MAX_SESSION_TOKEN_LEN   2048
 
#define MAX_EXPIRATION_LEN   128
 
#define MAX_ROLE_ALIAS_LEN   128
 
#define MAX_IOT_THING_NAME_LEN   128
 
#define MAX_REQUEST_HEADER_NAME_LEN   128
 
#define MAX_REQUEST_HEADER_VALUE_LEN   2048
 
#define MAX_REQUEST_HEADER_STRING_LEN   (MAX_REQUEST_HEADER_NAME_LEN + MAX_REQUEST_HEADER_VALUE_LEN + 3)
 
#define MAX_CREDENTIAL_FILE_LEN   MAX_AUTH_LEN
 
#define CALL_INFO_ERROR_BUFFER_LEN   256
 
#define MAX_JSON_PARAMETER_STRING_LEN   (10 * 1024)
 

Detailed Description

Lengths of different character arrays.

Lengths of some string members of different structures

Macro Definition Documentation

◆ CALL_INFO_ERROR_BUFFER_LEN

#define CALL_INFO_ERROR_BUFFER_LEN   256

Buffer length for the error to be stored in

◆ MAX_ACCESS_KEY_LEN

#define MAX_ACCESS_KEY_LEN   128

◆ MAX_CREDENTIAL_FILE_LEN

#define MAX_CREDENTIAL_FILE_LEN   MAX_AUTH_LEN

Maximum length of the credentials file

◆ MAX_CUSTOM_USER_AGENT_LEN

#define MAX_CUSTOM_USER_AGENT_LEN   128

Maximum allowed custom user agent string length

◆ MAX_CUSTOM_USER_AGENT_NAME_POSTFIX_LEN

#define MAX_CUSTOM_USER_AGENT_NAME_POSTFIX_LEN   32

Maximum allowed custom user agent name postfix string length

◆ MAX_EXPIRATION_LEN

#define MAX_EXPIRATION_LEN   128

Maximum allowed expiration string length

◆ MAX_IOT_THING_NAME_LEN

#define MAX_IOT_THING_NAME_LEN   128

Maximum allowed string length for IoT thing name: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateThing.html

◆ MAX_JSON_PARAMETER_STRING_LEN

#define MAX_JSON_PARAMETER_STRING_LEN   (10 * 1024)

Max parameter JSON string len which will be used for preparing the parameterized strings for the API calls.

◆ MAX_REGION_NAME_LEN

#define MAX_REGION_NAME_LEN   128

Maximum allowed region name length

◆ MAX_REQUEST_HEADER_NAME_LEN

#define MAX_REQUEST_HEADER_NAME_LEN   128

Maximum allowed request header length

◆ MAX_REQUEST_HEADER_STRING_LEN

#define MAX_REQUEST_HEADER_STRING_LEN   (MAX_REQUEST_HEADER_NAME_LEN + MAX_REQUEST_HEADER_VALUE_LEN + 3)

Maximum request header length in chars including the name/value, delimiter and null terminator

◆ MAX_REQUEST_HEADER_VALUE_LEN

#define MAX_REQUEST_HEADER_VALUE_LEN   2048

Maximum allowed header value length

◆ MAX_ROLE_ALIAS_LEN

#define MAX_ROLE_ALIAS_LEN   128

◆ MAX_SECRET_KEY_LEN

#define MAX_SECRET_KEY_LEN   128

Maximum allowed secret access key length

◆ MAX_SESSION_TOKEN_LEN

#define MAX_SESSION_TOKEN_LEN   2048

Maximum allowed session token string length

◆ MAX_USER_AGENT_LEN

#define MAX_USER_AGENT_LEN   256

Maximum allowed user agent string length