libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2
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.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Description

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

Synopsis

Creating a Request

data AddApplicationCloudWatchLoggingOption Source #

Constructors

AddApplicationCloudWatchLoggingOption' 

Fields

  • currentApplicationVersionId :: Maybe Natural

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

  • conditionalToken :: Maybe Text

    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 DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

  • applicationName :: Text

    The Kinesis Data Analytics application name.

  • cloudWatchLoggingOption :: CloudWatchLoggingOption

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

Instances

Instances details
Eq AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Read AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Show AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Generic AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

NFData AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Hashable AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

ToJSON AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

AWSRequest AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

ToHeaders AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

ToPath AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

ToQuery AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOption Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

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

Defined in Amazonka.KinesisAnalyticsV2.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:currentApplicationVersionId:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_currentApplicationVersionId - The version ID of the Kinesis Data Analytics application. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

$sel:conditionalToken:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_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 DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

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

$sel:cloudWatchLoggingOption:AddApplicationCloudWatchLoggingOption', addApplicationCloudWatchLoggingOption_cloudWatchLoggingOption - Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN).

Request Lenses

addApplicationCloudWatchLoggingOption_currentApplicationVersionId :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Natural) Source #

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

addApplicationCloudWatchLoggingOption_conditionalToken :: Lens' AddApplicationCloudWatchLoggingOption (Maybe Text) Source #

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 DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

Destructuring the Response

data AddApplicationCloudWatchLoggingOptionResponse Source #

Constructors

AddApplicationCloudWatchLoggingOptionResponse' 

Fields

Instances

Instances details
Eq AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Read AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Show AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

Generic AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

NFData AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOptionResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption

type Rep AddApplicationCloudWatchLoggingOptionResponse = D1 ('MetaData "AddApplicationCloudWatchLoggingOptionResponse" "Amazonka.KinesisAnalyticsV2.AddApplicationCloudWatchLoggingOption" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "AddApplicationCloudWatchLoggingOptionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "cloudWatchLoggingOptionDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CloudWatchLoggingOptionDescription])) :*: 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:applicationARN:AddApplicationCloudWatchLoggingOptionResponse', addApplicationCloudWatchLoggingOptionResponse_applicationARN - The application's ARN.

$sel:applicationVersionId:AddApplicationCloudWatchLoggingOptionResponse', addApplicationCloudWatchLoggingOptionResponse_applicationVersionId - The new version ID of the Kinesis Data Analytics application. Kinesis Data Analytics updates the ApplicationVersionId each time you change the CloudWatch logging options.

$sel:cloudWatchLoggingOptionDescriptions:AddApplicationCloudWatchLoggingOptionResponse', addApplicationCloudWatchLoggingOptionResponse_cloudWatchLoggingOptionDescriptions - The descriptions of the current CloudWatch logging options for the Kinesis Data Analytics application.

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

Response Lenses

addApplicationCloudWatchLoggingOptionResponse_applicationVersionId :: Lens' AddApplicationCloudWatchLoggingOptionResponse (Maybe Natural) Source #

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