| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoT::KafkaAction; | ||
| 3 | use Moose; | ||
| 4 | has ClientProperties => (is => 'ro', isa => 'Paws::IoT::ClientProperties', request_name => 'clientProperties', traits => ['NameInRequest'], required => 1); | ||
| 5 | has DestinationArn => (is => 'ro', isa => 'Str', request_name => 'destinationArn', traits => ['NameInRequest'], required => 1); | ||
| 6 | has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']); | ||
| 7 | has Partition => (is => 'ro', isa => 'Str', request_name => 'partition', traits => ['NameInRequest']); | ||
| 8 | has Topic => (is => 'ro', isa => 'Str', request_name => 'topic', traits => ['NameInRequest'], required => 1); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::IoT::KafkaAction | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::IoT::KafkaAction object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { ClientProperties => $value, ..., Topic => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::KafkaAction object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->ClientProperties | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon | ||
| 41 | MSK) or self-managed Apache Kafka cluster. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 B<REQUIRED> ClientProperties => L<Paws::IoT::ClientProperties> | ||
| 47 | |||
| 48 | Properties of the Apache Kafka producer client. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> DestinationArn => Str | ||
| 52 | |||
| 53 | The ARN of Kafka action's VPC C<TopicRuleDestination>. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 Key => Str | ||
| 57 | |||
| 58 | The Kafka message key. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 Partition => Str | ||
| 62 | |||
| 63 | The Kafka message partition. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> Topic => Str | ||
| 67 | |||
| 68 | The Kafka topic for messages to be sent to the Kafka broker. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::IoT> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |