Class: Aws::IoT::Types::ElasticsearchAction

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

Overview

Describes an action that writes data to an Amazon OpenSearch Service domain.

The Elasticsearch action can only be used by existing rule actions. To create a new rule action or to update an existing rule action, use the OpenSearch rule action instead. For more information, see OpenSearchAction.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint ⇒ String

The endpoint of your OpenSearch domain.

Returns:

  • (String)


7928
7929
7930
7931
7932
7933
7934
7935
7936
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7928

class ElasticsearchAction < Struct.new(
  :role_arn,
  :endpoint,
  :index,
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The unique identifier for the document you are storing.

Returns:

  • (String)


7928
7929
7930
7931
7932
7933
7934
7935
7936
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7928

class ElasticsearchAction < Struct.new(
  :role_arn,
  :endpoint,
  :index,
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#index ⇒ String

The index where you want to store your data.

Returns:

  • (String)


7928
7929
7930
7931
7932
7933
7934
7935
7936
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7928

class ElasticsearchAction < Struct.new(
  :role_arn,
  :endpoint,
  :index,
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#role_arn ⇒ String

The IAM role ARN that has access to OpenSearch.

Returns:

  • (String)


7928
7929
7930
7931
7932
7933
7934
7935
7936
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7928

class ElasticsearchAction < Struct.new(
  :role_arn,
  :endpoint,
  :index,
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of document you are storing.

Returns:

  • (String)


7928
7929
7930
7931
7932
7933
7934
7935
7936
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7928

class ElasticsearchAction < Struct.new(
  :role_arn,
  :endpoint,
  :index,
  :type,
  :id)
  SENSITIVE = []
  include Aws::Structure
end