import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SetSubscriptionAttributesInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SetSubscriptionAttributesCommand}. */ export interface SetSubscriptionAttributesCommandInput extends SetSubscriptionAttributesInput { } /** * @public * * The output of {@link SetSubscriptionAttributesCommand}. */ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer { } declare const SetSubscriptionAttributesCommand_base: { new (input: SetSubscriptionAttributesCommandInput): import("@smithy/core/client").CommandImpl; new (input: SetSubscriptionAttributesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, SetSubscriptionAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, SetSubscriptionAttributesCommand } = 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 = { // SetSubscriptionAttributesInput * SubscriptionArn: "STRING_VALUE", // required * AttributeName: "STRING_VALUE", // required * AttributeValue: "STRING_VALUE", * }; * const command = new SetSubscriptionAttributesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetSubscriptionAttributesCommandInput - {@link SetSubscriptionAttributesCommandInput} * @returns {@link SetSubscriptionAttributesCommandOutput} * @see {@link SetSubscriptionAttributesCommandInput} for command's `input` shape. * @see {@link SetSubscriptionAttributesCommandOutput} 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 FilterPolicyLimitExceededException} (client fault) *

Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To * add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support * Center.

* * @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 NotFoundException} (client fault) *

Indicates that the requested resource does not exist.

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

Indicates that the request parameter has exceeded the maximum number of concurrent message replays.

* * @throws {@link SNSServiceException} *

Base exception class for all service exceptions from SNS service.

* * * @public */ export declare class SetSubscriptionAttributesCommand extends SetSubscriptionAttributesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetSubscriptionAttributesInput; output: {}; }; sdk: { input: SetSubscriptionAttributesCommandInput; output: SetSubscriptionAttributesCommandOutput; }; }; }