AWS.S3.TS3Client.GetBucketCors

Fetch the Cross-Origin Resource Sharing (CORS) configuration for a bucket.

function GetBucketCors(const ARequest: IS3GetBucketCorsRequest): IS3GetBucketCorsResponse; overload; function GetBucketCors(const ABucket: string): IS3GetBucketCorsResponse; overload;
__fastcall IS3GetBucketCorsResponse GetBucketCors(const IS3GetBucketCorsRequest ARequest); __fastcall IS3GetBucketCorsResponse GetBucketCors(const AnsiString ABucket);

File: AWS.S3.pas 

Namespace: AWS.S3 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: IS3GetBucketCorsRequest
A GetBucketCors request object.
const ABucket: string
The name of the bucket.

Response containing GetBucketCors results.

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