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 data set contents are automatically created.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

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

Returns:

  • (String)


1124
1125
1126
1127
1128
1129
1130
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1124

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

#container_actionTypes::ContainerDatasetAction

Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries.



1124
1125
1126
1127
1128
1129
1130
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1124

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 data set contents.



1124
1125
1126
1127
1128
1129
1130
# File 'gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/types.rb', line 1124

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