The following API calls are available for the AWS Injector Module and can be executed within any of the available Ignition scopes.

APIs

  • system.cirruslink.aws.createConfig(type, props) → void
    • Parameters
      • String type
        • The type of configuration to create with valid options:

          • Kinesis

          • Dynamo

          • Agents

          • Sets

      • Map props
        • Dictionary of properties making up the configuration with the following keys and datatypes:
          • Kinesis
            • Id (long) 

            • Name (str) 

            • Enabled (bool) 

            • AwsAccessKey (str) 

            • AwsSecretKey (str) 

            • EnableSessionTokens (bool) 

            • RoleARN (str) 

            • SessionDuration (int) 

            • RoleSessionName (str) 

            • StreamName (str) 

            • FirehoseStream (bool) 

            • AwsRegion (str) 

            • AwsSetId (long) (must be included)

            • HistoryEnabled (bool) 

            • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

            • MessageCapacity (int)(deprecated 4.0.19)

            • HistoryMaxAge (int)(added 4.0.19)
            • FlushPeriod (long) 

            • PartitionKeyCount (int) 

            • PartitionKeyPattern (str) 

            • MaxSize (int) 

          • Dynamo
            • Id (long) 

            • Name (str) 

            • Enabled (bool) 

            • AwsAccessKey (str) 

            • AwsSecretKey (str) 

            • TableName (str) 

            • AwsRegion (str) 

            • AwsSetId (long) (must be included)

            • HistoryEnabled (bool) 

            • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

            • MessageCapacity (int)(deprecated 4.0.19)

            • HistoryMaxAge (int)(added 4.0.19)
            • FlushPeriod (long) 

          • Agents
            • Id (long)

            • Name (str) (added 4.0.17)

            • Enabled (bool) (added 4.0.17)

            • TagProvider (str) 

            • TagPath (str) 

            • PushTrigger (str) "EVENT_DRIVEN" or "PERIODIC" 

            • TagPacingPeriod (long) 

            • ConvertUdts (bool) 

            • PublishUdtDefinitions (bool) 

            • OptimizeUdts (bool) 

            • AwsSetId (long)(must be included)

            • GroupId (str) 

            • EdgeNodeId (str) 

            • DeviceId (str) 

            • FilteredProperties (str) 

          • Sets
            • Id (long) 

            • Name (str) 

            • Description (str) 

            • PushPolicy (str) "PUSH_TO_ALL" or "PUSH_TO_ANY"

    • Return Value
      • A map representing the newly created configuration after it has been written to the database. (added 4.0.16)
  • system.cirruslink.aws.readConfig(type) → List
    • Parameters
      • String type
        • The type of configuration to read with valid options:

          • General
          • Kinesis
          • Dynamo
          • Agents
          • Sets
    • Return Value
      • A List of Dictionaries of properties making up the configurations with the following keys and datatypes:
        • General
          • Id (long)

          • Enabled (bool)

        • Kinesis
          • Id (long) 

          • Name (str) 

          • Enabled (bool) 

          • AwsAccessKey (str) 

          • AwsSecretKey (str) 

          • EnableSessionTokens (bool) 

          • RoleARN (str) 

          • SessionDuration (int) 

          • RoleSessionName (str) 

          • StreamName (str) 

          • FirehoseStream (bool) 

          • AwsRegion (str) 

          • AwsSetId (long) 

          • HistoryEnabled (bool) 

          • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

          • MessageCapacity (int)(deprecated 4.0.19)

          • HistoryMaxAge (int)(added 4.0.19)
          • FlushPeriod (long) 

          • PartitionKeyCount (int) 

          • PartitionKeyPattern (str) 

          • MaxSize (int) 

        • Dynamo
          • Id (long) 

          • Name (str) 

          • Enabled (bool) 

          • AwsAccessKey (str) 

          • AwsSecretKey (str) 

          • TableName (str) 

          • AwsRegion (str) 

          • AwsSetId (long) 

          • HistoryEnabled (bool) 

          • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

          • MessageCapacity (int)(deprecated 4.0.19)

          • HistoryMaxAge (int)(added 4.0.19)
          • FlushPeriod (long) 

        • Agents
          • Id (long) 

          • Name (str) (added 4.0.17)
          • Enabled (bool) (added 4.0.17)
          • TagProvider (str) 

          • TagPath (str) 

          • PushTrigger (str) "EVENT_DRIVEN" or "PERIODIC" 

          • TagPacingPeriod (long) 

          • ConvertUdts (bool) 

          • PublishUdtDefinitions (bool) 

          • OptimizeUdts (bool) 

          • AwsSetId (long) 

          • GroupId (str) 

          • EdgeNodeId (str) 

          • DeviceId (str) 

          • FilteredProperties (str) 

        • Sets
          • Id (long) 

          • Name (str) 

          • Description (str) 

          • PushPolicy (str) "PUSH_TO_ALL" or "PUSH_TO_ANY"

  • system.cirruslink.aws.updateConfig(type, id, collisionPolicy, props) → void
    • Parameters
      • String type
        • The type of configuration to update with valid options:

          • General
          • Kinesis
          • Dynamo
          • Agents
          • Sets
      • Long id
        • The ID of the record to update
      • String collisionPolicy
        • "MergeOverwrite" or "Overwrite"
          • "MergeOverwrite" will replace the existing properties in the record ID with only those included in the call
          • "Overwrite" will replace all properties in the record ID with those in the call
      • Map props
        • Dictionary of properties making up the configuration with the following keys and datatypes:
          • General
            • Id (long)

            • Enabled (bool)

          • Kinesis
            • Id (long) 

            • Name (str) 

            • Enabled (bool) 

            • AwsAccessKey (str) 

            • AwsSecretKey (str) 

            • EnableSessionTokens (bool) 

            • RoleARN (str) 

            • SessionDuration (int) 

            • RoleSessionName (str) 

            • StreamName (str) 

            • FirehoseStream (bool) 

            • AwsRegion (str) 

            • AwsSetId (long) 

            • HistoryEnabled (bool) 

            • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

            • MessageCapacity (int)(deprecated 4.0.19)

            • HistoryMaxAge (int)(added 4.0.19)
            • FlushPeriod (long) 

            • PartitionKeyCount (int) 

            • PartitionKeyPattern (str) 

            • MaxSize (int) 

          • Dynamo
            • Id (long) 

            • Name (str) 

            • Enabled (bool) 

            • AwsAccessKey (str) 

            • AwsSecretKey (str) 

            • TableName (str) 

            • AwsRegion (str) 

            • AwsSetId (long) 

            • HistoryEnabled (bool) 

            • HistoryStoreType (str) "In_Memory" or "Disk_Backed" (added 4.0.17)

            • MessageCapacity (int)(deprecated 4.0.19)

            • HistoryMaxAge (int)(added 4.0.19) 

            • FlushPeriod (long) 

          • Agents
            • Id (long) 

            • Name (str) (added 4.0.17)
            • Enabled (bool) (added 4.0.17)
            • TagProvider (str) 

            • TagPath (str) 

            • PushTrigger (str) "EVENT_DRIVEN" or "PERIODIC" 

            • TagPacingPeriod (long) 

            • ConvertUdts (bool) 

            • PublishUdtDefinitions (bool) 

            • OptimizeUdts (bool) 

            • AwsSetId (long) 

            • GroupId (str) 

            • EdgeNodeId (str) 

            • DeviceId (str) 

            • FilteredProperties (str) 

          • Sets
            • Id (long) 

            • Name (str) 

            • Description (str) 

            • PushPolicy (str) "PUSH_TO_ALL" or "PUSH_TO_ANY"

    • Return Value
      • A map representing the updated configuration after it has been written to the database. (added 4.0.16)
  • system.cirruslink.aws.deleteConfig(type, id) → void
    • Parameters
      • String type
        • The type of configuration to delete with valid options:

          • Kinesis
          • Dynamo
          • Agents
          • Sets
      • Long id
        • The ID of the record to delete
    • Return Value
      • True if the record was successfully deleted otherwise False is returned (added 4.0.16)


  • No labels