| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::RDS::DBProxyTarget; | ||
| 3 | use Moose; | ||
| 4 | has Endpoint => (is => 'ro', isa => 'Str'); | ||
| 5 | has Port => (is => 'ro', isa => 'Int'); | ||
| 6 | has RdsResourceId => (is => 'ro', isa => 'Str'); | ||
| 7 | has Role => (is => 'ro', isa => 'Str'); | ||
| 8 | has TargetArn => (is => 'ro', isa => 'Str'); | ||
| 9 | has TargetHealth => (is => 'ro', isa => 'Paws::RDS::TargetHealth'); | ||
| 10 | has TrackedClusterId => (is => 'ro', isa => 'Str'); | ||
| 11 | has Type => (is => 'ro', isa => 'Str'); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::RDS::DBProxyTarget | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::RDS::DBProxyTarget object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { Endpoint => $value, ..., Type => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::RDS::DBProxyTarget object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->Endpoint | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Contains the details for an RDS Proxy target. It represents an RDS DB | ||
| 44 | instance or Aurora DB cluster that the proxy can connect to. One or | ||
| 45 | more targets are associated with an RDS Proxy target group. | ||
| 46 | |||
| 47 | This data type is used as a response element in the | ||
| 48 | C<DescribeDBProxyTargets> action. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 Endpoint => Str | ||
| 54 | |||
| 55 | The writer endpoint for the RDS DB instance or Aurora DB cluster. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Port => Int | ||
| 59 | |||
| 60 | The port that the RDS Proxy uses to connect to the target RDS DB | ||
| 61 | instance or Aurora DB cluster. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 RdsResourceId => Str | ||
| 65 | |||
| 66 | The identifier representing the target. It can be the instance | ||
| 67 | identifier for an RDS DB instance, or the cluster identifier for an | ||
| 68 | Aurora DB cluster. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 Role => Str | ||
| 72 | |||
| 73 | A value that indicates whether the target of the proxy can be used for | ||
| 74 | read/write or read-only operations. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 TargetArn => Str | ||
| 78 | |||
| 79 | The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB | ||
| 80 | cluster. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 TargetHealth => L<Paws::RDS::TargetHealth> | ||
| 84 | |||
| 85 | Information about the connection health of the RDS Proxy target. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 TrackedClusterId => Str | ||
| 89 | |||
| 90 | The DB cluster identifier when the target represents an Aurora DB | ||
| 91 | cluster. This field is blank when the target represents an RDS DB | ||
| 92 | instance. | ||
| 93 | |||
| 94 | |||
| 95 | =head2 Type => Str | ||
| 96 | |||
| 97 | Specifies the kind of database, such as an RDS DB instance or an Aurora | ||
| 98 | DB cluster, that the target represents. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | =head1 SEE ALSO | ||
| 103 | |||
| 104 | This class forms part of L<Paws>, describing an object used in L<Paws::RDS> | ||
| 105 | |||
| 106 | =head1 BUGS and CONTRIBUTIONS | ||
| 107 | |||
| 108 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 109 | |||
| 110 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 111 | |||
| 112 | =cut | ||
| 113 |