Continuum / Client / list_code_issue_artifacts
list_code_issue_artifacts¶
- Continuum.Client.list_code_issue_artifacts(**kwargs)¶
Lists the artifacts attached to an issue in descending artifactId order. Content is returned by GetCodeIssueArtifact.
See also: AWS API Documentation
Request Syntax
response = client.list_code_issue_artifacts( environmentId='string', issueId='string', artifactType='EVIDENCE'|'AGENT_COMMUNICATION'|'VALIDATION_EVIDENCE'|'REMEDIATION_PROPOSAL'|'DECISION'|'PATCH', maxResults=123, nextToken='string' )
- Parameters:
environmentId (string) –
[REQUIRED]
The environment that owns the issue.
issueId (string) –
[REQUIRED]
The issue whose artifacts to list.
artifactType (string) – Optional filter for a semantic artifact category. Omit to list all artifacts attached to the issue.
maxResults (integer) – The maximum number of results to return in a single call.
nextToken (string) – A pagination token returned by a previous call. Set to null for the first request; use the returned token for subsequent calls.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'artifactId': 'string', 'artifactType': 'EVIDENCE'|'AGENT_COMMUNICATION'|'VALIDATION_EVIDENCE'|'REMEDIATION_PROPOSAL'|'DECISION'|'PATCH', 'mediaType': 'string', 'producer': { 'agent': 'string' }, 'contentSizeBytes': 123, 'createdAt': datetime(2015, 1, 1) }, ], 'nextToken': 'string' }
Response Structure
(dict) –
Contains the list of artifact summaries and an optional pagination token.
items (list) –
The artifacts attached to the issue, ordered by artifactId descending.
(dict) –
A summary of an artifact returned in list responses.
artifactId (string) –
The unique identifier of the artifact.
artifactType (string) –
Semantic category of the artifact.
mediaType (string) –
MIME type of the artifact content.
producer (dict) –
The agent that produced the artifact.
agent (string) –
Stable producer name, such as ContinuumValidation.
contentSizeBytes (integer) –
Size of the artifact content in bytes. The content itself is returned by GetCodeIssueArtifact.
createdAt (datetime) –
The timestamp when the artifact was created.
nextToken (string) –
A pagination token to retrieve the next page of results. Absent when there are no more results.
Exceptions
Continuum.Client.exceptions.ValidationExceptionContinuum.Client.exceptions.InternalServerExceptionContinuum.Client.exceptions.ResourceNotFoundExceptionContinuum.Client.exceptions.ThrottlingExceptionContinuum.Client.exceptions.AccessDeniedException