blib/lib/Paws/RDS/CreateGlobalCluster.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RDS::CreateGlobalCluster;
3 use Moose;
4 has DatabaseName => (is => 'ro', isa => 'Str');
5 has DeletionProtection => (is => 'ro', isa => 'Bool');
6 has Engine => (is => 'ro', isa => 'Str');
7 has EngineVersion => (is => 'ro', isa => 'Str');
8 has GlobalClusterIdentifier => (is => 'ro', isa => 'Str');
9 has SourceDBClusterIdentifier => (is => 'ro', isa => 'Str');
10 has StorageEncrypted => (is => 'ro', isa => 'Bool');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateGlobalCluster');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CreateGlobalClusterResult');
16 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateGlobalClusterResult');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::RDS::CreateGlobalCluster - Arguments for method CreateGlobalCluster on L<Paws::RDS>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method CreateGlobalCluster on the
28 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
29 as arguments to method CreateGlobalCluster.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateGlobalCluster.
32  
33 =head1 SYNOPSIS
34  
35 my $rds = Paws->service('RDS');
36 my $CreateGlobalClusterResult = $rds->CreateGlobalCluster(
37 DatabaseName => 'MyString', # OPTIONAL
38 DeletionProtection => 1, # OPTIONAL
39 Engine => 'MyString', # OPTIONAL
40 EngineVersion => 'MyString', # OPTIONAL
41 GlobalClusterIdentifier => 'MyString', # OPTIONAL
42 SourceDBClusterIdentifier => 'MyString', # OPTIONAL
43 StorageEncrypted => 1, # OPTIONAL
44 );
45  
46 # Results:
47 my $GlobalCluster = $CreateGlobalClusterResult->GlobalCluster;
48  
49 # Returns a L<Paws::RDS::CreateGlobalClusterResult> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CreateGlobalCluster>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 DatabaseName => Str
58  
59 The name for your database of up to 64 alpha-numeric characters. If you
60 do not provide a name, Amazon Aurora will not create a database in the
61 global database cluster you are creating.
62  
63  
64  
65 =head2 DeletionProtection => Bool
66  
67 The deletion protection setting for the new global database. The global
68 database can't be deleted when deletion protection is enabled.
69  
70  
71  
72 =head2 Engine => Str
73  
74 The name of the database engine to be used for this DB cluster.
75  
76  
77  
78 =head2 EngineVersion => Str
79  
80 The engine version of the Aurora global database.
81  
82  
83  
84 =head2 GlobalClusterIdentifier => Str
85  
86 The cluster identifier of the new global database cluster.
87  
88  
89  
90 =head2 SourceDBClusterIdentifier => Str
91  
92 The Amazon Resource Name (ARN) to use as the primary cluster of the
93 global database. This parameter is optional.
94  
95  
96  
97 =head2 StorageEncrypted => Bool
98  
99 The storage encryption setting for the new global database cluster.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method CreateGlobalCluster in L<Paws::RDS>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115