blib/lib/Paws/Honeycode/BatchDeleteTableRows.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Honeycode::BatchDeleteTableRows;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken');
5 has RowIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'rowIds', required => 1);
6 has TableId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'tableId', required => 1);
7 has WorkbookId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'workbookId', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'BatchDeleteTableRows');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/workbooks/{workbookId}/tables/{tableId}/rows/batchdelete');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Honeycode::BatchDeleteTableRowsResult');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Honeycode::BatchDeleteTableRows - Arguments for method BatchDeleteTableRows on L<Paws::Honeycode>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method BatchDeleteTableRows on the
26 L<Amazon Honeycode|Paws::Honeycode> service. Use the attributes of this class
27 as arguments to method BatchDeleteTableRows.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchDeleteTableRows.
30  
31 =head1 SYNOPSIS
32  
33 my $honeycode = Paws->service('Honeycode');
34 my $BatchDeleteTableRowsResult = $honeycode->BatchDeleteTableRows(
35 RowIds => [
36 'MyRowId', ... # min: 77, max: 77
37 ],
38 TableId => 'MyResourceId',
39 WorkbookId => 'MyResourceId',
40 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
41 );
42  
43 # Results:
44 my $FailedBatchItems = $BatchDeleteTableRowsResult->FailedBatchItems;
45 my $WorkbookCursor = $BatchDeleteTableRowsResult->WorkbookCursor;
46  
47 # Returns a L<Paws::Honeycode::BatchDeleteTableRowsResult> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/honeycode/BatchDeleteTableRows>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 ClientRequestToken => Str
56  
57 The request token for performing the delete action. Request tokens help
58 to identify duplicate requests. If a call times out or fails due to a
59 transient error like a failed network connection, you can retry the
60 call with the same request token. The service ensures that if the first
61 call using that request token is successfully performed, the second
62 call will not perform the action again.
63  
64 Note that request tokens are valid only for a few minutes. You cannot
65 use request tokens to dedupe requests spanning hours or days.
66  
67  
68  
69 =head2 B<REQUIRED> RowIds => ArrayRef[Str|Undef]
70  
71 The list of row ids to delete from the table. You need to specify at
72 least one row id in this list.
73  
74 Note that if one of the row ids provided in the request does not exist
75 in the table, then the request fails and no rows are deleted from the
76 table.
77  
78  
79  
80 =head2 B<REQUIRED> TableId => Str
81  
82 The ID of the table where the rows are being deleted.
83  
84 If a table with the specified id could not be found, this API throws
85 ResourceNotFoundException.
86  
87  
88  
89 =head2 B<REQUIRED> WorkbookId => Str
90  
91 The ID of the workbook where the rows are being deleted.
92  
93 If a workbook with the specified id could not be found, this API throws
94 ResourceNotFoundException.
95  
96  
97  
98  
99 =head1 SEE ALSO
100  
101 This class forms part of L<Paws>, documenting arguments for method BatchDeleteTableRows in L<Paws::Honeycode>
102  
103 =head1 BUGS and CONTRIBUTIONS
104  
105 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
106  
107 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
108  
109 =cut
110