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).
Managing Keywords
Section titled “Managing Keywords”// initconst describeKeywords = yield* AWS.PinpointSMSVoiceV2.DescribeKeywords(number);
// runtimeconst { Keywords } = yield* describeKeywords({});const info = (Keywords ?? []).find((k) => k.Keyword === "INFO");