Skip to content

SetSMSAttributes

Source: src/AWS/SNS/SetSMSAttributes.ts

Runtime binding for sns:SetSMSAttributes.

An account-scoped operation — updates the account-level SMS settings, e.g. switching the default message type between Promotional and Transactional. Provide the SetSMSAttributesHttp layer on the Function to implement the binding.

const setSmsAttributes = yield* SNS.SetSMSAttributes();
yield* setSmsAttributes({
attributes: { DefaultSMSType: "Transactional" },
});