import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * AddPermissionInput shape */ export interface AddPermissionInput { /** *

The ARN of the topic whose access control policy you wish to modify.

*/ TopicArn: string; /** *

A unique identifier for the new policy statement.

*/ Label: string; /** *

The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service.

*/ AWSAccountId: Array | Iterable; /** *

The action you want to allow for the specified principal(s).

Valid values: any Amazon SNS action name.

*/ ActionName: Array | Iterable; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }