Data.Cloud.AmazonAPI.TAmazonQueueService.AddQueuePermissions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddQueuePermissions(const QueueURL, PermissionsLabel: string;  Permissions: array of TAmazonQueuePermission; ResponseInfo: TCloudResponseInfo = nil): Boolean; deprecated;

C++

bool __fastcall AddQueuePermissions _DEPRECATED_ATTRIBUTE0 (const System::UnicodeString QueueURL, const System::UnicodeString PermissionsLabel, TAmazonQueuePermission *Permissions, const int Permissions_High, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Data.Cloud.AmazonAPI TAmazonQueueService

Description

Warning: AddQueuePermissions is deprecated. Please use AddPermission.

Adds the given permissions to the specified queue.

The specified label will uniquely identify the permission being set. The label must be a maximum of 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.

AddQueuePermissions returns True if the operation was successful, False otherwise.

The following table shows the significance of the parameters:

Parameter Description

QueueURL

The URL of the queue to add the permissions to.

PermissionsLabel

The unique identifier for these permissions.

Permissions

The permissions to add.

ResponseInfo

The optional class for storing response info into.

See Also