libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Description

This 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.

Synopsis

Creating a Request

data AddApplicationCloudWatchLoggingOption Source #

Constructors

AddApplicationCloudWatchLoggingOption' 

Fields

Instances

Instances details
Eq AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Read AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Show AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Generic AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

NFData AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Hashable AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

ToJSON AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

AWSRequest AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

ToHeaders AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

ToPath AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

ToQuery AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOption = D1 ('MetaData "AddApplicationCloudWatchLoggingOption" "Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "AddApplicationCloudWatchLoggingOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "currentApplicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "cloudWatchLoggingOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CloudWatchLoggingOption))))
type AWSResponse AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

newAddApplicationCloudWatchLoggingOption Source #

Create a value of AddApplicationCloudWatchLoggingOption with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applicationName:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_applicationName - The Kinesis Analytics application name.

$sel:currentApplicationVersionId:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_currentApplicationVersionId - The version ID of the Kinesis Analytics application.

$sel:cloudWatchLoggingOption:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption - 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.

Request Lenses

addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption :: Lens' AddApplicationCloudWatchLoggingOption CloudWatchLoggingOption Source #

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.

Destructuring the Response

data AddApplicationCloudWatchLoggingOptionResponse Source #

Constructors

AddApplicationCloudWatchLoggingOptionResponse' 

Fields

Instances

Instances details
Eq AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Read AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Show AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

Generic AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

NFData AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOptionResponse = D1 ('MetaData "AddApplicationCloudWatchLoggingOptionResponse" "Amazonka.KinesisAnalytics.AddApplicationCloudWatchLoggingOption" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "AddApplicationCloudWatchLoggingOptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddApplicationCloudWatchLoggingOptionResponse Source #

Create a value of AddApplicationCloudWatchLoggingOptionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:AddApplicationCloudWatchLoggingOptionResponse', addApplicationCloudWatchLoggingOptionResponse_httpStatus - The response's http status code.

Response Lenses