paws.application.integration (version 0.1.0)

sqs_remove_permission: Revokes any permissions in the queue policy that matches the specified Label parameter

Description

Revokes any permissions in the queue policy that matches the specified Label parameter.

Usage

sqs_remove_permission(QueueUrl, Label)

Arguments

QueueUrl

[required] The URL of the Amazon SQS queue from which permissions are removed.

Queue URLs and names are case-sensitive.

Label

[required] The identification of the permission to remove. This is the label added using the <a>AddPermission</a> action.

Request syntax

svc$remove_permission(
  QueueUrl = "string",
  Label = "string"
)

Details

Only the owner of a queue can remove permissions from it.

Cross-account permissions don't apply to this action. For more information, see see Grant Cross-Account Permissions to a Role and a User Name in the Amazon Simple Queue Service Developer Guide.