Retrieves a shield information barrier segment restriction based on provided ID.
This operation is performed by calling function getShieldInformationBarrierSegmentRestrictionById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentRestrictions.getShieldInformationBarrierSegmentRestrictionById(
segmentRestrictionId,
);
string
GetShieldInformationBarrierSegmentRestrictionByIdOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentRestriction.
Returns the shield information barrier segment restriction object.
Delete shield information barrier segment restriction based on provided ID.
This operation is performed by calling function deleteShieldInformationBarrierSegmentRestrictionById.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentRestrictions.deleteShieldInformationBarrierSegmentRestrictionById(
segmentRestrictionId,
);
string
DeleteShieldInformationBarrierSegmentRestrictionByIdOptionalsInputThis function returns a value of type undefined.
Empty body in response.
Lists shield information barrier segment restrictions based on provided segment ID.
This operation is performed by calling function getShieldInformationBarrierSegmentRestrictions.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentRestrictions.getShieldInformationBarrierSegmentRestrictions(
{
shieldInformationBarrierSegmentId: segmentId,
} satisfies GetShieldInformationBarrierSegmentRestrictionsQueryParams,
);
GetShieldInformationBarrierSegmentRestrictionsQueryParams
GetShieldInformationBarrierSegmentRestrictionsOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentRestrictions.
Returns a paginated list of shield information barrier segment restriction objects.
Creates a shield information barrier segment restriction object.
This operation is performed by calling function createShieldInformationBarrierSegmentRestriction.
See the endpoint docs at API Reference.
await client.shieldInformationBarrierSegmentRestrictions.createShieldInformationBarrierSegmentRestriction(
{
restrictedSegment: {
id: segmentToRestrictId,
type: 'shield_information_barrier_segment' as CreateShieldInformationBarrierSegmentRestrictionRequestBodyRestrictedSegmentTypeField,
} satisfies CreateShieldInformationBarrierSegmentRestrictionRequestBodyRestrictedSegmentField,
shieldInformationBarrierSegment: {
id: segmentId,
type: 'shield_information_barrier_segment' as CreateShieldInformationBarrierSegmentRestrictionRequestBodyShieldInformationBarrierSegmentTypeField,
} satisfies CreateShieldInformationBarrierSegmentRestrictionRequestBodyShieldInformationBarrierSegmentField,
type: 'shield_information_barrier_segment_restriction' as CreateShieldInformationBarrierSegmentRestrictionRequestBodyTypeField,
} satisfies CreateShieldInformationBarrierSegmentRestrictionRequestBodyInput,
);
CreateShieldInformationBarrierSegmentRestrictionRequestBodyInput
CreateShieldInformationBarrierSegmentRestrictionOptionalsInputThis function returns a value of type ShieldInformationBarrierSegmentRestriction.
Returns the newly created Shield Information Barrier Segment Restriction object.