list_artifacts
(**kwargs)¶Returns a list of artifacts for a specified app, branch, and job.
See also: AWS API Documentation
Request Syntax
response = client.list_artifacts(
appId='string',
branchName='string',
jobId='string',
nextToken='string',
maxResults=123
)
[REQUIRED]
The unique ID for an Amplify app.
[REQUIRED]
The name of a branch that is part of an Amplify app.
[REQUIRED]
The unique ID for a job.
dict
Response Syntax
{
'artifacts': [
{
'artifactFileName': 'string',
'artifactId': 'string'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
The result structure for the list artifacts request.
artifacts (list) --
A list of artifacts.
(dict) --
Describes an artifact.
artifactFileName (string) --
The file name for the artifact.
artifactId (string) --
The unique ID for the artifact.
nextToken (string) --
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
Exceptions
Amplify.Client.exceptions.BadRequestException
Amplify.Client.exceptions.UnauthorizedException
Amplify.Client.exceptions.InternalFailureException
Amplify.Client.exceptions.LimitExceededException