blib/lib/Paws/DMS/CreateReplicationSubnetGroup.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DMS::CreateReplicationSubnetGroup;
3 use Moose;
4 has ReplicationSubnetGroupDescription => (is => 'ro', isa => 'Str', required => 1);
5 has ReplicationSubnetGroupIdentifier => (is => 'ro', isa => 'Str', required => 1);
6 has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DMS::Tag]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateReplicationSubnetGroup');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::CreateReplicationSubnetGroupResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::DMS::CreateReplicationSubnetGroup - Arguments for method CreateReplicationSubnetGroup on L<Paws::DMS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreateReplicationSubnetGroup on the
25 L<AWS Database Migration Service|Paws::DMS> service. Use the attributes of this class
26 as arguments to method CreateReplicationSubnetGroup.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateReplicationSubnetGroup.
29  
30 =head1 SYNOPSIS
31  
32 my $dms = Paws->service('DMS');
33 # Create replication subnet group
34 # Creates a replication subnet group given a list of the subnet IDs in a VPC.
35 my $CreateReplicationSubnetGroupResponse =
36 $dms->CreateReplicationSubnetGroup(
37 'ReplicationSubnetGroupDescription' => 'US West subnet group',
38 'ReplicationSubnetGroupIdentifier' => 'us-west-2ab-vpc-215ds366',
39 'SubnetIds' => [ 'subnet-e145356n', 'subnet-58f79200' ],
40 'Tags' => [
41  
42 {
43 'Key' => 'Acount',
44 'Value' => 145235
45 }
46 ]
47 );
48  
49 # Results:
50 my $ReplicationSubnetGroup =
51 $CreateReplicationSubnetGroupResponse->ReplicationSubnetGroup;
52  
53 # Returns a L<Paws::DMS::CreateReplicationSubnetGroupResponse> 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/dms/CreateReplicationSubnetGroup>
57  
58 =head1 ATTRIBUTES
59  
60  
61 =head2 B<REQUIRED> ReplicationSubnetGroupDescription => Str
62  
63 The description for the subnet group.
64  
65  
66  
67 =head2 B<REQUIRED> ReplicationSubnetGroupIdentifier => Str
68  
69 The name for the replication subnet group. This value is stored as a
70 lowercase string.
71  
72 Constraints: Must contain no more than 255 alphanumeric characters,
73 periods, spaces, underscores, or hyphens. Must not be "default".
74  
75 Example: C<mySubnetgroup>
76  
77  
78  
79 =head2 B<REQUIRED> SubnetIds => ArrayRef[Str|Undef]
80  
81 One or more subnet IDs to be assigned to the subnet group.
82  
83  
84  
85 =head2 Tags => ArrayRef[L<Paws::DMS::Tag>]
86  
87 One or more tags to be assigned to the subnet group.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method CreateReplicationSubnetGroup in L<Paws::DMS>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103