blib/lib/Paws/Neptune/DeleteDBCluster.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Neptune::DeleteDBCluster;
3 use Moose;
4 has DBClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has FinalDBSnapshotIdentifier => (is => 'ro', isa => 'Str');
6 has SkipFinalSnapshot => (is => 'ro', isa => 'Bool');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteDBCluster');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Neptune::DeleteDBClusterResult');
12 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DeleteDBClusterResult');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Neptune::DeleteDBCluster - Arguments for method DeleteDBCluster on L<Paws::Neptune>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method DeleteDBCluster on the
24 L<Amazon Neptune|Paws::Neptune> service. Use the attributes of this class
25 as arguments to method DeleteDBCluster.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteDBCluster.
28  
29 =head1 SYNOPSIS
30  
31 my $rds = Paws->service('Neptune');
32 my $DeleteDBClusterResult = $rds->DeleteDBCluster(
33 DBClusterIdentifier => 'MyString',
34 FinalDBSnapshotIdentifier => 'MyString', # OPTIONAL
35 SkipFinalSnapshot => 1, # OPTIONAL
36 );
37  
38 # Results:
39 my $DBCluster = $DeleteDBClusterResult->DBCluster;
40  
41 # Returns a L<Paws::Neptune::DeleteDBClusterResult> object.
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/rds/DeleteDBCluster>
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> DBClusterIdentifier => Str
50  
51 The DB cluster identifier for the DB cluster to be deleted. This
52 parameter isn't case-sensitive.
53  
54 Constraints:
55  
56 =over
57  
58 =item *
59  
60 Must match an existing DBClusterIdentifier.
61  
62 =back
63  
64  
65  
66  
67 =head2 FinalDBSnapshotIdentifier => Str
68  
69 The DB cluster snapshot identifier of the new DB cluster snapshot
70 created when C<SkipFinalSnapshot> is set to C<false>.
71  
72 Specifying this parameter and also setting the C<SkipFinalShapshot>
73 parameter to true results in an error.
74  
75 Constraints:
76  
77 =over
78  
79 =item *
80  
81 Must be 1 to 255 letters, numbers, or hyphens.
82  
83 =item *
84  
85 First character must be a letter
86  
87 =item *
88  
89 Cannot end with a hyphen or contain two consecutive hyphens
90  
91 =back
92  
93  
94  
95  
96 =head2 SkipFinalSnapshot => Bool
97  
98 Determines whether a final DB cluster snapshot is created before the DB
99 cluster is deleted. If C<true> is specified, no DB cluster snapshot is
100 created. If C<false> is specified, a DB cluster snapshot is created
101 before the DB cluster is deleted.
102  
103 You must specify a C<FinalDBSnapshotIdentifier> parameter if
104 C<SkipFinalSnapshot> is C<false>.
105  
106 Default: C<false>
107  
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, documenting arguments for method DeleteDBCluster in L<Paws::Neptune>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122