Share this page

# LrSqsClient.removePermission

Removes an SQS permission from the LrSqsClient's current queue.

`public static void removePermission(String label)`

## Arguments

Name | Description
--- | ---
label | Unique ID for the permission being removed.

## Return values

This function does not return any values.

## General information

This API removes the permission identified by the label argument.

## Example

Copy code

    public void permissions() {
            LrSqsClient.initClient(region, standardQueueUrl);

            LrSqsClient.addPermission
            (
                new ArrayList<String>() {{ add("SendMessage"); }},
                new ArrayList<String>() {{ add("123456789"); }},
                "MyPermission"
            );

            LrSqsClient.removePermission("MyPermission");

            LrSqsClient.closeClient();
        }

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: