// Deletes a CORS configuration.
Deletes a CORS configuration.
// Deletes a CORS configuration .
func (c *Client) DeleteCorsConfiguration(ctx context.Context, params *DeleteCorsConfigurationInput, optFns ...func(*Options)) (*DeleteCorsConfigurationOutput, error) {
	if params == nil {
		params = &DeleteCorsConfigurationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteCorsConfiguration", params, optFns, addOperationDeleteCorsConfigurationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteCorsConfigurationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteCorsConfiguration ( ctx context . Context , params * DeleteCorsConfigurationInput , optFns ... func ( * Options ) ) ( * DeleteCorsConfigurationOutput , error ) { if params == nil { params = & DeleteCorsConfigurationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteCorsConfigurationMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteCorsConfigurationOutput ) out . ResultMetadata = metadata return out , nil }
Deletes a CORS configuration.
Deletes a CORS configuration .