File Coverage

blib/lib/Paws/DMS/CreateEndpoint.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::DMS::CreateEndpoint;
3 1     1   490 use Moose;
  1         3  
  1         9  
4             has CertificateArn => (is => 'ro', isa => 'Str');
5             has DatabaseName => (is => 'ro', isa => 'Str');
6             has DynamoDbSettings => (is => 'ro', isa => 'Paws::DMS::DynamoDbSettings');
7             has EndpointIdentifier => (is => 'ro', isa => 'Str', required => 1);
8             has EndpointType => (is => 'ro', isa => 'Str', required => 1);
9             has EngineName => (is => 'ro', isa => 'Str', required => 1);
10             has ExtraConnectionAttributes => (is => 'ro', isa => 'Str');
11             has KmsKeyId => (is => 'ro', isa => 'Str');
12             has MongoDbSettings => (is => 'ro', isa => 'Paws::DMS::MongoDbSettings');
13             has Password => (is => 'ro', isa => 'Str');
14             has Port => (is => 'ro', isa => 'Int');
15             has S3Settings => (is => 'ro', isa => 'Paws::DMS::S3Settings');
16             has ServerName => (is => 'ro', isa => 'Str');
17             has SslMode => (is => 'ro', isa => 'Str');
18             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DMS::Tag]');
19             has Username => (is => 'ro', isa => 'Str');
20              
21 1     1   6381 use MooseX::ClassAttribute;
  1         3  
  1         14  
22              
23             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEndpoint');
24             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::CreateEndpointResponse');
25             class_has _result_key => (isa => 'Str', is => 'ro');
26             1;
27              
28             ### main pod documentation begin ###
29              
30             =head1 NAME
31              
32             Paws::DMS::CreateEndpoint - Arguments for method CreateEndpoint on Paws::DMS
33              
34             =head1 DESCRIPTION
35              
36             This class represents the parameters used for calling the method CreateEndpoint on the
37             AWS Database Migration Service service. Use the attributes of this class
38             as arguments to method CreateEndpoint.
39              
40             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEndpoint.
41              
42             As an example:
43              
44             $service_obj->CreateEndpoint(Att1 => $value1, Att2 => $value2, ...);
45              
46             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.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 CertificateArn => Str
52              
53             The Amazon Resource Number (ARN) for the certificate.
54              
55              
56              
57             =head2 DatabaseName => Str
58              
59             The name of the endpoint database.
60              
61              
62              
63             =head2 DynamoDbSettings => L<Paws::DMS::DynamoDbSettings>
64              
65             Settings in JSON format for the target Amazon DynamoDB endpoint. For
66             more information about the available settings, see the B<Using Object
67             Mapping to Migrate Data to DynamoDB> section at Using an Amazon
68             DynamoDB Database as a Target for AWS Database Migration Service.
69              
70              
71              
72             =head2 B<REQUIRED> EndpointIdentifier => Str
73              
74             The database endpoint identifier. Identifiers must begin with a letter;
75             must contain only ASCII letters, digits, and hyphens; and must not end
76             with a hyphen or contain two consecutive hyphens.
77              
78              
79              
80             =head2 B<REQUIRED> EndpointType => Str
81              
82             The type of endpoint.
83              
84             Valid values are: C<"source">, C<"target">
85              
86             =head2 B<REQUIRED> EngineName => Str
87              
88             The type of engine for the endpoint. Valid values, depending on the
89             EndPointType, include MYSQL, ORACLE, POSTGRES, MARIADB, AURORA,
90             REDSHIFT, S3, SYBASE, DYNAMODB, MONGODB, and SQLSERVER.
91              
92              
93              
94             =head2 ExtraConnectionAttributes => Str
95              
96             Additional attributes associated with the connection.
97              
98              
99              
100             =head2 KmsKeyId => Str
101              
102             The KMS key identifier that will be used to encrypt the connection
103             parameters. If you do not specify a value for the KmsKeyId parameter,
104             then AWS DMS will use your default encryption key. AWS KMS creates the
105             default encryption key for your AWS account. Your AWS account has a
106             different default encryption key for each AWS region.
107              
108              
109              
110             =head2 MongoDbSettings => L<Paws::DMS::MongoDbSettings>
111              
112             Settings in JSON format for the source MongoDB endpoint. For more
113             information about the available settings, see the B<Configuration
114             Properties When Using MongoDB as a Source for AWS Database Migration
115             Service> section at Using Amazon S3 as a Target for AWS Database
116             Migration Service.
117              
118              
119              
120             =head2 Password => Str
121              
122             The password to be used to login to the endpoint database.
123              
124              
125              
126             =head2 Port => Int
127              
128             The port used by the endpoint database.
129              
130              
131              
132             =head2 S3Settings => L<Paws::DMS::S3Settings>
133              
134             Settings in JSON format for the target S3 endpoint. For more
135             information about the available settings, see the B<Extra Connection
136             Attributes> section at Using Amazon S3 as a Target for AWS Database
137             Migration Service.
138              
139              
140              
141             =head2 ServerName => Str
142              
143             The name of the server where the endpoint database resides.
144              
145              
146              
147             =head2 SslMode => Str
148              
149             The SSL mode to use for the SSL connection.
150              
151             SSL mode can be one of four values: none, require, verify-ca,
152             verify-full.
153              
154             The default value is none.
155              
156             Valid values are: C<"none">, C<"require">, C<"verify-ca">, C<"verify-full">
157              
158             =head2 Tags => ArrayRef[L<Paws::DMS::Tag>]
159              
160             Tags to be added to the endpoint.
161              
162              
163              
164             =head2 Username => Str
165              
166             The user name to be used to login to the endpoint database.
167              
168              
169              
170              
171             =head1 SEE ALSO
172              
173             This class forms part of L<Paws>, documenting arguments for method CreateEndpoint in L<Paws::DMS>
174              
175             =head1 BUGS and CONTRIBUTIONS
176              
177             The source code is located here: https://github.com/pplu/aws-sdk-perl
178              
179             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
180              
181             =cut
182