AWS.S3.TS3Client.GetObjectRetention

Fetch an object's Retention configuration.

function GetObjectRetention(const ARequest: IS3GetObjectRetentionRequest): IS3GetObjectRetentionResponse; overload; function GetObjectRetention(const ABucket: string; const AKey: string): IS3GetObjectRetentionResponse; overload;
__fastcall IS3GetObjectRetentionResponse GetObjectRetention(const IS3GetObjectRetentionRequest ARequest); __fastcall IS3GetObjectRetentionResponse GetObjectRetention(const AnsiString ABucket, const AnsiString AKey);

File: AWS.S3.pas 

Namespace: AWS.S3 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: IS3GetObjectRetentionRequest
A GetObjectRetention request object.
const ABucket: string
The name of the object's bucket.
const AKey: string
The object's key.

Response containing GetObjectRetention results.

Copyright © 2019-2021 Appercept Ltd. All rights reserved.