Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketNotification
Delphi
function GetBucketNotification(const BucketName: string; ResponseInfo: TCloudResponseInfo = nil; const BucketRegion: TAmazonRegion = amzrNotSpecified): TList<TAmazonNotificationEvent>;
C++
System::Generics::Collections::TList__1<TAmazonNotificationEvent>* __fastcall GetBucketNotification(const System::UnicodeString BucketName, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const System::UnicodeString BucketRegion = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AmazonAPI.pas Data.Cloud.AmazonAPI.hpp |
Data.Cloud.AmazonAPI | TAmazonStorageService |
Description
Gets the notification configuration of a bucket.
GetBucketNotification returns a list containing the notification configuration of a bucket.
If the request fails, this method returns nil
. See TAmazonNotificationEvent for more information on supported notifications.
GetBucketNotification accepts the following parameters:
BucketName
: The name of the bucket to get the notification configuration for.ResponseInfo
: Optional. Holds the response information.BucketRegion
: Optional. The region of the bucket to get the notification configuration for. Default isamzrNotSpecified
, which means that this method automatically detects the region of the bucket based on the name of the bucket.
See Also
- Data.Cloud.AmazonAPI.TAmazonRegion
- System.Classes.TList
- Data.Cloud.AmazonAPI.TAmazonNotificationEvent
- Data.Cloud.AmazonAPI.TAmazonStorageService
- Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketNotificationXML
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketNotification
- GET Bucket notification (amazonwebservices.com)
- Data.Cloud.AmazonAPI.TAmazonStorageService.CreateBucket
- AWS Documentation - Amazon Simple Storage: Supported Event Types