blib/lib/Paws/Neptune/CreateDBClusterEndpoint.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::Neptune::CreateDBClusterEndpoint;
3 use Moose;
4 has DBClusterEndpointIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has DBClusterIdentifier => (is => 'ro', isa => 'Str', required => 1);
6 has EndpointType => (is => 'ro', isa => 'Str', required => 1);
7 has ExcludedMembers => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has StaticMembers => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Neptune::Tag]');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDBClusterEndpoint');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Neptune::CreateDBClusterEndpointOutput');
15 class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateDBClusterEndpointResult');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::Neptune::CreateDBClusterEndpoint - Arguments for method CreateDBClusterEndpoint on L<Paws::Neptune>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method CreateDBClusterEndpoint on the
27 L<Amazon Neptune|Paws::Neptune> service. Use the attributes of this class
28 as arguments to method CreateDBClusterEndpoint.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBClusterEndpoint.
31  
32 =head1 SYNOPSIS
33  
34 my $rds = Paws->service('Neptune');
35 my $CreateDBClusterEndpointOutput = $rds->CreateDBClusterEndpoint(
36 DBClusterEndpointIdentifier => 'MyString',
37 DBClusterIdentifier => 'MyString',
38 EndpointType => 'MyString',
39 ExcludedMembers => [ 'MyString', ... ], # OPTIONAL
40 StaticMembers => [ 'MyString', ... ], # OPTIONAL
41 Tags => [
42 {
43 Key => 'MyString',
44 Value => 'MyString',
45 },
46 ...
47 ], # OPTIONAL
48 );
49  
50 # Results:
51 my $CustomEndpointType = $CreateDBClusterEndpointOutput->CustomEndpointType;
52 my $DBClusterEndpointArn =
53 $CreateDBClusterEndpointOutput->DBClusterEndpointArn;
54 my $DBClusterEndpointIdentifier =
55 $CreateDBClusterEndpointOutput->DBClusterEndpointIdentifier;
56 my $DBClusterEndpointResourceIdentifier =
57 $CreateDBClusterEndpointOutput->DBClusterEndpointResourceIdentifier;
58 my $DBClusterIdentifier =
59 $CreateDBClusterEndpointOutput->DBClusterIdentifier;
60 my $Endpoint = $CreateDBClusterEndpointOutput->Endpoint;
61 my $EndpointType = $CreateDBClusterEndpointOutput->EndpointType;
62 my $ExcludedMembers = $CreateDBClusterEndpointOutput->ExcludedMembers;
63 my $StaticMembers = $CreateDBClusterEndpointOutput->StaticMembers;
64 my $Status = $CreateDBClusterEndpointOutput->Status;
65  
66 # Returns a L<Paws::Neptune::CreateDBClusterEndpointOutput> object.
67  
68 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.
69 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBClusterEndpoint>
70  
71 =head1 ATTRIBUTES
72  
73  
74 =head2 B<REQUIRED> DBClusterEndpointIdentifier => Str
75  
76 The identifier to use for the new endpoint. This parameter is stored as
77 a lowercase string.
78  
79  
80  
81 =head2 B<REQUIRED> DBClusterIdentifier => Str
82  
83 The DB cluster identifier of the DB cluster associated with the
84 endpoint. This parameter is stored as a lowercase string.
85  
86  
87  
88 =head2 B<REQUIRED> EndpointType => Str
89  
90 The type of the endpoint. One of: C<READER>, C<WRITER>, C<ANY>.
91  
92  
93  
94 =head2 ExcludedMembers => ArrayRef[Str|Undef]
95  
96 List of DB instance identifiers that aren't part of the custom endpoint
97 group. All other eligible instances are reachable through the custom
98 endpoint. Only relevant if the list of static members is empty.
99  
100  
101  
102 =head2 StaticMembers => ArrayRef[Str|Undef]
103  
104 List of DB instance identifiers that are part of the custom endpoint
105 group.
106  
107  
108  
109 =head2 Tags => ArrayRef[L<Paws::Neptune::Tag>]
110  
111 The tags to be assigned to the Amazon Neptune resource.
112  
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, documenting arguments for method CreateDBClusterEndpoint in L<Paws::Neptune>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127