Retrieves a shield information barrier segment member by its ID.
7815
The ID of the shield information barrier segment Member.
Returns the shield information barrier segment member object.
Returns a not_found
error if
the shield information barrier segment member was not found.
An unexpected client error.
await client.shieldInformationBarrierSegmentMembers.getShieldInformationBarrierSegmentMemberById(
segmentMember.id!,
);
client.shield_information_barrier_segment_members.get_shield_information_barrier_segment_member_by_id(
segment_member.id
)
await client.ShieldInformationBarrierSegmentMembers.GetShieldInformationBarrierSegmentMemberByIdAsync(shieldInformationBarrierSegmentMemberId: NullableUtils.Unwrap(segmentMember.Id));
try await client.shieldInformationBarrierSegmentMembers.getShieldInformationBarrierSegmentMemberById(shieldInformationBarrierSegmentMemberId: segmentMember.id!)
const barrierSegmentMember = await client.shieldInformationBarrierSegmentMembers.getById({
shield_information_barrier_segment_member_id: '12345',
});
console.log(`Shield information barrier segment member id ${barrierSegmentMember.id}`);
{
"id": "11446498",
"type": "shield_information_barrier_segment_member",
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"shield_information_barrier": {
"id": "11446498",
"type": "shield_information_barrier"
},
"shield_information_barrier_segment": {
"id": "432554",
"type": "shield_information_barrier_segment"
},
"updated_at": "2020-07-26T18:44:45.869Z",
"updated_by": {
"id": "11446498",
"type": "user"
},
"user": {
"id": "11446498",
"type": "user"
}
}