NAME

Paws::DMS::AddTagsToResource - Arguments for method AddTagsToResource on Paws::DMS

DESCRIPTION

This class represents the parameters used for calling the method AddTagsToResource on the AWS Database Migration 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 $dms = Paws->service('DMS');
# Add tags to resource
# Adds metadata tags to an AWS DMS resource, including replication instance,
# endpoint, security group, and migration task. These tags can also be used with
# cost allocation reporting to track cost associated with AWS DMS resources, or
# used in a Condition statement in an IAM policy for AWS DMS.
my $AddTagsToResourceResponse = $dms->AddTagsToResource(
  'ResourceArn' =>
'arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E',
  'Tags' => [

    {
      'Key'   => 'Acount',
      'Value' => 1633456
    }
  ]
);

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/dms/AddTagsToResource

ATTRIBUTES

REQUIRED ResourceArn => Str

Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).

For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.

REQUIRED Tags => ArrayRef[Paws::DMS::Tag]

One or more tags to be assigned to the resource.

SEE ALSO

This class forms part of Paws, documenting arguments for method AddTagsToResource in Paws::DMS

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