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

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

Overview

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

<note markdown=“1”> 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].

</note>

[1]: docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpointString

The endpoint of your OpenSearch domain.

Returns:

  • (String)


7294
7295
7296
7297
7298
7299
7300
7301
7302
# File 'lib/aws-sdk-iot/types.rb', line 7294

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

#idString

The unique identifier for the document you are storing.

Returns:

  • (String)


7294
7295
7296
7297
7298
7299
7300
7301
7302
# File 'lib/aws-sdk-iot/types.rb', line 7294

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

#indexString

The index where you want to store your data.

Returns:

  • (String)


7294
7295
7296
7297
7298
7299
7300
7301
7302
# File 'lib/aws-sdk-iot/types.rb', line 7294

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

#role_arnString

The IAM role ARN that has access to OpenSearch.

Returns:

  • (String)


7294
7295
7296
7297
7298
7299
7300
7301
7302
# File 'lib/aws-sdk-iot/types.rb', line 7294

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

#typeString

The type of document you are storing.

Returns:

  • (String)


7294
7295
7296
7297
7298
7299
7300
7301
7302
# File 'lib/aws-sdk-iot/types.rb', line 7294

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