SecurityAgent / Client / batch_get_artifact_metadata
batch_get_artifact_metadata¶
- SecurityAgent.Client.batch_get_artifact_metadata(**kwargs)¶
Retrieve the list of artifact metadata for the given agent space
See also: AWS API Documentation
Request Syntax
response = client.batch_get_artifact_metadata( agentSpaceId='string', artifactIds=[ 'string', ] )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
Unique identifier of the agent space
artifactIds (list) –
[REQUIRED]
List of artifact identifiers
(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) –
List of artifact metadata
(dict) –
Metadata in relation to the artifact
agentSpaceId (string) –
Unique identifier of the agent space
artifactId (string) –
Unique identifier of the artifact
fileName (string) –
Name of the artifact file
updatedAt (datetime) –
Timestamp when the artifact was last updated
Exceptions
SecurityAgent.Client.exceptions.ValidationExceptionSecurityAgent.Client.exceptions.InternalServerExceptionSecurityAgent.Client.exceptions.ResourceNotFoundExceptionSecurityAgent.Client.exceptions.ThrottlingExceptionSecurityAgent.Client.exceptions.AccessDeniedException