import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SetTopicAttributesInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SetTopicAttributesCommand}. */ export interface SetTopicAttributesCommandInput extends SetTopicAttributesInput { } /** * @public * * The output of {@link SetTopicAttributesCommand}. */ export interface SetTopicAttributesCommandOutput extends __MetadataBearer { } declare const SetTopicAttributesCommand_base: { new (input: SetTopicAttributesCommandInput): import("@smithy/core/client").CommandImpl; new (input: SetTopicAttributesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Allows a topic owner to set an attribute of the topic to a new value.

* *

To remove the ability to change topic permissions, you must deny permissions to * the AddPermission, RemovePermission, and * SetTopicAttributes actions in your IAM policy.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, SetTopicAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, SetTopicAttributesCommand } = require("@aws-sdk/client-sns"); // CommonJS import * // import type { SNSClientConfig } from "@aws-sdk/client-sns"; * const config = {}; // type is SNSClientConfig * const client = new SNSClient(config); * const input = { // SetTopicAttributesInput * TopicArn: "STRING_VALUE", // required * AttributeName: "STRING_VALUE", // required * AttributeValue: "STRING_VALUE", * }; * const command = new SetTopicAttributesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetTopicAttributesCommandInput - {@link SetTopicAttributesCommandInput} * @returns {@link SetTopicAttributesCommandOutput} * @see {@link SetTopicAttributesCommandInput} for command's `input` shape. * @see {@link SetTopicAttributesCommandOutput} for command's `response` shape. * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape. * * @throws {@link AuthorizationErrorException} (client fault) *

Indicates that the user has been denied access to the requested resource.

* * @throws {@link InternalErrorException} (server fault) *

Indicates an internal service error.

* * @throws {@link InvalidParameterException} (client fault) *

Indicates that a request parameter does not comply with the associated * constraints.

* * @throws {@link InvalidSecurityException} (client fault) *

The credential signature isn't valid. You must use an HTTPS endpoint and sign your * request using Signature Version 4.

* * @throws {@link NotFoundException} (client fault) *

Indicates that the requested resource does not exist.

* * @throws {@link SNSServiceException} *

Base exception class for all service exceptions from SNS service.

* * * @public */ export declare class SetTopicAttributesCommand extends SetTopicAttributesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetTopicAttributesInput; output: {}; }; sdk: { input: SetTopicAttributesCommandInput; output: SetTopicAttributesCommandOutput; }; }; }