Class: Aws::CodeStarNotifications::Types::TagResourceRequest

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

Overview

Note:

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

{
  arn: "NotificationRuleArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the notification rule to tag.

Returns:

  • (String)


807
808
809
810
811
812
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 807

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The list of tags to associate with the resource. Tag key names cannot start with "aws".

Returns:

  • (Hash<String,String>)


807
808
809
810
811
812
# File 'gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/types.rb', line 807

class TagResourceRequest < Struct.new(
  :arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end