Class: Aws::IoTAnalytics::Types::DatasetAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb

Overview

Note:

When making an API call, you may pass DatasetAction data as a hash:

{
  action_name: "DatasetActionName",
  query_action: {
    sql_query: "SqlQuery", # required
    filters: [
      {
        delta_time: {
          offset_seconds: 1, # required
          time_expression: "TimeExpression", # required
        },
      },
    ],
  },
  container_action: {
    image: "Image", # required
    execution_role_arn: "RoleArn", # required
    resource_configuration: { # required
      compute_type: "ACU_1", # required, accepts ACU_1, ACU_2
      volume_size_in_gb: 1, # required
    },
    variables: [
      {
        name: "VariableName", # required
        string_value: "StringValue",
        double_value: 1.0,
        dataset_content_version_value: {
          dataset_name: "DatasetName", # required
        },
        output_file_uri_value: {
          file_name: "OutputFileName", # required
        },
      },
    ],
  },
}

A DatasetAction object that specifies how dataset contents are automatically created.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The name of the dataset action by which dataset contents are automatically created.

Returns:

  • (String)


1301
1302
1303
1304
1305
1306
1307
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1301

class DatasetAction < Struct.new(
  :action_name,
  :query_action,
  :container_action)
  SENSITIVE = []
  include Aws::Structure
end

#container_actionTypes::ContainerDatasetAction

Information that allows the system to run a containerized application to create the dataset contents. The application must be in a Docker container along with any required support libraries.



1301
1302
1303
1304
1305
1306
1307
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1301

class DatasetAction < Struct.new(
  :action_name,
  :query_action,
  :container_action)
  SENSITIVE = []
  include Aws::Structure
end

#query_actionTypes::SqlQueryDatasetAction

An SqlQueryDatasetAction object that uses an SQL query to automatically create dataset contents.



1301
1302
1303
1304
1305
1306
1307
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1301

class DatasetAction < Struct.new(
  :action_name,
  :query_action,
  :container_action)
  SENSITIVE = []
  include Aws::Structure
end