import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const eventQueues = await client.internal.beta.eventQueues.list();
console.log(eventQueues.data);{
"data": [
{
"status": "PROVISIONING",
"queueName": "<string>",
"region": "us-east-1",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"suffix": "<string>",
"queueUrl": "<string>",
"roleArn": "<string>"
}
],
"pagination": {
"next": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prev": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}List all event queues for the current environment
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const eventQueues = await client.internal.beta.eventQueues.list();
console.log(eventQueues.data);{
"data": [
{
"status": "PROVISIONING",
"queueName": "<string>",
"region": "us-east-1",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"suffix": "<string>",
"queueUrl": "<string>",
"roleArn": "<string>"
}
],
"pagination": {
"next": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prev": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Server API Key
API key for authentication