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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RDS::CreateDBProxyEndpoint;
3 use Moose;
4 has DBProxyEndpointName => (is => 'ro', isa => 'Str', required => 1);
5 has DBProxyName => (is => 'ro', isa => 'Str', required => 1);
6 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]');
7 has TargetRole => (is => 'ro', isa => 'Str');
8 has VpcSecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9 has VpcSubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDBProxyEndpoint');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CreateDBProxyEndpointResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateDBProxyEndpointResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::RDS::CreateDBProxyEndpoint - Arguments for method CreateDBProxyEndpoint on L<Paws::RDS>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateDBProxyEndpoint on the
27 L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class
28 as arguments to method CreateDBProxyEndpoint.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBProxyEndpoint.
31  
32 =head1 SYNOPSIS
33  
34 my $rds = Paws->service('RDS');
35 my $CreateDBProxyEndpointResponse = $rds->CreateDBProxyEndpoint(
36 DBProxyEndpointName => 'MyDBProxyEndpointName',
37 DBProxyName => 'MyDBProxyName',
38 VpcSubnetIds => [ 'MyString', ... ],
39 Tags => [
40 {
41 Key => 'MyString',
42 Value => 'MyString',
43 },
44 ...
45 ], # OPTIONAL
46 TargetRole => 'READ_WRITE', # OPTIONAL
47 VpcSecurityGroupIds => [ 'MyString', ... ], # OPTIONAL
48 );
49  
50 # Results:
51 my $DBProxyEndpoint = $CreateDBProxyEndpointResponse->DBProxyEndpoint;
52  
53 # Returns a L<Paws::RDS::CreateDBProxyEndpointResponse> object.
54  
55 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.
56 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBProxyEndpoint>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 B<REQUIRED> DBProxyEndpointName => Str
62  
63 The name of the DB proxy endpoint to create.
64  
65  
66  
67 =head2 B<REQUIRED> DBProxyName => Str
68  
69 The name of the DB proxy associated with the DB proxy endpoint that you
70 create.
71  
72  
73  
74 =head2 Tags => ArrayRef[L<Paws::RDS::Tag>]
75  
76  
77  
78  
79  
80 =head2 TargetRole => Str
81  
82 A value that indicates whether the DB proxy endpoint can be used for
83 read/write or read-only operations. The default is C<READ_WRITE>.
84  
85 Valid values are: C<"READ_WRITE">, C<"READ_ONLY">
86  
87 =head2 VpcSecurityGroupIds => ArrayRef[Str|Undef]
88  
89 The VPC security group IDs for the DB proxy endpoint that you create.
90 You can specify a different set of security group IDs than for the
91 original DB proxy. The default is the default security group for the
92 VPC.
93  
94  
95  
96 =head2 B<REQUIRED> VpcSubnetIds => ArrayRef[Str|Undef]
97  
98 The VPC subnet IDs for the DB proxy endpoint that you create. You can
99 specify a different set of subnet IDs than for the original DB proxy.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method CreateDBProxyEndpoint 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