Class: AWS.KinesisAnalyticsV2

Inherits:
AWS.Service show all
Identifier:
kinesisanalyticsv2
API Version:
2018-05-23
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Documentation for Kinesis Data Analytics API v2

Sending a Request Using KinesisAnalyticsV2

var kinesisanalyticsv2 = new AWS.KinesisAnalyticsV2();
kinesisanalyticsv2.addApplicationCloudWatchLoggingOption(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the KinesisAnalyticsV2 object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var kinesisanalyticsv2 = new AWS.KinesisAnalyticsV2({apiVersion: '2018-05-23'});

You can also set the API version globally in AWS.config.apiVersions using the kinesisanalyticsv2 service identifier:

AWS.config.apiVersions = {
  kinesisanalyticsv2: '2018-05-23',
  // other service API versions
};

var kinesisanalyticsv2 = new AWS.KinesisAnalyticsV2();

Version:

  • 2018-05-23

Constructor Summary

Property Summary

Properties inherited from AWS.Service

apiVersions

Method Summary

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.KinesisAnalyticsV2(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a KinesisAnalyticsV2 object

var kinesisanalyticsv2 = new AWS.KinesisAnalyticsV2({apiVersion: '2018-05-23'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com'.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.KinesisAnalyticsV2.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.KinesisAnalyticsV2.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.KinesisAnalyticsV2.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and returns the amount of time to delay in milliseconds. The base option will be ignored if this option is supplied.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean)

    whether to enable endpoint discovery for operations that allow optionally using an endpoint returned by the service. Defaults to 'false'

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

addApplicationCloudWatchLoggingOption(params = {}, callback) ⇒ AWS.Request

Adds an Amazon CloudWatch log stream to monitor application configuration errors.

Examples:

Calling the addApplicationCloudWatchLoggingOption operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CloudWatchLoggingOption: { /* required */
    LogStreamARN: 'STRING_VALUE' /* required */
  },
  CurrentApplicationVersionId: 'NUMBER_VALUE' /* required */
};
kinesisanalyticsv2.addApplicationCloudWatchLoggingOption(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The Kinesis Data Analytics application name.

    • CurrentApplicationVersionId — (Integer)

      The version ID of the Kinesis Data Analytics application. You can retrieve the application version ID using DescribeApplication.

    • CloudWatchLoggingOption — (map)

      Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).

      • LogStreamARNrequired — (String)

        The ARN of the CloudWatch log to receive application messages.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application's ARN.

      • ApplicationVersionId — (Integer)

        The new version ID of the Kinesis Data Analytics application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options.

      • CloudWatchLoggingOptionDescriptions — (Array<map>)

        The descriptions of the current CloudWatch logging options for the Kinesis Data Analytics application.

        • CloudWatchLoggingOptionId — (String)

          The ID of the CloudWatch logging option description.

        • LogStreamARNrequired — (String)

          The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

        • RoleARN — (String)

          The IAM ARN of the role to use to send application messages.

          Note: Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

addApplicationInput(params = {}, callback) ⇒ AWS.Request

Adds a streaming source to your SQL-based Amazon Kinesis Data Analytics application.

You can add a streaming source when you create an application, or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication.

Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.

Service Reference:

Examples:

Calling the addApplicationInput operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  Input: { /* required */
    InputSchema: { /* required */
      RecordColumns: [ /* required */
        {
          Name: 'STRING_VALUE', /* required */
          SqlType: 'STRING_VALUE', /* required */
          Mapping: 'STRING_VALUE'
        },
        /* more items */
      ],
      RecordFormat: { /* required */
        RecordFormatType: JSON | CSV, /* required */
        MappingParameters: {
          CSVMappingParameters: {
            RecordColumnDelimiter: 'STRING_VALUE', /* required */
            RecordRowDelimiter: 'STRING_VALUE' /* required */
          },
          JSONMappingParameters: {
            RecordRowPath: 'STRING_VALUE' /* required */
          }
        }
      },
      RecordEncoding: 'STRING_VALUE'
    },
    NamePrefix: 'STRING_VALUE', /* required */
    InputParallelism: {
      Count: 'NUMBER_VALUE'
    },
    InputProcessingConfiguration: {
      InputLambdaProcessor: { /* required */
        ResourceARN: 'STRING_VALUE' /* required */
      }
    },
    KinesisFirehoseInput: {
      ResourceARN: 'STRING_VALUE' /* required */
    },
    KinesisStreamsInput: {
      ResourceARN: 'STRING_VALUE' /* required */
    }
  }
};
kinesisanalyticsv2.addApplicationInput(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of your existing application to which you want to add the streaming source.

    • CurrentApplicationVersionId — (Integer)

      The current version of your application. You can use the DescribeApplication operation to find the current application version.

    • Input — (map)

      The Input to add.

      • NamePrefixrequired — (String)

        The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.

      • InputProcessingConfiguration — (map)

        The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.

        • InputLambdaProcessorrequired — (map)

          The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.

          • ResourceARNrequired — (String)

            The ARN of the AWS Lambda function that operates on records in the stream.

      • KinesisStreamsInput — (map)

        If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).

        • ResourceARNrequired — (String)

          The ARN of the input Kinesis data stream to read.

      • KinesisFirehoseInput — (map)

        If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.

        • ResourceARNrequired — (String)

          The Amazon Resource Name (ARN) of the delivery stream.

      • InputParallelism — (map)

        Describes the number of in-application streams to create.

        • Count — (Integer)

          The number of in-application streams to create.

      • InputSchemarequired — (map)

        Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

        Also used to describe the format of the reference data source.

        • RecordFormatrequired — (map)

          Specifies the format of the records on the streaming source.

          • RecordFormatTyperequired — (String)

            The type of record format.

            Possible values include:
            • "JSON"
            • "CSV"
          • MappingParameters — (map)

            When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

            • JSONMappingParameters — (map)

              Provides additional mapping information when JSON is the record format on the streaming source.

              • RecordRowPathrequired — (String)

                The path to the top-level parent that contains the records.

            • CSVMappingParameters — (map)

              Provides additional mapping information when the record format uses delimiters (for example, CSV).

              • RecordRowDelimiterrequired — (String)

                The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

              • RecordColumnDelimiterrequired — (String)

                The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

        • RecordEncoding — (String)

          Specifies the encoding of the records in the streaming source. For example, UTF-8.

        • RecordColumnsrequired — (Array<map>)

          A list of RecordColumn objects.

          • Namerequired — (String)

            The name of the column that is created in the in-application input stream or reference table.

          • Mapping — (String)

            A reference to the data element in the streaming input of the reference data source.

          • SqlTyperequired — (String)

            The type of column created in the in-application input stream or reference table.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The Amazon Resource Name (ARN) of the application.

      • ApplicationVersionId — (Integer)

        Provides the current application version.

      • InputDescriptions — (Array<map>)

        Describes the application input configuration.

        • InputId — (String)

          The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.

        • NamePrefix — (String)

          The in-application name prefix.

        • InAppStreamNames — (Array<String>)

          Returns the in-application stream names that are mapped to the stream source.

        • InputProcessingConfigurationDescription — (map)

          The description of the preprocessor that executes on records in this input before the application's code is run.

          • InputLambdaProcessorDescription — (map)

            Provides configuration information about the associated InputLambdaProcessorDescription

            • ResourceARNrequired — (String)

              The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

            • RoleARN — (String)

              The ARN of the IAM role that is used to access the AWS Lambda function.

              Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • KinesisStreamsInputDescription — (map)

          If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).

          • ResourceARNrequired — (String)

            The Amazon Resource Name (ARN) of the Kinesis data stream.

          • RoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • KinesisFirehoseInputDescription — (map)

          If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.

          • ResourceARNrequired — (String)

            The Amazon Resource Name (ARN) of the delivery stream.

          • RoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics assumes to access the stream.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • InputSchema — (map)

          Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

          • RecordFormatrequired — (map)

            Specifies the format of the records on the streaming source.

            • RecordFormatTyperequired — (String)

              The type of record format.

              Possible values include:
              • "JSON"
              • "CSV"
            • MappingParameters — (map)

              When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

              • JSONMappingParameters — (map)

                Provides additional mapping information when JSON is the record format on the streaming source.

                • RecordRowPathrequired — (String)

                  The path to the top-level parent that contains the records.

              • CSVMappingParameters — (map)

                Provides additional mapping information when the record format uses delimiters (for example, CSV).

                • RecordRowDelimiterrequired — (String)

                  The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                • RecordColumnDelimiterrequired — (String)

                  The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

          • RecordEncoding — (String)

            Specifies the encoding of the records in the streaming source. For example, UTF-8.

          • RecordColumnsrequired — (Array<map>)

            A list of RecordColumn objects.

            • Namerequired — (String)

              The name of the column that is created in the in-application input stream or reference table.

            • Mapping — (String)

              A reference to the data element in the streaming input of the reference data source.

            • SqlTyperequired — (String)

              The type of column created in the in-application input stream or reference table.

        • InputParallelism — (map)

          Describes the configured parallelism (number of in-application streams mapped to the streaming source).

          • Count — (Integer)

            The number of in-application streams to create.

        • InputStartingPositionConfiguration — (map)

          The point at which the application is configured to read from the input stream.

          • InputStartingPosition — (String)

            The starting position on the stream.

            • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

            • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

            • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

            Possible values include:
            • "NOW"
            • "TRIM_HORIZON"
            • "LAST_STOPPED_POINT"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

addApplicationInputProcessingConfiguration(params = {}, callback) ⇒ AWS.Request

Adds an InputProcessingConfiguration to an SQL-based Kinesis Data Analytics application. An input processor pre-processes records on the input stream before the application's SQL code executes. Currently, the only input processor available is AWS Lambda.

Examples:

Calling the addApplicationInputProcessingConfiguration operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  InputId: 'STRING_VALUE', /* required */
  InputProcessingConfiguration: { /* required */
    InputLambdaProcessor: { /* required */
      ResourceARN: 'STRING_VALUE' /* required */
    }
  }
};
kinesisanalyticsv2.addApplicationInputProcessingConfiguration(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application to which you want to add the input processing configuration.

    • CurrentApplicationVersionId — (Integer)

      The version of the application to which you want to add the input processing 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.

    • InputId — (String)

      The ID of the input configuration to add the input processing configuration to. You can get a list of the input IDs for an application using the DescribeApplication operation.

    • InputProcessingConfiguration — (map)

      The InputProcessingConfiguration to add to the application.

      • InputLambdaProcessorrequired — (map)

        The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.

        • ResourceARNrequired — (String)

          The ARN of the AWS Lambda function that operates on records in the stream.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The Amazon Resource Name (ARN) of the application.

      • ApplicationVersionId — (Integer)

        Provides the current application version.

      • InputId — (String)

        The input ID that is associated with the application input. This is the ID that Amazon Kinesis Data Analytics assigns to each input configuration that you add to your application.

      • InputProcessingConfigurationDescription — (map)

        The description of the preprocessor that executes on records in this input before the application's code is run.

        • InputLambdaProcessorDescription — (map)

          Provides configuration information about the associated InputLambdaProcessorDescription

          • ResourceARNrequired — (String)

            The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

          • RoleARN — (String)

            The ARN of the IAM role that is used to access the AWS Lambda function.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

addApplicationOutput(params = {}, callback) ⇒ AWS.Request

Adds an external destination to your SQL-based Amazon Kinesis Data Analytics application.

If you want Kinesis Data Analytics to deliver data from an in-application stream within your application to an external destination (such as an Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.

You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors.

Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.

Service Reference:

Examples:

Calling the addApplicationOutput operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  Output: { /* required */
    DestinationSchema: { /* required */
      RecordFormatType: JSON | CSV /* required */
    },
    Name: 'STRING_VALUE', /* required */
    KinesisFirehoseOutput: {
      ResourceARN: 'STRING_VALUE' /* required */
    },
    KinesisStreamsOutput: {
      ResourceARN: 'STRING_VALUE' /* required */
    },
    LambdaOutput: {
      ResourceARN: 'STRING_VALUE' /* required */
    }
  }
};
kinesisanalyticsv2.addApplicationOutput(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application to which you want to add the output configuration.

    • CurrentApplicationVersionId — (Integer)

      The version of the application to which you want to 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.

    • Output — (map)

      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, a Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), and record the formation to use when writing to the destination.

      • Namerequired — (String)

        The name of the in-application stream.

      • KinesisStreamsOutput — (map)

        Identifies an Amazon Kinesis data stream as the destination.

        • ResourceARNrequired — (String)

          The ARN of the destination Kinesis data stream to write to.

      • KinesisFirehoseOutput — (map)

        Identifies an Amazon Kinesis Data Firehose delivery stream as the destination.

        • ResourceARNrequired — (String)

          The ARN of the destination delivery stream to write to.

      • LambdaOutput — (map)

        Identifies an AWS Lambda function as the destination.

        • ResourceARNrequired — (String)

          The Amazon Resource Name (ARN) of the destination Lambda function to write to.

      • DestinationSchemarequired — (map)

        Describes the data format when records are written to the destination.

        • RecordFormatTyperequired — (String)

          Specifies the format of the records on the output stream.

          Possible values include:
          • "JSON"
          • "CSV"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application Amazon Resource Name (ARN).

      • ApplicationVersionId — (Integer)

        The updated application version ID. Kinesis Data Analytics increments this ID when the application is updated.

      • OutputDescriptions — (Array<map>)

        Describes the application output configuration. For more information, see Configuring Application Output.

        • OutputId — (String)

          A unique identifier for the output configuration.

        • Name — (String)

          The name of the in-application stream that is configured as output.

        • KinesisStreamsOutputDescription — (map)

          Describes the Kinesis data stream that is configured as the destination where output is written.

          • ResourceARNrequired — (String)

            The Amazon Resource Name (ARN) of the Kinesis data stream.

          • RoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • KinesisFirehoseOutputDescription — (map)

          Describes the Kinesis Data Firehose delivery stream that is configured as the destination where output is written.

          • ResourceARNrequired — (String)

            The Amazon Resource Name (ARN) of the delivery stream.

          • RoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • LambdaOutputDescription — (map)

          Describes the Lambda function that is configured as the destination where output is written.

          • ResourceARNrequired — (String)

            The Amazon Resource Name (ARN) of the destination Lambda function.

          • RoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics can assume to write to the destination function.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • DestinationSchema — (map)

          The data format used for writing data to the destination.

          • RecordFormatTyperequired — (String)

            Specifies the format of the records on the output stream.

            Possible values include:
            • "JSON"
            • "CSV"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

addApplicationReferenceDataSource(params = {}, callback) ⇒ AWS.Request

Adds a reference data source to an existing SQL-based Amazon Kinesis Data Analytics application.

Kinesis Data Analytics reads reference data (that is, an Amazon S3 object) and creates an in-application table within your application. In the request, you provide the source (S3 bucket name and object key name), name of the in-application table to create, and the necessary mapping information that describes how data in an Amazon S3 object maps to columns in the resulting in-application table.

Examples:

Calling the addApplicationReferenceDataSource operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  ReferenceDataSource: { /* required */
    ReferenceSchema: { /* required */
      RecordColumns: [ /* required */
        {
          Name: 'STRING_VALUE', /* required */
          SqlType: 'STRING_VALUE', /* required */
          Mapping: 'STRING_VALUE'
        },
        /* more items */
      ],
      RecordFormat: { /* required */
        RecordFormatType: JSON | CSV, /* required */
        MappingParameters: {
          CSVMappingParameters: {
            RecordColumnDelimiter: 'STRING_VALUE', /* required */
            RecordRowDelimiter: 'STRING_VALUE' /* required */
          },
          JSONMappingParameters: {
            RecordRowPath: 'STRING_VALUE' /* required */
          }
        }
      },
      RecordEncoding: 'STRING_VALUE'
    },
    TableName: 'STRING_VALUE', /* required */
    S3ReferenceDataSource: {
      BucketARN: 'STRING_VALUE',
      FileKey: 'STRING_VALUE'
    }
  }
};
kinesisanalyticsv2.addApplicationReferenceDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application.

    • CurrentApplicationVersionId — (Integer)

      The version of the application for which you are adding the reference data source. 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.

    • ReferenceDataSource — (map)

      The reference data source can be an object in your Amazon S3 bucket. Kinesis Data Analytics reads the object and copies the data into the in-application table that is created. You provide an S3 bucket, object key name, and the resulting in-application table that is created.

      • TableNamerequired — (String)

        The name of the in-application table to create.

      • S3ReferenceDataSource — (map)

        Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

        • BucketARN — (String)

          The Amazon Resource Name (ARN) of the S3 bucket.

        • FileKey — (String)

          The object key name containing the reference data.

      • ReferenceSchemarequired — (map)

        Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

        • RecordFormatrequired — (map)

          Specifies the format of the records on the streaming source.

          • RecordFormatTyperequired — (String)

            The type of record format.

            Possible values include:
            • "JSON"
            • "CSV"
          • MappingParameters — (map)

            When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

            • JSONMappingParameters — (map)

              Provides additional mapping information when JSON is the record format on the streaming source.

              • RecordRowPathrequired — (String)

                The path to the top-level parent that contains the records.

            • CSVMappingParameters — (map)

              Provides additional mapping information when the record format uses delimiters (for example, CSV).

              • RecordRowDelimiterrequired — (String)

                The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

              • RecordColumnDelimiterrequired — (String)

                The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

        • RecordEncoding — (String)

          Specifies the encoding of the records in the streaming source. For example, UTF-8.

        • RecordColumnsrequired — (Array<map>)

          A list of RecordColumn objects.

          • Namerequired — (String)

            The name of the column that is created in the in-application input stream or reference table.

          • Mapping — (String)

            A reference to the data element in the streaming input of the reference data source.

          • SqlTyperequired — (String)

            The type of column created in the in-application input stream or reference table.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application Amazon Resource Name (ARN).

      • ApplicationVersionId — (Integer)

        The updated application version ID. Amazon Kinesis Data Analytics increments this ID when the application is updated.

      • ReferenceDataSourceDescriptions — (Array<map>)

        Describes reference data sources configured for the application.

        • ReferenceIdrequired — (String)

          The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.

        • TableNamerequired — (String)

          The in-application table name created by the specific reference data source configuration.

        • S3ReferenceDataSourceDescriptionrequired — (map)

          Provides the Amazon S3 bucket name, the object key name that contains the reference data.

          • BucketARNrequired — (String)

            The Amazon Resource Name (ARN) of the S3 bucket.

          • FileKeyrequired — (String)

            Amazon S3 object key name.

          • ReferenceRoleARN — (String)

            The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.

            Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
        • ReferenceSchema — (map)

          Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

          • RecordFormatrequired — (map)

            Specifies the format of the records on the streaming source.

            • RecordFormatTyperequired — (String)

              The type of record format.

              Possible values include:
              • "JSON"
              • "CSV"
            • MappingParameters — (map)

              When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

              • JSONMappingParameters — (map)

                Provides additional mapping information when JSON is the record format on the streaming source.

                • RecordRowPathrequired — (String)

                  The path to the top-level parent that contains the records.

              • CSVMappingParameters — (map)

                Provides additional mapping information when the record format uses delimiters (for example, CSV).

                • RecordRowDelimiterrequired — (String)

                  The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                • RecordColumnDelimiterrequired — (String)

                  The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

          • RecordEncoding — (String)

            Specifies the encoding of the records in the streaming source. For example, UTF-8.

          • RecordColumnsrequired — (Array<map>)

            A list of RecordColumn objects.

            • Namerequired — (String)

              The name of the column that is created in the in-application input stream or reference table.

            • Mapping — (String)

              A reference to the data element in the streaming input of the reference data source.

            • SqlTyperequired — (String)

              The type of column created in the in-application input stream or reference table.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createApplication(params = {}, callback) ⇒ AWS.Request

