Data.Cloud.AmazonAPI.TAmazonQueueService.AddQueuePermissions
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp
| |
| Unit: Data.Cloud.AmazonAPI | |
| Parent: TAmazonQueueService | |
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 System::NativeInt Permissions_High, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Description
Attention: 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 |
|---|---|
|
|
The URL of the queue to add the permissions to. |
|
|
The unique identifier for these permissions. |
|
|
The permissions to add. |
|
|
The optional class for storing response info into. |