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

Class: Aws::CodeStar::Types::TagProjectRequest

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

Overview

Note:

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

{
  id: "ProjectId", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the project you want to add a tag to.

Returns:

  • (String)


746
747
748
749
750
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 746

class TagProjectRequest < Struct.new(
  :id,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

The tags you want to add to the project.

Returns:

  • (Hash<String,String>)


746
747
748
749
750
# File 'gems/aws-sdk-codestar/lib/aws-sdk-codestar/types.rb', line 746

class TagProjectRequest < Struct.new(
  :id,
  :tags)
  include Aws::Structure
end