Skip to content

Add Application Cloud Watch Logging Option

kinesisanalyticsv2_add_application_cloud_watch_logging_option R Documentation

Adds an Amazon CloudWatch log stream to monitor application configuration errors

Description

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

Usage

kinesisanalyticsv2_add_application_cloud_watch_logging_option(
  ApplicationName, CurrentApplicationVersionId, CloudWatchLoggingOption,
  ConditionalToken)

Arguments

ApplicationName

[required] The Kinesis Data Analytics application name.

CurrentApplicationVersionId

The version ID of the SQL-based Kinesis Data Analytics application. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using describe_application. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

CloudWatchLoggingOption

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

ConditionalToken

A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using describe_application. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

Value

A list with the following syntax:

list(
  ApplicationARN = "string",
  ApplicationVersionId = 123,
  CloudWatchLoggingOptionDescriptions = list(
    list(
      CloudWatchLoggingOptionId = "string",
      LogStreamARN = "string",
      RoleARN = "string"
    )
  ),
  OperationId = "string"
)

Request syntax

svc$add_application_cloud_watch_logging_option(
  ApplicationName = "string",
  CurrentApplicationVersionId = 123,
  CloudWatchLoggingOption = list(
    LogStreamARN = "string"
  ),
  ConditionalToken = "string"
)