AWS.S3.IS3Bucket.GetObject

Fetches an object from the bucket.

function GetObject(const AKey: string): IS3Object;
__fastcall IS3Object GetObject(const AnsiString AKey);

File: AWS.S3.pas 

Namespace: AWS.S3 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const AKey: string
The object key to retrieve.

An IS3Object instance.

var LBucket := TS3Bucket.Create('my-bucket') as IS3Bucket; var LObject := LBucket.Object('my-object'); // Do something with LObject.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.