The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::CloudFront::RealtimeLogConfig

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CloudFront::RealtimeLogConfig object:

  $service_obj->Method(Att1 => { ARN => $value, ..., SamplingRate => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::RealtimeLogConfig object:

  $result = $service_obj->Method(...);
  $result->Att1->ARN

DESCRIPTION

A real-time log configuration.

ATTRIBUTES

REQUIRED ARN => Str

The Amazon Resource Name (ARN) of this real-time log configuration.

REQUIRED EndPoints => ArrayRef[Paws::CloudFront::EndPoint]

Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.

REQUIRED Fields => ArrayRef[Str|Undef]

A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream.

For more information about fields, see Real-time log configuration fields (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html#understand-real-time-log-config-fields) in the Amazon CloudFront Developer Guide.

REQUIRED Name => Str

The unique name of this real-time log configuration.

REQUIRED SamplingRate => Int

The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CloudFront

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