File Coverage

blib/lib/Paws/Greengrass/CreateGroupVersion.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::Greengrass::CreateGroupVersion;
3 1     1   478 use Moose;
  1         4  
  1         7  
4             has AmznClientToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amzn-Client-Token' );
5             has CoreDefinitionVersionArn => (is => 'ro', isa => 'Str');
6             has DeviceDefinitionVersionArn => (is => 'ro', isa => 'Str');
7             has FunctionDefinitionVersionArn => (is => 'ro', isa => 'Str');
8             has GroupId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'GroupId' , required => 1);
9             has LoggerDefinitionVersionArn => (is => 'ro', isa => 'Str');
10             has SubscriptionDefinitionVersionArn => (is => 'ro', isa => 'Str');
11              
12 1     1   6244 use MooseX::ClassAttribute;
  1         3  
  1         8  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateGroupVersion');
15             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/greengrass/groups/{GroupId}/versions');
16             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Greengrass::CreateGroupVersionResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Greengrass::CreateGroupVersion - Arguments for method CreateGroupVersion on Paws::Greengrass
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method CreateGroupVersion on the
30             AWS Greengrass service. Use the attributes of this class
31             as arguments to method CreateGroupVersion.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGroupVersion.
34              
35             As an example:
36              
37             $service_obj->CreateGroupVersion(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AmznClientToken => Str
45              
46             The client token used to request idempotent operations.
47              
48              
49              
50             =head2 CoreDefinitionVersionArn => Str
51              
52             Core definition version arn for this group.
53              
54              
55              
56             =head2 DeviceDefinitionVersionArn => Str
57              
58             Device definition version arn for this group.
59              
60              
61              
62             =head2 FunctionDefinitionVersionArn => Str
63              
64             Function definition version arn for this group.
65              
66              
67              
68             =head2 B<REQUIRED> GroupId => Str
69              
70             The unique Id of the AWS Greengrass Group
71              
72              
73              
74             =head2 LoggerDefinitionVersionArn => Str
75              
76             Logger definitionv ersion arn for this group.
77              
78              
79              
80             =head2 SubscriptionDefinitionVersionArn => Str
81              
82             Subscription definition version arn for this group.
83              
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, documenting arguments for method CreateGroupVersion in L<Paws::Greengrass>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98