SetTopicAttributes
Source:
src/AWS/SNS/SetTopicAttributes.ts
Runtime binding for sns:SetTopicAttributes.
Bind this operation to a Topic inside a function runtime to set a
single topic attribute by name. The binding grants the host function
sns:SetTopicAttributes on the topic. Provide the
SetTopicAttributesHttp layer on the Function to implement the binding.
Updating Topic Attributes
Section titled “Updating Topic Attributes”// init (provide SNS.SetTopicAttributesHttp on the Function)const setTopicAttributes = yield* SNS.SetTopicAttributes(topic);
// runtimeyield* setTopicAttributes({ AttributeName: "DisplayName", AttributeValue: "order-events",});