File Coverage

blib/lib/Paws/IoT/DynamoDBv2Action.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::IoT::DynamoDBv2Action;
2 1     1   690 use Moose;
  1         3  
  1         10  
3             has PutItem => (is => 'ro', isa => 'Paws::IoT::PutItemInput', request_name => 'putItem', traits => ['NameInRequest']);
4             has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::IoT::DynamoDBv2Action
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::IoT::DynamoDBv2Action object:
23              
24             $service_obj->Method(Att1 => { PutItem => $value, ..., RoleArn => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::DynamoDBv2Action object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->PutItem
32              
33             =head1 DESCRIPTION
34              
35             Describes an action to write to a DynamoDB table.
36              
37             This DynamoDB action writes each attribute in the message payload into
38             it's own column in the DynamoDB table.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 PutItem => L<Paws::IoT::PutItemInput>
44              
45             Specifies the DynamoDB table to which the message data will be written.
46             For example:
47              
48             C<{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": {
49             "tableName": "my-table" } } }>
50              
51             Each attribute in the message payload will be written to a separate
52             column in the DynamoDB database.
53              
54              
55             =head2 RoleArn => Str
56              
57             The ARN of the IAM role that grants access to the DynamoDB table.
58              
59              
60              
61             =head1 SEE ALSO
62              
63             This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
64              
65             =head1 BUGS and CONTRIBUTIONS
66              
67             The source code is located here: https://github.com/pplu/aws-sdk-perl
68              
69             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
70              
71             =cut
72