Creates a shield information barrier report for a given barrier.
A base representation of a shield information barrier object
Returns the shield information barrier report information object.
Returns a not_found
error if
the shield information barrier report was not found.
Returns a conflict
error if a
shield information barrier report is currently being created.
An unexpected client error.
await client.shieldInformationBarrierReports.createShieldInformationBarrierReport(
{
shieldInformationBarrier: {
id: barrierId,
type: 'shield_information_barrier' as ShieldInformationBarrierBaseTypeField,
} satisfies ShieldInformationBarrierBase,
} satisfies ShieldInformationBarrierReference,
);
{
"id": "11446498",
"type": "shield_information_barrier_report",
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"details": {
"details": {
"folder_id": "124235"
}
},
"shield_information_barrier": {
"shield_information_barrier": {
"id": "11446498",
"type": "shield_information_barrier"
}
},
"status": "pending",
"updated_at": "2020-07-26T18:44:45.869Z"
}