Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketLifecycle
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
- Data.Cloud.AmazonAPI.TAmazonStorageService.GetBucketLifecycleXML
- Data.Cloud.AmazonAPI.TAmazonStorageService.DeleteBucketLifecycle
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketACL
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketLogging
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketNotification
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketPolicy
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketRequestPayment
- Data.Cloud.AmazonAPI.TAmazonStorageService.SetBucketVersioning