Skip to content

DeleteKeyword

Source: src/AWS/PinpointSMSVoiceV2/DeleteKeyword.ts

Runtime binding for sms-voice:DeleteKeyword.

Deletes a keyword from the bound origination phone number. Keywords HELP and STOP cannot be deleted (they are carrier-mandated). The deploy-time half grants sms-voice:DeleteKeyword on the number. Provide the implementation with Effect.provide(AWS.PinpointSMSVoiceV2.DeleteKeywordHttp).

// init
const deleteKeyword = yield* AWS.PinpointSMSVoiceV2.DeleteKeyword(number);
// runtime
yield* deleteKeyword({ Keyword: "INFO" });