Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketLifecycle

From RAD Studio API Documentation
Jump to: navigation, search

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 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

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