Creates an Amazon Kinesis Data Analytics application. For information about creating a Kinesis Data Analytics application, see Creating an Application.

Note: SQL is not enabled for this private beta release. Using SQL parameters (such as SqlApplicationConfiguration) will result in an error.

Service Reference:

Examples:

Calling the createApplication operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  RuntimeEnvironment: SQL-1_0 | FLINK-1_6, /* required */
  ServiceExecutionRole: 'STRING_VALUE', /* required */
  ApplicationConfiguration: {
    ApplicationCodeConfiguration: { /* required */
      CodeContentType: PLAINTEXT | ZIPFILE, /* required */
      CodeContent: {
        S3ContentLocation: {
          BucketARN: 'STRING_VALUE', /* required */
          FileKey: 'STRING_VALUE', /* required */
          ObjectVersion: 'STRING_VALUE'
        },
        TextContent: 'STRING_VALUE',
        ZipFileContent: new Buffer('...') || 'STRING_VALUE' /* Strings will be Base-64 encoded on your behalf */
      }
    },
    ApplicationSnapshotConfiguration: {
      SnapshotsEnabled: true || false /* required */
    },
    EnvironmentProperties: {
      PropertyGroups: [ /* required */
        {
          PropertyGroupId: 'STRING_VALUE', /* required */
          PropertyMap: { /* required */
            '<PropertyKey>': 'STRING_VALUE',
            /* '<PropertyKey>': ... */
          }
        },
        /* more items */
      ]
    },
    FlinkApplicationConfiguration: {
      CheckpointConfiguration: {
        ConfigurationType: DEFAULT | CUSTOM, /* required */
        CheckpointInterval: 'NUMBER_VALUE',
        CheckpointingEnabled: true || false,
        MinPauseBetweenCheckpoints: 'NUMBER_VALUE'
      },
      MonitoringConfiguration: {
        ConfigurationType: DEFAULT | CUSTOM, /* required */
        LogLevel: INFO | WARN | ERROR | DEBUG,
        MetricsLevel: APPLICATION | TASK | OPERATOR | PARALLELISM
      },
      ParallelismConfiguration: {
        ConfigurationType: DEFAULT | CUSTOM, /* required */
        AutoScalingEnabled: true || false,
        Parallelism: 'NUMBER_VALUE',
        ParallelismPerKPU: 'NUMBER_VALUE'
      }
    },
    SqlApplicationConfiguration: {
      Inputs: [
        {
          InputSchema: { /* required */
            RecordColumns: [ /* required */
              {
                Name: 'STRING_VALUE', /* required */
                SqlType: 'STRING_VALUE', /* required */
                Mapping: 'STRING_VALUE'
              },
              /* more items */
            ],
            RecordFormat: { /* required */
              RecordFormatType: JSON | CSV, /* required */
              MappingParameters: {
                CSVMappingParameters: {
                  RecordColumnDelimiter: 'STRING_VALUE', /* required */
                  RecordRowDelimiter: 'STRING_VALUE' /* required */
                },
                JSONMappingParameters: {
                  RecordRowPath: 'STRING_VALUE' /* required */
                }
              }
            },
            RecordEncoding: 'STRING_VALUE'
          },
          NamePrefix: 'STRING_VALUE', /* required */
          InputParallelism: {
            Count: 'NUMBER_VALUE'
          },
          InputProcessingConfiguration: {
            InputLambdaProcessor: { /* required */
              ResourceARN: 'STRING_VALUE' /* required */
            }
          },
          KinesisFirehoseInput: {
            ResourceARN: 'STRING_VALUE' /* required */
          },
          KinesisStreamsInput: {
            ResourceARN: 'STRING_VALUE' /* required */
          }
        },
        /* more items */
      ],
      Outputs: [
        {
          DestinationSchema: { /* required */
            RecordFormatType: JSON | CSV /* required */
          },
          Name: 'STRING_VALUE', /* required */
          KinesisFirehoseOutput: {
            ResourceARN: 'STRING_VALUE' /* required */
          },
          KinesisStreamsOutput: {
            ResourceARN: 'STRING_VALUE' /* required */
          },
          LambdaOutput: {
            ResourceARN: 'STRING_VALUE' /* required */
          }
        },
        /* more items */
      ],
      ReferenceDataSources: [
        {
          ReferenceSchema: { /* required */
            RecordColumns: [ /* required */
              {
                Name: 'STRING_VALUE', /* required */
                SqlType: 'STRING_VALUE', /* required */
                Mapping: 'STRING_VALUE'
              },
              /* more items */
            ],
            RecordFormat: { /* required */
              RecordFormatType: JSON | CSV, /* required */
              MappingParameters: {
                CSVMappingParameters: {
                  RecordColumnDelimiter: 'STRING_VALUE', /* required */
                  RecordRowDelimiter: 'STRING_VALUE' /* required */
                },
                JSONMappingParameters: {
                  RecordRowPath: 'STRING_VALUE' /* required */
                }
              }
            },
            RecordEncoding: 'STRING_VALUE'
          },
          TableName: 'STRING_VALUE', /* required */
          S3ReferenceDataSource: {
            BucketARN: 'STRING_VALUE',
            FileKey: 'STRING_VALUE'
          }
        },
        /* more items */
      ]
    }
  },
  ApplicationDescription: 'STRING_VALUE',
  CloudWatchLoggingOptions: [
    {
      LogStreamARN: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
kinesisanalyticsv2.createApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of your application (for example, sample-app).

    • ApplicationDescription — (String)

      A summary description of the application.

    • RuntimeEnvironment — (String)

      The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5).

      Possible values include:
      • "SQL-1_0"
      • "FLINK-1_6"
    • ServiceExecutionRole — (String)

      The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.

    • ApplicationConfiguration — (map)

      Use this parameter to configure the application.

      • SqlApplicationConfiguration — (map)

        The creation and update parameters for an SQL-based Kinesis Data Analytics application.

        • Inputs — (Array<map>)

          The array of Input objects describing the input streams used by the application.

          • NamePrefixrequired — (String)

            The name prefix to use when creating an in-application stream. Suppose that you specify a prefix "MyInApplicationStream." Kinesis Data Analytics then creates one or more (as per the InputParallelism count you specified) in-application streams with the names "MyInApplicationStream_001," "MyInApplicationStream_002," and so on.

          • InputProcessingConfiguration — (map)

            The InputProcessingConfiguration for the input. An input processor transforms records as they are received from the stream, before the application's SQL code executes. Currently, the only input processing configuration available is InputLambdaProcessor.

            • InputLambdaProcessorrequired — (map)

              The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.

              • ResourceARNrequired — (String)

                The ARN of the AWS Lambda function that operates on records in the stream.

          • KinesisStreamsInput — (map)

            If the streaming source is an Amazon Kinesis data stream, identifies the stream's Amazon Resource Name (ARN).

            • ResourceARNrequired — (String)

              The ARN of the input Kinesis data stream to read.

          • KinesisFirehoseInput — (map)

            If the streaming source is an Amazon Kinesis Data Firehose delivery stream, identifies the delivery stream's ARN.

            • ResourceARNrequired — (String)

              The Amazon Resource Name (ARN) of the delivery stream.

          • InputParallelism — (map)

            Describes the number of in-application streams to create.

            • Count — (Integer)

              The number of in-application streams to create.

          • InputSchemarequired — (map)

            Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

            Also used to describe the format of the reference data source.

            • RecordFormatrequired — (map)

              Specifies the format of the records on the streaming source.

              • RecordFormatTyperequired — (String)

                The type of record format.

                Possible values include:
                • "JSON"
                • "CSV"
              • MappingParameters — (map)

                When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                • JSONMappingParameters — (map)

                  Provides additional mapping information when JSON is the record format on the streaming source.

                  • RecordRowPathrequired — (String)

                    The path to the top-level parent that contains the records.

                • CSVMappingParameters — (map)

                  Provides additional mapping information when the record format uses delimiters (for example, CSV).

                  • RecordRowDelimiterrequired — (String)

                    The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                  • RecordColumnDelimiterrequired — (String)

                    The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

            • RecordEncoding — (String)

              Specifies the encoding of the records in the streaming source. For example, UTF-8.

            • RecordColumnsrequired — (Array<map>)

              A list of RecordColumn objects.

              • Namerequired — (String)

                The name of the column that is created in the in-application input stream or reference table.

              • Mapping — (String)

                A reference to the data element in the streaming input of the reference data source.

              • SqlTyperequired — (String)

                The type of column created in the in-application input stream or reference table.

        • Outputs — (Array<map>)

          The array of Output objects describing the destination streams used by the application.

          • Namerequired — (String)

            The name of the in-application stream.

          • KinesisStreamsOutput — (map)

            Identifies an Amazon Kinesis data stream as the destination.

            • ResourceARNrequired — (String)

              The ARN of the destination Kinesis data stream to write to.

          • KinesisFirehoseOutput — (map)

            Identifies an Amazon Kinesis Data Firehose delivery stream as the destination.

            • ResourceARNrequired — (String)

              The ARN of the destination delivery stream to write to.

          • LambdaOutput — (map)

            Identifies an AWS Lambda function as the destination.

            • ResourceARNrequired — (String)

              The Amazon Resource Name (ARN) of the destination Lambda function to write to.

          • DestinationSchemarequired — (map)

            Describes the data format when records are written to the destination.

            • RecordFormatTyperequired — (String)

              Specifies the format of the records on the output stream.

              Possible values include:
              • "JSON"
              • "CSV"
        • ReferenceDataSources — (Array<map>)

          The array of ReferenceDataSource objects describing the reference data sources used by the application.

          • TableNamerequired — (String)

            The name of the in-application table to create.

          • S3ReferenceDataSource — (map)

            Identifies the S3 bucket and object that contains the reference data. A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.

            • BucketARN — (String)

              The Amazon Resource Name (ARN) of the S3 bucket.

            • FileKey — (String)

              The object key name containing the reference data.

          • ReferenceSchemarequired — (map)

            Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

            • RecordFormatrequired — (map)

              Specifies the format of the records on the streaming source.

              • RecordFormatTyperequired — (String)

                The type of record format.

                Possible values include:
                • "JSON"
                • "CSV"
              • MappingParameters — (map)

                When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                • JSONMappingParameters — (map)

                  Provides additional mapping information when JSON is the record format on the streaming source.

                  • RecordRowPathrequired — (String)

                    The path to the top-level parent that contains the records.

                • CSVMappingParameters — (map)

                  Provides additional mapping information when the record format uses delimiters (for example, CSV).

                  • RecordRowDelimiterrequired — (String)

                    The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                  • RecordColumnDelimiterrequired — (String)

                    The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

            • RecordEncoding — (String)

              Specifies the encoding of the records in the streaming source. For example, UTF-8.

            • RecordColumnsrequired — (Array<map>)

              A list of RecordColumn objects.

              • Namerequired — (String)

                The name of the column that is created in the in-application input stream or reference table.

              • Mapping — (String)

                A reference to the data element in the streaming input of the reference data source.

              • SqlTyperequired — (String)

                The type of column created in the in-application input stream or reference table.

      • FlinkApplicationConfiguration — (map)

        The creation and update parameters for a Java-based Kinesis Data Analytics application.

        • CheckpointConfiguration — (map)

          Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.

          • ConfigurationTyperequired — (String)

            Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • CheckpointingEnabled — (Boolean)

            Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.

          • CheckpointInterval — (Integer)

            Describes the interval in milliseconds between checkpoint operations.

          • MinPauseBetweenCheckpoints — (Integer)

            Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.

        • MonitoringConfiguration — (map)

          Describes configuration parameters for Amazon CloudWatch logging for an application.

          • ConfigurationTyperequired — (String)

            Describes whether to use the default CloudWatch logging configuration for an application.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • MetricsLevel — (String)

            Describes the granularity of the CloudWatch Logs for an application.

            Possible values include:
            • "APPLICATION"
            • "TASK"
            • "OPERATOR"
            • "PARALLELISM"
          • LogLevel — (String)

            Describes the verbosity of the CloudWatch Logs for an application.

            Possible values include:
            • "INFO"
            • "WARN"
            • "ERROR"
            • "DEBUG"
        • ParallelismConfiguration — (map)

          Describes parameters for how an application executes multiple tasks simultaneously.

          • ConfigurationTyperequired — (String)

            Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • Parallelism — (Integer)

            Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform. The Kinesis Data Analytics service can increase this number automatically if ParallelismConfiguration$AutoScalingEnabled is set to true.

          • ParallelismPerKPU — (Integer)

            Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application. For more information about KPUs, see Amazon Kinesis Data Analytics Pricing.

          • AutoScalingEnabled — (Boolean)

            Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.

      • EnvironmentProperties — (map)

        Describes execution properties for a Java-based Kinesis Data Analytics application.

        • PropertyGroupsrequired — (Array<map>)

          Describes the execution property groups.

          • PropertyGroupIdrequired — (String)

            Describes the key of an application execution property key-value pair.

          • PropertyMaprequired — (map<String>)

            Describes the value of an application execution property key-value pair.

      • ApplicationCodeConfigurationrequired — (map)

        The code location and type parameters for a Java-based Kinesis Data Analytics application.

        • CodeContent — (map)

          The location and type of the application code.

          • TextContent — (String)

            The text-format code for a Java-based Kinesis Data Analytics application.

          • ZipFileContent — (Buffer, Typed Array, Blob, String)

            The zip-format code for a Java-based Kinesis Data Analytics application.

          • S3ContentLocation — (map)

            Information about the Amazon S3 bucket containing the application code.

            • BucketARNrequired — (String)

              The Amazon Resource Name (ARN) for the S3 bucket containing the application code.

            • FileKeyrequired — (String)

              The file key for the object containing the application code.

            • ObjectVersion — (String)

              The version of the object containing the application code.

        • CodeContentTyperequired — (String)

          Specifies whether the code content is in text or zip format.

          Possible values include:
          • "PLAINTEXT"
          • "ZIPFILE"
      • ApplicationSnapshotConfiguration — (map)

        Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

        • SnapshotsEnabledrequired — (Boolean)

          Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

    • CloudWatchLoggingOptions — (Array<map>)

      Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.

      • LogStreamARNrequired — (String)

        The ARN of the CloudWatch log to receive application messages.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationDetail — (map)

        In response to your CreateApplication request, Kinesis Data Analytics returns a response with details of the application it created.

        • ApplicationARNrequired — (String)

          The ARN of the application.

        • ApplicationDescription — (String)

          The description of the application.

        • ApplicationNamerequired — (String)

          The name of the application.

        • RuntimeEnvironmentrequired — (String)

          The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5).

          Possible values include:
          • "SQL-1_0"
          • "FLINK-1_6"
        • ServiceExecutionRole — (String)

          Specifies the IAM role that the application uses to access external resources.

        • ApplicationStatusrequired — (String)

          The status of the application.

          Possible values include:
          • "DELETING"
          • "STARTING"
          • "STOPPING"
          • "READY"
          • "RUNNING"
          • "UPDATING"
        • ApplicationVersionIdrequired — (Integer)

          Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.

        • CreateTimestamp — (Date)

          The current timestamp when the application was created.

        • LastUpdateTimestamp — (Date)

          The current timestamp when the application was last updated.

        • ApplicationConfigurationDescription — (map)

          Provides details about the application's SQL or Java code and starting parameters.

          • SqlApplicationConfigurationDescription — (map)

            The details about inputs, outputs, and reference data sources for an SQL-based Kinesis Data Analytics application.

            • InputDescriptions — (Array<map>)

              The array of InputDescription objects describing the input streams used by the application.

              • InputId — (String)

                The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.

              • NamePrefix — (String)

                The in-application name prefix.

              • InAppStreamNames — (Array<String>)

                Returns the in-application stream names that are mapped to the stream source.

              • InputProcessingConfigurationDescription — (map)

                The description of the preprocessor that executes on records in this input before the application's code is run.

                • InputLambdaProcessorDescription — (map)

                  Provides configuration information about the associated InputLambdaProcessorDescription

                  • ResourceARNrequired — (String)

                    The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

                  • RoleARN — (String)

                    The ARN of the IAM role that is used to access the AWS Lambda function.

                    Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisStreamsInputDescription — (map)

                If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseInputDescription — (map)

                If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics assumes to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • InputSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

              • InputParallelism — (map)

                Describes the configured parallelism (number of in-application streams mapped to the streaming source).

                • Count — (Integer)

                  The number of in-application streams to create.

              • InputStartingPositionConfiguration — (map)

                The point at which the application is configured to read from the input stream.

                • InputStartingPosition — (String)

                  The starting position on the stream.

                  • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

                  • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

                  • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

                  Possible values include:
                  • "NOW"
                  • "TRIM_HORIZON"
                  • "LAST_STOPPED_POINT"
            • OutputDescriptions — (Array<map>)

              The array of OutputDescription objects describing the destination streams used by the application.

              • OutputId — (String)

                A unique identifier for the output configuration.

              • Name — (String)

                The name of the in-application stream that is configured as output.

              • KinesisStreamsOutputDescription — (map)

                Describes the Kinesis data stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseOutputDescription — (map)

                Describes the Kinesis Data Firehose delivery stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • LambdaOutputDescription — (map)

                Describes the Lambda function that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the destination Lambda function.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to write to the destination function.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • DestinationSchema — (map)

                The data format used for writing data to the destination.

                • RecordFormatTyperequired — (String)

                  Specifies the format of the records on the output stream.

                  Possible values include:
                  • "JSON"
                  • "CSV"
            • ReferenceDataSourceDescriptions — (Array<map>)

              The array of ReferenceDataSourceDescription objects describing the reference data sources used by the application.

              • ReferenceIdrequired — (String)

                The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.

              • TableNamerequired — (String)

                The in-application table name created by the specific reference data source configuration.

              • S3ReferenceDataSourceDescriptionrequired — (map)

                Provides the Amazon S3 bucket name, the object key name that contains the reference data.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) of the S3 bucket.

                • FileKeyrequired — (String)

                  Amazon S3 object key name.

                • ReferenceRoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • ReferenceSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

          • ApplicationCodeConfigurationDescription — (map)

            The details about the application code for a Java-based Kinesis Data Analytics application.

            • CodeContentTyperequired — (String)

              Specifies whether the code content is in text or zip format.

              Possible values include:
              • "PLAINTEXT"
              • "ZIPFILE"
            • CodeContentDescription — (map)

              Describes details about the location and format of the application code.

              • TextContent — (String)

                The text-format code

              • CodeMD5 — (String)

                The checksum that can be used to validate zip-format code.

              • CodeSize — (Integer)

                The size in bytes of the application code. Can be used to validate zip-format code.

              • S3ApplicationCodeLocationDescription — (map)

                The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) for the S3 bucket containing the application code.

                • FileKeyrequired — (String)

                  The file key for the object containing the application code.

                • ObjectVersion — (String)

                  The version of the object containing the application code.

          • RunConfigurationDescription — (map)

            The details about the starting properties for a Kinesis Data Analytics application.

            • ApplicationRestoreConfigurationDescription — (map)

              Describes the restore behavior of a restarting application.

              • ApplicationRestoreTyperequired — (String)

                Specifies how the application should be restored.

                Possible values include:
                • "SKIP_RESTORE_FROM_SNAPSHOT"
                • "RESTORE_FROM_LATEST_SNAPSHOT"
                • "RESTORE_FROM_CUSTOM_SNAPSHOT"
              • SnapshotName — (String)

                The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.

          • FlinkApplicationConfigurationDescription — (map)

            The details about a Java-based Kinesis Data Analytics application.

            • CheckpointConfigurationDescription — (map)

              Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance.

              • ConfigurationType — (String)

                Describes whether the application uses the default checkpointing behavior in Kinesis Data Analytics.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • CheckpointingEnabled — (Boolean)

                Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.

              • CheckpointInterval — (Integer)

                Describes the interval in milliseconds between checkpoint operations.

              • MinPauseBetweenCheckpoints — (Integer)

                Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

            • MonitoringConfigurationDescription — (map)

              Describes configuration parameters for Amazon CloudWatch logging for an application.

              • ConfigurationType — (String)

                Describes whether to use the default CloudWatch logging configuration for an application.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • MetricsLevel — (String)

                Describes the granularity of the CloudWatch Logs for an application.

                Possible values include:
                • "APPLICATION"
                • "TASK"
                • "OPERATOR"
                • "PARALLELISM"
              • LogLevel — (String)

                Describes the verbosity of the CloudWatch Logs for an application.

                Possible values include:
                • "INFO"
                • "WARN"
                • "ERROR"
                • "DEBUG"
            • ParallelismConfigurationDescription — (map)

              Describes parameters for how an application executes multiple tasks simultaneously.

              • ConfigurationType — (String)

                Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • Parallelism — (Integer)

                Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • ParallelismPerKPU — (Integer)

                Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.

              • CurrentParallelism — (Integer)

                Describes the current number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • AutoScalingEnabled — (Boolean)

                Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.

            • JobPlanDescription — (String)

              The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation.

          • EnvironmentPropertyDescriptions — (map)

            Describes execution properties for a Java-based Kinesis Data Analytics application.

            • PropertyGroupDescriptions — (Array<map>)

              Describes the execution property groups.

              • PropertyGroupIdrequired — (String)

                Describes the key of an application execution property key-value pair.

              • PropertyMaprequired — (map<String>)

                Describes the value of an application execution property key-value pair.

          • ApplicationSnapshotConfigurationDescription — (map)

            Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

            • SnapshotsEnabledrequired — (Boolean)

              Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

        • CloudWatchLoggingOptionDescriptions — (Array<map>)

          Describes the application Amazon CloudWatch logging options.

          • CloudWatchLoggingOptionId — (String)

            The ID of the CloudWatch logging option description.

          • LogStreamARNrequired — (String)

            The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

          • RoleARN — (String)

            The IAM ARN of the role to use to send application messages.

            Note: Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createApplicationSnapshot(params = {}, callback) ⇒ AWS.Request

Creates a snapshot of the application's state data.

Service Reference:

Examples:

Calling the createApplicationSnapshot operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  SnapshotName: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.createApplicationSnapshot(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application

    • SnapshotName — (String)

      An identifier for the application snapshot.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplication(params = {}, callback) ⇒ AWS.Request

Deletes the specified application. Kinesis Data Analytics halts application execution and deletes the application.

Service Reference:

Examples:

Calling the deleteApplication operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CreateTimestamp: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789 /* required */
};
kinesisanalyticsv2.deleteApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application to delete.

    • CreateTimestamp — (Date)

      Use the DescribeApplication operation to get this value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplicationCloudWatchLoggingOption(params = {}, callback) ⇒ AWS.Request

Deletes an Amazon CloudWatch log stream from an Amazon Kinesis Data Analytics application.

Examples:

Calling the deleteApplicationCloudWatchLoggingOption operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CloudWatchLoggingOptionId: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE' /* required */
};
kinesisanalyticsv2.deleteApplicationCloudWatchLoggingOption(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The application name.

    • CurrentApplicationVersionId — (Integer)

      The version ID of the application. You can retrieve the application version ID using DescribeApplication.

    • CloudWatchLoggingOptionId — (String)

      The CloudWatchLoggingOptionId of the Amazon CloudWatch logging option to delete. You can get the CloudWatchLoggingOptionId by using the DescribeApplication operation.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application's Amazon Resource Name (ARN).

      • ApplicationVersionId — (Integer)

        The version ID of the application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options.

      • CloudWatchLoggingOptionDescriptions — (Array<map>)

        The descriptions of the remaining CloudWatch logging options for the application.

        • CloudWatchLoggingOptionId — (String)

          The ID of the CloudWatch logging option description.

        • LogStreamARNrequired — (String)

          The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

        • RoleARN — (String)

          The IAM ARN of the role to use to send application messages.

          Note: Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplicationInputProcessingConfiguration(params = {}, callback) ⇒ AWS.Request

Examples:

Calling the deleteApplicationInputProcessingConfiguration operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  InputId: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.deleteApplicationInputProcessingConfiguration(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application.

    • CurrentApplicationVersionId — (Integer)

      The application version. 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.

    • InputId — (String)

      The ID of the input configuration from which to delete the input processing configuration. You can get a list of the input IDs for an application by using the DescribeApplication operation.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The Amazon Resource Name (ARN) of the application.

      • ApplicationVersionId — (Integer)

        The current application version ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplicationOutput(params = {}, callback) ⇒ AWS.Request

Deletes the output destination configuration from your SQL-based Amazon Kinesis Data Analytics application's configuration. Kinesis Data Analytics will no longer write data from the corresponding in-application stream to the external output destination.

Service Reference:

Examples:

Calling the deleteApplicationOutput operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  OutputId: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.deleteApplicationOutput(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The application name.

    • CurrentApplicationVersionId — (Integer)

      The application version. 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.

    • OutputId — (String)

      The ID of the configuration to delete. Each output configuration that is added to the application (either when the application is created or later) using the AddApplicationOutput operation has a unique ID. You need to provide the ID to uniquely identify the output configuration that you want to delete from the application configuration. You can use the DescribeApplication operation to get the specific OutputId.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application Amazon Resource Name (ARN).

      • ApplicationVersionId — (Integer)

        The current application version ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplicationReferenceDataSource(params = {}, callback) ⇒ AWS.Request

Deletes a reference data source configuration from the specified SQL-based Amazon Kinesis Data Analytics application's configuration.

If the application is running, Kinesis Data Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.

Examples:

Calling the deleteApplicationReferenceDataSource operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  ReferenceId: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.deleteApplicationReferenceDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application.

    • CurrentApplicationVersionId — (Integer)

      The current application version. 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.

    • ReferenceId — (String)

      The ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Kinesis Data Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationARN — (String)

        The application Amazon Resource Name (ARN).

      • ApplicationVersionId — (Integer)

        The updated version ID of the application.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteApplicationSnapshot(params = {}, callback) ⇒ AWS.Request

Deletes a snapshot of application state.

Service Reference:

Examples:

Calling the deleteApplicationSnapshot operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  SnapshotCreationTimestamp: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789, /* required */
  SnapshotName: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.deleteApplicationSnapshot(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application.

    • SnapshotName — (String)

      The identifier for the snapshot delete.

    • SnapshotCreationTimestamp — (Date)

      The creation timestamp of the application snapshot to delete. You can retrieve this value using or .

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeApplication(params = {}, callback) ⇒ AWS.Request

Returns information about a specific Amazon Kinesis Data Analytics application.

If you want to retrieve a list of all applications in your account, use the ListApplications operation.

Service Reference:

Examples:

Calling the describeApplication operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  IncludeAdditionalDetails: true || false
};
kinesisanalyticsv2.describeApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application.

    • IncludeAdditionalDetails — (Boolean)

      Displays verbose information about a Kinesis Data Analytics application, including the application's job plan.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationDetail — (map)

        Provides a description of the application, such as the application's Amazon Resource Name (ARN), status, and latest version.

        • ApplicationARNrequired — (String)

          The ARN of the application.

        • ApplicationDescription — (String)

          The description of the application.

        • ApplicationNamerequired — (String)

          The name of the application.

        • RuntimeEnvironmentrequired — (String)

          The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5).

          Possible values include:
          • "SQL-1_0"
          • "FLINK-1_6"
        • ServiceExecutionRole — (String)

          Specifies the IAM role that the application uses to access external resources.

        • ApplicationStatusrequired — (String)

          The status of the application.

          Possible values include:
          • "DELETING"
          • "STARTING"
          • "STOPPING"
          • "READY"
          • "RUNNING"
          • "UPDATING"
        • ApplicationVersionIdrequired — (Integer)

          Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.

        • CreateTimestamp — (Date)

          The current timestamp when the application was created.

        • LastUpdateTimestamp — (Date)

          The current timestamp when the application was last updated.

        • ApplicationConfigurationDescription — (map)

          Provides details about the application's SQL or Java code and starting parameters.

          • SqlApplicationConfigurationDescription — (map)

            The details about inputs, outputs, and reference data sources for an SQL-based Kinesis Data Analytics application.

            • InputDescriptions — (Array<map>)

              The array of InputDescription objects describing the input streams used by the application.

              • InputId — (String)

                The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.

              • NamePrefix — (String)

                The in-application name prefix.

              • InAppStreamNames — (Array<String>)

                Returns the in-application stream names that are mapped to the stream source.

              • InputProcessingConfigurationDescription — (map)

                The description of the preprocessor that executes on records in this input before the application's code is run.

                • InputLambdaProcessorDescription — (map)

                  Provides configuration information about the associated InputLambdaProcessorDescription

                  • ResourceARNrequired — (String)

                    The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

                  • RoleARN — (String)

                    The ARN of the IAM role that is used to access the AWS Lambda function.

                    Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisStreamsInputDescription — (map)

                If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseInputDescription — (map)

                If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics assumes to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • InputSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

              • InputParallelism — (map)

                Describes the configured parallelism (number of in-application streams mapped to the streaming source).

                • Count — (Integer)

                  The number of in-application streams to create.

              • InputStartingPositionConfiguration — (map)

                The point at which the application is configured to read from the input stream.

                • InputStartingPosition — (String)

                  The starting position on the stream.

                  • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

                  • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

                  • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

                  Possible values include:
                  • "NOW"
                  • "TRIM_HORIZON"
                  • "LAST_STOPPED_POINT"
            • OutputDescriptions — (Array<map>)

              The array of OutputDescription objects describing the destination streams used by the application.

              • OutputId — (String)

                A unique identifier for the output configuration.

              • Name — (String)

                The name of the in-application stream that is configured as output.

              • KinesisStreamsOutputDescription — (map)

                Describes the Kinesis data stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseOutputDescription — (map)

                Describes the Kinesis Data Firehose delivery stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • LambdaOutputDescription — (map)

                Describes the Lambda function that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the destination Lambda function.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to write to the destination function.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • DestinationSchema — (map)

                The data format used for writing data to the destination.

                • RecordFormatTyperequired — (String)

                  Specifies the format of the records on the output stream.

                  Possible values include:
                  • "JSON"
                  • "CSV"
            • ReferenceDataSourceDescriptions — (Array<map>)

              The array of ReferenceDataSourceDescription objects describing the reference data sources used by the application.

              • ReferenceIdrequired — (String)

                The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.

              • TableNamerequired — (String)

                The in-application table name created by the specific reference data source configuration.

              • S3ReferenceDataSourceDescriptionrequired — (map)

                Provides the Amazon S3 bucket name, the object key name that contains the reference data.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) of the S3 bucket.

                • FileKeyrequired — (String)

                  Amazon S3 object key name.

                • ReferenceRoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • ReferenceSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

          • ApplicationCodeConfigurationDescription — (map)

            The details about the application code for a Java-based Kinesis Data Analytics application.

            • CodeContentTyperequired — (String)

              Specifies whether the code content is in text or zip format.

              Possible values include:
              • "PLAINTEXT"
              • "ZIPFILE"
            • CodeContentDescription — (map)

              Describes details about the location and format of the application code.

              • TextContent — (String)

                The text-format code

              • CodeMD5 — (String)

                The checksum that can be used to validate zip-format code.

              • CodeSize — (Integer)

                The size in bytes of the application code. Can be used to validate zip-format code.

              • S3ApplicationCodeLocationDescription — (map)

                The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) for the S3 bucket containing the application code.

                • FileKeyrequired — (String)

                  The file key for the object containing the application code.

                • ObjectVersion — (String)

                  The version of the object containing the application code.

          • RunConfigurationDescription — (map)

            The details about the starting properties for a Kinesis Data Analytics application.

            • ApplicationRestoreConfigurationDescription — (map)

              Describes the restore behavior of a restarting application.

              • ApplicationRestoreTyperequired — (String)

                Specifies how the application should be restored.

                Possible values include:
                • "SKIP_RESTORE_FROM_SNAPSHOT"
                • "RESTORE_FROM_LATEST_SNAPSHOT"
                • "RESTORE_FROM_CUSTOM_SNAPSHOT"
              • SnapshotName — (String)

                The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.

          • FlinkApplicationConfigurationDescription — (map)

            The details about a Java-based Kinesis Data Analytics application.

            • CheckpointConfigurationDescription — (map)

              Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance.

              • ConfigurationType — (String)

                Describes whether the application uses the default checkpointing behavior in Kinesis Data Analytics.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • CheckpointingEnabled — (Boolean)

                Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.

              • CheckpointInterval — (Integer)

                Describes the interval in milliseconds between checkpoint operations.

              • MinPauseBetweenCheckpoints — (Integer)

                Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

            • MonitoringConfigurationDescription — (map)

              Describes configuration parameters for Amazon CloudWatch logging for an application.

              • ConfigurationType — (String)

                Describes whether to use the default CloudWatch logging configuration for an application.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • MetricsLevel — (String)

                Describes the granularity of the CloudWatch Logs for an application.

                Possible values include:
                • "APPLICATION"
                • "TASK"
                • "OPERATOR"
                • "PARALLELISM"
              • LogLevel — (String)

                Describes the verbosity of the CloudWatch Logs for an application.

                Possible values include:
                • "INFO"
                • "WARN"
                • "ERROR"
                • "DEBUG"
            • ParallelismConfigurationDescription — (map)

              Describes parameters for how an application executes multiple tasks simultaneously.

              • ConfigurationType — (String)

                Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • Parallelism — (Integer)

                Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • ParallelismPerKPU — (Integer)

                Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.

              • CurrentParallelism — (Integer)

                Describes the current number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • AutoScalingEnabled — (Boolean)

                Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.

            • JobPlanDescription — (String)

              The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation.

          • EnvironmentPropertyDescriptions — (map)

            Describes execution properties for a Java-based Kinesis Data Analytics application.

            • PropertyGroupDescriptions — (Array<map>)

              Describes the execution property groups.

              • PropertyGroupIdrequired — (String)

                Describes the key of an application execution property key-value pair.

              • PropertyMaprequired — (map<String>)

                Describes the value of an application execution property key-value pair.

          • ApplicationSnapshotConfigurationDescription — (map)

            Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

            • SnapshotsEnabledrequired — (Boolean)

              Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

        • CloudWatchLoggingOptionDescriptions — (Array<map>)

          Describes the application Amazon CloudWatch logging options.

          • CloudWatchLoggingOptionId — (String)

            The ID of the CloudWatch logging option description.

          • LogStreamARNrequired — (String)

            The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

          • RoleARN — (String)

            The IAM ARN of the role to use to send application messages.

            Note: Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeApplicationSnapshot(params = {}, callback) ⇒ AWS.Request

Returns information about a snapshot of application state data.

Service Reference:

Examples:

Calling the describeApplicationSnapshot operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  SnapshotName: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.describeApplicationSnapshot(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application.

    • SnapshotName — (String)

      The identifier of an application snapshot. You can retrieve this value using .

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • SnapshotDetails — (map)

        An object containing information about the application snapshot.

        • SnapshotNamerequired — (String)

          The identifier for the application snapshot.

        • SnapshotStatusrequired — (String)

          The status of the application snapshot.

          Possible values include:
          • "CREATING"
          • "READY"
          • "DELETING"
          • "FAILED"
        • ApplicationVersionIdrequired — (Integer)

          The current application version ID when the snapshot was created.

        • SnapshotCreationTimestamp — (Date)

          The timestamp of the application snapshot.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

discoverInputSchema(params = {}, callback) ⇒ AWS.Request

Infers a schema for an SQL-based Amazon Kinesis Data Analytics application by evaluating sample records on the specified streaming source (Kinesis data stream or Kinesis Data Firehose delivery stream) or Amazon S3 object. In the response, the operation returns the inferred schema and also the sample records that the operation used to infer the schema.

You can use the inferred schema when configuring a streaming source for your application. When you create an application using the Kinesis Data Analytics console, the console uses this operation to infer a schema and show it in the console user interface.

Service Reference:

Examples:

Calling the discoverInputSchema operation

var params = {
  ServiceExecutionRole: 'STRING_VALUE', /* required */
  InputProcessingConfiguration: {
    InputLambdaProcessor: { /* required */
      ResourceARN: 'STRING_VALUE' /* required */
    }
  },
  InputStartingPositionConfiguration: {
    InputStartingPosition: NOW | TRIM_HORIZON | LAST_STOPPED_POINT
  },
  ResourceARN: 'STRING_VALUE',
  S3Configuration: {
    BucketARN: 'STRING_VALUE', /* required */
    FileKey: 'STRING_VALUE' /* required */
  }
};
kinesisanalyticsv2.discoverInputSchema(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceARN — (String)

      The Amazon Resource Name (ARN) of the streaming source.

    • ServiceExecutionRole — (String)

      The ARN of the role that is used to access the streaming source.

    • InputStartingPositionConfiguration — (map)

      The point at which you want Kinesis Data Analytics to start reading records from the specified streaming source discovery purposes.

      • InputStartingPosition — (String)

        The starting position on the stream.

        • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

        • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

        • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

        Possible values include:
        • "NOW"
        • "TRIM_HORIZON"
        • "LAST_STOPPED_POINT"
    • S3Configuration — (map)

      Specify this parameter to discover a schema from data in an Amazon S3 object.

      • BucketARNrequired — (String)

        The ARN of the S3 bucket that contains the data.

      • FileKeyrequired — (String)

        The name of the object that contains the data.

    • InputProcessingConfiguration — (map)

      The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.

      • InputLambdaProcessorrequired — (map)

        The InputLambdaProcessor that is used to preprocess the records in the stream before being processed by your application code.

        • ResourceARNrequired — (String)

          The ARN of the AWS Lambda function that operates on records in the stream.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • InputSchema — (map)

        The schema inferred from the streaming source. It identifies the format of the data in the streaming source and how each data element maps to corresponding columns in the in-application stream that you can create.

        • RecordFormatrequired — (map)

          Specifies the format of the records on the streaming source.

          • RecordFormatTyperequired — (String)

            The type of record format.

            Possible values include:
            • "JSON"
            • "CSV"
          • MappingParameters — (map)

            When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

            • JSONMappingParameters — (map)

              Provides additional mapping information when JSON is the record format on the streaming source.

              • RecordRowPathrequired — (String)

                The path to the top-level parent that contains the records.

            • CSVMappingParameters — (map)

              Provides additional mapping information when the record format uses delimiters (for example, CSV).

              • RecordRowDelimiterrequired — (String)

                The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

              • RecordColumnDelimiterrequired — (String)

                The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

        • RecordEncoding — (String)

          Specifies the encoding of the records in the streaming source. For example, UTF-8.

        • RecordColumnsrequired — (Array<map>)

          A list of RecordColumn objects.

          • Namerequired — (String)

            The name of the column that is created in the in-application input stream or reference table.

          • Mapping — (String)

            A reference to the data element in the streaming input of the reference data source.

          • SqlTyperequired — (String)

            The type of column created in the in-application input stream or reference table.

      • ParsedInputRecords — (Array<Array<String>>)

        An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).

      • ProcessedInputRecords — (Array<String>)

        The stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.

      • RawInputRecords — (Array<String>)

        The raw stream data that was sampled to infer the schema.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listApplications(params = {}, callback) ⇒ AWS.Request

Returns a list of Amazon Kinesis Data Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status.

If you want detailed information about a specific application, use DescribeApplication.

Service Reference:

Examples:

Calling the listApplications operation

var params = {
  Limit: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
kinesisanalyticsv2.listApplications(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Limit — (Integer)

      The maximum number of applications to list.

    • NextToken — (String)

      If a previous command returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see Using the AWS Command Line Interface's Pagination Options.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationSummaries — (Array<map>)

        A list of ApplicationSummary objects.

        • ApplicationNamerequired — (String)

          The name of the application.

        • ApplicationARNrequired — (String)

          The ARN of the application.

        • ApplicationStatusrequired — (String)

          The status of the application.

          Possible values include:
          • "DELETING"
          • "STARTING"
          • "STOPPING"
          • "READY"
          • "RUNNING"
          • "UPDATING"
        • ApplicationVersionIdrequired — (Integer)

          Provides the current application version.

        • RuntimeEnvironmentrequired — (String)

          The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5).

          Possible values include:
          • "SQL-1_0"
          • "FLINK-1_6"
      • NextToken — (String)

        The pagination token for the next set of results, or null if there are no additional results. Pass this token into a subsequent command to retrieve the next set of items For more information about pagination, see Using the AWS Command Line Interface's Pagination Options.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listApplicationSnapshots(params = {}, callback) ⇒ AWS.Request

Lists information about the current application snapshots.

Service Reference:

Examples:

Calling the listApplicationSnapshots operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  Limit: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
kinesisanalyticsv2.listApplicationSnapshots(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of an existing application.

    • Limit — (Integer)

      The maximum number of application snapshots to list.

    • NextToken — (String)

      Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • SnapshotSummaries — (Array<map>)

        A collection of objects containing information about the application snapshots.

        • SnapshotNamerequired — (String)

          The identifier for the application snapshot.

        • SnapshotStatusrequired — (String)

          The status of the application snapshot.

          Possible values include:
          • "CREATING"
          • "READY"
          • "DELETING"
          • "FAILED"
        • ApplicationVersionIdrequired — (Integer)

          The current application version ID when the snapshot was created.

        • SnapshotCreationTimestamp — (Date)

          The timestamp of the application snapshot.

      • NextToken — (String)

        The token for the next set of results, or null if there are no additional results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startApplication(params = {}, callback) ⇒ AWS.Request

Starts the specified Amazon Kinesis Data Analytics application. After creating an application, you must exclusively call this operation to start your application.

Note: SQL is not enabled for this private beta. Using SQL parameters (such as RunConfiguration$SqlRunConfigurations) will result in an error.

Service Reference:

Examples:

Calling the startApplication operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  RunConfiguration: { /* required */
    ApplicationRestoreConfiguration: {
      ApplicationRestoreType: SKIP_RESTORE_FROM_SNAPSHOT | RESTORE_FROM_LATEST_SNAPSHOT | RESTORE_FROM_CUSTOM_SNAPSHOT, /* required */
      SnapshotName: 'STRING_VALUE'
    },
    SqlRunConfigurations: [
      {
        InputId: 'STRING_VALUE', /* required */
        InputStartingPositionConfiguration: { /* required */
          InputStartingPosition: NOW | TRIM_HORIZON | LAST_STOPPED_POINT
        }
      },
      /* more items */
    ]
  }
};
kinesisanalyticsv2.startApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application.

    • RunConfiguration — (map)

      Identifies the run configuration (start parameters) of a Kinesis Data Analytics application.

      • SqlRunConfigurations — (Array<map>)

        Describes the starting parameters for an SQL-based Kinesis Data Analytics application.

        • InputIdrequired — (String)

          The input source ID. You can get this ID by calling the DescribeApplication operation.

        • InputStartingPositionConfigurationrequired — (map)

          The point at which you want the application to start processing records from the streaming source.

          • InputStartingPosition — (String)

            The starting position on the stream.

            • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

            • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

            • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

            Possible values include:
            • "NOW"
            • "TRIM_HORIZON"
            • "LAST_STOPPED_POINT"
      • ApplicationRestoreConfiguration — (map)

        Describes the restore behavior of a restarting application.

        • ApplicationRestoreTyperequired — (String)

          Specifies how the application should be restored.

          Possible values include:
          • "SKIP_RESTORE_FROM_SNAPSHOT"
          • "RESTORE_FROM_LATEST_SNAPSHOT"
          • "RESTORE_FROM_CUSTOM_SNAPSHOT"
        • SnapshotName — (String)

          The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

stopApplication(params = {}, callback) ⇒ AWS.Request

Stops the application from processing data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state.

Service Reference:

Examples:

Calling the stopApplication operation

var params = {
  ApplicationName: 'STRING_VALUE' /* required */
};
kinesisanalyticsv2.stopApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the running application to stop.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateApplication(params = {}, callback) ⇒ AWS.Request

Updates an existing Amazon Kinesis Data Analytics application. Using this operation, you can update application code, input configuration, and output configuration.

Kinesis Data Analytics updates the ApplicationVersionId each time you update your application.

Note: SQL is not enabled for this private beta. Using SQL parameters (such as SqlApplicationConfigurationUpdate) will result in an error.

Service Reference:

Examples:

Calling the updateApplication operation

var params = {
  ApplicationName: 'STRING_VALUE', /* required */
  CurrentApplicationVersionId: 'NUMBER_VALUE', /* required */
  ApplicationConfigurationUpdate: {
    ApplicationCodeConfigurationUpdate: {
      CodeContentTypeUpdate: PLAINTEXT | ZIPFILE,
      CodeContentUpdate: {
        S3ContentLocationUpdate: {
          BucketARNUpdate: 'STRING_VALUE',
          FileKeyUpdate: 'STRING_VALUE',
          ObjectVersionUpdate: 'STRING_VALUE'
        },
        TextContentUpdate: 'STRING_VALUE',
        ZipFileContentUpdate: new Buffer('...') || 'STRING_VALUE' /* Strings will be Base-64 encoded on your behalf */
      }
    },
    ApplicationSnapshotConfigurationUpdate: {
      SnapshotsEnabledUpdate: true || false /* required */
    },
    EnvironmentPropertyUpdates: {
      PropertyGroups: [ /* required */
        {
          PropertyGroupId: 'STRING_VALUE', /* required */
          PropertyMap: { /* required */
            '<PropertyKey>': 'STRING_VALUE',
            /* '<PropertyKey>': ... */
          }
        },
        /* more items */
      ]
    },
    FlinkApplicationConfigurationUpdate: {
      CheckpointConfigurationUpdate: {
        CheckpointIntervalUpdate: 'NUMBER_VALUE',
        CheckpointingEnabledUpdate: true || false,
        ConfigurationTypeUpdate: DEFAULT | CUSTOM,
        MinPauseBetweenCheckpointsUpdate: 'NUMBER_VALUE'
      },
      MonitoringConfigurationUpdate: {
        ConfigurationTypeUpdate: DEFAULT | CUSTOM,
        LogLevelUpdate: INFO | WARN | ERROR | DEBUG,
        MetricsLevelUpdate: APPLICATION | TASK | OPERATOR | PARALLELISM
      },
      ParallelismConfigurationUpdate: {
        AutoScalingEnabledUpdate: true || false,
        ConfigurationTypeUpdate: DEFAULT | CUSTOM,
        ParallelismPerKPUUpdate: 'NUMBER_VALUE',
        ParallelismUpdate: 'NUMBER_VALUE'
      }
    },
    SqlApplicationConfigurationUpdate: {
      InputUpdates: [
        {
          InputId: 'STRING_VALUE', /* required */
          InputParallelismUpdate: {
            CountUpdate: 'NUMBER_VALUE' /* required */
          },
          InputProcessingConfigurationUpdate: {
            InputLambdaProcessorUpdate: { /* required */
              ResourceARNUpdate: 'STRING_VALUE' /* required */
            }
          },
          InputSchemaUpdate: {
            RecordColumnUpdates: [
              {
                Name: 'STRING_VALUE', /* required */
                SqlType: 'STRING_VALUE', /* required */
                Mapping: 'STRING_VALUE'
              },
              /* more items */
            ],
            RecordEncodingUpdate: 'STRING_VALUE',
            RecordFormatUpdate: {
              RecordFormatType: JSON | CSV, /* required */
              MappingParameters: {
                CSVMappingParameters: {
                  RecordColumnDelimiter: 'STRING_VALUE', /* required */
                  RecordRowDelimiter: 'STRING_VALUE' /* required */
                },
                JSONMappingParameters: {
                  RecordRowPath: 'STRING_VALUE' /* required */
                }
              }
            }
          },
          KinesisFirehoseInputUpdate: {
            ResourceARNUpdate: 'STRING_VALUE' /* required */
          },
          KinesisStreamsInputUpdate: {
            ResourceARNUpdate: 'STRING_VALUE' /* required */
          },
          NamePrefixUpdate: 'STRING_VALUE'
        },
        /* more items */
      ],
      OutputUpdates: [
        {
          OutputId: 'STRING_VALUE', /* required */
          DestinationSchemaUpdate: {
            RecordFormatType: JSON | CSV /* required */
          },
          KinesisFirehoseOutputUpdate: {
            ResourceARNUpdate: 'STRING_VALUE' /* required */
          },
          KinesisStreamsOutputUpdate: {
            ResourceARNUpdate: 'STRING_VALUE' /* required */
          },
          LambdaOutputUpdate: {
            ResourceARNUpdate: 'STRING_VALUE' /* required */
          },
          NameUpdate: 'STRING_VALUE'
        },
        /* more items */
      ],
      ReferenceDataSourceUpdates: [
        {
          ReferenceId: 'STRING_VALUE', /* required */
          ReferenceSchemaUpdate: {
            RecordColumns: [ /* required */
              {
                Name: 'STRING_VALUE', /* required */
                SqlType: 'STRING_VALUE', /* required */
                Mapping: 'STRING_VALUE'
              },
              /* more items */
            ],
            RecordFormat: { /* required */
              RecordFormatType: JSON | CSV, /* required */
              MappingParameters: {
                CSVMappingParameters: {
                  RecordColumnDelimiter: 'STRING_VALUE', /* required */
                  RecordRowDelimiter: 'STRING_VALUE' /* required */
                },
                JSONMappingParameters: {
                  RecordRowPath: 'STRING_VALUE' /* required */
                }
              }
            },
            RecordEncoding: 'STRING_VALUE'
          },
          S3ReferenceDataSourceUpdate: {
            BucketARNUpdate: 'STRING_VALUE',
            FileKeyUpdate: 'STRING_VALUE'
          },
          TableNameUpdate: 'STRING_VALUE'
        },
        /* more items */
      ]
    }
  },
  CloudWatchLoggingOptionUpdates: [
    {
      CloudWatchLoggingOptionId: 'STRING_VALUE', /* required */
      LogStreamARNUpdate: 'STRING_VALUE'
    },
    /* more items */
  ],
  RunConfigurationUpdate: {
    ApplicationRestoreConfiguration: {
      ApplicationRestoreType: SKIP_RESTORE_FROM_SNAPSHOT | RESTORE_FROM_LATEST_SNAPSHOT | RESTORE_FROM_CUSTOM_SNAPSHOT, /* required */
      SnapshotName: 'STRING_VALUE'
    }
  },
  ServiceExecutionRoleUpdate: 'STRING_VALUE'
};
kinesisanalyticsv2.updateApplication(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ApplicationName — (String)

      The name of the application to update.

    • CurrentApplicationVersionId — (Integer)

      The current application version ID. You can retrieve the application version ID using DescribeApplication.

    • ApplicationConfigurationUpdate — (map)

      Describes application configuration updates.

      • SqlApplicationConfigurationUpdate — (map)

        Describes updates to an SQL-based Kinesis Data Analytics application's configuration.

        • InputUpdates — (Array<map>)

          The array of InputUpdate objects describing the new input streams used by the application.

          • InputIdrequired — (String)

            The input ID of the application input to be updated.

          • NamePrefixUpdate — (String)

            The name prefix for in-application streams that Kinesis Data Analytics creates for the specific streaming source.

          • InputProcessingConfigurationUpdate — (map)

            Describes updates to an InputProcessingConfiguration.

            • InputLambdaProcessorUpdaterequired — (map)

              Provides update information for an InputLambdaProcessor.

              • ResourceARNUpdaterequired — (String)

                The Amazon Resource Name (ARN) of the new AWS Lambda function that is used to preprocess the records in the stream.

          • KinesisStreamsInputUpdate — (map)

            If a Kinesis data stream is the streaming source to be updated, provides an updated stream Amazon Resource Name (ARN).

            • ResourceARNUpdaterequired — (String)

              The Amazon Resource Name (ARN) of the input Kinesis data stream to read.

          • KinesisFirehoseInputUpdate — (map)

            If a Kinesis Data Firehose delivery stream is the streaming source to be updated, provides an updated stream ARN.

            • ResourceARNUpdaterequired — (String)

              The Amazon Resource Name (ARN) of the input delivery stream to read.

          • InputSchemaUpdate — (map)

            Describes the data format on the streaming source, and how record elements on the streaming source map to columns of the in-application stream that is created.

            • RecordFormatUpdate — (map)

              Specifies the format of the records on the streaming source.

              • RecordFormatTyperequired — (String)

                The type of record format.

                Possible values include:
                • "JSON"
                • "CSV"
              • MappingParameters — (map)

                When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                • JSONMappingParameters — (map)

                  Provides additional mapping information when JSON is the record format on the streaming source.

                  • RecordRowPathrequired — (String)

                    The path to the top-level parent that contains the records.

                • CSVMappingParameters — (map)

                  Provides additional mapping information when the record format uses delimiters (for example, CSV).

                  • RecordRowDelimiterrequired — (String)

                    The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                  • RecordColumnDelimiterrequired — (String)

                    The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

            • RecordEncodingUpdate — (String)

              Specifies the encoding of the records in the streaming source; for example, UTF-8.

            • RecordColumnUpdates — (Array<map>)

              A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.

              • Namerequired — (String)

                The name of the column that is created in the in-application input stream or reference table.

              • Mapping — (String)

                A reference to the data element in the streaming input of the reference data source.

              • SqlTyperequired — (String)

                The type of column created in the in-application input stream or reference table.

          • InputParallelismUpdate — (map)

            Describes the parallelism updates (the number of in-application streams Kinesis Data Analytics creates for the specific streaming source).

            • CountUpdaterequired — (Integer)

              The number of in-application streams to create for the specified streaming source.

        • OutputUpdates — (Array<map>)

          The array of OutputUpdate objects describing the new destination streams used by the application.

          • OutputIdrequired — (String)

            Identifies the specific output configuration that you want to update.

          • NameUpdate — (String)

            If you want to specify a different in-application stream for this output configuration, use this field to specify the new in-application stream name.

          • KinesisStreamsOutputUpdate — (map)

            Describes a Kinesis data stream as the destination for the output.

            • ResourceARNUpdaterequired — (String)

              The Amazon Resource Name (ARN) of the Kinesis data stream where you want to write the output.

          • KinesisFirehoseOutputUpdate — (map)

            Describes a Kinesis Data Firehose delivery stream as the destination for the output.

            • ResourceARNUpdaterequired — (String)

              The Amazon Resource Name (ARN) of the delivery stream to write to.

          • LambdaOutputUpdate — (map)

            Describes an AWS Lambda function as the destination for the output.

            • ResourceARNUpdaterequired — (String)

              The Amazon Resource Name (ARN) of the destination AWS Lambda function.

          • DestinationSchemaUpdate — (map)

            Describes the data format when records are written to the destination.

            • RecordFormatTyperequired — (String)

              Specifies the format of the records on the output stream.

              Possible values include:
              • "JSON"
              • "CSV"
        • ReferenceDataSourceUpdates — (Array<map>)

          The array of ReferenceDataSourceUpdate objects describing the new reference data sources used by the application.

          • ReferenceIdrequired — (String)

            The ID of the reference data source that is being updated. You can use the DescribeApplication operation to get this value.

          • TableNameUpdate — (String)

            The in-application table name that is created by this update.

          • S3ReferenceDataSourceUpdate — (map)

            Describes the S3 bucket name, object key name, and IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.

            • BucketARNUpdate — (String)

              The Amazon Resource Name (ARN) of the S3 bucket.

            • FileKeyUpdate — (String)

              The object key name.

          • ReferenceSchemaUpdate — (map)

            Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

            • RecordFormatrequired — (map)

              Specifies the format of the records on the streaming source.

              • RecordFormatTyperequired — (String)

                The type of record format.

                Possible values include:
                • "JSON"
                • "CSV"
              • MappingParameters — (map)

                When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                • JSONMappingParameters — (map)

                  Provides additional mapping information when JSON is the record format on the streaming source.

                  • RecordRowPathrequired — (String)

                    The path to the top-level parent that contains the records.

                • CSVMappingParameters — (map)

                  Provides additional mapping information when the record format uses delimiters (for example, CSV).

                  • RecordRowDelimiterrequired — (String)

                    The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                  • RecordColumnDelimiterrequired — (String)

                    The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

            • RecordEncoding — (String)

              Specifies the encoding of the records in the streaming source. For example, UTF-8.

            • RecordColumnsrequired — (Array<map>)

              A list of RecordColumn objects.

              • Namerequired — (String)

                The name of the column that is created in the in-application input stream or reference table.

              • Mapping — (String)

                A reference to the data element in the streaming input of the reference data source.

              • SqlTyperequired — (String)

                The type of column created in the in-application input stream or reference table.

      • ApplicationCodeConfigurationUpdate — (map)

        Describes updates to a Java-based Kinesis Data Analytics application's code configuration.

        • CodeContentTypeUpdate — (String)

          Describes updates to the code content type.

          Possible values include:
          • "PLAINTEXT"
          • "ZIPFILE"
        • CodeContentUpdate — (map)

          Describes updates to the code content of an application.

          • TextContentUpdate — (String)

            Describes an update to the text code for an application.

          • ZipFileContentUpdate — (Buffer, Typed Array, Blob, String)

            Describes an update to the zipped code for an application.

          • S3ContentLocationUpdate — (map)

            Describes an update to the location of code for an application.

            • BucketARNUpdate — (String)

              The new Amazon Resource Name (ARN) for the S3 bucket containing the application code.

            • FileKeyUpdate — (String)

              The new file key for the object containing the application code.

            • ObjectVersionUpdate — (String)

              The new version of the object containing the application code.

      • FlinkApplicationConfigurationUpdate — (map)

        Describes updates to a Java-based Kinesis Data Analytics application's configuration.

        • CheckpointConfigurationUpdate — (map)

          Describes updates to an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance.

          • ConfigurationTypeUpdate — (String)

            Describes updates to whether the application uses the default checkpointing behavior of Kinesis Data Analytics.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • CheckpointingEnabledUpdate — (Boolean)

            Describes updates to whether checkpointing is enabled for an application.

          • CheckpointIntervalUpdate — (Integer)

            Describes updates to the interval in milliseconds between checkpoint operations.

          • MinPauseBetweenCheckpointsUpdate — (Integer)

            Describes updates to the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

        • MonitoringConfigurationUpdate — (map)

          Describes updates to the configuration parameters for Amazon CloudWatch logging for an application.

          • ConfigurationTypeUpdate — (String)

            Describes updates to whether to use the default CloudWatch logging configuration for an application.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • MetricsLevelUpdate — (String)

            Describes updates to the granularity of the CloudWatch Logs for an application.

            Possible values include:
            • "APPLICATION"
            • "TASK"
            • "OPERATOR"
            • "PARALLELISM"
          • LogLevelUpdate — (String)

            Describes updates to the verbosity of the CloudWatch Logs for an application.

            Possible values include:
            • "INFO"
            • "WARN"
            • "ERROR"
            • "DEBUG"
        • ParallelismConfigurationUpdate — (map)

          Describes updates to the parameters for how an application executes multiple tasks simultaneously.

          • ConfigurationTypeUpdate — (String)

            Describes updates to whether the application uses the default parallelism for the Kinesis Data Analytics service, or if a custom parallelism is used.

            Possible values include:
            • "DEFAULT"
            • "CUSTOM"
          • ParallelismUpdate — (Integer)

            Describes updates to the initial number of parallel tasks an application can perform.

          • ParallelismPerKPUUpdate — (Integer)

            Describes updates to the number of parallel tasks an application can perform per Kinesis Processing Unit (KPU) used by the application.

          • AutoScalingEnabledUpdate — (Boolean)

            Describes updates to whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.

      • EnvironmentPropertyUpdates — (map)

        Describes updates to the environment properties for a Java-based Kinesis Data Analytics application.

        • PropertyGroupsrequired — (Array<map>)

          Describes updates to the execution property groups.

          • PropertyGroupIdrequired — (String)

            Describes the key of an application execution property key-value pair.

          • PropertyMaprequired — (map<String>)

            Describes the value of an application execution property key-value pair.

      • ApplicationSnapshotConfigurationUpdate — (map)

        Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

        • SnapshotsEnabledUpdaterequired — (Boolean)

          Describes updates to whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

    • ServiceExecutionRoleUpdate — (String)

      Describes updates to the service execution role.

    • RunConfigurationUpdate — (map)

      Describes updates to the application's starting parameters.

      • ApplicationRestoreConfiguration — (map)

        Describes updates to the restore behavior of a restarting application.

        • ApplicationRestoreTyperequired — (String)

          Specifies how the application should be restored.

          Possible values include:
          • "SKIP_RESTORE_FROM_SNAPSHOT"
          • "RESTORE_FROM_LATEST_SNAPSHOT"
          • "RESTORE_FROM_CUSTOM_SNAPSHOT"
        • SnapshotName — (String)

          The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.

    • CloudWatchLoggingOptionUpdates — (Array<map>)

      Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.

      • CloudWatchLoggingOptionIdrequired — (String)

        The ID of the CloudWatch logging option to update

      • LogStreamARNUpdate — (String)

        The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ApplicationDetail — (map)

        Describes application updates.

        • ApplicationARNrequired — (String)

          The ARN of the application.

        • ApplicationDescription — (String)

          The description of the application.

        • ApplicationNamerequired — (String)

          The name of the application.

        • RuntimeEnvironmentrequired — (String)

          The runtime environment for the application (SQL-1.0 or JAVA-8-FLINK-1.5).

          Possible values include:
          • "SQL-1_0"
          • "FLINK-1_6"
        • ServiceExecutionRole — (String)

          Specifies the IAM role that the application uses to access external resources.

        • ApplicationStatusrequired — (String)

          The status of the application.

          Possible values include:
          • "DELETING"
          • "STARTING"
          • "STOPPING"
          • "READY"
          • "RUNNING"
          • "UPDATING"
        • ApplicationVersionIdrequired — (Integer)

          Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.

        • CreateTimestamp — (Date)

          The current timestamp when the application was created.

        • LastUpdateTimestamp — (Date)

          The current timestamp when the application was last updated.

        • ApplicationConfigurationDescription — (map)

          Provides details about the application's SQL or Java code and starting parameters.

          • SqlApplicationConfigurationDescription — (map)

            The details about inputs, outputs, and reference data sources for an SQL-based Kinesis Data Analytics application.

            • InputDescriptions — (Array<map>)

              The array of InputDescription objects describing the input streams used by the application.

              • InputId — (String)

                The input ID that is associated with the application input. This is the ID that Kinesis Data Analytics assigns to each input configuration that you add to your application.

              • NamePrefix — (String)

                The in-application name prefix.

              • InAppStreamNames — (Array<String>)

                Returns the in-application stream names that are mapped to the stream source.

              • InputProcessingConfigurationDescription — (map)

                The description of the preprocessor that executes on records in this input before the application's code is run.

                • InputLambdaProcessorDescription — (map)

                  Provides configuration information about the associated InputLambdaProcessorDescription

                  • ResourceARNrequired — (String)

                    The ARN of the AWS Lambda function that is used to preprocess the records in the stream.

                  • RoleARN — (String)

                    The ARN of the IAM role that is used to access the AWS Lambda function.

                    Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisStreamsInputDescription — (map)

                If a Kinesis data stream is configured as a streaming source, provides the Kinesis data stream's Amazon Resource Name (ARN).

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseInputDescription — (map)

                If a Kinesis Data Firehose delivery stream is configured as a streaming source, provides the delivery stream's ARN.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics assumes to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • InputSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns in the in-application stream that is being created.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

              • InputParallelism — (map)

                Describes the configured parallelism (number of in-application streams mapped to the streaming source).

                • Count — (Integer)

                  The number of in-application streams to create.

              • InputStartingPositionConfiguration — (map)

                The point at which the application is configured to read from the input stream.

                • InputStartingPosition — (String)

                  The starting position on the stream.

                  • NOW - Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued.

                  • TRIM_HORIZON - Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream.

                  • LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.

                  Possible values include:
                  • "NOW"
                  • "TRIM_HORIZON"
                  • "LAST_STOPPED_POINT"
            • OutputDescriptions — (Array<map>)

              The array of OutputDescription objects describing the destination streams used by the application.

              • OutputId — (String)

                A unique identifier for the output configuration.

              • Name — (String)

                The name of the in-application stream that is configured as output.

              • KinesisStreamsOutputDescription — (map)

                Describes the Kinesis data stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the Kinesis data stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • KinesisFirehoseOutputDescription — (map)

                Describes the Kinesis Data Firehose delivery stream that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the delivery stream.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • LambdaOutputDescription — (map)

                Describes the Lambda function that is configured as the destination where output is written.

                • ResourceARNrequired — (String)

                  The Amazon Resource Name (ARN) of the destination Lambda function.

                • RoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to write to the destination function.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • DestinationSchema — (map)

                The data format used for writing data to the destination.

                • RecordFormatTyperequired — (String)

                  Specifies the format of the records on the output stream.

                  Possible values include:
                  • "JSON"
                  • "CSV"
            • ReferenceDataSourceDescriptions — (Array<map>)

              The array of ReferenceDataSourceDescription objects describing the reference data sources used by the application.

              • ReferenceIdrequired — (String)

                The ID of the reference data source. This is the ID that Kinesis Data Analytics assigns when you add the reference data source to your application using the CreateApplication or UpdateApplication operation.

              • TableNamerequired — (String)

                The in-application table name created by the specific reference data source configuration.

              • S3ReferenceDataSourceDescriptionrequired — (map)

                Provides the Amazon S3 bucket name, the object key name that contains the reference data.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) of the S3 bucket.

                • FileKeyrequired — (String)

                  Amazon S3 object key name.

                • ReferenceRoleARN — (String)

                  The ARN of the IAM role that Kinesis Data Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.

                  Note: Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
              • ReferenceSchema — (map)

                Describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

                • RecordFormatrequired — (map)

                  Specifies the format of the records on the streaming source.

                  • RecordFormatTyperequired — (String)

                    The type of record format.

                    Possible values include:
                    • "JSON"
                    • "CSV"
                  • MappingParameters — (map)

                    When you configure application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

                    • JSONMappingParameters — (map)

                      Provides additional mapping information when JSON is the record format on the streaming source.

                      • RecordRowPathrequired — (String)

                        The path to the top-level parent that contains the records.

                    • CSVMappingParameters — (map)

                      Provides additional mapping information when the record format uses delimiters (for example, CSV).

                      • RecordRowDelimiterrequired — (String)

                        The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

                      • RecordColumnDelimiterrequired — (String)

                        The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

                • RecordEncoding — (String)

                  Specifies the encoding of the records in the streaming source. For example, UTF-8.

                • RecordColumnsrequired — (Array<map>)

                  A list of RecordColumn objects.

                  • Namerequired — (String)

                    The name of the column that is created in the in-application input stream or reference table.

                  • Mapping — (String)

                    A reference to the data element in the streaming input of the reference data source.

                  • SqlTyperequired — (String)

                    The type of column created in the in-application input stream or reference table.

          • ApplicationCodeConfigurationDescription — (map)

            The details about the application code for a Java-based Kinesis Data Analytics application.

            • CodeContentTyperequired — (String)

              Specifies whether the code content is in text or zip format.

              Possible values include:
              • "PLAINTEXT"
              • "ZIPFILE"
            • CodeContentDescription — (map)

              Describes details about the location and format of the application code.

              • TextContent — (String)

                The text-format code

              • CodeMD5 — (String)

                The checksum that can be used to validate zip-format code.

              • CodeSize — (Integer)

                The size in bytes of the application code. Can be used to validate zip-format code.

              • S3ApplicationCodeLocationDescription — (map)

                The S3 bucket Amazon Resource Name (ARN), file key, and object version of the application code stored in Amazon S3.

                • BucketARNrequired — (String)

                  The Amazon Resource Name (ARN) for the S3 bucket containing the application code.

                • FileKeyrequired — (String)

                  The file key for the object containing the application code.

                • ObjectVersion — (String)

                  The version of the object containing the application code.

          • RunConfigurationDescription — (map)

            The details about the starting properties for a Kinesis Data Analytics application.

            • ApplicationRestoreConfigurationDescription — (map)

              Describes the restore behavior of a restarting application.

              • ApplicationRestoreTyperequired — (String)

                Specifies how the application should be restored.

                Possible values include:
                • "SKIP_RESTORE_FROM_SNAPSHOT"
                • "RESTORE_FROM_LATEST_SNAPSHOT"
                • "RESTORE_FROM_CUSTOM_SNAPSHOT"
              • SnapshotName — (String)

                The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT is specified for the ApplicationRestoreType.

          • FlinkApplicationConfigurationDescription — (map)

            The details about a Java-based Kinesis Data Analytics application.

            • CheckpointConfigurationDescription — (map)

              Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance.

              • ConfigurationType — (String)

                Describes whether the application uses the default checkpointing behavior in Kinesis Data Analytics.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • CheckpointingEnabled — (Boolean)

                Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.

              • CheckpointInterval — (Integer)

                Describes the interval in milliseconds between checkpoint operations.

              • MinPauseBetweenCheckpoints — (Integer)

                Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

            • MonitoringConfigurationDescription — (map)

              Describes configuration parameters for Amazon CloudWatch logging for an application.

              • ConfigurationType — (String)

                Describes whether to use the default CloudWatch logging configuration for an application.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • MetricsLevel — (String)

                Describes the granularity of the CloudWatch Logs for an application.

                Possible values include:
                • "APPLICATION"
                • "TASK"
                • "OPERATOR"
                • "PARALLELISM"
              • LogLevel — (String)

                Describes the verbosity of the CloudWatch Logs for an application.

                Possible values include:
                • "INFO"
                • "WARN"
                • "ERROR"
                • "DEBUG"
            • ParallelismConfigurationDescription — (map)

              Describes parameters for how an application executes multiple tasks simultaneously.

              • ConfigurationType — (String)

                Describes whether the application uses the default parallelism for the Kinesis Data Analytics service.

                Possible values include:
                • "DEFAULT"
                • "CUSTOM"
              • Parallelism — (Integer)

                Describes the initial number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • ParallelismPerKPU — (Integer)

                Describes the number of parallel tasks that a Java-based Kinesis Data Analytics application can perform per Kinesis Processing Unit (KPU) used by the application.

              • CurrentParallelism — (Integer)

                Describes the current number of parallel tasks that a Java-based Kinesis Data Analytics application can perform.

              • AutoScalingEnabled — (Boolean)

                Describes whether the Kinesis Data Analytics service can increase the parallelism of the application in response to increased throughput.

            • JobPlanDescription — (String)

              The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation.

          • EnvironmentPropertyDescriptions — (map)

            Describes execution properties for a Java-based Kinesis Data Analytics application.

            • PropertyGroupDescriptions — (Array<map>)

              Describes the execution property groups.

              • PropertyGroupIdrequired — (String)

                Describes the key of an application execution property key-value pair.

              • PropertyMaprequired — (map<String>)

                Describes the value of an application execution property key-value pair.

          • ApplicationSnapshotConfigurationDescription — (map)

            Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

            • SnapshotsEnabledrequired — (Boolean)

              Describes whether snapshots are enabled for a Java-based Kinesis Data Analytics application.

        • CloudWatchLoggingOptionDescriptions — (Array<map>)

          Describes the application Amazon CloudWatch logging options.

          • CloudWatchLoggingOptionId — (String)

            The ID of the CloudWatch logging option description.

          • LogStreamARNrequired — (String)

            The Amazon Resource Name (ARN) of the CloudWatch log to receive application messages.

          • RoleARN — (String)

            The IAM ARN of the role to use to send application messages.

            Note: Provided for backward compatibility. Applications created with the current API version have an application-level service execution role rather than a resource-level role.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.