Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketLifecycle

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Cloud.AmazonAPI.pas
Data.Cloud.AmazonAPI.hpp
Unit: Data.Cloud.AmazonAPI
Parent: TAmazonStorageService

Delphi

function SetBucketLifecycle(const BucketName: string; const LifeCycle: TAmazonLifeCycleConfiguration;
ResponseInfo: TCloudResponseInfo = nil;
const BucketRegion: TAmazonRegion = amzrNotSpecified): Boolean;

C++

bool __fastcall SetBucketLifecycle(const System::UnicodeString BucketName, const Data::Cloud::Amazonapi::Lifecycle::TAmazonLifeCycleConfiguration LifeCycle, Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0), const TAmazonRegion BucketRegion = System::UnicodeString());

Description

Updates the lifecycle of the objects in the specified bucket to use the specified lifecycle configuration.

AResponseInfo is an instance of TCloudResponseInfo to store the information of the response. Use a nil value if you do not need the information of the response.

See Also