« blib/lib/Paws/RDS/CopyDBClusterSnapshotResult.pm
↑ Summary
blib/lib/Paws/RDS/CopyDBParameterGroupResult.pm »
| 1 | |||
| 2 | package Paws::RDS::CopyDBParameterGroup; | ||
| 3 | use Moose; | ||
| 4 | has SourceDBParameterGroupIdentifier => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RDS::Tag]'); | ||
| 6 | has TargetDBParameterGroupDescription => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has TargetDBParameterGroupIdentifier => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CopyDBParameterGroup'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RDS::CopyDBParameterGroupResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'CopyDBParameterGroupResult'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::RDS::CopyDBParameterGroup - Arguments for method CopyDBParameterGroup on L<Paws::RDS> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CopyDBParameterGroup on the | ||
| 25 | L<Amazon Relational Database Service|Paws::RDS> service. Use the attributes of this class | ||
| 26 | as arguments to method CopyDBParameterGroup. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CopyDBParameterGroup. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $rds = Paws->service('RDS'); | ||
| 33 | # To copy a DB parameter group | ||
| 34 | # This example copies a DB parameter group. | ||
| 35 | my $CopyDBParameterGroupResult = $rds->CopyDBParameterGroup( | ||
| 36 | 'SourceDBParameterGroupIdentifier' => 'mymysqlparametergroup', | ||
| 37 | 'TargetDBParameterGroupDescription' => 'My MySQL parameter group copy', | ||
| 38 | 'TargetDBParameterGroupIdentifier' => 'mymysqlparametergroup-copy' | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $DBParameterGroup = $CopyDBParameterGroupResult->DBParameterGroup; | ||
| 43 | |||
| 44 | # Returns a L<Paws::RDS::CopyDBParameterGroupResult> object. | ||
| 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 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/rds/CopyDBParameterGroup> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> SourceDBParameterGroupIdentifier => Str | ||
| 53 | |||
| 54 | The identifier or ARN for the source DB parameter group. For | ||
| 55 | information about creating an ARN, see Constructing an ARN for Amazon | ||
| 56 | RDS | ||
| 57 | (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) | ||
| 58 | in the I<Amazon RDS User Guide>. | ||
| 59 | |||
| 60 | Constraints: | ||
| 61 | |||
| 62 | =over | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | Must specify a valid DB parameter group. | ||
| 67 | |||
| 68 | =back | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 Tags => ArrayRef[L<Paws::RDS::Tag>] | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head2 B<REQUIRED> TargetDBParameterGroupDescription => Str | ||
| 80 | |||
| 81 | A description for the copied DB parameter group. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head2 B<REQUIRED> TargetDBParameterGroupIdentifier => Str | ||
| 86 | |||
| 87 | The identifier for the copied DB parameter group. | ||
| 88 | |||
| 89 | Constraints: | ||
| 90 | |||
| 91 | =over | ||
| 92 | |||
| 93 | =item * | ||
| 94 | |||
| 95 | Can't be null, empty, or blank | ||
| 96 | |||
| 97 | =item * | ||
| 98 | |||
| 99 | Must contain from 1 to 255 letters, numbers, or hyphens | ||
| 100 | |||
| 101 | =item * | ||
| 102 | |||
| 103 | First character must be a letter | ||
| 104 | |||
| 105 | =item * | ||
| 106 | |||
| 107 | Can't end with a hyphen or contain two consecutive hyphens | ||
| 108 | |||
| 109 | =back | ||
| 110 | |||
| 111 | Example: C<my-db-parameter-group> | ||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head1 SEE ALSO | ||
| 117 | |||
| 118 | This class forms part of L<Paws>, documenting arguments for method CopyDBParameterGroup in L<Paws::RDS> | ||
| 119 | |||
| 120 | =head1 BUGS and CONTRIBUTIONS | ||
| 121 | |||
| 122 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 123 | |||
| 124 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 125 | |||
| 126 | =cut | ||
| 127 |