Applies a CORS (cross-origin resource sharing) configuration to a bucket.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public PutCORSConfigurationResponse PutCORSConfiguration( PutCORSConfigurationRequest request )
 Parameters
 Parameters- request (PutCORSConfigurationRequest)
- The PutCORSConfigurationRequest that defines the parameters of the operation.
 Return Value
 Return ValueReturns a PutCORSConfigurationResponse from S3.
 Remarks
 RemarksYou set this configuration on a bucket so that the bucket can service cross-origin requests.
If a configuration already exists for the specified bucket, the new configuration will replace the existing configuration.
For more information on CORS configurations, refer: http://docs.amazonwebservices.com/AmazonS3/latest/dev/
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | |
| WebException | |
| AmazonS3Exception |