CodeStar / Client / list_resources
list_resources#
- CodeStar.Client.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 )
- Parameters:
projectId (string) –
[REQUIRED]
The ID of the project.
nextToken (string) – The continuation token for the next set of results, if the results cannot be returned in one response.
maxResults (integer) – The maximum amount of data that can be contained in a single set of results.
- Return type:
dict
- Returns:
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