list_resources
(**kwargs)¶Lists resources associated with a project in AWS CodeStar.
See also: AWS API Documentation
Request Syntax
response = client.list_resources(
projectId='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The ID of the project.
dict
Response Syntax
{
'resources': [
{
'id': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
resources (list) --
An array of resources associated with the project.
(dict) --
Information about a resource for a project.
id (string) --
The Amazon Resource Name (ARN) of the resource.
nextToken (string) --
The continuation token to use when requesting the next set of results, if there are more results to be returned.
Exceptions
CodeStar.Client.exceptions.ProjectNotFoundException
CodeStar.Client.exceptions.InvalidNextTokenException
CodeStar.Client.exceptions.ValidationException