import * as sns from "@distilled.cloud/aws/sns"; import * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Topic } from "./Topic.ts"; export interface SetTopicAttributesRequest extends Omit { } /** * Runtime binding for `sns:SetTopicAttributes`. * * Bind this operation to a {@link 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 * **Example:** Set a Topic's Display Name * ```typescript * // init (provide SNS.SetTopicAttributesHttp on the Function) * const setTopicAttributes = yield* SNS.SetTopicAttributes(topic); * * // runtime * yield* setTopicAttributes({ * AttributeName: "DisplayName", * AttributeValue: "order-events", * }); * ``` * * @binding */ export interface SetTopicAttributes extends Binding.Service Effect.Effect<(request: SetTopicAttributesRequest) => Effect.Effect>> { } export declare const SetTopicAttributes: SetTopicAttributes; //# sourceMappingURL=SetTopicAttributes.d.ts.map