/** * Simplified method form for invoking the RemovePermission operation. * * @see #removePermissionAsync(RemovePermissionRequest) */ @Override public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label) { return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label)); }
/** * Simplified method form for invoking the RemovePermission operation with an AsyncHandler. * * @see #removePermissionAsync(RemovePermissionRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label, com.amazonaws.handlers.AsyncHandler<RemovePermissionRequest, RemovePermissionResult> asyncHandler) { return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label), asyncHandler); }
@Override public RemovePermissionResult removePermission(String topicArn, String label) { return removePermission(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label)); }
/** * Simplified method form for invoking the RemovePermission operation with an AsyncHandler. * * @see #removePermissionAsync(RemovePermissionRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label, com.amazonaws.handlers.AsyncHandler<RemovePermissionRequest, RemovePermissionResult> asyncHandler) { return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label), asyncHandler); }
/** * Simplified method form for invoking the RemovePermission operation. * * @see #removePermissionAsync(RemovePermissionRequest) */ @Override public java.util.concurrent.Future<RemovePermissionResult> removePermissionAsync(String topicArn, String label) { return removePermissionAsync(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label)); }
@Override public RemovePermissionResult removePermission(String topicArn, String label) { return removePermission(new RemovePermissionRequest().withTopicArn(topicArn).withLabel(label)); }
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest(); removePermissionRequest.setTopicArn(topicArn); removePermissionRequest.setLabel(label);
@Override public void removePermission(String label, ResultCapture<Void> extractor) { RemovePermissionRequest request = new RemovePermissionRequest() .withLabel(label); removePermission(request, extractor); }
@Override public void removePermission(String label, ResultCapture<Void> extractor) { RemovePermissionRequest request = new RemovePermissionRequest() .withLabel(label); removePermission(request, extractor); }
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest(); removePermissionRequest.setTopicArn(topicArn); removePermissionRequest.setLabel(label);
RemovePermissionRequest removePermissionRequest = new RemovePermissionRequest(topicArn, labelSid); sns.removePermission(removePermissionRequest); logger.debug("event=remove_permission topic_arn=" + topicArn + " label=" + labelSid + " user_id=" + userId);