File Coverage

blib/lib/Paws/DynamoDB/UpdateTable.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::DynamoDB::UpdateTable;
3 1     1   409 use Moose;
  1         3  
  1         8  
4             has AttributeDefinitions => (is => 'ro', isa => 'ArrayRef[Paws::DynamoDB::AttributeDefinition]');
5             has GlobalSecondaryIndexUpdates => (is => 'ro', isa => 'ArrayRef[Paws::DynamoDB::GlobalSecondaryIndexUpdate]');
6             has ProvisionedThroughput => (is => 'ro', isa => 'Paws::DynamoDB::ProvisionedThroughput');
7             has StreamSpecification => (is => 'ro', isa => 'Paws::DynamoDB::StreamSpecification');
8             has TableName => (is => 'ro', isa => 'Str', required => 1);
9              
10 1     1   6367 use MooseX::ClassAttribute;
  1         3  
  1         11  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTable');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DynamoDB::UpdateTableOutput');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::DynamoDB::UpdateTable - Arguments for method UpdateTable on Paws::DynamoDB
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method UpdateTable on the
26             Amazon DynamoDB service. Use the attributes of this class
27             as arguments to method UpdateTable.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTable.
30              
31             As an example:
32              
33             $service_obj->UpdateTable(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 AttributeDefinitions => ArrayRef[L<Paws::DynamoDB::AttributeDefinition>]
41              
42             An array of attributes that describe the key schema for the table and
43             indexes. If you are adding a new global secondary index to the table,
44             C<AttributeDefinitions> must include the key element(s) of the new
45             index.
46              
47              
48              
49             =head2 GlobalSecondaryIndexUpdates => ArrayRef[L<Paws::DynamoDB::GlobalSecondaryIndexUpdate>]
50              
51             An array of one or more global secondary indexes for the table. For
52             each index in the array, you can request one action:
53              
54             =over
55              
56             =item *
57              
58             C<Create> - add a new global secondary index to the table.
59              
60             =item *
61              
62             C<Update> - modify the provisioned throughput settings of an existing
63             global secondary index.
64              
65             =item *
66              
67             C<Delete> - remove a global secondary index from the table.
68              
69             =back
70              
71             For more information, see Managing Global Secondary Indexes in the
72             I<Amazon DynamoDB Developer Guide>.
73              
74              
75              
76             =head2 ProvisionedThroughput => L<Paws::DynamoDB::ProvisionedThroughput>
77              
78             The new provisioned throughput settings for the specified table or
79             index.
80              
81              
82              
83             =head2 StreamSpecification => L<Paws::DynamoDB::StreamSpecification>
84              
85             Represents the DynamoDB Streams configuration for the table.
86              
87             You will receive a C<ResourceInUseException> if you attempt to enable a
88             stream on a table that already has a stream, or if you attempt to
89             disable a stream on a table which does not have a stream.
90              
91              
92              
93             =head2 B<REQUIRED> TableName => Str
94              
95             The name of the table to be updated.
96              
97              
98              
99              
100             =head1 SEE ALSO
101              
102             This class forms part of L<Paws>, documenting arguments for method UpdateTable in L<Paws::DynamoDB>
103              
104             =head1 BUGS and CONTRIBUTIONS
105              
106             The source code is located here: https://github.com/pplu/aws-sdk-perl
107              
108             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
109              
110             =cut
111