Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.RemovePermissionAsync C# (CSharp) Метод

RemovePermissionAsync() публичный Метод

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, System cancellationToken = default(CancellationToken) ) : Task
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.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<RemovePermissionResponse> RemovePermissionAsync(string topicArn, string label, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new RemovePermissionRequest();
            request.TopicArn = topicArn;
            request.Label = label;
            return RemovePermissionAsync(request, cancellationToken);
        }

Same methods

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