Deletes the CORS (cross-origin resource sharing) configuration for a bucket.
Declaration Syntax
C# |
public DeleteCORSConfigurationResponse DeleteCORSConfiguration( DeleteCORSConfigurationRequest request )
Parameters
- request (DeleteCORSConfigurationRequest)
- The DeleteCORSConfigurationRequest that defines the parameters of the operation.
Return Value
Returns a DeleteCORSConfigurationResponse from S3.
Remarks
If you delete a configuration that does not exist, Amazon S3 will return a success (not an error message).
For more information on CORS configurations, refer: http://docs.amazonwebservices.com/AmazonS3/latest/dev/
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |