You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::UpdateTagsForResourceMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass UpdateTagsForResourceMessage data as a hash:

{
  resource_arn: "ResourceArn", # required
  tags_to_add: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  tags_to_remove: ["TagKey"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resouce to be updated.

Must be the ARN of an Elastic Beanstalk environment.

Returns:

  • (String)


4497
4498
4499
4500
4501
4502
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4497

class UpdateTagsForResourceMessage < Struct.new(
  :resource_arn,
  :tags_to_add,
  :tags_to_remove)
  include Aws::Structure
end

#tags_to_addArray<Types::Tag>

A list of tags to add or update.

If a key of an existing tag is added, the tag's value is updated.

Returns:



4497
4498
4499
4500
4501
4502
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4497

class UpdateTagsForResourceMessage < Struct.new(
  :resource_arn,
  :tags_to_add,
  :tags_to_remove)
  include Aws::Structure
end

#tags_to_removeArray<String>

A list of tag keys to remove.

If a tag key doesn't exist, it is silently ignored.

Returns:

  • (Array<String>)


4497
4498
4499
4500
4501
4502
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4497

class UpdateTagsForResourceMessage < Struct.new(
  :resource_arn,
  :tags_to_add,
  :tags_to_remove)
  include Aws::Structure
end