list_tags_for_project

CodeStar.Client.list_tags_for_project(**kwargs)

Gets the tags for a project.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_project(
    id='string',
    nextToken='string',
    maxResults=123
)
Parameters
  • id (string) --

    [REQUIRED]

    The ID of the project to get tags for.

  • nextToken (string) -- Reserved for future use.
  • maxResults (integer) -- Reserved for future use.
Return type

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.

Exceptions

  • CodeStar.Client.exceptions.ProjectNotFoundException
  • CodeStar.Client.exceptions.ValidationException
  • CodeStar.Client.exceptions.InvalidNextTokenException