File Coverage

blib/lib/Paws/RedShift/CreateClusterSubnetGroup.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::RedShift::CreateClusterSubnetGroup;
3 1     1   380 use Moose;
  1     1   3  
  1         6  
  1         484  
  1         3  
  1         7  
4             has ClusterSubnetGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has Description => (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::RedShift::Tag]');
8              
9 1     1   5642 use MooseX::ClassAttribute;
  1     1   3  
  1         9  
  1         6420  
  1         2  
  1         8  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateClusterSubnetGroup');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CreateClusterSubnetGroupResult');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateClusterSubnetGroupResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::RedShift::CreateClusterSubnetGroup - Arguments for method CreateClusterSubnetGroup on Paws::RedShift
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreateClusterSubnetGroup on the
25             Amazon Redshift service. Use the attributes of this class
26             as arguments to method CreateClusterSubnetGroup.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateClusterSubnetGroup.
29              
30             As an example:
31              
32             $service_obj->CreateClusterSubnetGroup(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> ClusterSubnetGroupName => Str
40              
41             The name for the subnet group. Amazon Redshift stores the value as a
42             lowercase string.
43              
44             Constraints:
45              
46             =over
47              
48             =item *
49              
50             Must contain no more than 255 alphanumeric characters or hyphens.
51              
52             =item *
53              
54             Must not be "Default".
55              
56             =item *
57              
58             Must be unique for all subnet groups that are created by your AWS
59             account.
60              
61             =back
62              
63             Example: C<examplesubnetgroup>
64              
65              
66              
67             =head2 B<REQUIRED> Description => Str
68              
69             A description for the subnet group.
70              
71              
72              
73             =head2 B<REQUIRED> SubnetIds => ArrayRef[Str|Undef]
74              
75             An array of VPC subnet IDs. A maximum of 20 subnets can be modified in
76             a single request.
77              
78              
79              
80             =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
81              
82             A list of tag instances.
83              
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, documenting arguments for method CreateClusterSubnetGroup in L<Paws::RedShift>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98