AWS CodeStar

2017/09/05 - AWS CodeStar - 3 new api methods

Changes  Added support to tag CodeStar projects. Tags can be used to organize and find CodeStar projects on key-value pairs that you can choose. For example, you could add a tag with a key of "Release" and a value of "Beta" to projects your organization is working on for an upcoming beta release.

UntagProject (new) Link ¶

Removes tags from a project.

See also: AWS API Documentation

Request Syntax

client.untag_project(
    id='string',
    tags=[
        'string',
    ]
)
type id

string

param id

[REQUIRED]

The ID of the project to remove tags from.

type tags

list

param tags

[REQUIRED]

The tags to remove from the project.

  • (string) --

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --

ListTagsForProject (new) Link ¶

Gets the tags for a project.

See also: AWS API Documentation

Request Syntax

client.list_tags_for_project(
    id='string',
    nextToken='string',
    maxResults=123
)
type id

string

param id

[REQUIRED]

The ID of the project to get tags for.

type nextToken

string

param nextToken

Reserved for future use.

type maxResults

integer

param maxResults

Reserved for future use.

rtype

dict

returns

Response Syntax

{
    'tags': {
        'string': 'string'
    },
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • tags (dict) --

      The tags for the project.

      • (string) --

        • (string) --

    • nextToken (string) --

      Reserved for future use.

TagProject (new) Link ¶

Adds tags to a project.

See also: AWS API Documentation

Request Syntax

client.tag_project(
    id='string',
    tags={
        'string': 'string'
    }
)
type id

string

param id

[REQUIRED]

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

type tags

dict

param tags

[REQUIRED]

The tags you want to add to the project.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • tags (dict) --

      The tags for the project.

      • (string) --

        • (string) --