Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
Use a bare-bones client and the command you need to make an API call.
import { EvidentlyClient, GetSegmentCommand } from "@aws-sdk/client-evidently"; // ES Modules import // const { EvidentlyClient, GetSegmentCommand } = require("@aws-sdk/client-evidently"); // CommonJS import const client = new EvidentlyClient(config); const command = new GetSegmentCommand(input); const response = await client.send(command);
GetSegmentCommandInput for command's input shape.
input
GetSegmentCommandOutput for command's response shape.
response
config for EvidentlyClient's config shape.
config
Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
Use a bare-bones client and the command you need to make an API call.
import { EvidentlyClient, GetSegmentCommand } from "@aws-sdk/client-evidently"; // ES Modules import // const { EvidentlyClient, GetSegmentCommand } = require("@aws-sdk/client-evidently"); // CommonJS import const client = new EvidentlyClient(config); const command = new GetSegmentCommand(input); const response = await client.send(command);
GetSegmentCommandInput for command's
input
shape.GetSegmentCommandOutput for command's
response
shape.config for EvidentlyClient's
config
shape.