NAME

Paws::Route53::ChangeTagsForResource - Arguments for method ChangeTagsForResource on Paws::Route53

DESCRIPTION

This class represents the parameters used for calling the method ChangeTagsForResource on the Amazon Route 53 service. Use the attributes of this class as arguments to method ChangeTagsForResource.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ChangeTagsForResource.

SYNOPSIS

  my $route53 = Paws->service('Route53');
# To add or remove tags from a hosted zone or health check
# The following example adds two tags and removes one tag from the hosted zone
# with ID Z3M3LMPEXAMPLE.
  my $ChangeTagsForResourceResponse = $route53->ChangeTagsForResource(
    'AddTags' => [

      {
        'Key'   => 'apex',
        'Value' => 3874
      },

      {
        'Key'   => 'acme',
        'Value' => 4938
      }
    ],
    'RemoveTagKeys' => ['Nadir'],
    'ResourceId'    => 'Z3M3LMPEXAMPLE',
    'ResourceType'  => 'hostedzone'
  );

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/route53/ChangeTagsForResource

ATTRIBUTES

AddTags => ArrayRef[Paws::Route53::Tag]

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

You can add a maximum of 10 tags to a health check or a hosted zone.

RemoveTagKeys => ArrayRef[Str|Undef]

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

REQUIRED ResourceId => Str

The ID of the resource for which you want to add, change, or delete tags.

REQUIRED ResourceType => Str

The type of the resource.

  • The resource type for health checks is healthcheck.

  • The resource type for hosted zones is hostedzone.

Valid values are: "healthcheck", "hostedzone"

SEE ALSO

This class forms part of Paws, documenting arguments for method ChangeTagsForResource in Paws::Route53

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