SecurityAgent / Client / batch_get_artifact_metadata
batch_get_artifact_metadata¶
- SecurityAgent.Client.batch_get_artifact_metadata(**kwargs)¶
Retrieves metadata for one or more artifacts in an agent space.
See also: AWS API Documentation
Request Syntax
response = client.batch_get_artifact_metadata( agentSpaceId='string', artifactIds=[ 'string', ] )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
The unique identifier of the agent space that contains the artifacts.
artifactIds (list) –
[REQUIRED]
The list of artifact identifiers to retrieve metadata for.
(string) –
The id of the artifact.
- Return type:
dict
- Returns:
Response Syntax
{ 'artifactMetadataList': [ { 'agentSpaceId': 'string', 'artifactId': 'string', 'fileName': 'string', 'updatedAt': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
artifactMetadataList (list) –
The list of artifact metadata items that were found.
(dict) –
Contains metadata about an artifact.
agentSpaceId (string) –
The unique identifier of the agent space that contains the artifact.
artifactId (string) –
The unique identifier of the artifact.
fileName (string) –
The file name of the artifact.
updatedAt (datetime) –
The date and time the artifact was last updated, in UTC format.
Exceptions
SecurityAgent.Client.exceptions.ValidationExceptionSecurityAgent.Client.exceptions.InternalServerExceptionSecurityAgent.Client.exceptions.ResourceNotFoundExceptionSecurityAgent.Client.exceptions.ThrottlingExceptionSecurityAgent.Client.exceptions.AccessDeniedException