Amazon.S3.AmazonS3Client.DeleteCORSConfigurationAsync C# (CSharp) Method

DeleteCORSConfigurationAsync() public method

Deletes the cors configuration information set for the bucket. This API is supported only when AWSConfigs.HttpClient is set to AWSConfigs.HttpClientOption.UnityWebRequest, the default value of this configuration option is AWSConfigs.HttpClientOption.UnityWWW
public DeleteCORSConfigurationAsync ( string bucketName, DeleteCORSConfigurationResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
bucketName string A property of DeleteCORSConfigurationRequest used to execute the DeleteCORSConfiguration service method.
callback DeleteCORSConfigurationResponse>.AmazonServiceCallback An Action delegate that is invoked when the operation completes.
options Amazon.Runtime.AsyncOptions /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. ///
return void
        public void DeleteCORSConfigurationAsync(string bucketName,  AmazonServiceCallback<DeleteCORSConfigurationRequest, DeleteCORSConfigurationResponse> callback, AsyncOptions options = null)
        {
            var request = new DeleteCORSConfigurationRequest();
            request.BucketName = bucketName;
            DeleteCORSConfigurationAsync(request, callback, options);
        }

Same methods

AmazonS3Client::DeleteCORSConfigurationAsync ( Amazon.S3.Model.DeleteCORSConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::DeleteCORSConfigurationAsync ( string bucketName, System cancellationToken = default(CancellationToken) ) : Task
AmazonS3Client::DeleteCORSConfigurationAsync ( Amazon.S3.Model.DeleteCORSConfigurationRequest request, DeleteCORSConfigurationResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonS3Client