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

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IoT::AddThingToThingGroup;
3 use Moose;
4 has OverrideDynamicGroups => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'overrideDynamicGroups');
5 has ThingArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'thingArn');
6 has ThingGroupArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'thingGroupArn');
7 has ThingGroupName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'thingGroupName');
8 has ThingName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'thingName');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddThingToThingGroup');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/thing-groups/addThingToThingGroup');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoT::AddThingToThingGroupResponse');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::AddThingToThingGroup - Arguments for method AddThingToThingGroup on L<Paws::IoT>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method AddThingToThingGroup on the
27 L<AWS IoT|Paws::IoT> service. Use the attributes of this class
28 as arguments to method AddThingToThingGroup.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddThingToThingGroup.
31  
32 =head1 SYNOPSIS
33  
34 my $iot = Paws->service('IoT');
35 my $AddThingToThingGroupResponse = $iot->AddThingToThingGroup(
36 OverrideDynamicGroups => 1, # OPTIONAL
37 ThingArn => 'MyThingArn', # OPTIONAL
38 ThingGroupArn => 'MyThingGroupArn', # OPTIONAL
39 ThingGroupName => 'MyThingGroupName', # OPTIONAL
40 ThingName => 'MyThingName', # OPTIONAL
41 );
42  
43 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.
44 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iot/AddThingToThingGroup>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 OverrideDynamicGroups => Bool
50  
51 Override dynamic thing groups with static thing groups when 10-group
52 limit is reached. If a thing belongs to 10 thing groups, and one or
53 more of those groups are dynamic thing groups, adding a thing to a
54 static group removes the thing from the last dynamic group.
55  
56  
57  
58 =head2 ThingArn => Str
59  
60 The ARN of the thing to add to a group.
61  
62  
63  
64 =head2 ThingGroupArn => Str
65  
66 The ARN of the group to which you are adding a thing.
67  
68  
69  
70 =head2 ThingGroupName => Str
71  
72 The name of the group to which you are adding a thing.
73  
74  
75  
76 =head2 ThingName => Str
77  
78 The name of the thing to add to a group.
79  
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, documenting arguments for method AddThingToThingGroup in L<Paws::IoT>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94