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"],
}

Constant Summary collapse

SENSITIVE =
[]

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 resource.

Returns:

  • (String)


5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 5239

class UpdateTagsForResourceMessage < Struct.new(
  :resource_arn,
  :tags_to_add,
  :tags_to_remove)
  SENSITIVE = []
  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.

Specify at least one of these parameters: TagsToAdd, TagsToRemove.

Returns:



5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 5239

class UpdateTagsForResourceMessage < Struct.new(
  :resource_arn,
  :tags_to_add,
  :tags_to_remove)
  SENSITIVE = []
  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.

Specify at least one of these parameters: TagsToAdd, TagsToRemove.

Returns:

  • (Array<String>)


5239
5240
5241
5242
5243
5244
5245
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 5239

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