Retrieves shield information barrier segment based on provided ID..
This operation is performed by calling function getShieldInformationBarrierSegmentById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegments.getShieldInformationBarrierSegmentById(
segmentId,
);
string
GetShieldInformationBarrierSegmentByIdOptionalsInputThis function returns a value of type ShieldInformationBarrierSegment.
Returns the shield information barrier segment object.
Deletes the shield information barrier segment based on provided ID.
This operation is performed by calling function deleteShieldInformationBarrierSegmentById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegments.deleteShieldInformationBarrierSegmentById(
segmentId,
);
string
DeleteShieldInformationBarrierSegmentByIdOptionalsInputThis function returns a value of type undefined.
Empty body in response.
Updates the shield information barrier segment based on provided ID..
This operation is performed by calling function updateShieldInformationBarrierSegmentById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegments.updateShieldInformationBarrierSegmentById(
segmentId,
{
requestBody: {
description: updatedSegmentDescription,
} satisfies UpdateShieldInformationBarrierSegmentByIdRequestBody,
} satisfies UpdateShieldInformationBarrierSegmentByIdOptionalsInput,
);
string
UpdateShieldInformationBarrierSegmentByIdOptionalsInputThis function returns a value of type ShieldInformationBarrierSegment.
Returns the updated shield information barrier segment object.
Retrieves a list of shield information barrier segment objects for the specified Information Barrier ID.
This operation is performed by calling function getShieldInformationBarrierSegments.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegments.getShieldInformationBarrierSegments(
{
shieldInformationBarrierId: barrierId,
} satisfies GetShieldInformationBarrierSegmentsQueryParams,
);
GetShieldInformationBarrierSegmentsQueryParams
GetShieldInformationBarrierSegmentsOptionalsInputThis function returns a value of type ShieldInformationBarrierSegments.
Returns a paginated list of shield information barrier segment objects.
Creates a shield information barrier segment.
This operation is performed by calling function createShieldInformationBarrierSegment.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegments.createShieldInformationBarrierSegment(
{
shieldInformationBarrier: {
id: barrierId,
type: 'shield_information_barrier' as ShieldInformationBarrierBaseTypeField,
} satisfies ShieldInformationBarrierBase,
name: segmentName,
description: segmentDescription,
} satisfies CreateShieldInformationBarrierSegmentRequestBody,
);
CreateShieldInformationBarrierSegmentRequestBody
CreateShieldInformationBarrierSegmentOptionalsInputThis function returns a value of type ShieldInformationBarrierSegment.
Returns a new shield information barrier segment object.