Skip to content

UntagResource

Source: src/AWS/SNS/UntagResource.ts

Runtime binding for sns:UntagResource.

Bind this operation to a Topic inside a function runtime to remove tags from the topic by key; the ResourceArn is injected automatically. The binding grants the host function sns:UntagResource on the topic. Provide the UntagResourceHttp layer on the Function to implement the binding.

// init (provide SNS.UntagResourceHttp on the Function)
const untagResource = yield* SNS.UntagResource(topic);
// runtime
yield* untagResource({ TagKeys: ["team"] });