File Coverage

blib/lib/Paws/CodePipeline/CreateCustomActionType.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::CodePipeline::CreateCustomActionType;
3 1     1   691 use Moose;
  1         4  
  1         10  
4             has Category => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'category' , required => 1);
5             has ConfigurationProperties => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::ActionConfigurationProperty]', traits => ['NameInRequest'], request_name => 'configurationProperties' );
6             has InputArtifactDetails => (is => 'ro', isa => 'Paws::CodePipeline::ArtifactDetails', traits => ['NameInRequest'], request_name => 'inputArtifactDetails' , required => 1);
7             has OutputArtifactDetails => (is => 'ro', isa => 'Paws::CodePipeline::ArtifactDetails', traits => ['NameInRequest'], request_name => 'outputArtifactDetails' , required => 1);
8             has Provider => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'provider' , required => 1);
9             has Settings => (is => 'ro', isa => 'Paws::CodePipeline::ActionTypeSettings', traits => ['NameInRequest'], request_name => 'settings' );
10             has Version => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'version' , required => 1);
11              
12 1     1   7276 use MooseX::ClassAttribute;
  1         6  
  1         12  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCustomActionType');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodePipeline::CreateCustomActionTypeOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::CodePipeline::CreateCustomActionType - Arguments for method CreateCustomActionType on Paws::CodePipeline
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateCustomActionType on the
28             AWS CodePipeline service. Use the attributes of this class
29             as arguments to method CreateCustomActionType.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomActionType.
32              
33             As an example:
34              
35             $service_obj->CreateCustomActionType(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Category => Str
43              
44             The category of the custom action, such as a build action or a test
45             action.
46              
47             Although Source and Approval are listed as valid values, they are not
48             currently functional. These values are reserved for future use.
49              
50             Valid values are: C<"Source">, C<"Build">, C<"Deploy">, C<"Test">, C<"Invoke">, C<"Approval">
51              
52             =head2 ConfigurationProperties => ArrayRef[L<Paws::CodePipeline::ActionConfigurationProperty>]
53              
54             The configuration properties for the custom action.
55              
56             You can refer to a name in the configuration properties of the custom
57             action within the URL templates by following the format of
58             {Config:name}, as long as the configuration property is both required
59             and not secret. For more information, see Create a Custom Action for a
60             Pipeline.
61              
62              
63              
64             =head2 B<REQUIRED> InputArtifactDetails => L<Paws::CodePipeline::ArtifactDetails>
65              
66             The details of the input artifact for the action, such as its commit
67             ID.
68              
69              
70              
71             =head2 B<REQUIRED> OutputArtifactDetails => L<Paws::CodePipeline::ArtifactDetails>
72              
73             The details of the output artifact of the action, such as its commit
74             ID.
75              
76              
77              
78             =head2 B<REQUIRED> Provider => Str
79              
80             The provider of the service used in the custom action, such as AWS
81             CodeDeploy.
82              
83              
84              
85             =head2 Settings => L<Paws::CodePipeline::ActionTypeSettings>
86              
87             Returns information about the settings for an action type.
88              
89              
90              
91             =head2 B<REQUIRED> Version => Str
92              
93             The version identifier of the custom action.
94              
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, documenting arguments for method CreateCustomActionType in L<Paws::CodePipeline>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109