Retrieves the CORS (cross-origin resource sharing) configuration for a bucket.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public GetCORSConfigurationResponse GetCORSConfiguration( GetCORSConfigurationRequest request )
 Parameters
 Parameters- request (GetCORSConfigurationRequest)
- The GetCORSConfigurationRequest that defines the parameters of the operation.
 Return Value
 Return ValueReturns a GetCORSConfigurationResponse from S3.
 Remarks
 RemarksIf 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/
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | |
| WebException | |
| AmazonS3Exception |