blib/lib/Paws/CodeDeploy/AppSpecContent.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CodeDeploy::AppSpecContent;
3 use Moose;
4 has Content => (is => 'ro', isa => 'Str', request_name => 'content', traits => ['NameInRequest']);
5 has Sha256 => (is => 'ro', isa => 'Str', request_name => 'sha256', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CodeDeploy::AppSpecContent
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::CodeDeploy::AppSpecContent object:
25  
26 $service_obj->Method(Att1 => { Content => $value, ..., Sha256 => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::AppSpecContent object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Content
34  
35 =head1 DESCRIPTION
36  
37 A revision for an AWS Lambda or Amazon ECS deployment that is a
38 YAML-formatted or JSON-formatted string. For AWS Lambda and Amazon ECS
39 deployments, the revision is the same as the AppSpec file. This method
40 replaces the deprecated C<RawString> data type.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 Content => Str
46  
47 The YAML-formatted or JSON-formatted revision string.
48  
49 For an AWS Lambda deployment, the content includes a Lambda function
50 name, the alias for its original version, and the alias for its
51 replacement version. The deployment shifts traffic from the original
52 version of the Lambda function to the replacement version.
53  
54 For an Amazon ECS deployment, the content includes the task name,
55 information about the load balancer that serves traffic to the
56 container, and more.
57  
58 For both types of deployments, the content can specify Lambda functions
59 that run at specified hooks, such as C<BeforeInstall>, during a
60 deployment.
61  
62  
63 =head2 Sha256 => Str
64  
65 The SHA256 hash value of the revision content.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut
80