Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.RemovePermissionAsync C# (CSharp) Method

RemovePermissionAsync() public method

Removes a statement from a topic's access control policy.
/// Indicates that the user has been denied access to the requested resource. /// /// Indicates an internal service error. /// /// Indicates that a request parameter does not comply with the associated constraints. /// /// Indicates that the requested resource does not exist. ///
public RemovePermissionAsync ( string topicArn, string label, RemovePermissionResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
topicArn string The ARN of the topic whose access control policy you wish to modify.
label string The unique label of the statement you want to remove.
callback RemovePermissionResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void RemovePermissionAsync(string topicArn, string label,  AmazonServiceCallback<RemovePermissionRequest, RemovePermissionResponse> callback, AsyncOptions options = null)
        {
            var request = new RemovePermissionRequest();
            request.TopicArn = topicArn;
            request.Label = label;
            RemovePermissionAsync(request, callback, options);
        }

Same methods

AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( RemovePermissionRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( string topicArn, string label, System cancellationToken = default(CancellationToken) ) : Task
AmazonSimpleNotificationServiceClient::RemovePermissionAsync ( RemovePermissionRequest request, RemovePermissionResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleNotificationServiceClient