NAME

Paws::SNS::AddPermission - Arguments for method AddPermission on Paws::SNS

DESCRIPTION

This class represents the parameters used for calling the method AddPermission on the Amazon Simple Notification Service service. Use the attributes of this class as arguments to method AddPermission.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddPermission.

SYNOPSIS

my $sns = Paws->service('SNS');
$sns->AddPermission(
  AWSAccountId => [ 'Mydelegate', ... ],
  ActionName   => [ 'Myaction',   ... ],
  Label        => 'Mylabel',
  TopicArn     => 'MytopicARN',

);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/sns/AddPermission

ATTRIBUTES

REQUIRED ActionName => ArrayRef[Str|Undef]

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

Valid values: Any Amazon SNS action name, for example Publish.

REQUIRED AWSAccountId => ArrayRef[Str|Undef]

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

REQUIRED Label => Str

A unique identifier for the new policy statement.

REQUIRED TopicArn => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method AddPermission in Paws::SNS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues