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