NAME

Paws::IoTAnalytics::SampleChannelData - Arguments for method SampleChannelData on Paws::IoTAnalytics

DESCRIPTION

This class represents the parameters used for calling the method SampleChannelData on the AWS IoT Analytics service. Use the attributes of this class as arguments to method SampleChannelData.

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

SYNOPSIS

my $iotanalytics = Paws->service('IoTAnalytics');
my $SampleChannelDataResponse = $iotanalytics->SampleChannelData(
  ChannelName => 'MyChannelName',
  EndTime     => '1970-01-01T01:00:00',    # OPTIONAL
  MaxMessages => 1,                        # OPTIONAL
  StartTime   => '1970-01-01T01:00:00',    # OPTIONAL
);

# Results:
my $Payloads = $SampleChannelDataResponse->Payloads;

# Returns a L<Paws::IoTAnalytics::SampleChannelDataResponse> 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/iotanalytics/SampleChannelData

ATTRIBUTES

REQUIRED ChannelName => Str

The name of the channel whose message samples are retrieved.

EndTime => Str

The end of the time window from which sample messages are retrieved.

MaxMessages => Int

The number of sample messages to be retrieved. The limit is 10. The default is also 10.

StartTime => Str

The start of the time window from which sample messages are retrieved.

SEE ALSO

This class forms part of Paws, documenting arguments for method SampleChannelData in Paws::IoTAnalytics

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