blib/lib/Paws/IoT/UpdateDynamicThingGroup.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::UpdateDynamicThingGroup;
3 use Moose;
4 has ExpectedVersion => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'expectedVersion');
5 has IndexName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'indexName');
6 has QueryString => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'queryString');
7 has QueryVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'queryVersion');
8 has ThingGroupName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'thingGroupName', required => 1);
9 has ThingGroupProperties => (is => 'ro', isa => 'Paws::IoT::ThingGroupProperties', traits => ['NameInRequest'], request_name => 'thingGroupProperties', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDynamicThingGroup');
14 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/dynamic-thing-groups/{thingGroupName}');
15 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::UpdateDynamicThingGroupResponse');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::IoT::UpdateDynamicThingGroup - Arguments for method UpdateDynamicThingGroup on L<Paws::IoT>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateDynamicThingGroup on the
28 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
29 as arguments to method UpdateDynamicThingGroup.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDynamicThingGroup.
32  
33 =head1 SYNOPSIS
34  
35 my $iot = Paws->service('IoT');
36 my $UpdateDynamicThingGroupResponse = $iot->UpdateDynamicThingGroup(
37 ThingGroupName => 'MyThingGroupName',
38 ThingGroupProperties => {
39 AttributePayload => {
40 Attributes => {
41 'MyAttributeName' =>
42 'MyAttributeValue', # key: max: 128, value: max: 800
43 }, # OPTIONAL
44 Merge => 1, # OPTIONAL
45 }, # OPTIONAL
46 ThingGroupDescription =>
47 'MyThingGroupDescription', # max: 2028; OPTIONAL
48 },
49 ExpectedVersion => 1, # OPTIONAL
50 IndexName => 'MyIndexName', # OPTIONAL
51 QueryString => 'MyQueryString', # OPTIONAL
52 QueryVersion => 'MyQueryVersion', # OPTIONAL
53 );
54  
55 # Results:
56 my $Version = $UpdateDynamicThingGroupResponse->Version;
57  
58 # Returns a L<Paws::IoT::UpdateDynamicThingGroupResponse> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/UpdateDynamicThingGroup>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 ExpectedVersion => Int
67  
68 The expected version of the dynamic thing group to update.
69  
70  
71  
72 =head2 IndexName => Str
73  
74 The dynamic thing group index to update.
75  
76 Currently one index is supported: 'AWS_Things'.
77  
78  
79  
80 =head2 QueryString => Str
81  
82 The dynamic thing group search query string to update.
83  
84  
85  
86 =head2 QueryVersion => Str
87  
88 The dynamic thing group query version to update.
89  
90 Currently one query version is supported: "2017-09-30". If not
91 specified, the query version defaults to this value.
92  
93  
94  
95 =head2 B<REQUIRED> ThingGroupName => Str
96  
97 The name of the dynamic thing group to update.
98  
99  
100  
101 =head2 B<REQUIRED> ThingGroupProperties => L<Paws::IoT::ThingGroupProperties>
102  
103 The dynamic thing group properties to update.
104  
105  
106  
107  
108 =head1 SEE ALSO
109  
110 This class forms part of L<Paws>, documenting arguments for method UpdateDynamicThingGroup in L<Paws::IoT>
111  
112 =head1 BUGS and CONTRIBUTIONS
113  
114 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
115  
116 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
117  
118 =cut
119