import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SetPlatformApplicationAttributesInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SetPlatformApplicationAttributesCommand}. */ export interface SetPlatformApplicationAttributesCommandInput extends SetPlatformApplicationAttributesInput { } /** * @public * * The output of {@link SetPlatformApplicationAttributesCommand}. */ export interface SetPlatformApplicationAttributesCommandOutput extends __MetadataBearer { } declare const SetPlatformApplicationAttributesCommand_base: { new (input: SetPlatformApplicationAttributesCommandInput): import("@smithy/core/client").CommandImpl; new (input: SetPlatformApplicationAttributesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Sets the attributes of the platform application object for the supported push * notification services, such as APNS and GCM (Firebase Cloud Messaging). For more * information, see Using Amazon SNS Mobile Push Notifications. For information on configuring * attributes for message delivery status, see Using Amazon SNS Application Attributes for * Message Delivery Status.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, SetPlatformApplicationAttributesCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, SetPlatformApplicationAttributesCommand } = 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 = { // SetPlatformApplicationAttributesInput * PlatformApplicationArn: "STRING_VALUE", // required * Attributes: { // MapStringToString // required * "": "STRING_VALUE", * }, * }; * const command = new SetPlatformApplicationAttributesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetPlatformApplicationAttributesCommandInput - {@link SetPlatformApplicationAttributesCommandInput} * @returns {@link SetPlatformApplicationAttributesCommandOutput} * @see {@link SetPlatformApplicationAttributesCommandInput} for command's `input` shape. * @see {@link SetPlatformApplicationAttributesCommandOutput} 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 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 SetPlatformApplicationAttributesCommand extends SetPlatformApplicationAttributesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetPlatformApplicationAttributesInput; output: {}; }; sdk: { input: SetPlatformApplicationAttributesCommandInput; output: SetPlatformApplicationAttributesCommandOutput; }; }; }