Skip to content

DescribeKeywords

Source: src/AWS/PinpointSMSVoiceV2/DescribeKeywords.ts

Runtime binding for sms-voice:DescribeKeywords.

Lists the keywords configured on the bound origination phone number (one page per call — pass NextToken from the previous response to continue). The deploy-time half grants sms-voice:DescribeKeywords on the number. Provide the implementation with Effect.provide(AWS.PinpointSMSVoiceV2.DescribeKeywordsHttp).

// init
const describeKeywords =
yield* AWS.PinpointSMSVoiceV2.DescribeKeywords(number);
// runtime
const { Keywords } = yield* describeKeywords({});
const info = (Keywords ?? []).find((k) => k.Keyword === "INFO");