Values.AddApplicationCloudWatchLoggingOptionRequestSourceThis documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation. Adds a CloudWatch log stream to monitor application configuration errors. For more information about using CloudWatch log streams with Amazon Kinesis Analytics applications, see Working with Amazon CloudWatch Logs.
type nonrec t = {applicationName : ApplicationName.t;The Kinesis Analytics application name.
*)currentApplicationVersionId : ApplicationVersionId.t;The version ID of the Kinesis Analytics application.
*)cloudWatchLoggingOption : CloudWatchLoggingOption.t;Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.
*)}val make :
applicationName:ApplicationName.t ->
currentApplicationVersionId:ApplicationVersionId.t ->
cloudWatchLoggingOption:CloudWatchLoggingOption.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Long of ApplicationVersionId.t
| `String of ApplicationName.t
| `Structure of (string * [> `String of LogStreamARN.t ]) list ])
list ]