NAME
Paws::RDS::AddTagsToResource - Arguments for method AddTagsToResource on Paws::RDS
DESCRIPTION
This class represents the parameters used for calling the method AddTagsToResource on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method AddTagsToResource.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddTagsToResource.
SYNOPSIS
my $rds = Paws->service('RDS');
# To add tags to a resource
# This example adds a tag to an option group.
$rds->AddTagsToResource(
'ResourceName' =>
'arn:aws:rds:us-east-1:992648334831:og:mymysqloptiongroup',
'Tags' => [
{
'Key' => 'Staging',
'Value' => 'LocationDB'
}
]
);
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/AddTagsToResource
ATTRIBUTES
REQUIRED ResourceName => Str
The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN) (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing).
REQUIRED Tags => ArrayRef[Paws::RDS::Tag]
The tags to be assigned to the Amazon RDS resource.
SEE ALSO
This class forms part of Paws, documenting arguments for method AddTagsToResource in Paws::RDS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues