File Coverage

blib/lib/Paws/Glue/CreateTrigger.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::Glue::CreateTrigger;
3 1     1   404 use Moose;
  1         2  
  1         8  
4             has Actions => (is => 'ro', isa => 'ArrayRef[Paws::Glue::Action]', required => 1);
5             has Description => (is => 'ro', isa => 'Str');
6             has Name => (is => 'ro', isa => 'Str', required => 1);
7             has Predicate => (is => 'ro', isa => 'Paws::Glue::Predicate');
8             has Schedule => (is => 'ro', isa => 'Str');
9             has Type => (is => 'ro', isa => 'Str', required => 1);
10              
11 1     1   6207 use MooseX::ClassAttribute;
  1         2  
  1         10  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateTrigger');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glue::CreateTriggerResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Glue::CreateTrigger - Arguments for method CreateTrigger on Paws::Glue
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method CreateTrigger on the
27             AWS Glue service. Use the attributes of this class
28             as arguments to method CreateTrigger.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateTrigger.
31              
32             As an example:
33              
34             $service_obj->CreateTrigger(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> Actions => ArrayRef[L<Paws::Glue::Action>]
42              
43             The actions initiated by this trigger when it fires.
44              
45              
46              
47             =head2 Description => Str
48              
49             A description of the new trigger.
50              
51              
52              
53             =head2 B<REQUIRED> Name => Str
54              
55             The name to assign to the new trigger.
56              
57              
58              
59             =head2 Predicate => L<Paws::Glue::Predicate>
60              
61             A predicate to specify when the new trigger should fire.
62              
63              
64              
65             =head2 Schedule => Str
66              
67             A cron schedule expression for the new trigger.
68              
69              
70              
71             =head2 B<REQUIRED> Type => Str
72              
73             The type of the new trigger.
74              
75             Valid values are: C<"SCHEDULED">, C<"CONDITIONAL">, C<"ON_DEMAND">
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, documenting arguments for method CreateTrigger in L<Paws::Glue>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut
89