Retrieves the CORS (cross-origin resource sharing) configuration for a bucket.

C# |
public GetCORSConfigurationResponse GetCORSConfiguration( GetCORSConfigurationRequest request )

- request (GetCORSConfigurationRequest)
- The GetCORSConfigurationRequest that defines the parameters of the operation.

Returns a GetCORSConfigurationResponse from S3.

If no configuration has been set for the bucket, the Configuration property of the response will be null.
For more information on CORS configurations, refer: http://docs.amazonwebservices.com/AmazonS3/latest/dev/

Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |