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

Class: Aws::KinesisAnalytics::Types::AddApplicationOutputRequest

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

Overview

Note:

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

{
  application_name: "ApplicationName", # required
  current_application_version_id: 1, # required
  output: { # required
    name: "InAppStreamName", # required
    kinesis_streams_output: {
      resource_arn: "ResourceARN", # required
      role_arn: "RoleARN", # required
    },
    kinesis_firehose_output: {
      resource_arn: "ResourceARN", # required
      role_arn: "RoleARN", # required
    },
    destination_schema: { # required
      record_format_type: "JSON", # accepts JSON, CSV
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

Name of the application to which you want to add the output configuration.

Returns:

  • (String)


166
167
168
169
170
171
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 166

class AddApplicationOutputRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :output)
  include Aws::Structure
end

#current_application_version_idInteger

Version of the application to which you want add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

Returns:

  • (Integer)


166
167
168
169
170
171
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 166

class AddApplicationOutputRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :output)
  include Aws::Structure
end

#outputTypes::Output

An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream), and record the formation to use when writing to the destination.

Returns:



166
167
168
169
170
171
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 166

class AddApplicationOutputRequest < Struct.new(
  :application_name,
  :current_application_version_id,
  :output)
  include Aws::Structure
end