AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RemovePermission operation. Removes a statement from a topic's access control policy.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceRequest
      Amazon.SimpleNotificationService.Model.RemovePermissionRequest

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.SimpleNotificationService.dll
Version: 3.x.y.z

Syntax

C#
public class RemovePermissionRequest : AmazonSimpleNotificationServiceRequest
         IAmazonWebServiceRequest

The RemovePermissionRequest type exposes the following members

Constructors

NameDescription
Public Method RemovePermissionRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method RemovePermissionRequest(string, string)

Instantiates RemovePermissionRequest with the parameterized properties

Properties

NameTypeDescription
Public Property Label System.String

Gets and sets the property Label.

The unique label of the statement you want to remove.

Public Property TopicArn System.String

Gets and sets the property TopicArn.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5