git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

kinesisanalytics.d.ts (56839B)


      1 import {Request} from '../lib/request';
      2 import {Response} from '../lib/response';
      3 import {AWSError} from '../lib/error';
      4 import {Service} from '../lib/service';
      5 import {ServiceConfigurationOptions} from '../lib/service';
      6 import {ConfigBase as Config} from '../lib/config';
      7 interface Blob {}
      8 declare class KinesisAnalytics extends Service {
      9   /**
     10    * Constructs a service object. This object has one method for each API operation.
     11    */
     12   constructor(options?: KinesisAnalytics.Types.ClientConfiguration)
     13   config: Config & KinesisAnalytics.Types.ClientConfiguration;
     14   /**
     15    *  Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input.  You can add a streaming source either 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.  This operation requires permissions to perform the kinesisanalytics:AddApplicationInput action.
     16    */
     17   addApplicationInput(params: KinesisAnalytics.Types.AddApplicationInputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationInputResponse) => void): Request<KinesisAnalytics.Types.AddApplicationInputResponse, AWSError>;
     18   /**
     19    *  Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input.  You can add a streaming source either 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.  This operation requires permissions to perform the kinesisanalytics:AddApplicationInput action.
     20    */
     21   addApplicationInput(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationInputResponse) => void): Request<KinesisAnalytics.Types.AddApplicationInputResponse, AWSError>;
     22   /**
     23    * Adds an external destination to your Amazon Kinesis Analytics application. If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream or a Firehose delivery stream), 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. For conceptual information, see Understanding Application Output (Destination).   Note that 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. For the limits on the number of application inputs and outputs you can configure, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action.
     24    */
     25   addApplicationOutput(params: KinesisAnalytics.Types.AddApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationOutputResponse) => void): Request<KinesisAnalytics.Types.AddApplicationOutputResponse, AWSError>;
     26   /**
     27    * Adds an external destination to your Amazon Kinesis Analytics application. If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream or a Firehose delivery stream), 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. For conceptual information, see Understanding Application Output (Destination).   Note that 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. For the limits on the number of application inputs and outputs you can configure, see Limits. This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action.
     28    */
     29   addApplicationOutput(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationOutputResponse) => void): Request<KinesisAnalytics.Types.AddApplicationOutputResponse, AWSError>;
     30   /**
     31    * Adds a reference data source to an existing application. Amazon Kinesis 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 Amazon S3 object maps to columns in the resulting in-application table.  For conceptual information, see Configuring Application Input. For the limits on data sources you can add to your application, see Limits.   This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. 
     32    */
     33   addApplicationReferenceDataSource(params: KinesisAnalytics.Types.AddApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse) => void): Request<KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse, AWSError>;
     34   /**
     35    * Adds a reference data source to an existing application. Amazon Kinesis 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 Amazon S3 object maps to columns in the resulting in-application table.  For conceptual information, see Configuring Application Input. For the limits on data sources you can add to your application, see Limits.   This operation requires permissions to perform the kinesisanalytics:AddApplicationOutput action. 
     36    */
     37   addApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse) => void): Request<KinesisAnalytics.Types.AddApplicationReferenceDataSourceResponse, AWSError>;
     38   /**
     39    *  Creates an Amazon Kinesis Analytics application. You can configure each application with one streaming source as input, application code to process the input, and up to five streaming destinations where you want Amazon Kinesis Analytics to write the output data from your application. For an overview, see How it Works.  In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a data element in the streaming source, with the option of renaming, casting and dropping columns as desired. Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps. In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to five streaming destinations.  To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the kinesisanalytics:CreateApplication action.   For introductory exercises to create an Amazon Kinesis Analytics application, see Getting Started. 
     40    */
     41   createApplication(params: KinesisAnalytics.Types.CreateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.CreateApplicationResponse) => void): Request<KinesisAnalytics.Types.CreateApplicationResponse, AWSError>;
     42   /**
     43    *  Creates an Amazon Kinesis Analytics application. You can configure each application with one streaming source as input, application code to process the input, and up to five streaming destinations where you want Amazon Kinesis Analytics to write the output data from your application. For an overview, see How it Works.  In the input configuration, you map the streaming source to an in-application stream, which you can think of as a constantly updating table. In the mapping, you must provide a schema for the in-application stream and map each data column in the in-application stream to a data element in the streaming source, with the option of renaming, casting and dropping columns as desired. Your application code is one or more SQL statements that read input data, transform it, and generate output. Your application code can create one or more SQL artifacts like SQL streams or pumps. In the output configuration, you can configure the application to write data from in-application streams created in your applications to up to five streaming destinations.  To read data from your source stream or write data to destination streams, Amazon Kinesis Analytics needs your permissions. You grant these permissions by creating IAM roles. This operation requires permissions to perform the kinesisanalytics:CreateApplication action.   For introductory exercises to create an Amazon Kinesis Analytics application, see Getting Started. 
     44    */
     45   createApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.CreateApplicationResponse) => void): Request<KinesisAnalytics.Types.CreateApplicationResponse, AWSError>;
     46   /**
     47    * Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code). This operation requires permissions to perform the kinesisanalytics:DeleteApplication action.
     48    */
     49   deleteApplication(params: KinesisAnalytics.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationResponse, AWSError>;
     50   /**
     51    * Deletes the specified application. Amazon Kinesis Analytics halts application execution and deletes the application, including any application artifacts (such as in-application streams, reference table, and application code). This operation requires permissions to perform the kinesisanalytics:DeleteApplication action.
     52    */
     53   deleteApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationResponse, AWSError>;
     54   /**
     55    * Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination. This operation requires permissions to perform the kinesisanalytics:DeleteApplicationOutput action.
     56    */
     57   deleteApplicationOutput(params: KinesisAnalytics.Types.DeleteApplicationOutputRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationOutputResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationOutputResponse, AWSError>;
     58   /**
     59    * Deletes output destination configuration from your application configuration. Amazon Kinesis Analytics will no longer write data from the corresponding in-application stream to the external output destination. This operation requires permissions to perform the kinesisanalytics:DeleteApplicationOutput action.
     60    */
     61   deleteApplicationOutput(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationOutputResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationOutputResponse, AWSError>;
     62   /**
     63    * Deletes a reference data source configuration from the specified application configuration. If the application is running, Amazon Kinesis Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.  This operation requires permissions to perform the kinesisanalytics.DeleteApplicationReferenceDataSource action.
     64    */
     65   deleteApplicationReferenceDataSource(params: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse, AWSError>;
     66   /**
     67    * Deletes a reference data source configuration from the specified application configuration. If the application is running, Amazon Kinesis Analytics immediately removes the in-application table that you created using the AddApplicationReferenceDataSource operation.  This operation requires permissions to perform the kinesisanalytics.DeleteApplicationReferenceDataSource action.
     68    */
     69   deleteApplicationReferenceDataSource(callback?: (err: AWSError, data: KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse) => void): Request<KinesisAnalytics.Types.DeleteApplicationReferenceDataSourceResponse, AWSError>;
     70   /**
     71    * Returns information about a specific Amazon Kinesis Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. This operation requires permissions to perform the kinesisanalytics:DescribeApplication action. You can use DescribeApplication to get the current application versionId, which you need to call other operations such as Update. 
     72    */
     73   describeApplication(params: KinesisAnalytics.Types.DescribeApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DescribeApplicationResponse) => void): Request<KinesisAnalytics.Types.DescribeApplicationResponse, AWSError>;
     74   /**
     75    * Returns information about a specific Amazon Kinesis Analytics application. If you want to retrieve a list of all applications in your account, use the ListApplications operation. This operation requires permissions to perform the kinesisanalytics:DescribeApplication action. You can use DescribeApplication to get the current application versionId, which you need to call other operations such as Update. 
     76    */
     77   describeApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.DescribeApplicationResponse) => void): Request<KinesisAnalytics.Types.DescribeApplicationResponse, AWSError>;
     78   /**
     79    * Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream). 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. For conceptual information, see Configuring Application Input. Note that when you create an application using the Amazon Kinesis Analytics console, the console uses this operation to infer a schema and show it in the console user interface.   This operation requires permissions to perform the kinesisanalytics:DiscoverInputSchema action. 
     80    */
     81   discoverInputSchema(params: KinesisAnalytics.Types.DiscoverInputSchemaRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.DiscoverInputSchemaResponse) => void): Request<KinesisAnalytics.Types.DiscoverInputSchemaResponse, AWSError>;
     82   /**
     83    * Infers a schema by evaluating sample records on the specified streaming source (Amazon Kinesis stream or Amazon Kinesis Firehose delivery stream). 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. For conceptual information, see Configuring Application Input. Note that when you create an application using the Amazon Kinesis Analytics console, the console uses this operation to infer a schema and show it in the console user interface.   This operation requires permissions to perform the kinesisanalytics:DiscoverInputSchema action. 
     84    */
     85   discoverInputSchema(callback?: (err: AWSError, data: KinesisAnalytics.Types.DiscoverInputSchemaResponse) => void): Request<KinesisAnalytics.Types.DiscoverInputSchemaResponse, AWSError>;
     86   /**
     87    * Returns a list of Amazon Kinesis Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If the response returns the HasMoreApplications value as true, you can send another request by adding the ExclusiveStartApplicationName in the request body, and set the value of this to the last application name from the previous response.  If you want detailed information about a specific application, use DescribeApplication. This operation requires permissions to perform the kinesisanalytics:ListApplications action.
     88    */
     89   listApplications(params: KinesisAnalytics.Types.ListApplicationsRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.ListApplicationsResponse) => void): Request<KinesisAnalytics.Types.ListApplicationsResponse, AWSError>;
     90   /**
     91    * Returns a list of Amazon Kinesis Analytics applications in your account. For each application, the response includes the application name, Amazon Resource Name (ARN), and status. If the response returns the HasMoreApplications value as true, you can send another request by adding the ExclusiveStartApplicationName in the request body, and set the value of this to the last application name from the previous response.  If you want detailed information about a specific application, use DescribeApplication. This operation requires permissions to perform the kinesisanalytics:ListApplications action.
     92    */
     93   listApplications(callback?: (err: AWSError, data: KinesisAnalytics.Types.ListApplicationsResponse) => void): Request<KinesisAnalytics.Types.ListApplicationsResponse, AWSError>;
     94   /**
     95    * Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application. After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination.  The application status must be READY for you to start an application. You can get the application status in the console or using the DescribeApplication operation. After you start the application, you can stop the application from processing the input by calling the StopApplication operation. This operation requires permissions to perform the kinesisanalytics:StartApplication action.
     96    */
     97   startApplication(params: KinesisAnalytics.Types.StartApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.StartApplicationResponse) => void): Request<KinesisAnalytics.Types.StartApplicationResponse, AWSError>;
     98   /**
     99    * Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application. After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination.  The application status must be READY for you to start an application. You can get the application status in the console or using the DescribeApplication operation. After you start the application, you can stop the application from processing the input by calling the StopApplication operation. This operation requires permissions to perform the kinesisanalytics:StartApplication action.
    100    */
    101   startApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.StartApplicationResponse) => void): Request<KinesisAnalytics.Types.StartApplicationResponse, AWSError>;
    102   /**
    103    * Stops the application from processing input 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. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination.  This operation requires permissions to perform the kinesisanalytics:StopApplication action.
    104    */
    105   stopApplication(params: KinesisAnalytics.Types.StopApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.StopApplicationResponse) => void): Request<KinesisAnalytics.Types.StopApplicationResponse, AWSError>;
    106   /**
    107    * Stops the application from processing input 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. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination.  This operation requires permissions to perform the kinesisanalytics:StopApplication action.
    108    */
    109   stopApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.StopApplicationResponse) => void): Request<KinesisAnalytics.Types.StopApplicationResponse, AWSError>;
    110   /**
    111    * Updates an existing Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.  Note that Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application.  This opeation requires permission for the kinesisanalytics:UpdateApplication action.
    112    */
    113   updateApplication(params: KinesisAnalytics.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: KinesisAnalytics.Types.UpdateApplicationResponse) => void): Request<KinesisAnalytics.Types.UpdateApplicationResponse, AWSError>;
    114   /**
    115    * Updates an existing Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.  Note that Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application.  This opeation requires permission for the kinesisanalytics:UpdateApplication action.
    116    */
    117   updateApplication(callback?: (err: AWSError, data: KinesisAnalytics.Types.UpdateApplicationResponse) => void): Request<KinesisAnalytics.Types.UpdateApplicationResponse, AWSError>;
    118 }
    119 declare namespace KinesisAnalytics.Types {
    120   export interface AddApplicationInputRequest {
    121     /**
    122      * Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.
    123      */
    124     ApplicationName: ApplicationName;
    125     /**
    126      * Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.
    127      */
    128     CurrentApplicationVersionId: ApplicationVersionId;
    129     Input: Input;
    130   }
    131   export interface AddApplicationInputResponse {
    132   }
    133   export interface AddApplicationOutputRequest {
    134     /**
    135      * Name of the application to which you want to add the output configuration.
    136      */
    137     ApplicationName: ApplicationName;
    138     /**
    139      * Version of the application to which you want add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. 
    140      */
    141     CurrentApplicationVersionId: ApplicationVersionId;
    142     /**
    143      * An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream), and record the formation to use when writing to the destination.
    144      */
    145     Output: Output;
    146   }
    147   export interface AddApplicationOutputResponse {
    148   }
    149   export interface AddApplicationReferenceDataSourceRequest {
    150     /**
    151      * Name of an existing application.
    152      */
    153     ApplicationName: ApplicationName;
    154     /**
    155      * 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.
    156      */
    157     CurrentApplicationVersionId: ApplicationVersionId;
    158     /**
    159      * The reference data source can be an object in your Amazon S3 bucket. Amazon Kinesis 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. You must also provide an IAM role with the necessary permissions that Amazon Kinesis Analytics can assume to read the object from your S3 bucket on your behalf.
    160      */
    161     ReferenceDataSource: ReferenceDataSource;
    162   }
    163   export interface AddApplicationReferenceDataSourceResponse {
    164   }
    165   export type ApplicationCode = string;
    166   export type ApplicationDescription = string;
    167   export interface ApplicationDetail {
    168     /**
    169      * Name of the application.
    170      */
    171     ApplicationName: ApplicationName;
    172     /**
    173      * Description of the application.
    174      */
    175     ApplicationDescription?: ApplicationDescription;
    176     /**
    177      * ARN of the application.
    178      */
    179     ApplicationARN: ResourceARN;
    180     /**
    181      * Status of the application.
    182      */
    183     ApplicationStatus: ApplicationStatus;
    184     /**
    185      * Timestamp when the application version was created.
    186      */
    187     CreateTimestamp?: Timestamp;
    188     /**
    189      * Timestamp when the application was last updated.
    190      */
    191     LastUpdateTimestamp?: Timestamp;
    192     /**
    193      * Describes the application input configuration. For more information, see Configuring Application Input. 
    194      */
    195     InputDescriptions?: InputDescriptions;
    196     /**
    197      * Describes the application output configuration. For more information, see Configuring Application Output. 
    198      */
    199     OutputDescriptions?: OutputDescriptions;
    200     /**
    201      * Describes reference data sources configured for the application. For more information, see Configuring Application Input. 
    202      */
    203     ReferenceDataSourceDescriptions?: ReferenceDataSourceDescriptions;
    204     /**
    205      * Returns the application code that you provided to perform data analysis on any of the in-application streams in your application.
    206      */
    207     ApplicationCode?: ApplicationCode;
    208     /**
    209      * Provides the current application version.
    210      */
    211     ApplicationVersionId: ApplicationVersionId;
    212   }
    213   export type ApplicationName = string;
    214   export type ApplicationStatus = "DELETING"|"STARTING"|"STOPPING"|"READY"|"RUNNING"|"UPDATING"|string;
    215   export type ApplicationSummaries = ApplicationSummary[];
    216   export interface ApplicationSummary {
    217     /**
    218      * Name of the application.
    219      */
    220     ApplicationName: ApplicationName;
    221     /**
    222      * ARN of the application.
    223      */
    224     ApplicationARN: ResourceARN;
    225     /**
    226      * Status of the application.
    227      */
    228     ApplicationStatus: ApplicationStatus;
    229   }
    230   export interface ApplicationUpdate {
    231     /**
    232      * Describes application input configuration updates.
    233      */
    234     InputUpdates?: InputUpdates;
    235     /**
    236      * Describes application code updates.
    237      */
    238     ApplicationCodeUpdate?: ApplicationCode;
    239     /**
    240      * Describes application output configuration updates.
    241      */
    242     OutputUpdates?: OutputUpdates;
    243     /**
    244      * Describes application reference data source updates.
    245      */
    246     ReferenceDataSourceUpdates?: ReferenceDataSourceUpdates;
    247   }
    248   export type ApplicationVersionId = number;
    249   export type BooleanObject = boolean;
    250   export type BucketARN = string;
    251   export interface CSVMappingParameters {
    252     /**
    253      * Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
    254      */
    255     RecordRowDelimiter: RecordRowDelimiter;
    256     /**
    257      * Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.
    258      */
    259     RecordColumnDelimiter: RecordColumnDelimiter;
    260   }
    261   export interface CreateApplicationRequest {
    262     /**
    263      * Name of your Amazon Kinesis Analytics application (for example, sample-app).
    264      */
    265     ApplicationName: ApplicationName;
    266     /**
    267      * Summary description of the application.
    268      */
    269     ApplicationDescription?: ApplicationDescription;
    270     /**
    271      * Use this parameter to configure the application input. You can configure your application to receive input from a single streaming source. In this configuration, you map this streaming source to an in-application stream that is created. Your application code can then query the in-application stream like a table (you can think of it as a constantly updating table). For the streaming source, you provide its Amazon Resource Name (ARN) and format of data on the stream (for example, JSON, CSV, etc). You also must provide an IAM role that Amazon Kinesis Analytics can assume to read this stream on your behalf. To create the in-application stream, you need to specify a schema to transform your data into a schematized version used in SQL. In the schema, you provide the necessary mapping of the data elements in the streaming source to record columns in the in-app stream.
    272      */
    273     Inputs?: Inputs;
    274     /**
    275      * You can configure application output to write data from any of the in-application streams to up to five destinations. These destinations can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, or both. In the configuration, you specify the in-application stream name, the destination stream Amazon Resource Name (ARN), and the format to use when writing data. You must also provide an IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. In the output configuration, you also provide the output stream Amazon Resource Name (ARN) and the format of data in the stream (for example, JSON, CSV). You also must provide an IAM role that Amazon Kinesis Analytics can assume to write to this stream on your behalf.
    276      */
    277     Outputs?: Outputs;
    278     /**
    279      * One or more SQL statements that read input data, transform it, and generate output. For example, you can write a SQL statement that reads input data and generates a running average of the number of advertisement clicks by vendor. You can also provide a series of SQL statements, where output of one statement can be used as the input for the next statement. Note that the application code must create the streams with names specified in the Outputs. For example, if your Outputs defines output streams named ExampleOutputStream1 and ExampleOutputStream2, then your application code must create these streams. 
    280      */
    281     ApplicationCode?: ApplicationCode;
    282   }
    283   export interface CreateApplicationResponse {
    284     /**
    285      * In response to your CreateApplication request, Amazon Kinesis Analytics returns a response with a summary of the application it created, including the application Amazon Resource Name (ARN), name, and status.
    286      */
    287     ApplicationSummary: ApplicationSummary;
    288   }
    289   export interface DeleteApplicationOutputRequest {
    290     /**
    291      * Amazon Kinesis Analytics application name.
    292      */
    293     ApplicationName: ApplicationName;
    294     /**
    295      * Amazon Kinesis Analytics 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. 
    296      */
    297     CurrentApplicationVersionId: ApplicationVersionId;
    298     /**
    299      * 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. 
    300      */
    301     OutputId: Id;
    302   }
    303   export interface DeleteApplicationOutputResponse {
    304   }
    305   export interface DeleteApplicationReferenceDataSourceRequest {
    306     /**
    307      * Name of an existing application.
    308      */
    309     ApplicationName: ApplicationName;
    310     /**
    311      * Version of the application. 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.
    312      */
    313     CurrentApplicationVersionId: ApplicationVersionId;
    314     /**
    315      * ID of the reference data source. When you add a reference data source to your application using the AddApplicationReferenceDataSource, Amazon Kinesis Analytics assigns an ID. You can use the DescribeApplication operation to get the reference ID. 
    316      */
    317     ReferenceId: Id;
    318   }
    319   export interface DeleteApplicationReferenceDataSourceResponse {
    320   }
    321   export interface DeleteApplicationRequest {
    322     /**
    323      * Name of the Amazon Kinesis Analytics application to delete.
    324      */
    325     ApplicationName: ApplicationName;
    326     /**
    327      *  You can use the DescribeApplication operation to get this value. 
    328      */
    329     CreateTimestamp: Timestamp;
    330   }
    331   export interface DeleteApplicationResponse {
    332   }
    333   export interface DescribeApplicationRequest {
    334     /**
    335      * Name of the application.
    336      */
    337     ApplicationName: ApplicationName;
    338   }
    339   export interface DescribeApplicationResponse {
    340     /**
    341      * Provides a description of the application, such as the application Amazon Resource Name (ARN), status, latest version, and input and output configuration details.
    342      */
    343     ApplicationDetail: ApplicationDetail;
    344   }
    345   export interface DestinationSchema {
    346     /**
    347      * Specifies the format of the records on the output stream.
    348      */
    349     RecordFormatType?: RecordFormatType;
    350   }
    351   export interface DiscoverInputSchemaRequest {
    352     /**
    353      * Amazon Resource Name (ARN) of the streaming source.
    354      */
    355     ResourceARN: ResourceARN;
    356     /**
    357      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf.
    358      */
    359     RoleARN: RoleARN;
    360     /**
    361      * Point at which you want Amazon Kinesis Analytics to start reading records from the specified streaming source discovery purposes.
    362      */
    363     InputStartingPositionConfiguration: InputStartingPositionConfiguration;
    364   }
    365   export interface DiscoverInputSchemaResponse {
    366     /**
    367      * 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.
    368      */
    369     InputSchema?: SourceSchema;
    370     /**
    371      * An array of elements, where each element corresponds to a row in a stream record (a stream record can have more than one row).
    372      */
    373     ParsedInputRecords?: ParsedInputRecords;
    374     /**
    375      * Raw stream data that was sampled to infer the schema.
    376      */
    377     RawInputRecords?: RawInputRecords;
    378   }
    379   export type ErrorMessage = string;
    380   export type FileKey = string;
    381   export type Id = string;
    382   export type InAppStreamName = string;
    383   export type InAppStreamNames = InAppStreamName[];
    384   export type InAppTableName = string;
    385   export interface Input {
    386     /**
    387      * Name prefix to use when creating in-application stream. Suppose you specify a prefix "MyInApplicationStream". Kinesis Analytics will then create one or more (as per the InputParallelism count you specified) in-application streams with names "MyInApplicationStream_001", "MyInApplicationStream_002" and so on. 
    388      */
    389     NamePrefix: InAppStreamName;
    390     /**
    391      * If the streaming source is an Amazon Kinesis stream, identifies the stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
    392      */
    393     KinesisStreamsInput?: KinesisStreamsInput;
    394     /**
    395      * If the streaming source is an Amazon Kinesis Firehose delivery stream, identifies the Firehose delivery stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
    396      */
    397     KinesisFirehoseInput?: KinesisFirehoseInput;
    398     /**
    399      * Describes the number of in-application streams to create.  Data from your source will be routed to these in-application input streams.  (see Configuring Application Input.
    400      */
    401     InputParallelism?: InputParallelism;
    402     /**
    403      * 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.
    404      */
    405     InputSchema: SourceSchema;
    406   }
    407   export interface InputConfiguration {
    408     /**
    409      * Input source ID. You can get this ID by calling the DescribeApplication operation.
    410      */
    411     Id: Id;
    412     /**
    413      * Point at which you want the application to start processing records from the streaming source.
    414      */
    415     InputStartingPositionConfiguration: InputStartingPositionConfiguration;
    416   }
    417   export type InputConfigurations = InputConfiguration[];
    418   export interface InputDescription {
    419     /**
    420      * Input ID associated with the application input. This is the ID that Amazon Kinesis Analytics assigns to each input configuration you add to your application. 
    421      */
    422     InputId?: Id;
    423     /**
    424      * In-application name prefix.
    425      */
    426     NamePrefix?: InAppStreamName;
    427     /**
    428      * Returns the in-application stream names that are mapped to the stream source.
    429      */
    430     InAppStreamNames?: InAppStreamNames;
    431     /**
    432      * If an Amazon Kinesis stream is configured as streaming source, provides Amazon Kinesis stream's ARN and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
    433      */
    434     KinesisStreamsInputDescription?: KinesisStreamsInputDescription;
    435     /**
    436      * If an Amazon Kinesis Firehose delivery stream is configured as a streaming source, provides the Firehose delivery stream's Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics to access the stream on your behalf.
    437      */
    438     KinesisFirehoseInputDescription?: KinesisFirehoseInputDescription;
    439     InputSchema?: SourceSchema;
    440     /**
    441      * Describes the configured parallelism (number of in-application streams mapped to the streaming source).
    442      */
    443     InputParallelism?: InputParallelism;
    444     /**
    445      * Point at which the application is configured to read from the input stream.
    446      */
    447     InputStartingPositionConfiguration?: InputStartingPositionConfiguration;
    448   }
    449   export type InputDescriptions = InputDescription[];
    450   export interface InputParallelism {
    451     /**
    452      * Number of in-application streams to create. For more information, see Limits. 
    453      */
    454     Count?: InputParallelismCount;
    455   }
    456   export type InputParallelismCount = number;
    457   export interface InputParallelismUpdate {
    458     /**
    459      * Number of in-application streams to create for the specified streaming source.
    460      */
    461     CountUpdate?: InputParallelismCount;
    462   }
    463   export interface InputSchemaUpdate {
    464     /**
    465      * Specifies the format of the records on the streaming source.
    466      */
    467     RecordFormatUpdate?: RecordFormat;
    468     /**
    469      * Specifies the encoding of the records in the streaming source. For example, UTF-8.
    470      */
    471     RecordEncodingUpdate?: RecordEncoding;
    472     /**
    473      * A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream. 
    474      */
    475     RecordColumnUpdates?: RecordColumns;
    476   }
    477   export type InputStartingPosition = "NOW"|"TRIM_HORIZON"|"LAST_STOPPED_POINT"|string;
    478   export interface InputStartingPositionConfiguration {
    479     /**
    480      * The starting position on the stream.    LATEST - Start reading just after the most recent record in the stream.    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 Firehose delivery stream.    LAST_STOPPED_POINT - Resume reading from where the application last stopped reading.  
    481      */
    482     InputStartingPosition?: InputStartingPosition;
    483   }
    484   export interface InputUpdate {
    485     /**
    486      * Input ID of the application input to be updated.
    487      */
    488     InputId: Id;
    489     /**
    490      * Name prefix for in-application stream(s) that Kinesis Analytics creates for the specific streaming source.
    491      */
    492     NamePrefixUpdate?: InAppStreamName;
    493     /**
    494      * If a Amazon Kinesis stream is the streaming source to be updated, provides an updated stream ARN and IAM role ARN.
    495      */
    496     KinesisStreamsInputUpdate?: KinesisStreamsInputUpdate;
    497     /**
    498      * If an Amazon Kinesis Firehose delivery stream is the streaming source to be updated, provides an updated stream Amazon Resource Name (ARN) and IAM role ARN.
    499      */
    500     KinesisFirehoseInputUpdate?: KinesisFirehoseInputUpdate;
    501     /**
    502      * 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.
    503      */
    504     InputSchemaUpdate?: InputSchemaUpdate;
    505     /**
    506      * Describes the parallelism updates (the number in-application streams Kinesis Analytics creates for the specific streaming source).
    507      */
    508     InputParallelismUpdate?: InputParallelismUpdate;
    509   }
    510   export type InputUpdates = InputUpdate[];
    511   export type Inputs = Input[];
    512   export interface JSONMappingParameters {
    513     /**
    514      * Path to the top-level parent that contains the records. For example, consider the following JSON record: In the RecordRowPath, "$" refers to the root and path "$.vehicle.Model" refers to the specific "Model" key in the JSON.
    515      */
    516     RecordRowPath: RecordRowPath;
    517   }
    518   export interface KinesisFirehoseInput {
    519     /**
    520      * ARN of the input Firehose delivery stream.
    521      */
    522     ResourceARN: ResourceARN;
    523     /**
    524      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to make sure the role has necessary permissions to access the stream.
    525      */
    526     RoleARN: RoleARN;
    527   }
    528   export interface KinesisFirehoseInputDescription {
    529     /**
    530      * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream.
    531      */
    532     ResourceARN?: ResourceARN;
    533     /**
    534      * ARN of the IAM role that Amazon Kinesis Analytics assumes to access the stream.
    535      */
    536     RoleARN?: RoleARN;
    537   }
    538   export interface KinesisFirehoseInputUpdate {
    539     /**
    540      * ARN of the input Amazon Kinesis Firehose delivery stream to read.
    541      */
    542     ResourceARNUpdate?: ResourceARN;
    543     /**
    544      * Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant necessary permissions to this role.
    545      */
    546     RoleARNUpdate?: RoleARN;
    547   }
    548   export interface KinesisFirehoseOutput {
    549     /**
    550      * ARN of the destination Amazon Kinesis Firehose delivery stream to write to.
    551      */
    552     ResourceARN: ResourceARN;
    553     /**
    554      * ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.
    555      */
    556     RoleARN: RoleARN;
    557   }
    558   export interface KinesisFirehoseOutputDescription {
    559     /**
    560      * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream.
    561      */
    562     ResourceARN?: ResourceARN;
    563     /**
    564      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.
    565      */
    566     RoleARN?: RoleARN;
    567   }
    568   export interface KinesisFirehoseOutputUpdate {
    569     /**
    570      * Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to write to.
    571      */
    572     ResourceARNUpdate?: ResourceARN;
    573     /**
    574      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant necessary permissions to this role.
    575      */
    576     RoleARNUpdate?: RoleARN;
    577   }
    578   export interface KinesisStreamsInput {
    579     /**
    580      * ARN of the input Amazon Kinesis stream to read.
    581      */
    582     ResourceARN: ResourceARN;
    583     /**
    584      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.
    585      */
    586     RoleARN: RoleARN;
    587   }
    588   export interface KinesisStreamsInputDescription {
    589     /**
    590      * Amazon Resource Name (ARN) of the Amazon Kinesis stream.
    591      */
    592     ResourceARN?: ResourceARN;
    593     /**
    594      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.
    595      */
    596     RoleARN?: RoleARN;
    597   }
    598   export interface KinesisStreamsInputUpdate {
    599     /**
    600      * Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.
    601      */
    602     ResourceARNUpdate?: ResourceARN;
    603     /**
    604      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.
    605      */
    606     RoleARNUpdate?: RoleARN;
    607   }
    608   export interface KinesisStreamsOutput {
    609     /**
    610      * ARN of the destination Amazon Kinesis stream to write to.
    611      */
    612     ResourceARN: ResourceARN;
    613     /**
    614      * ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the destination stream on your behalf. You need to grant the necessary permissions to this role.
    615      */
    616     RoleARN: RoleARN;
    617   }
    618   export interface KinesisStreamsOutputDescription {
    619     /**
    620      * Amazon Resource Name (ARN) of the Amazon Kinesis stream.
    621      */
    622     ResourceARN?: ResourceARN;
    623     /**
    624      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream.
    625      */
    626     RoleARN?: RoleARN;
    627   }
    628   export interface KinesisStreamsOutputUpdate {
    629     /**
    630      * Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to write the output.
    631      */
    632     ResourceARNUpdate?: ResourceARN;
    633     /**
    634      * ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to grant the necessary permissions to this role.
    635      */
    636     RoleARNUpdate?: RoleARN;
    637   }
    638   export type ListApplicationsInputLimit = number;
    639   export interface ListApplicationsRequest {
    640     /**
    641      * Maximum number of applications to list.
    642      */
    643     Limit?: ListApplicationsInputLimit;
    644     /**
    645      * Name of the application to start the list with. When using pagination to retrieve the list, you don't need to specify this parameter in the first request. However, in subsequent requests, you add the last application name from the previous response to get the next page of applications.
    646      */
    647     ExclusiveStartApplicationName?: ApplicationName;
    648   }
    649   export interface ListApplicationsResponse {
    650     /**
    651      * List of ApplicationSummary objects. 
    652      */
    653     ApplicationSummaries: ApplicationSummaries;
    654     /**
    655      * Returns true if there are more applications to retrieve.
    656      */
    657     HasMoreApplications: BooleanObject;
    658   }
    659   export interface MappingParameters {
    660     /**
    661      * Provides additional mapping information when JSON is the record format on the streaming source.
    662      */
    663     JSONMappingParameters?: JSONMappingParameters;
    664     /**
    665      * Provides additional mapping information when the record format uses delimiters (for example, CSV).
    666      */
    667     CSVMappingParameters?: CSVMappingParameters;
    668   }
    669   export interface Output {
    670     /**
    671      * Name of the in-application stream.
    672      */
    673     Name: InAppStreamName;
    674     /**
    675      * Identifies an Amazon Kinesis stream as the destination.
    676      */
    677     KinesisStreamsOutput?: KinesisStreamsOutput;
    678     /**
    679      * Identifies an Amazon Kinesis Firehose delivery stream as the destination.
    680      */
    681     KinesisFirehoseOutput?: KinesisFirehoseOutput;
    682     DestinationSchema: DestinationSchema;
    683   }
    684   export interface OutputDescription {
    685     /**
    686      * A unique identifier for the output configuration.
    687      */
    688     OutputId?: Id;
    689     /**
    690      * Name of the in-application stream configured as output.
    691      */
    692     Name?: InAppStreamName;
    693     /**
    694      * Describes Amazon Kinesis stream configured as the destination where output is written.
    695      */
    696     KinesisStreamsOutputDescription?: KinesisStreamsOutputDescription;
    697     /**
    698      * Describes the Amazon Kinesis Firehose delivery stream configured as the destination where output is written.
    699      */
    700     KinesisFirehoseOutputDescription?: KinesisFirehoseOutputDescription;
    701     /**
    702      * Data format used for writing data to the destination.
    703      */
    704     DestinationSchema?: DestinationSchema;
    705   }
    706   export type OutputDescriptions = OutputDescription[];
    707   export interface OutputUpdate {
    708     /**
    709      * Identifies the specific output configuration that you want to update.
    710      */
    711     OutputId: Id;
    712     /**
    713      * 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.
    714      */
    715     NameUpdate?: InAppStreamName;
    716     /**
    717      * Describes an Amazon Kinesis stream as the destination for the output.
    718      */
    719     KinesisStreamsOutputUpdate?: KinesisStreamsOutputUpdate;
    720     /**
    721      * Describes a Amazon Kinesis Firehose delivery stream as the destination for the output.
    722      */
    723     KinesisFirehoseOutputUpdate?: KinesisFirehoseOutputUpdate;
    724     DestinationSchemaUpdate?: DestinationSchema;
    725   }
    726   export type OutputUpdates = OutputUpdate[];
    727   export type Outputs = Output[];
    728   export type ParsedInputRecord = ParsedInputRecordField[];
    729   export type ParsedInputRecordField = string;
    730   export type ParsedInputRecords = ParsedInputRecord[];
    731   export type RawInputRecord = string;
    732   export type RawInputRecords = RawInputRecord[];
    733   export interface RecordColumn {
    734     /**
    735      * Name of the column created in the in-application input stream or reference table.
    736      */
    737     Name: RecordColumnName;
    738     /**
    739      * Reference to the data element in the streaming input of the reference data source.
    740      */
    741     Mapping?: RecordColumnMapping;
    742     /**
    743      * Type of column created in the in-application input stream or reference table.
    744      */
    745     SqlType: RecordColumnSqlType;
    746   }
    747   export type RecordColumnDelimiter = string;
    748   export type RecordColumnMapping = string;
    749   export type RecordColumnName = string;
    750   export type RecordColumnSqlType = string;
    751   export type RecordColumns = RecordColumn[];
    752   export type RecordEncoding = string;
    753   export interface RecordFormat {
    754     /**
    755      * The type of record format.
    756      */
    757     RecordFormatType: RecordFormatType;
    758     MappingParameters?: MappingParameters;
    759   }
    760   export type RecordFormatType = "JSON"|"CSV"|string;
    761   export type RecordRowDelimiter = string;
    762   export type RecordRowPath = string;
    763   export interface ReferenceDataSource {
    764     /**
    765      * Name of the in-application table to create.
    766      */
    767     TableName: InAppTableName;
    768     S3ReferenceDataSource?: S3ReferenceDataSource;
    769     ReferenceSchema: SourceSchema;
    770   }
    771   export interface ReferenceDataSourceDescription {
    772     /**
    773      * ID of the reference data source. This is the ID that Amazon Kinesis Analytics assigns when you add the reference data source to your application using the AddApplicationReferenceDataSource operation.
    774      */
    775     ReferenceId: Id;
    776     /**
    777      * The in-application table name created by the specific reference data source configuration.
    778      */
    779     TableName: InAppTableName;
    780     /**
    781      * Provides the S3 bucket name, the object key name that contains the reference data. It also provides the Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application reference table.
    782      */
    783     S3ReferenceDataSourceDescription: S3ReferenceDataSourceDescription;
    784     ReferenceSchema?: SourceSchema;
    785   }
    786   export type ReferenceDataSourceDescriptions = ReferenceDataSourceDescription[];
    787   export interface ReferenceDataSourceUpdate {
    788     /**
    789      * ID of the reference data source being updated. You can use the DescribeApplication operation to get this value.
    790      */
    791     ReferenceId: Id;
    792     /**
    793      * In-application table name that is created by this update.
    794      */
    795     TableNameUpdate?: InAppTableName;
    796     /**
    797      * Describes the S3 bucket name, object key name, and IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf and populate the in-application reference table.
    798      */
    799     S3ReferenceDataSourceUpdate?: S3ReferenceDataSourceUpdate;
    800     ReferenceSchemaUpdate?: SourceSchema;
    801   }
    802   export type ReferenceDataSourceUpdates = ReferenceDataSourceUpdate[];
    803   export type ResourceARN = string;
    804   export type RoleARN = string;
    805   export interface S3ReferenceDataSource {
    806     /**
    807      * Amazon Resource Name (ARN) of the S3 bucket.
    808      */
    809     BucketARN: BucketARN;
    810     /**
    811      * Object key name containing reference data.
    812      */
    813     FileKey: FileKey;
    814     /**
    815      * ARN of the IAM role that the service can assume to read data on your behalf. This role must have permission for the s3:GetObject action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.
    816      */
    817     ReferenceRoleARN: RoleARN;
    818   }
    819   export interface S3ReferenceDataSourceDescription {
    820     /**
    821      * Amazon Resource Name (ARN) of the S3 bucket.
    822      */
    823     BucketARN: BucketARN;
    824     /**
    825      * Amazon S3 object key name.
    826      */
    827     FileKey: FileKey;
    828     /**
    829      * ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object on your behalf to populate the in-application reference table.
    830      */
    831     ReferenceRoleARN: RoleARN;
    832   }
    833   export interface S3ReferenceDataSourceUpdate {
    834     /**
    835      * Amazon Resource Name (ARN) of the S3 bucket.
    836      */
    837     BucketARNUpdate?: BucketARN;
    838     /**
    839      * Object key name.
    840      */
    841     FileKeyUpdate?: FileKey;
    842     /**
    843      * ARN of the IAM role that Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate the in-application.
    844      */
    845     ReferenceRoleARNUpdate?: RoleARN;
    846   }
    847   export interface SourceSchema {
    848     /**
    849      * Specifies the format of the records on the streaming source.
    850      */
    851     RecordFormat: RecordFormat;
    852     /**
    853      * Specifies the encoding of the records in the streaming source. For example, UTF-8.
    854      */
    855     RecordEncoding?: RecordEncoding;
    856     /**
    857      * A list of RecordColumn objects.
    858      */
    859     RecordColumns: RecordColumns;
    860   }
    861   export interface StartApplicationRequest {
    862     /**
    863      * Name of the application.
    864      */
    865     ApplicationName: ApplicationName;
    866     /**
    867      * Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.
    868      */
    869     InputConfigurations: InputConfigurations;
    870   }
    871   export interface StartApplicationResponse {
    872   }
    873   export interface StopApplicationRequest {
    874     /**
    875      * Name of the running application to stop.
    876      */
    877     ApplicationName: ApplicationName;
    878   }
    879   export interface StopApplicationResponse {
    880   }
    881   export type Timestamp = Date;
    882   export interface UpdateApplicationRequest {
    883     /**
    884      * Name of the Kinesis Analytics application to update.
    885      */
    886     ApplicationName: ApplicationName;
    887     /**
    888      * The current application version ID. You can use the DescribeApplication operation to get this value.
    889      */
    890     CurrentApplicationVersionId: ApplicationVersionId;
    891     /**
    892      * Describes application updates.
    893      */
    894     ApplicationUpdate: ApplicationUpdate;
    895   }
    896   export interface UpdateApplicationResponse {
    897   }
    898   /**
    899    * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
    900    */
    901   export type apiVersion = "2015-08-14"|"latest"|string;
    902   export interface ClientApiVersions {
    903     /**
    904      * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
    905      */
    906     apiVersion?: apiVersion;
    907   }
    908   export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
    909 }
    910 export = KinesisAnalytics;