NAME

Paws::KinesisAnalyticsV2::AddApplicationCloudWatchLoggingOption - Arguments for method AddApplicationCloudWatchLoggingOption on Paws::KinesisAnalyticsV2

DESCRIPTION

This class represents the parameters used for calling the method AddApplicationCloudWatchLoggingOption on the Amazon Kinesis Analytics service. Use the attributes of this class as arguments to method AddApplicationCloudWatchLoggingOption.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationCloudWatchLoggingOption.

SYNOPSIS

my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
my $AddApplicationCloudWatchLoggingOptionResponse =
  $kinesisanalytics->AddApplicationCloudWatchLoggingOption(
  ApplicationName         => 'MyApplicationName',
  CloudWatchLoggingOption => {
    LogStreamARN => 'MyLogStreamARN',    # min: 1, max: 2048

  },
  ConditionalToken            => 'MyConditionalToken',    # OPTIONAL
  CurrentApplicationVersionId => 1,                       # OPTIONAL
  );

# Results:
my $ApplicationARN =
  $AddApplicationCloudWatchLoggingOptionResponse->ApplicationARN;
my $ApplicationVersionId =
  $AddApplicationCloudWatchLoggingOptionResponse->ApplicationVersionId;
my $CloudWatchLoggingOptionDescriptions =
  $AddApplicationCloudWatchLoggingOptionResponse
  ->CloudWatchLoggingOptionDescriptions;

# Returns a Paws::KinesisAnalyticsV2::AddApplicationCloudWatchLoggingOptionResponse object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationCloudWatchLoggingOption

ATTRIBUTES

REQUIRED ApplicationName => Str

The Kinesis Data Analytics application name.

REQUIRED CloudWatchLoggingOption => Paws::KinesisAnalyticsV2::CloudWatchLoggingOption

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

ConditionalToken => Str

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.

CurrentApplicationVersionId => Int

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method AddApplicationCloudWatchLoggingOption in Paws::KinesisAnalyticsV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues