You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

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

{
  role_arn: "AwsArn", # required
  endpoint: "ElasticsearchEndpoint", # required
  index: "ElasticsearchIndex", # required
  type: "ElasticsearchType", # required
  id: "ElasticsearchId", # required
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#endpointString

The endpoint of your Elasticsearch domain.

Returns:

  • (String)


1566
1567
1568
1569
1570
1571
1572
1573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1566

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

#idString

The unique identifier for the document you are storing.

Returns:

  • (String)


1566
1567
1568
1569
1570
1571
1572
1573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1566

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

#indexString

The Elasticsearch index where you want to store your data.

Returns:

  • (String)


1566
1567
1568
1569
1570
1571
1572
1573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1566

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

#role_arnString

The IAM role ARN that has access to Elasticsearch.

Returns:

  • (String)


1566
1567
1568
1569
1570
1571
1572
1573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1566

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

#typeString

The type of document you are storing.

Returns:

  • (String)


1566
1567
1568
1569
1570
1571
1572
1573
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 1566

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