« blib/lib/Paws/RedShift/CreateClusterSnapshotResult.pm
↑ Summary
blib/lib/Paws/RedShift/CreateClusterSubnetGroupResult.pm »
| 1 | |||
| 2 | package Paws::RedShift::CreateClusterSubnetGroup; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has ClusterSubnetGroupName => (is => 'ro', isa => 'Str', required => 1); | |
| 5 | 1 | has Description => (is => 'ro', isa => 'Str', required => 1); | |
| 6 | 1 | has SubnetIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | |
| 7 | 1 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]'); | |
| 8 | |||
| 9 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateClusterSubnetGroup'); | |
| 12 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedShift::CreateClusterSubnetGroupResult'); | |
| 13 | 1 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CreateClusterSubnetGroupResult'); | |
| 14 | 1 | 1; | |
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::RedShift::CreateClusterSubnetGroup - Arguments for method CreateClusterSubnetGroup on L<Paws::RedShift> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateClusterSubnetGroup on the | ||
| 25 | L<Amazon Redshift|Paws::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 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $redshift = Paws->service('RedShift'); | ||
| 33 | my $CreateClusterSubnetGroupResult = $redshift->CreateClusterSubnetGroup( | ||
| 34 | ClusterSubnetGroupName => 'MyString', | ||
| 35 | Description => 'MyString', | ||
| 36 | SubnetIds => [ | ||
| 37 | 'MyString', ... # max: 2147483647 | ||
| 38 | ], | ||
| 39 | Tags => [ | ||
| 40 | { | ||
| 41 | Key => 'MyString', # max: 2147483647 | ||
| 42 | Value => 'MyString', # max: 2147483647 | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $ClusterSubnetGroup = | ||
| 50 | $CreateClusterSubnetGroupResult->ClusterSubnetGroup; | ||
| 51 | |||
| 52 | # Returns a L<Paws::RedShift::CreateClusterSubnetGroupResult> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift/CreateClusterSubnetGroup> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> ClusterSubnetGroupName => Str | ||
| 61 | |||
| 62 | The name for the subnet group. Amazon Redshift stores the value as a | ||
| 63 | lowercase string. | ||
| 64 | |||
| 65 | Constraints: | ||
| 66 | |||
| 67 | =over | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | Must contain no more than 255 alphanumeric characters or hyphens. | ||
| 72 | |||
| 73 | =item * | ||
| 74 | |||
| 75 | Must not be "Default". | ||
| 76 | |||
| 77 | =item * | ||
| 78 | |||
| 79 | Must be unique for all subnet groups that are created by your AWS | ||
| 80 | account. | ||
| 81 | |||
| 82 | =back | ||
| 83 | |||
| 84 | Example: C<examplesubnetgroup> | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> Description => Str | ||
| 89 | |||
| 90 | A description for the subnet group. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> SubnetIds => ArrayRef[Str|Undef] | ||
| 95 | |||
| 96 | An array of VPC subnet IDs. A maximum of 20 subnets can be modified in | ||
| 97 | a single request. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>] | ||
| 102 | |||
| 103 | A list of tag instances. | ||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head1 SEE ALSO | ||
| 109 | |||
| 110 | This class forms part of L<Paws>, documenting arguments for method CreateClusterSubnetGroup in L<Paws::RedShift> | ||
| 111 | |||
| 112 | =head1 BUGS and CONTRIBUTIONS | ||
| 113 | |||
| 114 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 115 | |||
| 116 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 117 | |||
| 118 | =cut | ||
| 119 | |||