ShieldInformationBarrierSegmentsManager
July 28, 2025 ยท View on GitHub
- Get shield information barrier segment with specified ID
- Delete shield information barrier segment
- Update shield information barrier segment with specified ID
- List shield information barrier segments
- Create shield information barrier segment
Get shield information barrier segment with specified ID
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,
);
Arguments
- shieldInformationBarrierSegmentId
string- The ID of the shield information barrier segment. Example: "3423"
- optionalsInput
GetShieldInformationBarrierSegmentByIdOptionalsInput
Returns
This function returns a value of type ShieldInformationBarrierSegment.
Returns the shield information barrier segment object.
Delete shield information barrier segment
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,
);
Arguments
- shieldInformationBarrierSegmentId
string- The ID of the shield information barrier segment. Example: "3423"
- optionalsInput
DeleteShieldInformationBarrierSegmentByIdOptionalsInput
Returns
This function returns a value of type undefined.
Empty body in response.
Update shield information barrier segment with specified ID
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,
);
Arguments
- shieldInformationBarrierSegmentId
string- The ID of the shield information barrier segment. Example: "3423"
- optionalsInput
UpdateShieldInformationBarrierSegmentByIdOptionalsInput
Returns
This function returns a value of type ShieldInformationBarrierSegment.
Returns the updated shield information barrier segment object.
List shield information barrier segments
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,
);
Arguments
- queryParams
GetShieldInformationBarrierSegmentsQueryParams- Query parameters of getShieldInformationBarrierSegments method
- optionalsInput
GetShieldInformationBarrierSegmentsOptionalsInput
Returns
This function returns a value of type ShieldInformationBarrierSegments.
Returns a paginated list of shield information barrier segment objects.
Create shield information barrier segment
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,
);
Arguments
- requestBody
CreateShieldInformationBarrierSegmentRequestBody- Request body of createShieldInformationBarrierSegment method
- optionalsInput
CreateShieldInformationBarrierSegmentOptionalsInput
Returns
This function returns a value of type ShieldInformationBarrierSegment.
Returns a new shield information barrier segment object.